diff --git a/.changes/2.1002.0.json b/.changes/2.1002.0.json new file mode 100644 index 0000000000..615ef9c4d9 --- /dev/null +++ b/.changes/2.1002.0.json @@ -0,0 +1,22 @@ +[ + { + "type": "feature", + "category": "AmplifyBackend", + "description": "Adding a new field 'AmplifyFeatureFlags' to the response of the GetBackend operation. It will return a stringified version of the cli.json file for the given Amplify project." + }, + { + "type": "feature", + "category": "FSx", + "description": "This release adds support for Lustre 2.12 to FSx for Lustre." + }, + { + "type": "feature", + "category": "Kendra", + "description": "Amazon Kendra now supports integration with AWS SSO" + }, + { + "type": "feature", + "category": "SageMaker", + "description": "This release adds a new TrainingInputMode FastFile for SageMaker Training APIs." + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e19c105fc..a03f096690 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,13 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1002.0 +* feature: AmplifyBackend: Adding a new field 'AmplifyFeatureFlags' to the response of the GetBackend operation. It will return a stringified version of the cli.json file for the given Amplify project. +* feature: FSx: This release adds support for Lustre 2.12 to FSx for Lustre. +* feature: Kendra: Amazon Kendra now supports integration with AWS SSO +* feature: SageMaker: This release adds a new TrainingInputMode FastFile for SageMaker Training APIs. + ## 2.1001.0 * bugfix: Signer: Fix the bug that httpChecksumRequired trait is not honored in SigV2 * feature: ApplicationAutoScaling: With this release, Application Auto Scaling adds support for Amazon Neptune. Customers can now automatically add or remove Read Replicas of their Neptune clusters to keep the average CPU Utilization at the target value specified by the customers. diff --git a/README.md b/README.md index 213aec34e6..28ef999bde 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/amplifybackend-2020-08-11.min.json b/apis/amplifybackend-2020-08-11.min.json index 1494e3c2cf..fd1b4329c2 100644 --- a/apis/amplifybackend-2020-08-11.min.json +++ b/apis/amplifybackend-2020-08-11.min.json @@ -553,6 +553,9 @@ "output": { "type": "structure", "members": { + "AmplifyFeatureFlags": { + "locationName": "amplifyFeatureFlags" + }, "AmplifyMetaConfig": { "locationName": "amplifyMetaConfig" }, diff --git a/apis/amplifybackend-2020-08-11.normal.json b/apis/amplifybackend-2020-08-11.normal.json index 2f97dfc830..4e4eac4e47 100644 --- a/apis/amplifybackend-2020-08-11.normal.json +++ b/apis/amplifybackend-2020-08-11.normal.json @@ -2189,6 +2189,11 @@ "GetBackendResponse": { "type": "structure", "members": { + "AmplifyFeatureFlags": { + "shape": "__string", + "locationName": "amplifyFeatureFlags", + "documentation": "

A stringified version of the cli.json file for your Amplify project.

" + }, "AmplifyMetaConfig": { "shape": "__string", "locationName": "amplifyMetaConfig", diff --git a/apis/fsx-2018-03-01.min.json b/apis/fsx-2018-03-01.min.json index f3315327a3..0bada47bd8 100644 --- a/apis/fsx-2018-03-01.min.json +++ b/apis/fsx-2018-03-01.min.json @@ -124,11 +124,11 @@ "members": { "Type": {}, "Paths": { - "shape": "S39" + "shape": "S3a" }, "FileSystemId": {}, "Report": { - "shape": "S3b" + "shape": "S3c" }, "ClientRequestToken": { "idempotencyToken": true @@ -142,7 +142,7 @@ "type": "structure", "members": { "DataRepositoryTask": { - "shape": "S3f" + "shape": "S3g" } } }, @@ -169,17 +169,17 @@ "shape": "S15" }, "SecurityGroupIds": { - "shape": "S3p" + "shape": "S3q" }, "Tags": { "shape": "Sj" }, "KmsKeyId": {}, "WindowsConfiguration": { - "shape": "S3r" + "shape": "S3s" }, "LustreConfiguration": { - "shape": "S3v" + "shape": "S3w" }, "OntapConfiguration": { "type": "structure", @@ -195,7 +195,7 @@ "DeploymentType": {}, "EndpointIpAddressRange": {}, "FsxAdminPassword": { - "shape": "S3x" + "shape": "S3y" }, "DiskIopsConfiguration": { "shape": "S2y" @@ -209,7 +209,8 @@ }, "WeeklyMaintenanceStartTime": {} } - } + }, + "FileSystemTypeVersion": {} } }, "output": { @@ -237,19 +238,20 @@ "shape": "S15" }, "SecurityGroupIds": { - "shape": "S3p" + "shape": "S3q" }, "Tags": { "shape": "Sj" }, "WindowsConfiguration": { - "shape": "S3r" + "shape": "S3s" }, "LustreConfiguration": { - "shape": "S3v" + "shape": "S3w" }, "StorageType": {}, - "KmsKeyId": {} + "KmsKeyId": {}, + "FileSystemTypeVersion": {} } }, "output": { @@ -277,7 +279,7 @@ "members": { "NetBiosName": {}, "SelfManagedActiveDirectoryConfiguration": { - "shape": "S3s" + "shape": "S3t" } } }, @@ -287,7 +289,7 @@ "FileSystemId": {}, "Name": {}, "SvmAdminPassword": { - "shape": "S3x" + "shape": "S3y" }, "Tags": { "shape": "Sj" @@ -299,7 +301,7 @@ "type": "structure", "members": { "StorageVirtualMachine": { - "shape": "S47" + "shape": "S48" } } } @@ -318,7 +320,7 @@ "VolumeType": {}, "Name": {}, "OntapConfiguration": { - "shape": "S4e" + "shape": "S4f" }, "Tags": { "shape": "Sj" @@ -348,7 +350,7 @@ }, "Name": {}, "OntapConfiguration": { - "shape": "S4e" + "shape": "S4f" }, "Tags": { "shape": "Sj" @@ -583,7 +585,7 @@ "DataRepositoryTasks": { "type": "list", "member": { - "shape": "S3f" + "shape": "S3g" } }, "NextToken": {} @@ -677,7 +679,7 @@ "StorageVirtualMachines": { "type": "list", "member": { - "shape": "S47" + "shape": "S48" } }, "NextToken": {} @@ -841,10 +843,10 @@ "type": "integer" }, "SelfManagedActiveDirectoryConfiguration": { - "shape": "S6f" + "shape": "S6g" }, "AuditLogConfiguration": { - "shape": "S3u" + "shape": "S3v" } } }, @@ -868,7 +870,7 @@ }, "DailyAutomaticBackupStartTime": {}, "FsxAdminPassword": { - "shape": "S3x" + "shape": "S3y" }, "WeeklyMaintenanceStartTime": {} } @@ -895,7 +897,7 @@ "type": "structure", "members": { "SelfManagedActiveDirectoryConfiguration": { - "shape": "S6f" + "shape": "S6g" } } }, @@ -904,7 +906,7 @@ }, "StorageVirtualMachineId": {}, "SvmAdminPassword": { - "shape": "S3x" + "shape": "S3y" } } }, @@ -912,7 +914,7 @@ "type": "structure", "members": { "StorageVirtualMachine": { - "shape": "S47" + "shape": "S48" } } } @@ -1210,7 +1212,8 @@ }, "WeeklyMaintenanceStartTime": {} } - } + }, + "FileSystemTypeVersion": {} } }, "S15": { @@ -1317,11 +1320,11 @@ "type": "list", "member": {} }, - "S39": { + "S3a": { "type": "list", "member": {} }, - "S3b": { + "S3c": { "type": "structure", "required": [ "Enabled" @@ -1335,7 +1338,7 @@ "Scope": {} } }, - "S3f": { + "S3g": { "type": "structure", "required": [ "TaskId", @@ -1363,7 +1366,7 @@ }, "FileSystemId": {}, "Paths": { - "shape": "S39" + "shape": "S3a" }, "FailureDetails": { "type": "structure", @@ -1389,15 +1392,15 @@ } }, "Report": { - "shape": "S3b" + "shape": "S3c" } } }, - "S3p": { + "S3q": { "type": "list", "member": {} }, - "S3r": { + "S3s": { "type": "structure", "required": [ "ThroughputCapacity" @@ -1405,7 +1408,7 @@ "members": { "ActiveDirectoryId": {}, "SelfManagedActiveDirectoryConfiguration": { - "shape": "S3s" + "shape": "S3t" }, "DeploymentType": {}, "PreferredSubnetId": {}, @@ -1424,11 +1427,11 @@ "shape": "S4" }, "AuditLogConfiguration": { - "shape": "S3u" + "shape": "S3v" } } }, - "S3s": { + "S3t": { "type": "structure", "required": [ "DomainName", @@ -1442,18 +1445,18 @@ "FileSystemAdministratorsGroup": {}, "UserName": {}, "Password": { - "shape": "S3t" + "shape": "S3u" }, "DnsIps": { "shape": "S1h" } } }, - "S3t": { + "S3u": { "type": "string", "sensitive": true }, - "S3u": { + "S3v": { "type": "structure", "required": [ "FileAccessAuditLogLevel", @@ -1465,7 +1468,7 @@ "AuditLogDestination": {} } }, - "S3v": { + "S3w": { "type": "structure", "members": { "WeeklyMaintenanceStartTime": {}, @@ -1490,11 +1493,11 @@ "DataCompressionType": {} } }, - "S3x": { + "S3y": { "type": "string", "sensitive": true }, - "S47": { + "S48": { "type": "structure", "members": { "ActiveDirectoryConfiguration": { @@ -1513,16 +1516,16 @@ "type": "structure", "members": { "Iscsi": { - "shape": "S4a" + "shape": "S4b" }, "Management": { - "shape": "S4a" + "shape": "S4b" }, "Nfs": { - "shape": "S4a" + "shape": "S4b" }, "Smb": { - "shape": "S4a" + "shape": "S4b" } } }, @@ -1542,7 +1545,7 @@ "RootVolumeSecurityStyle": {} } }, - "S4a": { + "S4b": { "type": "structure", "members": { "DNSName": {}, @@ -1551,7 +1554,7 @@ } } }, - "S4e": { + "S4f": { "type": "structure", "required": [ "JunctionPath", @@ -1574,12 +1577,12 @@ } } }, - "S6f": { + "S6g": { "type": "structure", "members": { "UserName": {}, "Password": { - "shape": "S3t" + "shape": "S3u" }, "DnsIps": { "shape": "S1h" diff --git a/apis/fsx-2018-03-01.normal.json b/apis/fsx-2018-03-01.normal.json index cb9ca5d258..ced9e84b06 100644 --- a/apis/fsx-2018-03-01.normal.json +++ b/apis/fsx-2018-03-01.normal.json @@ -1446,6 +1446,10 @@ }, "KmsKeyId": { "shape": "KmsKeyId" + }, + "FileSystemTypeVersion": { + "shape": "FileSystemTypeVersion", + "documentation": "

Sets the version for the Amazon FSx for Lustre file system you're creating from a backup. Valid values are 2.10 and 2.12.

You don't need to specify FileSystemTypeVersion because it will be applied using the backup's FileSystemTypeVersion setting. If you choose to specify FileSystemTypeVersion when creating from backup, the value must match the backup's FileSystemTypeVersion setting.

" } }, "documentation": "

The request object for the CreateFileSystemFromBackup operation.

" @@ -1606,6 +1610,10 @@ }, "OntapConfiguration": { "shape": "CreateFileSystemOntapConfiguration" + }, + "FileSystemTypeVersion": { + "shape": "FileSystemTypeVersion", + "documentation": "

Sets the version of the Amazon FSx for Lustre file system you're creating. Valid values are 2.10 and 2.12.

Default value is 2.10.

" } }, "documentation": "

The request object used to create a new Amazon FSx file system.

" @@ -2680,6 +2688,10 @@ "OntapConfiguration": { "shape": "OntapFileSystemConfiguration", "documentation": "

The configuration for this FSx for NetApp ONTAP file system.

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

The version of your Amazon FSx for Lustre file system, either 2.10 or 2.12.

" } }, "documentation": "

A description of a specific Amazon FSx file system.

" @@ -2779,6 +2791,12 @@ "ONTAP" ] }, + "FileSystemTypeVersion": { + "type": "string", + "max": 20, + "min": 1, + "pattern": "^[0-9](\\.[0-9]*)*$" + }, "FileSystems": { "type": "list", "member": { @@ -3248,7 +3266,7 @@ }, "DnsIps": { "shape": "DnsIps", - "documentation": "

A list of up to two IP addresses of DNS servers or domain controllers in the self-managed AD directory.

" + "documentation": "

A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory.

" } }, "documentation": "

The configuration of the self-managed Microsoft Active Directory (AD) directory to which the Windows File Server or ONTAP storage virtual machine (SVM) instance is joined.

" @@ -3284,10 +3302,10 @@ }, "DnsIps": { "shape": "DnsIps", - "documentation": "

A list of up to two IP addresses of DNS servers or domain controllers in the self-managed AD directory.

" + "documentation": "

A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory.

" } }, - "documentation": "

The configuration that Amazon FSx uses to join a Amazon FSx for Windows File Server file system or an ONTAP storage virtual machine (SVM) to a self-managed (including on-premises) Microsoft Active Directory (AD) directory. For more information, see Using Amazon FSx with your self-managed Microsoft Active Directory or Managing SVMs.

" + "documentation": "

The configuration that Amazon FSx uses to join a FSx for Windows File Server file system or an ONTAP storage virtual machine (SVM) to a self-managed (including on-premises) Microsoft Active Directory (AD) directory. For more information, see Using Amazon FSx with your self-managed Microsoft Active Directory or Managing SVMs.

" }, "SelfManagedActiveDirectoryConfigurationUpdates": { "type": "structure", @@ -3302,7 +3320,7 @@ }, "DnsIps": { "shape": "DnsIps", - "documentation": "

A list of up to two IP addresses of DNS servers or domain controllers in the self-managed AD directory.

" + "documentation": "

A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory.

" } }, "documentation": "

The configuration that Amazon FSx uses to join the Windows File Server instance to a self-managed Microsoft Active Directory (AD) directory.

" diff --git a/apis/kendra-2019-02-03.min.json b/apis/kendra-2019-02-03.min.json index c4fb376a0d..00454c04cd 100644 --- a/apis/kendra-2019-02-03.min.json +++ b/apis/kendra-2019-02-03.min.json @@ -284,7 +284,10 @@ "UserTokenConfigurations": { "shape": "S53" }, - "UserContextPolicy": {} + "UserContextPolicy": {}, + "UserGroupResolutionConfiguration": { + "shape": "S5d" + } } }, "output": { @@ -538,7 +541,7 @@ "type": "timestamp" }, "DocumentMetadataConfigurations": { - "shape": "S63" + "shape": "S65" }, "IndexStatistics": { "type": "structure", @@ -577,12 +580,15 @@ }, "ErrorMessage": {}, "CapacityUnits": { - "shape": "S6l" + "shape": "S6n" }, "UserTokenConfigurations": { "shape": "S53" }, - "UserContextPolicy": {} + "UserContextPolicy": {}, + "UserGroupResolutionConfiguration": { + "shape": "S5d" + } } } }, @@ -1186,7 +1192,7 @@ "IndexId": {}, "QueryText": {}, "AttributeFilter": { - "shape": "S8z" + "shape": "S91" }, "Facets": { "type": "list", @@ -1213,7 +1219,7 @@ "members": { "Name": {}, "Relevance": { - "shape": "S67" + "shape": "S69" } } } @@ -1290,7 +1296,7 @@ "type": "structure", "members": { "TextWithHighlightsValue": { - "shape": "S9n" + "shape": "S9p" } } } @@ -1299,10 +1305,10 @@ }, "DocumentId": {}, "DocumentTitle": { - "shape": "S9n" + "shape": "S9p" }, "DocumentExcerpt": { - "shape": "S9n" + "shape": "S9p" }, "DocumentURI": {}, "DocumentAttributes": { @@ -1494,15 +1500,18 @@ "RoleArn": {}, "Description": {}, "DocumentMetadataConfigurationUpdates": { - "shape": "S63" + "shape": "S65" }, "CapacityUnits": { - "shape": "S6l" + "shape": "S6n" }, "UserTokenConfigurations": { "shape": "S53" }, - "UserContextPolicy": {} + "UserContextPolicy": {}, + "UserGroupResolutionConfiguration": { + "shape": "S5d" + } } } }, @@ -2324,7 +2333,16 @@ } } }, - "S63": { + "S5d": { + "type": "structure", + "required": [ + "UserGroupResolutionMode" + ], + "members": { + "UserGroupResolutionMode": {} + } + }, + "S65": { "type": "list", "member": { "type": "structure", @@ -2336,7 +2354,7 @@ "Name": {}, "Type": {}, "Relevance": { - "shape": "S67" + "shape": "S69" }, "Search": { "type": "structure", @@ -2358,7 +2376,7 @@ } } }, - "S67": { + "S69": { "type": "structure", "members": { "Freshness": { @@ -2378,7 +2396,7 @@ } } }, - "S6l": { + "S6n": { "type": "structure", "required": [ "StorageCapacityUnits", @@ -2393,17 +2411,17 @@ } } }, - "S8z": { + "S91": { "type": "structure", "members": { "AndAllFilters": { - "shape": "S90" + "shape": "S92" }, "OrAllFilters": { - "shape": "S90" + "shape": "S92" }, "NotFilter": { - "shape": "S8z" + "shape": "S91" }, "EqualsTo": { "shape": "Sh" @@ -2428,13 +2446,13 @@ } } }, - "S90": { + "S92": { "type": "list", "member": { - "shape": "S8z" + "shape": "S91" } }, - "S9n": { + "S9p": { "type": "structure", "members": { "Text": {}, diff --git a/apis/kendra-2019-02-03.normal.json b/apis/kendra-2019-02-03.normal.json index 2b03bd4e9a..38a29ca0c3 100644 --- a/apis/kendra-2019-02-03.normal.json +++ b/apis/kendra-2019-02-03.normal.json @@ -188,7 +188,7 @@ "shape": "InternalServerException" } ], - "documentation": "

Creates a data source that you use to with an Amazon Kendra index.

You specify a name, data source connector type and description for your data source. You also specify configuration information such as document metadata (author, source URI, and so on) and user context information.

CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.

" + "documentation": "

Creates a data source that you want to use with an Amazon Kendra index.

You specify a name, data source connector type and description for your data source. You also specify configuration information for the data source connector.

CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.

" }, "CreateFaq": { "name": "CreateFaq", @@ -1061,7 +1061,7 @@ "shape": "InternalServerException" } ], - "documentation": "

Maps users to their groups. You can also map sub groups to groups. For example, the group \"Company Intellectual Property Teams\" includes sub groups \"Research\" and \"Engineering\". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their search results.

You map users to their groups when you want to filter search results for different users based on their group’s access to documents. For more information on filtering search results for different users, see Filtering on user context.

If more than five PUT actions for a group are currently processing, a validation exception is thrown.

" + "documentation": "

Maps users to their groups so that you only need to provide the user ID when you issue the query.

You can also map sub groups to groups. For example, the group \"Company Intellectual Property Teams\" includes sub groups \"Research\" and \"Engineering\". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their search results.

You map users to their groups when you want to filter search results for different users based on their group’s access to documents. For more information on filtering search results for different users, see Filtering on user context.

If more than five PUT actions for a group are currently processing, a validation exception is thrown.

" }, "Query": { "name": "Query", @@ -1520,22 +1520,22 @@ }, "GreaterThan": { "shape": "DocumentAttribute", - "documentation": "

Performs a greater than operation on two document attributes. Use with a document attribute of type Integer or Long.

" + "documentation": "

Performs a greater than operation on two document attributes. Use with a document attribute of type Date or Long.

" }, "GreaterThanOrEquals": { "shape": "DocumentAttribute", - "documentation": "

Performs a greater or equals than operation on two document attributes. Use with a document attribute of type Integer or Long.

" + "documentation": "

Performs a greater or equals than operation on two document attributes. Use with a document attribute of type Date or Long.

" }, "LessThan": { "shape": "DocumentAttribute", - "documentation": "

Performs a less than operation on two document attributes. Use with a document attribute of type Integer or Long.

" + "documentation": "

Performs a less than operation on two document attributes. Use with a document attribute of type Date or Long.

" }, "LessThanOrEquals": { "shape": "DocumentAttribute", - "documentation": "

Performs a less than or equals operation on two document attributes. Use with a document attribute of type Integer or Long.

" + "documentation": "

Performs a less than or equals operation on two document attributes. Use with a document attribute of type Date or Long.

" } }, - "documentation": "

Provides filtering the query results based on document attributes.

When you use the AndAllFilters or OrAllFilters, filters you can use 2 layers under the first attribute filter. For example, you can use:

<AndAllFilters>

  1. <OrAllFilters>

  2. <EqualTo>

If you use more than 2 layers, you receive a ValidationException exception with the message \"AttributeFilter cannot have a depth of more than 2.\"

If you use more than 10 attribute filters, you receive a ValidationException exception with the message \"AttributeFilter cannot have a length of more than 10\".

" + "documentation": "

Provides filtering the query results based on document attributes.

When you use the AndAllFilters or OrAllFilters, filters you can use 2 layers under the first attribute filter. For example, you can use:

<AndAllFilters>

  1. <OrAllFilters>

  2. <EqualTo>

If you use more than 2 layers, you receive a ValidationException exception with the message \"AttributeFilter cannot have a depth of more than 2.\"

If you use more than 10 attribute filters in a given list for AndAllFilters or OrAllFilters, you receive a ValidationException with the message \"AttributeFilter cannot have a length of more than 10\".

" }, "AttributeFilterList": { "type": "list", @@ -2354,7 +2354,11 @@ }, "UserContextPolicy": { "shape": "UserContextPolicy", - "documentation": "

The user context policy.

ATTRIBUTE_FILTER

All indexed content is searchable and displayable for all users. If there is an access control list, it is ignored. You can filter on user and group attributes.

USER_TOKEN

Enables SSO and token-based user access control. All documents with no access control and all documents accessible to the user will be searchable and displayable.

" + "documentation": "

The user context policy.

ATTRIBUTE_FILTER

All indexed content is searchable and displayable for all users. If you want to filter search results on user context, you can use the attribute filters of _user_id and _group_ids or you can provide user and group information in UserContext.

USER_TOKEN

Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable.

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

Enables fetching access levels of groups and users from an AWS Single Sign-On identity source. To configure this, see UserGroupResolutionConfiguration.

" } } }, @@ -2451,7 +2455,7 @@ }, "ClientToken": { "shape": "ClientTokenName", - "documentation": "

A token that you provide to identify the request to create a thesaurus. Multiple calls to the CreateThesaurus operation with the same client token will create only one index.

", + "documentation": "

A token that you provide to identify the request to create a thesaurus. Multiple calls to the CreateThesaurus operation with the same client token will create only one thesaurus.

", "idempotencyToken": true } } @@ -3161,6 +3165,10 @@ "UserContextPolicy": { "shape": "UserContextPolicy", "documentation": "

The user context policy for the Amazon Kendra index.

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

Shows whether you have enabled the configuration for fetching access levels of groups and users from an AWS Single Sign-On identity source.

" } } }, @@ -3252,7 +3260,7 @@ }, "CreatedAt": { "shape": "Timestamp", - "documentation": "

Shows the date-time a block list for query suggestions was last created.

" + "documentation": "

Shows the date-time a block list for query suggestions was created.

" }, "UpdatedAt": { "shape": "Timestamp", @@ -3958,7 +3966,7 @@ }, "S3PathforGroupMembers": { "shape": "S3Path", - "documentation": "

If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.

" + "documentation": "

If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.

You can download this example S3 file that uses the correct format for listing group members. Note, dataSourceId is optional. The value of type for a group is always GROUP and for a user it is always USER.

" } }, "documentation": "

A list of users or sub groups that belong to a group. Users and groups are useful for filtering search results to different users based on their group's access to documents.

" @@ -4291,7 +4299,7 @@ }, "NextToken": { "shape": "NextToken", - "documentation": "

If the result of the previous request to GetDataSourceSyncJobHistory was truncated, include the NextToken to fetch the next set of jobs.

" + "documentation": "

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of jobs.

" }, "MaxResults": { "shape": "MaxResultsIntegerForListDataSourceSyncJobsRequest", @@ -4316,7 +4324,7 @@ }, "NextToken": { "shape": "NextToken", - "documentation": "

The GetDataSourceSyncJobHistory operation returns a page of vocabularies at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Kendra returns the NextPage token. Include the token in the next request to the GetDataSourceSyncJobHistory operation to return in the next page of jobs.

" + "documentation": "

If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of jobs.

" } } }, @@ -4365,7 +4373,7 @@ }, "NextToken": { "shape": "NextToken", - "documentation": "

If the result of the previous request to ListFaqs was truncated, include the NextToken to fetch the next set of FAQs.

" + "documentation": "

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of FAQs.

" }, "MaxResults": { "shape": "MaxResultsIntegerForListFaqsRequest", @@ -4378,7 +4386,7 @@ "members": { "NextToken": { "shape": "NextToken", - "documentation": "

The ListFaqs operation returns a page of FAQs at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Kendra returns the NextPage token. Include the token in the next request to the ListFaqs operation to return the next page of FAQs.

" + "documentation": "

If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of FAQs.

" }, "FaqSummaryItems": { "shape": "FaqSummaryItems", @@ -4407,11 +4415,11 @@ }, "NextToken": { "shape": "NextToken", - "documentation": "

The next items in the list of groups that go beyond the maximum.

" + "documentation": "

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of groups that are mapped to users before a given ordering or timestamp identifier.

" }, "MaxResults": { "shape": "MaxResultsIntegerForListPrincipalsRequest", - "documentation": "

The maximum results shown for a list of groups that are mapped to users before a given ordering or timestamp identifier.

" + "documentation": "

The maximum number of returned groups that are mapped to users before a given ordering or timestamp identifier.

" } } }, @@ -4424,7 +4432,7 @@ }, "NextToken": { "shape": "NextToken", - "documentation": "

The next items in the list of groups that go beyond the maximum.

" + "documentation": "

If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users before a given ordering or timestamp identifier.

" } } }, @@ -4543,7 +4551,7 @@ }, "ThesaurusSummaryItems": { "shape": "ThesaurusSummaryItems", - "documentation": "

An array of summary information for one or more thesauruses.

" + "documentation": "

An array of summary information for a thesaurus or multiple thesauri.

" } } }, @@ -4949,7 +4957,7 @@ }, "UserContext": { "shape": "UserContext", - "documentation": "

The user context token.

" + "documentation": "

The user context token or user and group information.

" }, "VisitorId": { "shape": "VisitorId", @@ -6214,7 +6222,7 @@ "documentation": "

The Unix datetime that the thesaurus was last updated.

" } }, - "documentation": "

An array of summary information for one or more thesauruses.

" + "documentation": "

An array of summary information for a thesaurus or multiple thesauri.

" }, "ThesaurusSummaryItems": { "type": "list", @@ -6341,7 +6349,11 @@ }, "UserContextPolicy": { "shape": "UserContextPolicy", - "documentation": "

The user user token context policy.

" + "documentation": "

The user context policy.

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

Enables fetching access levels of groups and users from an AWS Single Sign-On identity source. To configure this, see UserGroupResolutionConfiguration.

" } } }, @@ -6460,7 +6472,7 @@ "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": "

Provides the configuration information of the 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 the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index.

" + "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 the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index.

" }, "UserAccount": { "type": "string", @@ -6488,7 +6500,7 @@ "documentation": "

The list of data source groups you want to filter search results based on groups' access to documents in that data source.

" } }, - "documentation": "

Provides information about the user context for a Amazon Kendra index.

This is used for filtering search results for different users based on their access to documents.

You provide one of the following:

If you provide both, an exception is thrown.

" + "documentation": "

Provides information about the user context for an Amazon Kendra index.

This is used for filtering search results for different users based on their access to documents.

You provide one of the following:

If you provide both, an exception is thrown.

" }, "UserContextPolicy": { "type": "string", @@ -6497,6 +6509,26 @@ "USER_TOKEN" ] }, + "UserGroupResolutionConfiguration": { + "type": "structure", + "required": [ + "UserGroupResolutionMode" + ], + "members": { + "UserGroupResolutionMode": { + "shape": "UserGroupResolutionMode", + "documentation": "

The identity store provider (mode) you want to use to fetch access levels of groups and users. AWS Single Sign-On is currently the only available mode. Your users and groups must exist in an AWS SSO identity source in order to use this mode.

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

Provides the configuration information to fetch access levels of groups and users from an AWS Single Sign-On identity source. This is useful for setting up user context filtering, where Amazon Kendra filters search results for different users based on their group's access to documents. You can also map your users to their groups for user context filtering using the PutPrincipalMapping operation.

To set up an AWS SSO identity source in the console to use with Amazon Kendra, see Getting started with an AWS SSO identity source. You must also grant the required permissions to use AWS SSO with Amazon Kendra. For more information, see IAM roles for AWS Single Sign-On.

" + }, + "UserGroupResolutionMode": { + "type": "string", + "enum": [ + "AWS_SSO", + "NONE" + ] + }, "UserId": { "type": "string", "max": 1024, @@ -6564,7 +6596,7 @@ "members": { "Urls": { "shape": "Urls", - "documentation": "

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

You can include website subdomains. You can list up to 100 seed URLs and up to three sitemap URLs.

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 the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index.

" + "documentation": "

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

You can include website subdomains. You can list up to 100 seed URLs and up to three sitemap URLs.

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 the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index.

" }, "CrawlDepth": { "shape": "CrawlDepth", diff --git a/apis/sagemaker-2017-07-24.normal.json b/apis/sagemaker-2017-07-24.normal.json index 9fa4c0c1bc..243f364f80 100644 --- a/apis/sagemaker-2017-07-24.normal.json +++ b/apis/sagemaker-2017-07-24.normal.json @@ -338,7 +338,7 @@ "shape": "ResourceLimitExceeded" } ], - "documentation": "

Creates an endpoint using the endpoint configuration specified in the request. Amazon SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API.

Use this API to deploy models using Amazon SageMaker hosting services.

For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see the Create Endpoint example notebook.

You must not delete an EndpointConfig that is in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig.

The endpoint name must be unique within an Amazon Web Services Region in your Amazon Web Services account.

When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them.

When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read.

When Amazon SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. Amazon SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API.

If any of the models hosted at this endpoint get model data from an Amazon S3 location, Amazon SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the S3 path you provided. Amazon Web Services STS is activated in your IAM user account by default. If you previously deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see Activating and Deactivating Amazon Web Services STS in an Amazon Web Services Region in the Amazon Web Services Identity and Access Management User Guide.

To add the IAM role policies for using this API operation, go to the IAM console, and choose Roles in the left navigation pane. Search the IAM role that you want to grant access to use the CreateEndpoint and CreateEndpointConfig API operations, add the following policies to the role.

" + "documentation": "

Creates an endpoint using the endpoint configuration specified in the request. Amazon SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API.

Use this API to deploy models using Amazon SageMaker hosting services.

For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see the Create Endpoint example notebook.

You must not delete an EndpointConfig that is in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig.

The endpoint name must be unique within an Amazon Web Services Region in your Amazon Web Services account.

When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them.

When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read.

When Amazon SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. Amazon SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API.

If any of the models hosted at this endpoint get model data from an Amazon S3 location, Amazon SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the S3 path you provided. Amazon Web Services STS is activated in your IAM user account by default. If you previously deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see Activating and Deactivating Amazon Web Services STS in an Amazon Web Services Region in the Amazon Web Services Identity and Access Management User Guide.

To add the IAM role policies for using this API operation, go to the IAM console, and choose Roles in the left navigation pane. Search the IAM role that you want to grant access to use the CreateEndpoint and CreateEndpointConfig API operations, add the following policies to the role.

" }, "CreateEndpointConfig": { "name": "CreateEndpointConfig", @@ -4437,8 +4437,7 @@ "documentation": "

The name of the algorithm resource to use for the training job. This must be an algorithm resource that you created or subscribe to on Amazon Web Services Marketplace. If you specify a value for this parameter, you can't specify a value for TrainingImage.

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

The input mode that the algorithm supports. For the input modes that Amazon SageMaker algorithms support, see Algorithms. If an algorithm supports the File input mode, Amazon SageMaker downloads the training data from S3 to the provisioned ML storage Volume, and mounts the directory to docker volume for training container. If an algorithm supports the Pipe input mode, Amazon SageMaker streams data directly from S3 to the container.

In File mode, make sure you provision ML storage volume with sufficient capacity to accommodate the data download from S3. In addition to the training data, the ML storage volume also stores the output model. The algorithm container use ML storage volume to also store intermediate information, if any.

For distributed algorithms using File mode, training data is distributed uniformly, and your training duration is predictable if the input data objects size is approximately same. Amazon SageMaker does not split the files any further for model training. If the object sizes are skewed, training won't be optimal as the data distribution is also skewed where one host in a training cluster is overloaded, thus becoming bottleneck in training.

" + "shape": "TrainingInputMode" }, "MetricDefinitions": { "shape": "MetricDefinitionList", @@ -5374,11 +5373,11 @@ }, "MaxRuntimePerTrainingJobInSeconds": { "shape": "MaxRuntimePerTrainingJobInSeconds", - "documentation": "

The maximum time, in seconds, a training job is allowed to run as part of an AutoML job.

" + "documentation": "

The maximum time, in seconds, that each training job is allowed to run as part of a hyperparameter tuning job. For more information, see the used by the action.

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

The maximum runtime, in seconds, an AutoML job has to complete.

" + "documentation": "

The maximum runtime, in seconds, an AutoML job has to complete.

If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, will not be completed.

" } }, "documentation": "

How long a job is allowed to run, or how many candidates a job is allowed to generate.

" @@ -7353,7 +7352,7 @@ }, "OfflineStoreConfig": { "shape": "OfflineStoreConfig", - "documentation": "

Use this to configure an OfflineFeatureStore. This parameter allows you to specify:

To learn more about this parameter, see OfflineStoreConfig.

" + "documentation": "

Use this to configure an OfflineFeatureStore. This parameter allows you to specify:

To learn more about this parameter, see OfflineStoreConfig.

" }, "RoleArn": { "shape": "RoleArn", @@ -8941,7 +8940,7 @@ }, "JoinSource": { "shape": "JoinSource", - "documentation": "

Specifies the source of the data to join with the transformed data. The valid values are None and Input. The default value is None, which specifies not to join the input with the transformed data. If you want the batch transform job to join the original input data with the transformed data, set JoinSource to Input. You can specify OutputFilter as an additional filter to select a portion of the joined dataset and store it in the output file.

For JSON or JSONLines objects, such as a JSON array, Amazon SageMaker adds the transformed data to the input JSON object in an attribute called SageMakerOutput. The joined result for JSON must be a key-value pair object. If the input is not a key-value pair object, Amazon SageMaker creates a new JSON file. In the new JSON file, and the input data is stored under the SageMakerInput key and the results are stored in SageMakerOutput.

For CSV data, Amazon SageMaker takes each row as a JSON array and joins the transformed data with the input by appending each transformed row to the end of the input. The joined data has the original input data followed by the transformed data and the output is a CSV file.

For information on how joining in applied, see Workflow for Associating Inferences with Input Records.

" + "documentation": "

Specifies the source of the data to join with the transformed data. The valid values are None and Input. The default value is None, which specifies not to join the input with the transformed data. If you want the batch transform job to join the original input data with the transformed data, set JoinSource to Input. You can specify OutputFilter as an additional filter to select a portion of the joined dataset and store it in the output file.

For JSON or JSONLines objects, such as a JSON array, SageMaker adds the transformed data to the input JSON object in an attribute called SageMakerOutput. The joined result for JSON must be a key-value pair object. If the input is not a key-value pair object, SageMaker creates a new JSON file. In the new JSON file, and the input data is stored under the SageMakerInput key and the results are stored in SageMakerOutput.

For CSV data, SageMaker takes each row as a JSON array and joins the transformed data with the input by appending each transformed row to the end of the input. The joined data has the original input data followed by the transformed data and the output is a CSV file.

For information on how joining in applied, see Workflow for Associating Inferences with Input Records.

" } }, "documentation": "

The data structure used to specify the data to be used for inference in a batch transform job and to associate the data that is relevant to the prediction results in the output. The input filter provided allows you to exclude input data that is not needed for inference in a batch transform job. The output filter provided allows you to include input data relevant to interpreting the predictions in the output from the job. For more information, see Associate Prediction Results with their Corresponding Input Records.

" @@ -10066,7 +10065,7 @@ }, "LastUserActivityTimestamp": { "shape": "Timestamp", - "documentation": "

The timestamp of the last user's activity.

" + "documentation": "

The timestamp of the last user's activity. LastUserActivityTimestamp is also updated when SageMaker performs health checks without user activity. As a result, this value is set to the same value as LastHealthCheckTimestamp.

" }, "CreationTime": { "shape": "CreationTime", @@ -12600,7 +12599,7 @@ }, "BillableTimeInSeconds": { "shape": "BillableTimeInSeconds", - "documentation": "

The billable time in seconds. Billable time refers to the absolute wall-clock time.

Multiply BillableTimeInSeconds by the number of instances (InstanceCount) in your training cluster to get the total compute time Amazon SageMaker will bill you if you run distributed training. The formula is as follows: BillableTimeInSeconds * InstanceCount .

You can calculate the savings from using managed spot training using the formula (1 - BillableTimeInSeconds / TrainingTimeInSeconds) * 100. For example, if BillableTimeInSeconds is 100 and TrainingTimeInSeconds is 500, the savings is 80%.

" + "documentation": "

The billable time in seconds. Billable time refers to the absolute wall-clock time.

Multiply BillableTimeInSeconds by the number of instances (InstanceCount) in your training cluster to get the total compute time SageMaker will bill you if you run distributed training. The formula is as follows: BillableTimeInSeconds * InstanceCount .

You can calculate the savings from using managed spot training using the formula (1 - BillableTimeInSeconds / TrainingTimeInSeconds) * 100. For example, if BillableTimeInSeconds is 100 and TrainingTimeInSeconds is 500, the savings is 80%.

" }, "DebugHookConfig": { "shape": "DebugHookConfig" @@ -13742,7 +13741,7 @@ }, "S3InputMode": { "shape": "ProcessingS3InputMode", - "documentation": "

Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File.

" + "documentation": "

Whether the Pipe or File is used as the input mode for transferring data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File.

" }, "S3DataDistributionType": { "shape": "ProcessingS3DataDistributionType", @@ -14915,8 +14914,7 @@ "documentation": "

The registry path of the Docker image that contains the training algorithm. For information about Docker registry paths for built-in algorithms, see Algorithms Provided by Amazon SageMaker: Common Parameters. Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.

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

The input mode that the algorithm supports: File or Pipe. In File input mode, Amazon SageMaker downloads the training data from Amazon S3 to the storage volume that is attached to the training instance and mounts the directory to the Docker volume for the training container. In Pipe input mode, Amazon SageMaker streams data directly from Amazon S3 to the container.

If you specify File mode, make sure that you provision the storage volume that is attached to the training instance with enough capacity to accommodate the training data downloaded from Amazon S3, the model artifacts, and intermediate information.

For more information about input modes, see Algorithms.

" + "shape": "TrainingInputMode" }, "AlgorithmName": { "shape": "ArnOrName", @@ -24362,7 +24360,7 @@ "documentation": "

The maximum length of time, in seconds, that a managed Spot training job has to complete. It is the amount of time spent waiting for Spot capacity plus the amount of time the job can run. It must be equal to or greater than MaxRuntimeInSeconds. If the job does not complete during this time, Amazon SageMaker ends the job.

When RetryStrategy is specified in the job request, MaxWaitTimeInSeconds specifies the maximum time for all of the attempts in total, not each individual attempt.

" } }, - "documentation": "

Specifies a limit to how long a model training job, model compilation job, or hyperparameter tuning job can run. It also specifies how long a managed Spot training job has to complete. When the job reaches the time limit, Amazon SageMaker ends the training or compilation job. Use this API to cap model training costs.

To stop a training job, Amazon SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost.

The training algorithms provided by Amazon SageMaker automatically save the intermediate results of a model training job when possible. This attempt to save artifacts is only a best effort case as model might not be in a state from which it can be saved. For example, if training has just started, the model might not be ready to save. When saved, this intermediate data is a valid model artifact. You can use it to create a model with CreateModel.

The Neural Topic Model (NTM) currently does not support saving intermediate model artifacts. When training NTMs, make sure that the maximum runtime is sufficient for the training job to complete.

" + "documentation": "

Specifies a limit to how long a model training job or model compilation job can run. It also specifies how long a managed spot training job has to complete. When the job reaches the time limit, Amazon SageMaker ends the training or compilation job. Use this API to cap model training costs.

To stop a training job, Amazon SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost.

The training algorithms provided by Amazon SageMaker automatically save the intermediate results of a model training job when possible. This attempt to save artifacts is only a best effort case as model might not be in a state from which it can be saved. For example, if training has just started, the model might not be ready to save. When saved, this intermediate data is a valid model artifact. You can use it to create a model with CreateModel.

The Neural Topic Model (NTM) currently does not support saving intermediate model artifacts. When training NTMs, make sure that the maximum runtime is sufficient for the training job to complete.

" }, "String": { "type": "string" @@ -24540,7 +24538,7 @@ "documentation": "

The tag value.

" } }, - "documentation": "

A tag object that consists of a key and an optional value, used to manage metadata for Amazon SageMaker Amazon Web Services resources.

You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints. For more information on adding tags to Amazon SageMaker resources, see AddTags.

For more information on adding metadata to your Amazon Web Services resources with tagging, see Tagging Amazon Web Services resources. For advice on best practices for managing Amazon Web Services resources with tagging, see Tagging Best Practices: Implement an Effective Amazon Web Services Resource Tagging Strategy.

" + "documentation": "

A tag object that consists of a key and an optional value, used to manage metadata for SageMaker Amazon Web Services resources.

You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints. For more information on adding tags to SageMaker resources, see AddTags.

For more information on adding metadata to your Amazon Web Services resources with tagging, see Tagging Amazon Web Services resources. For advice on best practices for managing Amazon Web Services resources with tagging, see Tagging Best Practices: Implement an Effective Amazon Web Services Resource Tagging Strategy.

" }, "TagKey": { "type": "string", @@ -24816,9 +24814,11 @@ }, "TrainingInputMode": { "type": "string", + "documentation": "

The training input mode that the algorithm supports. For more information about input modes, see Algorithms.

Pipe mode

If an algorithm supports Pipe mode, Amazon SageMaker streams data directly from Amazon S3 to the container.

File mode

If an algorithm supports File mode, SageMaker downloads the training data from S3 to the provisioned ML storage volume, and mounts the directory to the Docker volume for the training container.

You must provision the ML storage volume with sufficient capacity to accommodate the data downloaded from S3. In addition to the training data, the ML storage volume also stores the output model. The algorithm container uses the ML storage volume to also store intermediate information, if any.

For distributed algorithms, training data is distributed uniformly. Your training duration is predictable if the input data objects sizes are approximately the same. SageMaker does not split the files any further for model training. If the object sizes are skewed, training won't be optimal as the data distribution is also skewed when one host in a training cluster is overloaded, thus becoming a bottleneck in training.

FastFile mode

If an algorithm supports FastFile mode, SageMaker streams data directly from S3 to the container with no code changes, and provides file system access to the data. Users can author their training script to interact with these files as if they were stored on disk.

FastFile mode works best when the data is read sequentially. Augmented manifest files aren't supported. The startup time is lower when there are fewer files in the S3 bucket provided.

", "enum": [ "Pipe", - "File" + "File", + "FastFile" ] }, "TrainingInstanceCount": { @@ -25041,8 +25041,7 @@ ], "members": { "TrainingInputMode": { - "shape": "TrainingInputMode", - "documentation": "

The input mode used by the algorithm for the training job. For the input modes that Amazon SageMaker algorithms support, see Algorithms.

If an algorithm supports the File input mode, Amazon SageMaker downloads the training data from S3 to the provisioned ML storage Volume, and mounts the directory to docker volume for training container. If an algorithm supports the Pipe input mode, Amazon SageMaker streams data directly from S3 to the container.

" + "shape": "TrainingInputMode" }, "HyperParameters": { "shape": "HyperParameters", diff --git a/clients/amplifybackend.d.ts b/clients/amplifybackend.d.ts index d9e6088ef3..fc2fcf88ef 100644 --- a/clients/amplifybackend.d.ts +++ b/clients/amplifybackend.d.ts @@ -1044,6 +1044,10 @@ declare namespace AmplifyBackend { BackendEnvironmentName?: __string; } export interface GetBackendResponse { + /** + * A stringified version of the cli.json file for your Amplify project. + */ + AmplifyFeatureFlags?: __string; /** * A stringified version of the current configs for your Amplify project. */ diff --git a/clients/fsx.d.ts b/clients/fsx.d.ts index b37727d405..adda9991ee 100644 --- a/clients/fsx.d.ts +++ b/clients/fsx.d.ts @@ -502,6 +502,10 @@ declare namespace FSx { */ StorageType?: StorageType; KmsKeyId?: KmsKeyId; + /** + * Sets the version for the Amazon FSx for Lustre file system you're creating from a backup. Valid values are 2.10 and 2.12. You don't need to specify FileSystemTypeVersion because it will be applied using the backup's FileSystemTypeVersion setting. If you choose to specify FileSystemTypeVersion when creating from backup, the value must match the backup's FileSystemTypeVersion setting. + */ + FileSystemTypeVersion?: FileSystemTypeVersion; } export interface CreateFileSystemFromBackupResponse { /** @@ -616,6 +620,10 @@ declare namespace FSx { WindowsConfiguration?: CreateFileSystemWindowsConfiguration; LustreConfiguration?: CreateFileSystemLustreConfiguration; OntapConfiguration?: CreateFileSystemOntapConfiguration; + /** + * Sets the version of the Amazon FSx for Lustre file system you're creating. Valid values are 2.10 and 2.12. Set the value to 2.10 to create a Lustre 2.10 file system. Set the value to 2.12 to create a Lustre 2.12 file system. Default value is 2.10. + */ + FileSystemTypeVersion?: FileSystemTypeVersion; } export interface CreateFileSystemResponse { /** @@ -1252,6 +1260,10 @@ declare namespace FSx { * The configuration for this FSx for NetApp ONTAP file system. */ OntapConfiguration?: OntapFileSystemConfiguration; + /** + * The version of your Amazon FSx for Lustre file system, either 2.10 or 2.12. + */ + FileSystemTypeVersion?: FileSystemTypeVersion; } export type FileSystemAdministratorsGroupName = string; export interface FileSystemEndpoint { @@ -1283,6 +1295,7 @@ declare namespace FSx { export type FileSystemMaintenanceOperation = "PATCHING"|"BACKING_UP"|string; export type FileSystemMaintenanceOperations = FileSystemMaintenanceOperation[]; export type FileSystemType = "WINDOWS"|"LUSTRE"|"ONTAP"|string; + export type FileSystemTypeVersion = string; export type FileSystems = FileSystem[]; export interface Filter { /** @@ -1480,7 +1493,7 @@ declare namespace FSx { */ UserName?: DirectoryUserName; /** - * A list of up to two IP addresses of DNS servers or domain controllers in the self-managed AD directory. + * A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. */ DnsIps?: DnsIps; } @@ -1506,7 +1519,7 @@ declare namespace FSx { */ Password: DirectoryPassword; /** - * A list of up to two IP addresses of DNS servers or domain controllers in the self-managed AD directory. + * A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. */ DnsIps: DnsIps; } @@ -1520,7 +1533,7 @@ declare namespace FSx { */ Password?: DirectoryPassword; /** - * A list of up to two IP addresses of DNS servers or domain controllers in the self-managed AD directory. + * A list of up to three IP addresses of DNS servers or domain controllers in the self-managed AD directory. */ DnsIps?: DnsIps; } diff --git a/clients/kendra.d.ts b/clients/kendra.d.ts index 6c0bd795fa..6a17fe707f 100644 --- a/clients/kendra.d.ts +++ b/clients/kendra.d.ts @@ -44,11 +44,11 @@ declare class Kendra extends Service { */ clearQuerySuggestions(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Creates a data source that you use to with an Amazon Kendra index. You specify a name, data source connector type and description for your data source. You also specify configuration information such as document metadata (author, source URI, and so on) and user context information. CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised. + * Creates a data source that you want to use with an Amazon Kendra index. You specify a name, data source connector type and description for your data source. You also specify configuration information for the data source connector. CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised. */ createDataSource(params: Kendra.Types.CreateDataSourceRequest, callback?: (err: AWSError, data: Kendra.Types.CreateDataSourceResponse) => void): Request; /** - * Creates a data source that you use to with an Amazon Kendra index. You specify a name, data source connector type and description for your data source. You also specify configuration information such as document metadata (author, source URI, and so on) and user context information. CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised. + * Creates a data source that you want to use with an Amazon Kendra index. You specify a name, data source connector type and description for your data source. You also specify configuration information for the data source connector. CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised. */ createDataSource(callback?: (err: AWSError, data: Kendra.Types.CreateDataSourceResponse) => void): Request; /** @@ -260,11 +260,11 @@ declare class Kendra extends Service { */ listThesauri(callback?: (err: AWSError, data: Kendra.Types.ListThesauriResponse) => void): Request; /** - * Maps users to their groups. You can also map sub groups to groups. For example, the group "Company Intellectual Property Teams" includes sub groups "Research" and "Engineering". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their search results. You map users to their groups when you want to filter search results for different users based on their group’s access to documents. For more information on filtering search results for different users, see Filtering on user context. If more than five PUT actions for a group are currently processing, a validation exception is thrown. + * Maps users to their groups so that you only need to provide the user ID when you issue the query. You can also map sub groups to groups. For example, the group "Company Intellectual Property Teams" includes sub groups "Research" and "Engineering". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their search results. You map users to their groups when you want to filter search results for different users based on their group’s access to documents. For more information on filtering search results for different users, see Filtering on user context. If more than five PUT actions for a group are currently processing, a validation exception is thrown. */ putPrincipalMapping(params: Kendra.Types.PutPrincipalMappingRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Maps users to their groups. You can also map sub groups to groups. For example, the group "Company Intellectual Property Teams" includes sub groups "Research" and "Engineering". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their search results. You map users to their groups when you want to filter search results for different users based on their group’s access to documents. For more information on filtering search results for different users, see Filtering on user context. If more than five PUT actions for a group are currently processing, a validation exception is thrown. + * Maps users to their groups so that you only need to provide the user ID when you issue the query. You can also map sub groups to groups. For example, the group "Company Intellectual Property Teams" includes sub groups "Research" and "Engineering". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their search results. You map users to their groups when you want to filter search results for different users based on their group’s access to documents. For more information on filtering search results for different users, see Filtering on user context. If more than five PUT actions for a group are currently processing, a validation exception is thrown. */ putPrincipalMapping(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** @@ -418,19 +418,19 @@ declare namespace Kendra { */ ContainsAny?: DocumentAttribute; /** - * Performs a greater than operation on two document attributes. Use with a document attribute of type Integer or Long. + * Performs a greater than operation on two document attributes. Use with a document attribute of type Date or Long. */ GreaterThan?: DocumentAttribute; /** - * Performs a greater or equals than operation on two document attributes. Use with a document attribute of type Integer or Long. + * Performs a greater or equals than operation on two document attributes. Use with a document attribute of type Date or Long. */ GreaterThanOrEquals?: DocumentAttribute; /** - * Performs a less than operation on two document attributes. Use with a document attribute of type Integer or Long. + * Performs a less than operation on two document attributes. Use with a document attribute of type Date or Long. */ LessThan?: DocumentAttribute; /** - * Performs a less than or equals operation on two document attributes. Use with a document attribute of type Integer or Long. + * Performs a less than or equals operation on two document attributes. Use with a document attribute of type Date or Long. */ LessThanOrEquals?: DocumentAttribute; } @@ -908,9 +908,13 @@ declare namespace Kendra { */ UserTokenConfigurations?: UserTokenConfigurationList; /** - * The user context policy. ATTRIBUTE_FILTER All indexed content is searchable and displayable for all users. If there is an access control list, it is ignored. You can filter on user and group attributes. USER_TOKEN Enables SSO and token-based user access control. All documents with no access control and all documents accessible to the user will be searchable and displayable. + * The user context policy. ATTRIBUTE_FILTER All indexed content is searchable and displayable for all users. If you want to filter search results on user context, you can use the attribute filters of _user_id and _group_ids or you can provide user and group information in UserContext. USER_TOKEN Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable. */ UserContextPolicy?: UserContextPolicy; + /** + * Enables fetching access levels of groups and users from an AWS Single Sign-On identity source. To configure this, see UserGroupResolutionConfiguration. + */ + UserGroupResolutionConfiguration?: UserGroupResolutionConfiguration; } export interface CreateIndexResponse { /** @@ -980,7 +984,7 @@ declare namespace Kendra { */ SourceS3Path: S3Path; /** - * A token that you provide to identify the request to create a thesaurus. Multiple calls to the CreateThesaurus operation with the same client token will create only one index. + * A token that you provide to identify the request to create a thesaurus. Multiple calls to the CreateThesaurus operation with the same client token will create only one thesaurus. */ ClientToken?: ClientTokenName; } @@ -1440,6 +1444,10 @@ declare namespace Kendra { * The user context policy for the Amazon Kendra index. */ UserContextPolicy?: UserContextPolicy; + /** + * Shows whether you have enabled the configuration for fetching access levels of groups and users from an AWS Single Sign-On identity source. + */ + UserGroupResolutionConfiguration?: UserGroupResolutionConfiguration; } export interface DescribePrincipalMappingRequest { /** @@ -1509,7 +1517,7 @@ declare namespace Kendra { */ ErrorMessage?: ErrorMessage; /** - * Shows the date-time a block list for query suggestions was last created. + * Shows the date-time a block list for query suggestions was created. */ CreatedAt?: Timestamp; /** @@ -1899,7 +1907,7 @@ declare namespace Kendra { */ MemberUsers?: MemberUsers; /** - * If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000. + * If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000. You can download this example S3 file that uses the correct format for listing group members. Note, dataSourceId is optional. The value of type for a group is always GROUP and for a user it is always USER. */ S3PathforGroupMembers?: S3Path; } @@ -2065,7 +2073,7 @@ declare namespace Kendra { */ IndexId: IndexId; /** - * If the result of the previous request to GetDataSourceSyncJobHistory was truncated, include the NextToken to fetch the next set of jobs. + * If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of jobs. */ NextToken?: NextToken; /** @@ -2087,7 +2095,7 @@ declare namespace Kendra { */ History?: DataSourceSyncJobHistoryList; /** - * The GetDataSourceSyncJobHistory operation returns a page of vocabularies at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Kendra returns the NextPage token. Include the token in the next request to the GetDataSourceSyncJobHistory operation to return in the next page of jobs. + * If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of jobs. */ NextToken?: NextToken; } @@ -2121,7 +2129,7 @@ declare namespace Kendra { */ IndexId: IndexId; /** - * If the result of the previous request to ListFaqs was truncated, include the NextToken to fetch the next set of FAQs. + * If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of FAQs. */ NextToken?: NextToken; /** @@ -2131,7 +2139,7 @@ declare namespace Kendra { } export interface ListFaqsResponse { /** - * The ListFaqs operation returns a page of FAQs at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Kendra returns the NextPage token. Include the token in the next request to the ListFaqs operation to return the next page of FAQs. + * If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of FAQs. */ NextToken?: NextToken; /** @@ -2153,11 +2161,11 @@ declare namespace Kendra { */ OrderingId: PrincipalOrderingId; /** - * The next items in the list of groups that go beyond the maximum. + * If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of groups that are mapped to users before a given ordering or timestamp identifier. */ NextToken?: NextToken; /** - * The maximum results shown for a list of groups that are mapped to users before a given ordering or timestamp identifier. + * The maximum number of returned groups that are mapped to users before a given ordering or timestamp identifier. */ MaxResults?: MaxResultsIntegerForListPrincipalsRequest; } @@ -2167,7 +2175,7 @@ declare namespace Kendra { */ GroupsSummaries?: ListOfGroupSummaries; /** - * The next items in the list of groups that go beyond the maximum. + * If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users before a given ordering or timestamp identifier. */ NextToken?: NextToken; } @@ -2248,7 +2256,7 @@ declare namespace Kendra { */ NextToken?: NextToken; /** - * An array of summary information for one or more thesauruses. + * An array of summary information for a thesaurus or multiple thesauri. */ ThesaurusSummaryItems?: ThesaurusSummaryItems; } @@ -2441,7 +2449,7 @@ declare namespace Kendra { */ SortingConfiguration?: SortingConfiguration; /** - * The user context token. + * The user context token or user and group information. */ UserContext?: UserContext; /** @@ -3219,9 +3227,13 @@ declare namespace Kendra { */ UserTokenConfigurations?: UserTokenConfigurationList; /** - * The user user token context policy. + * The user context policy. */ UserContextPolicy?: UserContextPolicy; + /** + * Enables fetching access levels of groups and users from an AWS Single Sign-On identity source. To configure this, see UserGroupResolutionConfiguration. + */ + UserGroupResolutionConfiguration?: UserGroupResolutionConfiguration; } export interface UpdateQuerySuggestionsBlockListRequest { /** @@ -3329,6 +3341,13 @@ declare namespace Kendra { DataSourceGroups?: DataSourceGroups; } export type UserContextPolicy = "ATTRIBUTE_FILTER"|"USER_TOKEN"|string; + export interface UserGroupResolutionConfiguration { + /** + * The identity store provider (mode) you want to use to fetch access levels of groups and users. AWS Single Sign-On is currently the only available mode. Your users and groups must exist in an AWS SSO identity source in order to use this mode. + */ + UserGroupResolutionMode: UserGroupResolutionMode; + } + export type UserGroupResolutionMode = "AWS_SSO"|"NONE"|string; export type UserId = string; export type UserNameAttributeField = string; export interface UserTokenConfiguration { @@ -3348,7 +3367,7 @@ declare namespace Kendra { export type VpcSecurityGroupId = string; export interface WebCrawlerConfiguration { /** - * Specifies the seed or starting point URLs of the websites or the sitemap URLs of the websites you want to crawl. You can include website subdomains. You can list up to 100 seed URLs and up to three sitemap URLs. 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 the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index. + * Specifies the seed or starting point URLs of the websites or the sitemap URLs of the websites you want to crawl. You can include website subdomains. You can list up to 100 seed URLs and up to three sitemap URLs. 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 the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index. */ Urls: Urls; /** diff --git a/clients/sagemaker.d.ts b/clients/sagemaker.d.ts index 898b834d6a..e43a35ec95 100644 --- a/clients/sagemaker.d.ts +++ b/clients/sagemaker.d.ts @@ -141,11 +141,11 @@ declare class SageMaker extends Service { */ createEdgePackagingJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Creates an endpoint using the endpoint configuration specified in the request. Amazon SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API. Use this API to deploy models using Amazon SageMaker hosting services. For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see the Create Endpoint example notebook. You must not delete an EndpointConfig that is in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig. The endpoint name must be unique within an Amazon Web Services Region in your Amazon Web Services account. When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them. When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read. When Amazon SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. Amazon SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API. If any of the models hosted at this endpoint get model data from an Amazon S3 location, Amazon SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the S3 path you provided. Amazon Web Services STS is activated in your IAM user account by default. If you previously deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see Activating and Deactivating Amazon Web Services STS in an Amazon Web Services Region in the Amazon Web Services Identity and Access Management User Guide. To add the IAM role policies for using this API operation, go to the IAM console, and choose Roles in the left navigation pane. Search the IAM role that you want to grant access to use the CreateEndpoint and CreateEndpointConfig API operations, add the following policies to the role. Option 1: For a full Amazon SageMaker access, search and attach the AmazonSageMakerFullAccess policy. Option 2: For granting a limited access to an IAM role, paste the following Action elements manually into the JSON file of the IAM role: "Action": ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource": [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName" ] For more information, see Amazon SageMaker API Permissions: Actions, Permissions, and Resources Reference. + * Creates an endpoint using the endpoint configuration specified in the request. Amazon SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API. Use this API to deploy models using Amazon SageMaker hosting services. For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see the Create Endpoint example notebook. You must not delete an EndpointConfig that is in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig. The endpoint name must be unique within an Amazon Web Services Region in your Amazon Web Services account. When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them. When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read. When Amazon SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. Amazon SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API. If any of the models hosted at this endpoint get model data from an Amazon S3 location, Amazon SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the S3 path you provided. Amazon Web Services STS is activated in your IAM user account by default. If you previously deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see Activating and Deactivating Amazon Web Services STS in an Amazon Web Services Region in the Amazon Web Services Identity and Access Management User Guide. To add the IAM role policies for using this API operation, go to the IAM console, and choose Roles in the left navigation pane. Search the IAM role that you want to grant access to use the CreateEndpoint and CreateEndpointConfig API operations, add the following policies to the role. Option 1: For a full SageMaker access, search and attach the AmazonSageMakerFullAccess policy. Option 2: For granting a limited access to an IAM role, paste the following Action elements manually into the JSON file of the IAM role: "Action": ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource": [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName" ] For more information, see SageMaker API Permissions: Actions, Permissions, and Resources Reference. */ createEndpoint(params: SageMaker.Types.CreateEndpointInput, callback?: (err: AWSError, data: SageMaker.Types.CreateEndpointOutput) => void): Request; /** - * Creates an endpoint using the endpoint configuration specified in the request. Amazon SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API. Use this API to deploy models using Amazon SageMaker hosting services. For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see the Create Endpoint example notebook. You must not delete an EndpointConfig that is in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig. The endpoint name must be unique within an Amazon Web Services Region in your Amazon Web Services account. When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them. When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read. When Amazon SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. Amazon SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API. If any of the models hosted at this endpoint get model data from an Amazon S3 location, Amazon SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the S3 path you provided. Amazon Web Services STS is activated in your IAM user account by default. If you previously deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see Activating and Deactivating Amazon Web Services STS in an Amazon Web Services Region in the Amazon Web Services Identity and Access Management User Guide. To add the IAM role policies for using this API operation, go to the IAM console, and choose Roles in the left navigation pane. Search the IAM role that you want to grant access to use the CreateEndpoint and CreateEndpointConfig API operations, add the following policies to the role. Option 1: For a full Amazon SageMaker access, search and attach the AmazonSageMakerFullAccess policy. Option 2: For granting a limited access to an IAM role, paste the following Action elements manually into the JSON file of the IAM role: "Action": ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource": [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName" ] For more information, see Amazon SageMaker API Permissions: Actions, Permissions, and Resources Reference. + * Creates an endpoint using the endpoint configuration specified in the request. Amazon SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API. Use this API to deploy models using Amazon SageMaker hosting services. For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see the Create Endpoint example notebook. You must not delete an EndpointConfig that is in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig. The endpoint name must be unique within an Amazon Web Services Region in your Amazon Web Services account. When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them. When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read. When Amazon SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. Amazon SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API. If any of the models hosted at this endpoint get model data from an Amazon S3 location, Amazon SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the S3 path you provided. Amazon Web Services STS is activated in your IAM user account by default. If you previously deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see Activating and Deactivating Amazon Web Services STS in an Amazon Web Services Region in the Amazon Web Services Identity and Access Management User Guide. To add the IAM role policies for using this API operation, go to the IAM console, and choose Roles in the left navigation pane. Search the IAM role that you want to grant access to use the CreateEndpoint and CreateEndpointConfig API operations, add the following policies to the role. Option 1: For a full SageMaker access, search and attach the AmazonSageMakerFullAccess policy. Option 2: For granting a limited access to an IAM role, paste the following Action elements manually into the JSON file of the IAM role: "Action": ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource": [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName" ] For more information, see SageMaker API Permissions: Actions, Permissions, and Resources Reference. */ createEndpoint(callback?: (err: AWSError, data: SageMaker.Types.CreateEndpointOutput) => void): Request; /** @@ -2159,9 +2159,6 @@ declare namespace SageMaker { * The name of the algorithm resource to use for the training job. This must be an algorithm resource that you created or subscribe to on Amazon Web Services Marketplace. If you specify a value for this parameter, you can't specify a value for TrainingImage. */ AlgorithmName?: ArnOrName; - /** - * The input mode that the algorithm supports. For the input modes that Amazon SageMaker algorithms support, see Algorithms. If an algorithm supports the File input mode, Amazon SageMaker downloads the training data from S3 to the provisioned ML storage Volume, and mounts the directory to docker volume for training container. If an algorithm supports the Pipe input mode, Amazon SageMaker streams data directly from S3 to the container. In File mode, make sure you provision ML storage volume with sufficient capacity to accommodate the data download from S3. In addition to the training data, the ML storage volume also stores the output model. The algorithm container use ML storage volume to also store intermediate information, if any. For distributed algorithms using File mode, training data is distributed uniformly, and your training duration is predictable if the input data objects size is approximately same. Amazon SageMaker does not split the files any further for model training. If the object sizes are skewed, training won't be optimal as the data distribution is also skewed where one host in a training cluster is overloaded, thus becoming bottleneck in training. - */ TrainingInputMode: TrainingInputMode; /** * A list of metric definition objects. Each object specifies the metric name and regular expressions used to parse algorithm logs. Amazon SageMaker publishes each metric to Amazon CloudWatch. @@ -2617,11 +2614,11 @@ declare namespace SageMaker { */ MaxCandidates?: MaxCandidates; /** - * The maximum time, in seconds, a training job is allowed to run as part of an AutoML job. + * The maximum time, in seconds, that each training job is allowed to run as part of a hyperparameter tuning job. For more information, see the used by the action. */ MaxRuntimePerTrainingJobInSeconds?: MaxRuntimePerTrainingJobInSeconds; /** - * The maximum runtime, in seconds, an AutoML job has to complete. + * The maximum runtime, in seconds, an AutoML job has to complete. If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, will not be completed. */ MaxAutoMLJobRuntimeInSeconds?: MaxAutoMLJobRuntimeInSeconds; } @@ -3712,7 +3709,7 @@ declare namespace SageMaker { */ OnlineStoreConfig?: OnlineStoreConfig; /** - * Use this to configure an OfflineFeatureStore. This parameter allows you to specify: The Amazon Simple Storage Service (Amazon S3) location of an OfflineStore. A configuration for an Amazon Web Services Glue or Amazon Web Services Hive data cataolgue. An KMS encryption key to encrypt the Amazon S3 location used for OfflineStore. To learn more about this parameter, see OfflineStoreConfig. + * Use this to configure an OfflineFeatureStore. This parameter allows you to specify: The Amazon Simple Storage Service (Amazon S3) location of an OfflineStore. A configuration for an Amazon Web Services Glue or Amazon Web Services Hive data catalog. An KMS encryption key to encrypt the Amazon S3 location used for OfflineStore. If KMS encryption key is not specified, by default we encrypt all data at rest using Amazon Web Services KMS key. By defining your bucket-level key for SSE, you can reduce Amazon Web Services KMS requests costs by up to 99 percent. To learn more about this parameter, see OfflineStoreConfig. */ OfflineStoreConfig?: OfflineStoreConfig; /** @@ -4823,7 +4820,7 @@ declare namespace SageMaker { */ OutputFilter?: JsonPath; /** - * Specifies the source of the data to join with the transformed data. The valid values are None and Input. The default value is None, which specifies not to join the input with the transformed data. If you want the batch transform job to join the original input data with the transformed data, set JoinSource to Input. You can specify OutputFilter as an additional filter to select a portion of the joined dataset and store it in the output file. For JSON or JSONLines objects, such as a JSON array, Amazon SageMaker adds the transformed data to the input JSON object in an attribute called SageMakerOutput. The joined result for JSON must be a key-value pair object. If the input is not a key-value pair object, Amazon SageMaker creates a new JSON file. In the new JSON file, and the input data is stored under the SageMakerInput key and the results are stored in SageMakerOutput. For CSV data, Amazon SageMaker takes each row as a JSON array and joins the transformed data with the input by appending each transformed row to the end of the input. The joined data has the original input data followed by the transformed data and the output is a CSV file. For information on how joining in applied, see Workflow for Associating Inferences with Input Records. + * Specifies the source of the data to join with the transformed data. The valid values are None and Input. The default value is None, which specifies not to join the input with the transformed data. If you want the batch transform job to join the original input data with the transformed data, set JoinSource to Input. You can specify OutputFilter as an additional filter to select a portion of the joined dataset and store it in the output file. For JSON or JSONLines objects, such as a JSON array, SageMaker adds the transformed data to the input JSON object in an attribute called SageMakerOutput. The joined result for JSON must be a key-value pair object. If the input is not a key-value pair object, SageMaker creates a new JSON file. In the new JSON file, and the input data is stored under the SageMakerInput key and the results are stored in SageMakerOutput. For CSV data, SageMaker takes each row as a JSON array and joins the transformed data with the input by appending each transformed row to the end of the input. The joined data has the original input data followed by the transformed data and the output is a CSV file. For information on how joining in applied, see Workflow for Associating Inferences with Input Records. */ JoinSource?: JoinSource; } @@ -5513,7 +5510,7 @@ declare namespace SageMaker { */ LastHealthCheckTimestamp?: Timestamp; /** - * The timestamp of the last user's activity. + * The timestamp of the last user's activity. LastUserActivityTimestamp is also updated when SageMaker performs health checks without user activity. As a result, this value is set to the same value as LastHealthCheckTimestamp. */ LastUserActivityTimestamp?: Timestamp; /** @@ -7444,7 +7441,7 @@ declare namespace SageMaker { */ TrainingTimeInSeconds?: TrainingTimeInSeconds; /** - * The billable time in seconds. Billable time refers to the absolute wall-clock time. Multiply BillableTimeInSeconds by the number of instances (InstanceCount) in your training cluster to get the total compute time Amazon SageMaker will bill you if you run distributed training. The formula is as follows: BillableTimeInSeconds * InstanceCount . You can calculate the savings from using managed spot training using the formula (1 - BillableTimeInSeconds / TrainingTimeInSeconds) * 100. For example, if BillableTimeInSeconds is 100 and TrainingTimeInSeconds is 500, the savings is 80%. + * The billable time in seconds. Billable time refers to the absolute wall-clock time. Multiply BillableTimeInSeconds by the number of instances (InstanceCount) in your training cluster to get the total compute time SageMaker will bill you if you run distributed training. The formula is as follows: BillableTimeInSeconds * InstanceCount . You can calculate the savings from using managed spot training using the formula (1 - BillableTimeInSeconds / TrainingTimeInSeconds) * 100. For example, if BillableTimeInSeconds is 100 and TrainingTimeInSeconds is 500, the savings is 80%. */ BillableTimeInSeconds?: BillableTimeInSeconds; DebugHookConfig?: DebugHookConfig; @@ -8142,7 +8139,7 @@ declare namespace SageMaker { */ LocalPath: ProcessingLocalPath; /** - * Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File. + * Whether the Pipe or File is used as the input mode for transferring data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File. */ S3InputMode?: ProcessingS3InputMode; /** @@ -8751,9 +8748,6 @@ declare namespace SageMaker { * The registry path of the Docker image that contains the training algorithm. For information about Docker registry paths for built-in algorithms, see Algorithms Provided by Amazon SageMaker: Common Parameters. Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker. */ TrainingImage?: AlgorithmImage; - /** - * The input mode that the algorithm supports: File or Pipe. In File input mode, Amazon SageMaker downloads the training data from Amazon S3 to the storage volume that is attached to the training instance and mounts the directory to the Docker volume for the training container. In Pipe input mode, Amazon SageMaker streams data directly from Amazon S3 to the container. If you specify File mode, make sure that you provision the storage volume that is attached to the training instance with enough capacity to accommodate the training data downloaded from Amazon S3, the model artifacts, and intermediate information. For more information about input modes, see Algorithms. - */ TrainingInputMode: TrainingInputMode; /** * The name of the resource algorithm to use for the hyperparameter tuning job. If you specify a value for this parameter, do not specify a value for TrainingImage. @@ -14616,7 +14610,7 @@ declare namespace SageMaker { export type TrainingEnvironmentKey = string; export type TrainingEnvironmentMap = {[key: string]: TrainingEnvironmentValue}; export type TrainingEnvironmentValue = string; - export type TrainingInputMode = "Pipe"|"File"|string; + export type TrainingInputMode = "Pipe"|"File"|"FastFile"|string; export type TrainingInstanceCount = number; export type TrainingInstanceType = "ml.m4.xlarge"|"ml.m4.2xlarge"|"ml.m4.4xlarge"|"ml.m4.10xlarge"|"ml.m4.16xlarge"|"ml.g4dn.xlarge"|"ml.g4dn.2xlarge"|"ml.g4dn.4xlarge"|"ml.g4dn.8xlarge"|"ml.g4dn.12xlarge"|"ml.g4dn.16xlarge"|"ml.m5.large"|"ml.m5.xlarge"|"ml.m5.2xlarge"|"ml.m5.4xlarge"|"ml.m5.12xlarge"|"ml.m5.24xlarge"|"ml.c4.xlarge"|"ml.c4.2xlarge"|"ml.c4.4xlarge"|"ml.c4.8xlarge"|"ml.p2.xlarge"|"ml.p2.8xlarge"|"ml.p2.16xlarge"|"ml.p3.2xlarge"|"ml.p3.8xlarge"|"ml.p3.16xlarge"|"ml.p3dn.24xlarge"|"ml.p4d.24xlarge"|"ml.c5.xlarge"|"ml.c5.2xlarge"|"ml.c5.4xlarge"|"ml.c5.9xlarge"|"ml.c5.18xlarge"|"ml.c5n.xlarge"|"ml.c5n.2xlarge"|"ml.c5n.4xlarge"|"ml.c5n.9xlarge"|"ml.c5n.18xlarge"|string; export type TrainingInstanceTypes = TrainingInstanceType[]; @@ -14760,9 +14754,6 @@ declare namespace SageMaker { } export type TrainingJobArn = string; export interface TrainingJobDefinition { - /** - * The input mode used by the algorithm for the training job. For the input modes that Amazon SageMaker algorithms support, see Algorithms. If an algorithm supports the File input mode, Amazon SageMaker downloads the training data from S3 to the provisioned ML storage Volume, and mounts the directory to docker volume for training container. If an algorithm supports the Pipe input mode, Amazon SageMaker streams data directly from S3 to the container. - */ TrainingInputMode: TrainingInputMode; /** * The hyperparameters used for the training job. diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index 4b73895083..e5d8ba94b4 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.1001.0', + VERSION: '2.1002.0', /** * @api private diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index 9df73dcbeb..3259e39add 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.1001.0', + VERSION: '2.1002.0', /** * @api private @@ -50495,7 +50495,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 693 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-03-01","endpointPrefix":"fsx","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon FSx","serviceId":"FSx","signatureVersion":"v4","signingName":"fsx","targetPrefix":"AWSSimbaAPIService_v20180301","uid":"fsx-2018-03-01"},"operations":{"AssociateFileSystemAliases":{"input":{"type":"structure","required":["FileSystemId","Aliases"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"Aliases":{"shape":"S4"}}},"output":{"type":"structure","members":{"Aliases":{"shape":"S7"}}}},"CancelDataRepositoryTask":{"input":{"type":"structure","required":["TaskId"],"members":{"TaskId":{}}},"output":{"type":"structure","members":{"Lifecycle":{},"TaskId":{}}},"idempotent":true},"CopyBackup":{"input":{"type":"structure","required":["SourceBackupId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"SourceBackupId":{},"SourceRegion":{},"KmsKeyId":{},"CopyTags":{"type":"boolean"},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Backup":{"shape":"So"}}},"idempotent":true},"CreateBackup":{"input":{"type":"structure","members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"Sj"},"VolumeId":{}}},"output":{"type":"structure","members":{"Backup":{"shape":"So"}}},"idempotent":true},"CreateDataRepositoryTask":{"input":{"type":"structure","required":["Type","FileSystemId","Report"],"members":{"Type":{},"Paths":{"shape":"S39"},"FileSystemId":{},"Report":{"shape":"S3b"},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"DataRepositoryTask":{"shape":"S3f"}}},"idempotent":true},"CreateFileSystem":{"input":{"type":"structure","required":["FileSystemType","StorageCapacity","SubnetIds"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemType":{},"StorageCapacity":{"type":"integer"},"StorageType":{},"SubnetIds":{"shape":"S15"},"SecurityGroupIds":{"shape":"S3p"},"Tags":{"shape":"Sj"},"KmsKeyId":{},"WindowsConfiguration":{"shape":"S3r"},"LustreConfiguration":{"shape":"S3v"},"OntapConfiguration":{"type":"structure","required":["DeploymentType","ThroughputCapacity"],"members":{"AutomaticBackupRetentionDays":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"DeploymentType":{},"EndpointIpAddressRange":{},"FsxAdminPassword":{"shape":"S3x"},"DiskIopsConfiguration":{"shape":"S2y"},"PreferredSubnetId":{},"RouteTableIds":{"shape":"S31"},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{}}}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Sx"}}}},"CreateFileSystemFromBackup":{"input":{"type":"structure","required":["BackupId","SubnetIds"],"members":{"BackupId":{},"ClientRequestToken":{"idempotencyToken":true},"SubnetIds":{"shape":"S15"},"SecurityGroupIds":{"shape":"S3p"},"Tags":{"shape":"Sj"},"WindowsConfiguration":{"shape":"S3r"},"LustreConfiguration":{"shape":"S3v"},"StorageType":{},"KmsKeyId":{}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Sx"}}}},"CreateStorageVirtualMachine":{"input":{"type":"structure","required":["FileSystemId","Name"],"members":{"ActiveDirectoryConfiguration":{"type":"structure","required":["NetBiosName"],"members":{"NetBiosName":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S3s"}}},"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"Name":{},"SvmAdminPassword":{"shape":"S3x"},"Tags":{"shape":"Sj"},"RootVolumeSecurityStyle":{}}},"output":{"type":"structure","members":{"StorageVirtualMachine":{"shape":"S47"}}}},"CreateVolume":{"input":{"type":"structure","required":["VolumeType","Name"],"members":{"ClientRequestToken":{"idempotencyToken":true},"VolumeType":{},"Name":{},"OntapConfiguration":{"shape":"S4e"},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Volume":{"shape":"S2b"}}}},"CreateVolumeFromBackup":{"input":{"type":"structure","required":["BackupId","Name"],"members":{"BackupId":{},"ClientRequestToken":{"idempotencyToken":true},"Name":{},"OntapConfiguration":{"shape":"S4e"},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Volume":{"shape":"S2b"}}}},"DeleteBackup":{"input":{"type":"structure","required":["BackupId"],"members":{"BackupId":{},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"BackupId":{},"Lifecycle":{}}},"idempotent":true},"DeleteFileSystem":{"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true},"WindowsConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sj"}}},"LustreConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sj"}}}}},"output":{"type":"structure","members":{"FileSystemId":{},"Lifecycle":{},"WindowsResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sj"}}},"LustreResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sj"}}}}},"idempotent":true},"DeleteStorageVirtualMachine":{"input":{"type":"structure","required":["StorageVirtualMachineId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"StorageVirtualMachineId":{}}},"output":{"type":"structure","members":{"StorageVirtualMachineId":{},"Lifecycle":{}}}},"DeleteVolume":{"input":{"type":"structure","required":["VolumeId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"VolumeId":{},"OntapConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sj"}}}}},"output":{"type":"structure","members":{"VolumeId":{},"Lifecycle":{},"OntapResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sj"}}}}}},"DescribeBackups":{"input":{"type":"structure","members":{"BackupIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Backups":{"type":"list","member":{"shape":"So"}},"NextToken":{}}}},"DescribeDataRepositoryTasks":{"input":{"type":"structure","members":{"TaskIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"DataRepositoryTasks":{"type":"list","member":{"shape":"S3f"}},"NextToken":{}}}},"DescribeFileSystemAliases":{"input":{"type":"structure","required":["FileSystemId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Aliases":{"shape":"S7"},"NextToken":{}}}},"DescribeFileSystems":{"input":{"type":"structure","members":{"FileSystemIds":{"type":"list","member":{}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"FileSystems":{"type":"list","member":{"shape":"Sx"}},"NextToken":{}}}},"DescribeStorageVirtualMachines":{"input":{"type":"structure","members":{"StorageVirtualMachineIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"StorageVirtualMachines":{"type":"list","member":{"shape":"S47"}},"NextToken":{}}}},"DescribeVolumes":{"input":{"type":"structure","members":{"VolumeIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Volumes":{"type":"list","member":{"shape":"S2b"}},"NextToken":{}}}},"DisassociateFileSystemAliases":{"input":{"type":"structure","required":["FileSystemId","Aliases"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"Aliases":{"shape":"S4"}}},"output":{"type":"structure","members":{"Aliases":{"shape":"S7"}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sj"},"NextToken":{}}}},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateFileSystem":{"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true},"StorageCapacity":{"type":"integer"},"WindowsConfiguration":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"ThroughputCapacity":{"type":"integer"},"SelfManagedActiveDirectoryConfiguration":{"shape":"S6f"},"AuditLogConfiguration":{"shape":"S3u"}}},"LustreConfiguration":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"AutoImportPolicy":{},"DataCompressionType":{}}},"OntapConfiguration":{"type":"structure","members":{"AutomaticBackupRetentionDays":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"FsxAdminPassword":{"shape":"S3x"},"WeeklyMaintenanceStartTime":{}}}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Sx"}}}},"UpdateStorageVirtualMachine":{"input":{"type":"structure","required":["StorageVirtualMachineId"],"members":{"ActiveDirectoryConfiguration":{"type":"structure","members":{"SelfManagedActiveDirectoryConfiguration":{"shape":"S6f"}}},"ClientRequestToken":{"idempotencyToken":true},"StorageVirtualMachineId":{},"SvmAdminPassword":{"shape":"S3x"}}},"output":{"type":"structure","members":{"StorageVirtualMachine":{"shape":"S47"}}}},"UpdateVolume":{"input":{"type":"structure","required":["VolumeId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"VolumeId":{},"OntapConfiguration":{"type":"structure","members":{"JunctionPath":{},"SecurityStyle":{},"SizeInMegabytes":{"type":"integer"},"StorageEfficiencyEnabled":{"type":"boolean"},"TieringPolicy":{"shape":"S2k"}}}}},"output":{"type":"structure","members":{"Volume":{"shape":"S2b"}}}}},"shapes":{"S4":{"type":"list","member":{}},"S7":{"type":"list","member":{"type":"structure","members":{"Name":{},"Lifecycle":{}}}},"Sj":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"So":{"type":"structure","required":["BackupId","Lifecycle","Type","CreationTime","FileSystem"],"members":{"BackupId":{},"Lifecycle":{},"FailureDetails":{"type":"structure","members":{"Message":{}}},"Type":{},"ProgressPercent":{"type":"integer"},"CreationTime":{"type":"timestamp"},"KmsKeyId":{},"ResourceARN":{},"Tags":{"shape":"Sj"},"FileSystem":{"shape":"Sx"},"DirectoryInformation":{"type":"structure","members":{"DomainName":{},"ActiveDirectoryId":{},"ResourceARN":{}}},"OwnerId":{},"SourceBackupId":{},"SourceBackupRegion":{},"ResourceType":{},"Volume":{"shape":"S2b"}}},"Sx":{"type":"structure","members":{"OwnerId":{},"CreationTime":{"type":"timestamp"},"FileSystemId":{},"FileSystemType":{},"Lifecycle":{},"FailureDetails":{"type":"structure","members":{"Message":{}}},"StorageCapacity":{"type":"integer"},"StorageType":{},"VpcId":{},"SubnetIds":{"shape":"S15"},"NetworkInterfaceIds":{"type":"list","member":{}},"DNSName":{},"KmsKeyId":{},"ResourceARN":{},"Tags":{"shape":"Sj"},"WindowsConfiguration":{"type":"structure","members":{"ActiveDirectoryId":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S1c"},"DeploymentType":{},"RemoteAdministrationEndpoint":{},"PreferredSubnetId":{},"PreferredFileServerIp":{},"ThroughputCapacity":{"type":"integer"},"MaintenanceOperationsInProgress":{"type":"list","member":{}},"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"Aliases":{"shape":"S7"},"AuditLogConfiguration":{"type":"structure","required":["FileAccessAuditLogLevel","FileShareAccessAuditLogLevel"],"members":{"FileAccessAuditLogLevel":{},"FileShareAccessAuditLogLevel":{},"AuditLogDestination":{}}}}},"LustreConfiguration":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"DataRepositoryConfiguration":{"type":"structure","members":{"Lifecycle":{},"ImportPath":{},"ExportPath":{},"ImportedFileChunkSize":{"type":"integer"},"AutoImportPolicy":{},"FailureDetails":{"type":"structure","members":{"Message":{}}}}},"DeploymentType":{},"PerUnitStorageThroughput":{"type":"integer"},"MountName":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"DriveCacheType":{},"DataCompressionType":{}}},"AdministrativeActions":{"type":"list","member":{"type":"structure","members":{"AdministrativeActionType":{},"ProgressPercent":{"type":"integer"},"RequestTime":{"type":"timestamp"},"Status":{},"TargetFileSystemValues":{"shape":"Sx"},"FailureDetails":{"type":"structure","members":{"Message":{}}},"TargetVolumeValues":{"shape":"S2b"}}}},"OntapConfiguration":{"type":"structure","members":{"AutomaticBackupRetentionDays":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"DeploymentType":{},"EndpointIpAddressRange":{},"Endpoints":{"type":"structure","members":{"Intercluster":{"shape":"S2w"},"Management":{"shape":"S2w"}}},"DiskIopsConfiguration":{"shape":"S2y"},"PreferredSubnetId":{},"RouteTableIds":{"shape":"S31"},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{}}}}},"S15":{"type":"list","member":{}},"S1c":{"type":"structure","members":{"DomainName":{},"OrganizationalUnitDistinguishedName":{},"FileSystemAdministratorsGroup":{},"UserName":{},"DnsIps":{"shape":"S1h"}}},"S1h":{"type":"list","member":{}},"S2b":{"type":"structure","members":{"CreationTime":{"type":"timestamp"},"FileSystemId":{},"Lifecycle":{},"Name":{},"OntapConfiguration":{"type":"structure","members":{"FlexCacheEndpointType":{},"JunctionPath":{},"SecurityStyle":{},"SizeInMegabytes":{"type":"integer"},"StorageEfficiencyEnabled":{"type":"boolean"},"StorageVirtualMachineId":{},"StorageVirtualMachineRoot":{"type":"boolean"},"TieringPolicy":{"shape":"S2k"},"UUID":{},"OntapVolumeType":{}}},"ResourceARN":{},"Tags":{"shape":"Sj"},"VolumeId":{},"VolumeType":{},"LifecycleTransitionReason":{"shape":"S2r"}}},"S2k":{"type":"structure","members":{"CoolingPeriod":{"type":"integer"},"Name":{}}},"S2r":{"type":"structure","members":{"Message":{}}},"S2w":{"type":"structure","members":{"DNSName":{},"IpAddresses":{"shape":"S2x"}}},"S2x":{"type":"list","member":{}},"S2y":{"type":"structure","members":{"Mode":{},"Iops":{"type":"long"}}},"S31":{"type":"list","member":{}},"S39":{"type":"list","member":{}},"S3b":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"type":"boolean"},"Path":{},"Format":{},"Scope":{}}},"S3f":{"type":"structure","required":["TaskId","Lifecycle","Type","CreationTime","FileSystemId"],"members":{"TaskId":{},"Lifecycle":{},"Type":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"ResourceARN":{},"Tags":{"shape":"Sj"},"FileSystemId":{},"Paths":{"shape":"S39"},"FailureDetails":{"type":"structure","members":{"Message":{}}},"Status":{"type":"structure","members":{"TotalCount":{"type":"long"},"SucceededCount":{"type":"long"},"FailedCount":{"type":"long"},"LastUpdatedTime":{"type":"timestamp"}}},"Report":{"shape":"S3b"}}},"S3p":{"type":"list","member":{}},"S3r":{"type":"structure","required":["ThroughputCapacity"],"members":{"ActiveDirectoryId":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S3s"},"DeploymentType":{},"PreferredSubnetId":{},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"Aliases":{"shape":"S4"},"AuditLogConfiguration":{"shape":"S3u"}}},"S3s":{"type":"structure","required":["DomainName","UserName","Password","DnsIps"],"members":{"DomainName":{},"OrganizationalUnitDistinguishedName":{},"FileSystemAdministratorsGroup":{},"UserName":{},"Password":{"shape":"S3t"},"DnsIps":{"shape":"S1h"}}},"S3t":{"type":"string","sensitive":true},"S3u":{"type":"structure","required":["FileAccessAuditLogLevel","FileShareAccessAuditLogLevel"],"members":{"FileAccessAuditLogLevel":{},"FileShareAccessAuditLogLevel":{},"AuditLogDestination":{}}},"S3v":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"ImportPath":{},"ExportPath":{},"ImportedFileChunkSize":{"type":"integer"},"DeploymentType":{},"AutoImportPolicy":{},"PerUnitStorageThroughput":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"DriveCacheType":{},"DataCompressionType":{}}},"S3x":{"type":"string","sensitive":true},"S47":{"type":"structure","members":{"ActiveDirectoryConfiguration":{"type":"structure","members":{"NetBiosName":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S1c"}}},"CreationTime":{"type":"timestamp"},"Endpoints":{"type":"structure","members":{"Iscsi":{"shape":"S4a"},"Management":{"shape":"S4a"},"Nfs":{"shape":"S4a"},"Smb":{"shape":"S4a"}}},"FileSystemId":{},"Lifecycle":{},"Name":{},"ResourceARN":{},"StorageVirtualMachineId":{},"Subtype":{},"UUID":{},"Tags":{"shape":"Sj"},"LifecycleTransitionReason":{"shape":"S2r"},"RootVolumeSecurityStyle":{}}},"S4a":{"type":"structure","members":{"DNSName":{},"IpAddresses":{"shape":"S2x"}}},"S4e":{"type":"structure","required":["JunctionPath","SizeInMegabytes","StorageEfficiencyEnabled","StorageVirtualMachineId"],"members":{"JunctionPath":{},"SecurityStyle":{},"SizeInMegabytes":{"type":"integer"},"StorageEfficiencyEnabled":{"type":"boolean"},"StorageVirtualMachineId":{},"TieringPolicy":{"shape":"S2k"}}},"S6f":{"type":"structure","members":{"UserName":{},"Password":{"shape":"S3t"},"DnsIps":{"shape":"S1h"}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-03-01","endpointPrefix":"fsx","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon FSx","serviceId":"FSx","signatureVersion":"v4","signingName":"fsx","targetPrefix":"AWSSimbaAPIService_v20180301","uid":"fsx-2018-03-01"},"operations":{"AssociateFileSystemAliases":{"input":{"type":"structure","required":["FileSystemId","Aliases"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"Aliases":{"shape":"S4"}}},"output":{"type":"structure","members":{"Aliases":{"shape":"S7"}}}},"CancelDataRepositoryTask":{"input":{"type":"structure","required":["TaskId"],"members":{"TaskId":{}}},"output":{"type":"structure","members":{"Lifecycle":{},"TaskId":{}}},"idempotent":true},"CopyBackup":{"input":{"type":"structure","required":["SourceBackupId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"SourceBackupId":{},"SourceRegion":{},"KmsKeyId":{},"CopyTags":{"type":"boolean"},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Backup":{"shape":"So"}}},"idempotent":true},"CreateBackup":{"input":{"type":"structure","members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"Sj"},"VolumeId":{}}},"output":{"type":"structure","members":{"Backup":{"shape":"So"}}},"idempotent":true},"CreateDataRepositoryTask":{"input":{"type":"structure","required":["Type","FileSystemId","Report"],"members":{"Type":{},"Paths":{"shape":"S3a"},"FileSystemId":{},"Report":{"shape":"S3c"},"ClientRequestToken":{"idempotencyToken":true},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"DataRepositoryTask":{"shape":"S3g"}}},"idempotent":true},"CreateFileSystem":{"input":{"type":"structure","required":["FileSystemType","StorageCapacity","SubnetIds"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemType":{},"StorageCapacity":{"type":"integer"},"StorageType":{},"SubnetIds":{"shape":"S15"},"SecurityGroupIds":{"shape":"S3q"},"Tags":{"shape":"Sj"},"KmsKeyId":{},"WindowsConfiguration":{"shape":"S3s"},"LustreConfiguration":{"shape":"S3w"},"OntapConfiguration":{"type":"structure","required":["DeploymentType","ThroughputCapacity"],"members":{"AutomaticBackupRetentionDays":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"DeploymentType":{},"EndpointIpAddressRange":{},"FsxAdminPassword":{"shape":"S3y"},"DiskIopsConfiguration":{"shape":"S2y"},"PreferredSubnetId":{},"RouteTableIds":{"shape":"S31"},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{}}},"FileSystemTypeVersion":{}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Sx"}}}},"CreateFileSystemFromBackup":{"input":{"type":"structure","required":["BackupId","SubnetIds"],"members":{"BackupId":{},"ClientRequestToken":{"idempotencyToken":true},"SubnetIds":{"shape":"S15"},"SecurityGroupIds":{"shape":"S3q"},"Tags":{"shape":"Sj"},"WindowsConfiguration":{"shape":"S3s"},"LustreConfiguration":{"shape":"S3w"},"StorageType":{},"KmsKeyId":{},"FileSystemTypeVersion":{}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Sx"}}}},"CreateStorageVirtualMachine":{"input":{"type":"structure","required":["FileSystemId","Name"],"members":{"ActiveDirectoryConfiguration":{"type":"structure","required":["NetBiosName"],"members":{"NetBiosName":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S3t"}}},"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"Name":{},"SvmAdminPassword":{"shape":"S3y"},"Tags":{"shape":"Sj"},"RootVolumeSecurityStyle":{}}},"output":{"type":"structure","members":{"StorageVirtualMachine":{"shape":"S48"}}}},"CreateVolume":{"input":{"type":"structure","required":["VolumeType","Name"],"members":{"ClientRequestToken":{"idempotencyToken":true},"VolumeType":{},"Name":{},"OntapConfiguration":{"shape":"S4f"},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Volume":{"shape":"S2b"}}}},"CreateVolumeFromBackup":{"input":{"type":"structure","required":["BackupId","Name"],"members":{"BackupId":{},"ClientRequestToken":{"idempotencyToken":true},"Name":{},"OntapConfiguration":{"shape":"S4f"},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{"Volume":{"shape":"S2b"}}}},"DeleteBackup":{"input":{"type":"structure","required":["BackupId"],"members":{"BackupId":{},"ClientRequestToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"BackupId":{},"Lifecycle":{}}},"idempotent":true},"DeleteFileSystem":{"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true},"WindowsConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sj"}}},"LustreConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sj"}}}}},"output":{"type":"structure","members":{"FileSystemId":{},"Lifecycle":{},"WindowsResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sj"}}},"LustreResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sj"}}}}},"idempotent":true},"DeleteStorageVirtualMachine":{"input":{"type":"structure","required":["StorageVirtualMachineId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"StorageVirtualMachineId":{}}},"output":{"type":"structure","members":{"StorageVirtualMachineId":{},"Lifecycle":{}}}},"DeleteVolume":{"input":{"type":"structure","required":["VolumeId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"VolumeId":{},"OntapConfiguration":{"type":"structure","members":{"SkipFinalBackup":{"type":"boolean"},"FinalBackupTags":{"shape":"Sj"}}}}},"output":{"type":"structure","members":{"VolumeId":{},"Lifecycle":{},"OntapResponse":{"type":"structure","members":{"FinalBackupId":{},"FinalBackupTags":{"shape":"Sj"}}}}}},"DescribeBackups":{"input":{"type":"structure","members":{"BackupIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Backups":{"type":"list","member":{"shape":"So"}},"NextToken":{}}}},"DescribeDataRepositoryTasks":{"input":{"type":"structure","members":{"TaskIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"DataRepositoryTasks":{"type":"list","member":{"shape":"S3g"}},"NextToken":{}}}},"DescribeFileSystemAliases":{"input":{"type":"structure","required":["FileSystemId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Aliases":{"shape":"S7"},"NextToken":{}}}},"DescribeFileSystems":{"input":{"type":"structure","members":{"FileSystemIds":{"type":"list","member":{}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"FileSystems":{"type":"list","member":{"shape":"Sx"}},"NextToken":{}}}},"DescribeStorageVirtualMachines":{"input":{"type":"structure","members":{"StorageVirtualMachineIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"StorageVirtualMachines":{"type":"list","member":{"shape":"S48"}},"NextToken":{}}}},"DescribeVolumes":{"input":{"type":"structure","members":{"VolumeIds":{"type":"list","member":{}},"Filters":{"type":"list","member":{"type":"structure","members":{"Name":{},"Values":{"type":"list","member":{}}}}},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Volumes":{"type":"list","member":{"shape":"S2b"}},"NextToken":{}}}},"DisassociateFileSystemAliases":{"input":{"type":"structure","required":["FileSystemId","Aliases"],"members":{"ClientRequestToken":{"idempotencyToken":true},"FileSystemId":{},"Aliases":{"shape":"S4"}}},"output":{"type":"structure","members":{"Aliases":{"shape":"S7"}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceARN"],"members":{"ResourceARN":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sj"},"NextToken":{}}}},"TagResource":{"input":{"type":"structure","required":["ResourceARN","Tags"],"members":{"ResourceARN":{},"Tags":{"shape":"Sj"}}},"output":{"type":"structure","members":{}},"idempotent":true},"UntagResource":{"input":{"type":"structure","required":["ResourceARN","TagKeys"],"members":{"ResourceARN":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}},"idempotent":true},"UpdateFileSystem":{"input":{"type":"structure","required":["FileSystemId"],"members":{"FileSystemId":{},"ClientRequestToken":{"idempotencyToken":true},"StorageCapacity":{"type":"integer"},"WindowsConfiguration":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"ThroughputCapacity":{"type":"integer"},"SelfManagedActiveDirectoryConfiguration":{"shape":"S6g"},"AuditLogConfiguration":{"shape":"S3v"}}},"LustreConfiguration":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"AutoImportPolicy":{},"DataCompressionType":{}}},"OntapConfiguration":{"type":"structure","members":{"AutomaticBackupRetentionDays":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"FsxAdminPassword":{"shape":"S3y"},"WeeklyMaintenanceStartTime":{}}}}},"output":{"type":"structure","members":{"FileSystem":{"shape":"Sx"}}}},"UpdateStorageVirtualMachine":{"input":{"type":"structure","required":["StorageVirtualMachineId"],"members":{"ActiveDirectoryConfiguration":{"type":"structure","members":{"SelfManagedActiveDirectoryConfiguration":{"shape":"S6g"}}},"ClientRequestToken":{"idempotencyToken":true},"StorageVirtualMachineId":{},"SvmAdminPassword":{"shape":"S3y"}}},"output":{"type":"structure","members":{"StorageVirtualMachine":{"shape":"S48"}}}},"UpdateVolume":{"input":{"type":"structure","required":["VolumeId"],"members":{"ClientRequestToken":{"idempotencyToken":true},"VolumeId":{},"OntapConfiguration":{"type":"structure","members":{"JunctionPath":{},"SecurityStyle":{},"SizeInMegabytes":{"type":"integer"},"StorageEfficiencyEnabled":{"type":"boolean"},"TieringPolicy":{"shape":"S2k"}}}}},"output":{"type":"structure","members":{"Volume":{"shape":"S2b"}}}}},"shapes":{"S4":{"type":"list","member":{}},"S7":{"type":"list","member":{"type":"structure","members":{"Name":{},"Lifecycle":{}}}},"Sj":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"So":{"type":"structure","required":["BackupId","Lifecycle","Type","CreationTime","FileSystem"],"members":{"BackupId":{},"Lifecycle":{},"FailureDetails":{"type":"structure","members":{"Message":{}}},"Type":{},"ProgressPercent":{"type":"integer"},"CreationTime":{"type":"timestamp"},"KmsKeyId":{},"ResourceARN":{},"Tags":{"shape":"Sj"},"FileSystem":{"shape":"Sx"},"DirectoryInformation":{"type":"structure","members":{"DomainName":{},"ActiveDirectoryId":{},"ResourceARN":{}}},"OwnerId":{},"SourceBackupId":{},"SourceBackupRegion":{},"ResourceType":{},"Volume":{"shape":"S2b"}}},"Sx":{"type":"structure","members":{"OwnerId":{},"CreationTime":{"type":"timestamp"},"FileSystemId":{},"FileSystemType":{},"Lifecycle":{},"FailureDetails":{"type":"structure","members":{"Message":{}}},"StorageCapacity":{"type":"integer"},"StorageType":{},"VpcId":{},"SubnetIds":{"shape":"S15"},"NetworkInterfaceIds":{"type":"list","member":{}},"DNSName":{},"KmsKeyId":{},"ResourceARN":{},"Tags":{"shape":"Sj"},"WindowsConfiguration":{"type":"structure","members":{"ActiveDirectoryId":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S1c"},"DeploymentType":{},"RemoteAdministrationEndpoint":{},"PreferredSubnetId":{},"PreferredFileServerIp":{},"ThroughputCapacity":{"type":"integer"},"MaintenanceOperationsInProgress":{"type":"list","member":{}},"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"Aliases":{"shape":"S7"},"AuditLogConfiguration":{"type":"structure","required":["FileAccessAuditLogLevel","FileShareAccessAuditLogLevel"],"members":{"FileAccessAuditLogLevel":{},"FileShareAccessAuditLogLevel":{},"AuditLogDestination":{}}}}},"LustreConfiguration":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"DataRepositoryConfiguration":{"type":"structure","members":{"Lifecycle":{},"ImportPath":{},"ExportPath":{},"ImportedFileChunkSize":{"type":"integer"},"AutoImportPolicy":{},"FailureDetails":{"type":"structure","members":{"Message":{}}}}},"DeploymentType":{},"PerUnitStorageThroughput":{"type":"integer"},"MountName":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"DriveCacheType":{},"DataCompressionType":{}}},"AdministrativeActions":{"type":"list","member":{"type":"structure","members":{"AdministrativeActionType":{},"ProgressPercent":{"type":"integer"},"RequestTime":{"type":"timestamp"},"Status":{},"TargetFileSystemValues":{"shape":"Sx"},"FailureDetails":{"type":"structure","members":{"Message":{}}},"TargetVolumeValues":{"shape":"S2b"}}}},"OntapConfiguration":{"type":"structure","members":{"AutomaticBackupRetentionDays":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"DeploymentType":{},"EndpointIpAddressRange":{},"Endpoints":{"type":"structure","members":{"Intercluster":{"shape":"S2w"},"Management":{"shape":"S2w"}}},"DiskIopsConfiguration":{"shape":"S2y"},"PreferredSubnetId":{},"RouteTableIds":{"shape":"S31"},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{}}},"FileSystemTypeVersion":{}}},"S15":{"type":"list","member":{}},"S1c":{"type":"structure","members":{"DomainName":{},"OrganizationalUnitDistinguishedName":{},"FileSystemAdministratorsGroup":{},"UserName":{},"DnsIps":{"shape":"S1h"}}},"S1h":{"type":"list","member":{}},"S2b":{"type":"structure","members":{"CreationTime":{"type":"timestamp"},"FileSystemId":{},"Lifecycle":{},"Name":{},"OntapConfiguration":{"type":"structure","members":{"FlexCacheEndpointType":{},"JunctionPath":{},"SecurityStyle":{},"SizeInMegabytes":{"type":"integer"},"StorageEfficiencyEnabled":{"type":"boolean"},"StorageVirtualMachineId":{},"StorageVirtualMachineRoot":{"type":"boolean"},"TieringPolicy":{"shape":"S2k"},"UUID":{},"OntapVolumeType":{}}},"ResourceARN":{},"Tags":{"shape":"Sj"},"VolumeId":{},"VolumeType":{},"LifecycleTransitionReason":{"shape":"S2r"}}},"S2k":{"type":"structure","members":{"CoolingPeriod":{"type":"integer"},"Name":{}}},"S2r":{"type":"structure","members":{"Message":{}}},"S2w":{"type":"structure","members":{"DNSName":{},"IpAddresses":{"shape":"S2x"}}},"S2x":{"type":"list","member":{}},"S2y":{"type":"structure","members":{"Mode":{},"Iops":{"type":"long"}}},"S31":{"type":"list","member":{}},"S3a":{"type":"list","member":{}},"S3c":{"type":"structure","required":["Enabled"],"members":{"Enabled":{"type":"boolean"},"Path":{},"Format":{},"Scope":{}}},"S3g":{"type":"structure","required":["TaskId","Lifecycle","Type","CreationTime","FileSystemId"],"members":{"TaskId":{},"Lifecycle":{},"Type":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"},"ResourceARN":{},"Tags":{"shape":"Sj"},"FileSystemId":{},"Paths":{"shape":"S3a"},"FailureDetails":{"type":"structure","members":{"Message":{}}},"Status":{"type":"structure","members":{"TotalCount":{"type":"long"},"SucceededCount":{"type":"long"},"FailedCount":{"type":"long"},"LastUpdatedTime":{"type":"timestamp"}}},"Report":{"shape":"S3c"}}},"S3q":{"type":"list","member":{}},"S3s":{"type":"structure","required":["ThroughputCapacity"],"members":{"ActiveDirectoryId":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S3t"},"DeploymentType":{},"PreferredSubnetId":{},"ThroughputCapacity":{"type":"integer"},"WeeklyMaintenanceStartTime":{},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"Aliases":{"shape":"S4"},"AuditLogConfiguration":{"shape":"S3v"}}},"S3t":{"type":"structure","required":["DomainName","UserName","Password","DnsIps"],"members":{"DomainName":{},"OrganizationalUnitDistinguishedName":{},"FileSystemAdministratorsGroup":{},"UserName":{},"Password":{"shape":"S3u"},"DnsIps":{"shape":"S1h"}}},"S3u":{"type":"string","sensitive":true},"S3v":{"type":"structure","required":["FileAccessAuditLogLevel","FileShareAccessAuditLogLevel"],"members":{"FileAccessAuditLogLevel":{},"FileShareAccessAuditLogLevel":{},"AuditLogDestination":{}}},"S3w":{"type":"structure","members":{"WeeklyMaintenanceStartTime":{},"ImportPath":{},"ExportPath":{},"ImportedFileChunkSize":{"type":"integer"},"DeploymentType":{},"AutoImportPolicy":{},"PerUnitStorageThroughput":{"type":"integer"},"DailyAutomaticBackupStartTime":{},"AutomaticBackupRetentionDays":{"type":"integer"},"CopyTagsToBackups":{"type":"boolean"},"DriveCacheType":{},"DataCompressionType":{}}},"S3y":{"type":"string","sensitive":true},"S48":{"type":"structure","members":{"ActiveDirectoryConfiguration":{"type":"structure","members":{"NetBiosName":{},"SelfManagedActiveDirectoryConfiguration":{"shape":"S1c"}}},"CreationTime":{"type":"timestamp"},"Endpoints":{"type":"structure","members":{"Iscsi":{"shape":"S4b"},"Management":{"shape":"S4b"},"Nfs":{"shape":"S4b"},"Smb":{"shape":"S4b"}}},"FileSystemId":{},"Lifecycle":{},"Name":{},"ResourceARN":{},"StorageVirtualMachineId":{},"Subtype":{},"UUID":{},"Tags":{"shape":"Sj"},"LifecycleTransitionReason":{"shape":"S2r"},"RootVolumeSecurityStyle":{}}},"S4b":{"type":"structure","members":{"DNSName":{},"IpAddresses":{"shape":"S2x"}}},"S4f":{"type":"structure","required":["JunctionPath","SizeInMegabytes","StorageEfficiencyEnabled","StorageVirtualMachineId"],"members":{"JunctionPath":{},"SecurityStyle":{},"SizeInMegabytes":{"type":"integer"},"StorageEfficiencyEnabled":{"type":"boolean"},"StorageVirtualMachineId":{},"TieringPolicy":{"shape":"S2k"}}},"S6g":{"type":"structure","members":{"UserName":{},"Password":{"shape":"S3u"},"DnsIps":{"shape":"S1h"}}}}} /***/ }), /* 694 */ @@ -52369,7 +52369,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":{"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":"Sg"}}}}}},"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":"S11"},"Attributes":{"shape":"Sg"},"AccessControlList":{"shape":"S14"},"HierarchicalAccessControlList":{"type":"list","member":{"type":"structure","required":["PrincipalList"],"members":{"PrincipalList":{"shape":"S14"}}}},"ContentType":{}}}}}},"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":"S1j"},"Description":{},"Schedule":{},"RoleArn":{},"Tags":{"shape":"S4n"},"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":"S11"},"RoleArn":{},"Tags":{"shape":"S4n"},"FileFormat":{},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateIndex":{"input":{"type":"structure","required":["Name","RoleArn"],"members":{"Name":{},"Edition":{},"RoleArn":{},"ServerSideEncryptionConfiguration":{"shape":"S51"},"Description":{},"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S4n"},"UserTokenConfigurations":{"shape":"S53"},"UserContextPolicy":{}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Name","SourceS3Path","RoleArn"],"members":{"IndexId":{},"Name":{},"Description":{},"SourceS3Path":{"shape":"S11"},"ClientToken":{"idempotencyToken":true},"RoleArn":{},"Tags":{"shape":"S4n"}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateThesaurus":{"input":{"type":"structure","required":["IndexId","Name","RoleArn","SourceS3Path"],"members":{"IndexId":{},"Name":{},"Description":{},"RoleArn":{},"Tags":{"shape":"S4n"},"SourceS3Path":{"shape":"S11"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Id":{}}}},"DeleteDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"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":"S1j"},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Description":{},"Status":{},"Schedule":{},"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":"S11"},"Status":{},"RoleArn":{},"ErrorMessage":{},"FileFormat":{}}}},"DescribeIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{}}},"output":{"type":"structure","members":{"Name":{},"Id":{},"Edition":{},"RoleArn":{},"ServerSideEncryptionConfiguration":{"shape":"S51"},"Status":{},"Description":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"DocumentMetadataConfigurations":{"shape":"S63"},"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":"S6l"},"UserTokenConfigurations":{"shape":"S53"},"UserContextPolicy":{}}}},"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":"S11"},"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":"S11"},"FileSizeBytes":{"type":"long"},"TermCount":{"type":"long"},"SynonymRuleCount":{"type":"long"}}}},"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"}}}}}}}}}}}}}},"ListDataSourceSyncJobs":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"},"StartTimeFilter":{"type":"structure","members":{"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}},"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":{}}}},"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":{}}}}}}},"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":"S4n"}}}},"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":"S11"}}},"OrderingId":{"type":"long"},"RoleArn":{}}}},"Query":{"input":{"type":"structure","required":["IndexId","QueryText"],"members":{"IndexId":{},"QueryText":{},"AttributeFilter":{"shape":"S8z"},"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":"S67"}}}},"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":"S9n"}}}}}},"DocumentId":{},"DocumentTitle":{"shape":"S9n"},"DocumentExcerpt":{"shape":"S9n"},"DocumentURI":{},"DocumentAttributes":{"shape":"Sg"},"ScoreAttributes":{"type":"structure","members":{"ScoreConfidence":{}}},"FeedbackToken":{}}}},"FacetResults":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeKey":{},"DocumentAttributeValueType":{},"DocumentAttributeValueCountPairs":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeValue":{"shape":"Sj"},"Count":{"type":"integer"}}}}}}},"TotalNumberOfResults":{"type":"integer"}}}},"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":"S4n"}}},"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":"S1j"},"Description":{},"Schedule":{},"RoleArn":{}}}},"UpdateIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{},"Name":{},"RoleArn":{},"Description":{},"DocumentMetadataConfigurationUpdates":{"shape":"S63"},"CapacityUnits":{"shape":"S6l"},"UserTokenConfigurations":{"shape":"S53"},"UserContextPolicy":{}}}},"UpdateQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Id"],"members":{"IndexId":{},"Id":{},"Name":{},"Description":{},"SourceS3Path":{"shape":"S11"},"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":"S11"}}}}},"shapes":{"Sg":{"type":"list","member":{"shape":"Sh"}},"Sh":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{"shape":"Sj"}}},"Sj":{"type":"structure","members":{"StringValue":{},"StringListValue":{"type":"list","member":{}},"LongValue":{"type":"long"},"DateValue":{"type":"timestamp"}}},"S11":{"type":"structure","required":["Bucket","Key"],"members":{"Bucket":{},"Key":{}}},"S14":{"type":"list","member":{"type":"structure","required":["Name","Type","Access"],"members":{"Name":{},"Type":{},"Access":{},"DataSourceId":{}}}},"S1j":{"type":"structure","members":{"S3Configuration":{"type":"structure","required":["BucketName"],"members":{"BucketName":{},"InclusionPrefixes":{"shape":"S1l"},"InclusionPatterns":{"shape":"S1l"},"ExclusionPatterns":{"shape":"S1l"},"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":"S1l"},"ExclusionPatterns":{"shape":"S1l"},"VpcConfiguration":{"shape":"S1v"},"FieldMappings":{"shape":"S20"},"DocumentTitleFieldName":{},"DisableLocalGroups":{"type":"boolean"},"SslCertificateS3Path":{"shape":"S11"}}},"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":"S1v"},"ColumnConfiguration":{"type":"structure","required":["DocumentIdColumnName","DocumentDataColumnName","ChangeDetectingColumns"],"members":{"DocumentIdColumnName":{},"DocumentDataColumnName":{},"DocumentTitleColumnName":{},"FieldMappings":{"shape":"S20"},"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":"S20"}}}},"KnowledgeArticleConfiguration":{"type":"structure","required":["IncludedStates"],"members":{"IncludedStates":{"type":"list","member":{}},"StandardKnowledgeArticleTypeConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S20"}}},"CustomKnowledgeArticleTypeConfigurations":{"type":"list","member":{"type":"structure","required":["Name","DocumentDataFieldName"],"members":{"Name":{},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S20"}}}}}},"ChatterFeedConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S20"},"IncludeFilterTypes":{"type":"list","member":{}}}},"CrawlAttachments":{"type":"boolean"},"StandardObjectAttachmentConfiguration":{"type":"structure","members":{"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S20"}}},"IncludeAttachmentFilePatterns":{"shape":"S1l"},"ExcludeAttachmentFilePatterns":{"shape":"S1l"}}},"OneDriveConfiguration":{"type":"structure","required":["TenantDomain","SecretArn","OneDriveUsers"],"members":{"TenantDomain":{},"SecretArn":{},"OneDriveUsers":{"type":"structure","members":{"OneDriveUserList":{"type":"list","member":{}},"OneDriveUserS3Path":{"shape":"S11"}}},"InclusionPatterns":{"shape":"S1l"},"ExclusionPatterns":{"shape":"S1l"},"FieldMappings":{"shape":"S20"},"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":"S1l"},"ExcludeAttachmentFilePatterns":{"shape":"S1l"},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S20"},"FilterQuery":{}}},"ServiceCatalogConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"CrawlAttachments":{"type":"boolean"},"IncludeAttachmentFilePatterns":{"shape":"S1l"},"ExcludeAttachmentFilePatterns":{"shape":"S1l"},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S20"}}},"AuthenticationType":{}}},"ConfluenceConfiguration":{"type":"structure","required":["ServerUrl","SecretArn","Version"],"members":{"ServerUrl":{},"SecretArn":{},"Version":{},"SpaceConfiguration":{"type":"structure","members":{"CrawlPersonalSpaces":{"type":"boolean"},"CrawlArchivedSpaces":{"type":"boolean"},"IncludeSpaces":{"shape":"S3c"},"ExcludeSpaces":{"shape":"S3c"},"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":"S1v"},"InclusionPatterns":{"shape":"S1l"},"ExclusionPatterns":{"shape":"S1l"}}},"GoogleDriveConfiguration":{"type":"structure","required":["SecretArn"],"members":{"SecretArn":{},"InclusionPatterns":{"shape":"S1l"},"ExclusionPatterns":{"shape":"S1l"},"FieldMappings":{"shape":"S20"},"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":"S1l"},"UrlExclusionPatterns":{"shape":"S1l"},"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":"S1l"},"ExclusionPatterns":{"shape":"S1l"},"FieldMappings":{"shape":"S20"}}}}},"S1l":{"type":"list","member":{}},"S1v":{"type":"structure","required":["SubnetIds","SecurityGroupIds"],"members":{"SubnetIds":{"type":"list","member":{}},"SecurityGroupIds":{"type":"list","member":{}}}},"S20":{"type":"list","member":{"type":"structure","required":["DataSourceFieldName","IndexFieldName"],"members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}},"S3c":{"type":"list","member":{}},"S4n":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S51":{"type":"structure","members":{"KmsKeyId":{"type":"string","sensitive":true}}},"S53":{"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":{}}}}}},"S63":{"type":"list","member":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{},"Relevance":{"shape":"S67"},"Search":{"type":"structure","members":{"Facetable":{"type":"boolean"},"Searchable":{"type":"boolean"},"Displayable":{"type":"boolean"},"Sortable":{"type":"boolean"}}}}}},"S67":{"type":"structure","members":{"Freshness":{"type":"boolean"},"Importance":{"type":"integer"},"Duration":{},"RankOrder":{},"ValueImportanceMap":{"type":"map","key":{},"value":{"type":"integer"}}}},"S6l":{"type":"structure","required":["StorageCapacityUnits","QueryCapacityUnits"],"members":{"StorageCapacityUnits":{"type":"integer"},"QueryCapacityUnits":{"type":"integer"}}},"S8z":{"type":"structure","members":{"AndAllFilters":{"shape":"S90"},"OrAllFilters":{"shape":"S90"},"NotFilter":{"shape":"S8z"},"EqualsTo":{"shape":"Sh"},"ContainsAll":{"shape":"Sh"},"ContainsAny":{"shape":"Sh"},"GreaterThan":{"shape":"Sh"},"GreaterThanOrEquals":{"shape":"Sh"},"LessThan":{"shape":"Sh"},"LessThanOrEquals":{"shape":"Sh"}}},"S90":{"type":"list","member":{"shape":"S8z"}},"S9n":{"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":{"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":"Sg"}}}}}},"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":"S11"},"Attributes":{"shape":"Sg"},"AccessControlList":{"shape":"S14"},"HierarchicalAccessControlList":{"type":"list","member":{"type":"structure","required":["PrincipalList"],"members":{"PrincipalList":{"shape":"S14"}}}},"ContentType":{}}}}}},"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":"S1j"},"Description":{},"Schedule":{},"RoleArn":{},"Tags":{"shape":"S4n"},"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":"S11"},"RoleArn":{},"Tags":{"shape":"S4n"},"FileFormat":{},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateIndex":{"input":{"type":"structure","required":["Name","RoleArn"],"members":{"Name":{},"Edition":{},"RoleArn":{},"ServerSideEncryptionConfiguration":{"shape":"S51"},"Description":{},"ClientToken":{"idempotencyToken":true},"Tags":{"shape":"S4n"},"UserTokenConfigurations":{"shape":"S53"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S5d"}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Name","SourceS3Path","RoleArn"],"members":{"IndexId":{},"Name":{},"Description":{},"SourceS3Path":{"shape":"S11"},"ClientToken":{"idempotencyToken":true},"RoleArn":{},"Tags":{"shape":"S4n"}}},"output":{"type":"structure","members":{"Id":{}}}},"CreateThesaurus":{"input":{"type":"structure","required":["IndexId","Name","RoleArn","SourceS3Path"],"members":{"IndexId":{},"Name":{},"Description":{},"RoleArn":{},"Tags":{"shape":"S4n"},"SourceS3Path":{"shape":"S11"},"ClientToken":{"idempotencyToken":true}}},"output":{"type":"structure","members":{"Id":{}}}},"DeleteDataSource":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{}}}},"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":"S1j"},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"Description":{},"Status":{},"Schedule":{},"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":"S11"},"Status":{},"RoleArn":{},"ErrorMessage":{},"FileFormat":{}}}},"DescribeIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{}}},"output":{"type":"structure","members":{"Name":{},"Id":{},"Edition":{},"RoleArn":{},"ServerSideEncryptionConfiguration":{"shape":"S51"},"Status":{},"Description":{},"CreatedAt":{"type":"timestamp"},"UpdatedAt":{"type":"timestamp"},"DocumentMetadataConfigurations":{"shape":"S65"},"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":"S6n"},"UserTokenConfigurations":{"shape":"S53"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S5d"}}}},"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":"S11"},"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":"S11"},"FileSizeBytes":{"type":"long"},"TermCount":{"type":"long"},"SynonymRuleCount":{"type":"long"}}}},"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"}}}}}}}}}}}}}},"ListDataSourceSyncJobs":{"input":{"type":"structure","required":["Id","IndexId"],"members":{"Id":{},"IndexId":{},"NextToken":{},"MaxResults":{"type":"integer"},"StartTimeFilter":{"type":"structure","members":{"StartTime":{"type":"timestamp"},"EndTime":{"type":"timestamp"}}},"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":{}}}},"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":{}}}}}}},"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":"S4n"}}}},"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":"S11"}}},"OrderingId":{"type":"long"},"RoleArn":{}}}},"Query":{"input":{"type":"structure","required":["IndexId","QueryText"],"members":{"IndexId":{},"QueryText":{},"AttributeFilter":{"shape":"S91"},"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":"S69"}}}},"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":"S9p"}}}}}},"DocumentId":{},"DocumentTitle":{"shape":"S9p"},"DocumentExcerpt":{"shape":"S9p"},"DocumentURI":{},"DocumentAttributes":{"shape":"Sg"},"ScoreAttributes":{"type":"structure","members":{"ScoreConfidence":{}}},"FeedbackToken":{}}}},"FacetResults":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeKey":{},"DocumentAttributeValueType":{},"DocumentAttributeValueCountPairs":{"type":"list","member":{"type":"structure","members":{"DocumentAttributeValue":{"shape":"Sj"},"Count":{"type":"integer"}}}}}}},"TotalNumberOfResults":{"type":"integer"}}}},"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":"S4n"}}},"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":"S1j"},"Description":{},"Schedule":{},"RoleArn":{}}}},"UpdateIndex":{"input":{"type":"structure","required":["Id"],"members":{"Id":{},"Name":{},"RoleArn":{},"Description":{},"DocumentMetadataConfigurationUpdates":{"shape":"S65"},"CapacityUnits":{"shape":"S6n"},"UserTokenConfigurations":{"shape":"S53"},"UserContextPolicy":{},"UserGroupResolutionConfiguration":{"shape":"S5d"}}}},"UpdateQuerySuggestionsBlockList":{"input":{"type":"structure","required":["IndexId","Id"],"members":{"IndexId":{},"Id":{},"Name":{},"Description":{},"SourceS3Path":{"shape":"S11"},"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":"S11"}}}}},"shapes":{"Sg":{"type":"list","member":{"shape":"Sh"}},"Sh":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{"shape":"Sj"}}},"Sj":{"type":"structure","members":{"StringValue":{},"StringListValue":{"type":"list","member":{}},"LongValue":{"type":"long"},"DateValue":{"type":"timestamp"}}},"S11":{"type":"structure","required":["Bucket","Key"],"members":{"Bucket":{},"Key":{}}},"S14":{"type":"list","member":{"type":"structure","required":["Name","Type","Access"],"members":{"Name":{},"Type":{},"Access":{},"DataSourceId":{}}}},"S1j":{"type":"structure","members":{"S3Configuration":{"type":"structure","required":["BucketName"],"members":{"BucketName":{},"InclusionPrefixes":{"shape":"S1l"},"InclusionPatterns":{"shape":"S1l"},"ExclusionPatterns":{"shape":"S1l"},"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":"S1l"},"ExclusionPatterns":{"shape":"S1l"},"VpcConfiguration":{"shape":"S1v"},"FieldMappings":{"shape":"S20"},"DocumentTitleFieldName":{},"DisableLocalGroups":{"type":"boolean"},"SslCertificateS3Path":{"shape":"S11"}}},"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":"S1v"},"ColumnConfiguration":{"type":"structure","required":["DocumentIdColumnName","DocumentDataColumnName","ChangeDetectingColumns"],"members":{"DocumentIdColumnName":{},"DocumentDataColumnName":{},"DocumentTitleColumnName":{},"FieldMappings":{"shape":"S20"},"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":"S20"}}}},"KnowledgeArticleConfiguration":{"type":"structure","required":["IncludedStates"],"members":{"IncludedStates":{"type":"list","member":{}},"StandardKnowledgeArticleTypeConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S20"}}},"CustomKnowledgeArticleTypeConfigurations":{"type":"list","member":{"type":"structure","required":["Name","DocumentDataFieldName"],"members":{"Name":{},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S20"}}}}}},"ChatterFeedConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S20"},"IncludeFilterTypes":{"type":"list","member":{}}}},"CrawlAttachments":{"type":"boolean"},"StandardObjectAttachmentConfiguration":{"type":"structure","members":{"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S20"}}},"IncludeAttachmentFilePatterns":{"shape":"S1l"},"ExcludeAttachmentFilePatterns":{"shape":"S1l"}}},"OneDriveConfiguration":{"type":"structure","required":["TenantDomain","SecretArn","OneDriveUsers"],"members":{"TenantDomain":{},"SecretArn":{},"OneDriveUsers":{"type":"structure","members":{"OneDriveUserList":{"type":"list","member":{}},"OneDriveUserS3Path":{"shape":"S11"}}},"InclusionPatterns":{"shape":"S1l"},"ExclusionPatterns":{"shape":"S1l"},"FieldMappings":{"shape":"S20"},"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":"S1l"},"ExcludeAttachmentFilePatterns":{"shape":"S1l"},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S20"},"FilterQuery":{}}},"ServiceCatalogConfiguration":{"type":"structure","required":["DocumentDataFieldName"],"members":{"CrawlAttachments":{"type":"boolean"},"IncludeAttachmentFilePatterns":{"shape":"S1l"},"ExcludeAttachmentFilePatterns":{"shape":"S1l"},"DocumentDataFieldName":{},"DocumentTitleFieldName":{},"FieldMappings":{"shape":"S20"}}},"AuthenticationType":{}}},"ConfluenceConfiguration":{"type":"structure","required":["ServerUrl","SecretArn","Version"],"members":{"ServerUrl":{},"SecretArn":{},"Version":{},"SpaceConfiguration":{"type":"structure","members":{"CrawlPersonalSpaces":{"type":"boolean"},"CrawlArchivedSpaces":{"type":"boolean"},"IncludeSpaces":{"shape":"S3c"},"ExcludeSpaces":{"shape":"S3c"},"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":"S1v"},"InclusionPatterns":{"shape":"S1l"},"ExclusionPatterns":{"shape":"S1l"}}},"GoogleDriveConfiguration":{"type":"structure","required":["SecretArn"],"members":{"SecretArn":{},"InclusionPatterns":{"shape":"S1l"},"ExclusionPatterns":{"shape":"S1l"},"FieldMappings":{"shape":"S20"},"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":"S1l"},"UrlExclusionPatterns":{"shape":"S1l"},"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":"S1l"},"ExclusionPatterns":{"shape":"S1l"},"FieldMappings":{"shape":"S20"}}}}},"S1l":{"type":"list","member":{}},"S1v":{"type":"structure","required":["SubnetIds","SecurityGroupIds"],"members":{"SubnetIds":{"type":"list","member":{}},"SecurityGroupIds":{"type":"list","member":{}}}},"S20":{"type":"list","member":{"type":"structure","required":["DataSourceFieldName","IndexFieldName"],"members":{"DataSourceFieldName":{},"DateFieldFormat":{},"IndexFieldName":{}}}},"S3c":{"type":"list","member":{}},"S4n":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S51":{"type":"structure","members":{"KmsKeyId":{"type":"string","sensitive":true}}},"S53":{"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":{}}}}}},"S5d":{"type":"structure","required":["UserGroupResolutionMode"],"members":{"UserGroupResolutionMode":{}}},"S65":{"type":"list","member":{"type":"structure","required":["Name","Type"],"members":{"Name":{},"Type":{},"Relevance":{"shape":"S69"},"Search":{"type":"structure","members":{"Facetable":{"type":"boolean"},"Searchable":{"type":"boolean"},"Displayable":{"type":"boolean"},"Sortable":{"type":"boolean"}}}}}},"S69":{"type":"structure","members":{"Freshness":{"type":"boolean"},"Importance":{"type":"integer"},"Duration":{},"RankOrder":{},"ValueImportanceMap":{"type":"map","key":{},"value":{"type":"integer"}}}},"S6n":{"type":"structure","required":["StorageCapacityUnits","QueryCapacityUnits"],"members":{"StorageCapacityUnits":{"type":"integer"},"QueryCapacityUnits":{"type":"integer"}}},"S91":{"type":"structure","members":{"AndAllFilters":{"shape":"S92"},"OrAllFilters":{"shape":"S92"},"NotFilter":{"shape":"S91"},"EqualsTo":{"shape":"Sh"},"ContainsAll":{"shape":"Sh"},"ContainsAny":{"shape":"Sh"},"GreaterThan":{"shape":"Sh"},"GreaterThanOrEquals":{"shape":"Sh"},"LessThan":{"shape":"Sh"},"LessThanOrEquals":{"shape":"Sh"}}},"S92":{"type":"list","member":{"shape":"S91"}},"S9p":{"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 */ @@ -53312,7 +53312,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 928 */ /***/ (function(module, exports) { - module.exports = {"metadata":{"apiVersion":"2020-08-11","endpointPrefix":"amplifybackend","signingName":"amplifybackend","serviceFullName":"AmplifyBackend","serviceId":"AmplifyBackend","protocol":"rest-json","jsonVersion":"1.1","uid":"amplifybackend-2020-08-11","signatureVersion":"v4"},"operations":{"CloneBackend":{"http":{"requestUri":"/backend/{appId}/environments/{backendEnvironmentName}/clone","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"TargetEnvironmentName":{"locationName":"targetEnvironmentName"}},"required":["AppId","BackendEnvironmentName","TargetEnvironmentName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"CreateBackend":{"http":{"requestUri":"/backend","responseCode":200},"input":{"type":"structure","members":{"AppId":{"locationName":"appId"},"AppName":{"locationName":"appName"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"ResourceConfig":{"locationName":"resourceConfig","type":"structure","members":{}},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","AppName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"CreateBackendAPI":{"http":{"requestUri":"/backend/{appId}/api","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","ResourceName","BackendEnvironmentName","ResourceConfig"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"CreateBackendAuth":{"http":{"requestUri":"/backend/{appId}/auth","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"Si","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","ResourceName","BackendEnvironmentName","ResourceConfig"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"CreateBackendConfig":{"http":{"requestUri":"/backend/{appId}/config","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendManagerAppId":{"locationName":"backendManagerAppId"}},"required":["AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"JobId":{"locationName":"jobId"},"Status":{"locationName":"status"}}}},"CreateToken":{"http":{"requestUri":"/backend/{appId}/challenge","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"}},"required":["AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"ChallengeCode":{"locationName":"challengeCode"},"SessionId":{"locationName":"sessionId"},"Ttl":{"locationName":"ttl"}}}},"DeleteBackend":{"http":{"requestUri":"/backend/{appId}/environments/{backendEnvironmentName}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"}},"required":["AppId","BackendEnvironmentName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"DeleteBackendAPI":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"DeleteBackendAuth":{"http":{"requestUri":"/backend/{appId}/auth/{backendEnvironmentName}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"DeleteToken":{"http":{"requestUri":"/backend/{appId}/challenge/{sessionId}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"SessionId":{"location":"uri","locationName":"sessionId"}},"required":["SessionId","AppId"]},"output":{"type":"structure","members":{"IsSuccess":{"locationName":"isSuccess","type":"boolean"}}}},"GenerateBackendAPIModels":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}/generateModels","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"GetBackend":{"http":{"requestUri":"/backend/{appId}/details","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"}},"required":["AppId"]},"output":{"type":"structure","members":{"AmplifyMetaConfig":{"locationName":"amplifyMetaConfig"},"AppId":{"locationName":"appId"},"AppName":{"locationName":"appName"},"BackendEnvironmentList":{"shape":"S11","locationName":"backendEnvironmentList"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"}}}},"GetBackendAPI":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}/details","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}}}},"GetBackendAPIModels":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}/getModels","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"Models":{"locationName":"models"},"Status":{"locationName":"status"}}}},"GetBackendAuth":{"http":{"requestUri":"/backend/{appId}/auth/{backendEnvironmentName}/details","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"ResourceConfig":{"shape":"Si","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}}}},"GetBackendJob":{"http":{"method":"GET","requestUri":"/backend/{appId}/job/{backendEnvironmentName}/{jobId}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"JobId":{"location":"uri","locationName":"jobId"}},"required":["AppId","BackendEnvironmentName","JobId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"CreateTime":{"locationName":"createTime"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"},"UpdateTime":{"locationName":"updateTime"}}}},"GetToken":{"http":{"method":"GET","requestUri":"/backend/{appId}/challenge/{sessionId}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"SessionId":{"location":"uri","locationName":"sessionId"}},"required":["SessionId","AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"ChallengeCode":{"locationName":"challengeCode"},"SessionId":{"locationName":"sessionId"},"Ttl":{"locationName":"ttl"}}}},"ImportBackendAuth":{"http":{"requestUri":"/backend/{appId}/auth/{backendEnvironmentName}/import","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"IdentityPoolId":{"locationName":"identityPoolId"},"NativeClientId":{"locationName":"nativeClientId"},"UserPoolId":{"locationName":"userPoolId"},"WebClientId":{"locationName":"webClientId"}},"required":["AppId","BackendEnvironmentName","UserPoolId","NativeClientId","WebClientId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"ListBackendJobs":{"http":{"requestUri":"/backend/{appId}/job/{backendEnvironmentName}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"JobId":{"locationName":"jobId"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}},"required":["AppId","BackendEnvironmentName"]},"output":{"type":"structure","members":{"Jobs":{"locationName":"jobs","type":"list","member":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"CreateTime":{"locationName":"createTime"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"},"UpdateTime":{"locationName":"updateTime"}},"required":["AppId","BackendEnvironmentName"]}},"NextToken":{"locationName":"nextToken"}}}},"RemoveAllBackends":{"http":{"requestUri":"/backend/{appId}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"CleanAmplifyApp":{"locationName":"cleanAmplifyApp","type":"boolean"}},"required":["AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"RemoveBackendConfig":{"http":{"requestUri":"/backend/{appId}/config/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"}},"required":["AppId"]},"output":{"type":"structure","members":{"Error":{"locationName":"error"}}}},"UpdateBackendAPI":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"UpdateBackendAuth":{"http":{"requestUri":"/backend/{appId}/auth/{backendEnvironmentName}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceConfig":{"locationName":"resourceConfig","type":"structure","members":{"AuthResources":{"locationName":"authResources"},"IdentityPoolConfigs":{"locationName":"identityPoolConfigs","type":"structure","members":{"UnauthenticatedLogin":{"locationName":"unauthenticatedLogin","type":"boolean"}}},"Service":{"locationName":"service"},"UserPoolConfigs":{"locationName":"userPoolConfigs","type":"structure","members":{"ForgotPassword":{"locationName":"forgotPassword","type":"structure","members":{"DeliveryMethod":{"locationName":"deliveryMethod"},"EmailSettings":{"shape":"Sq","locationName":"emailSettings"},"SmsSettings":{"shape":"Sr","locationName":"smsSettings"}}},"Mfa":{"locationName":"mfa","type":"structure","members":{"MFAMode":{},"Settings":{"shape":"Su","locationName":"settings"}}},"OAuth":{"locationName":"oAuth","type":"structure","members":{"DomainPrefix":{"locationName":"domainPrefix"},"OAuthGrantType":{"locationName":"oAuthGrantType"},"OAuthScopes":{"shape":"Sz","locationName":"oAuthScopes"},"RedirectSignInURIs":{"shape":"S11","locationName":"redirectSignInURIs"},"RedirectSignOutURIs":{"shape":"S11","locationName":"redirectSignOutURIs"},"SocialProviderSettings":{"shape":"S12","locationName":"socialProviderSettings"}}},"PasswordPolicy":{"locationName":"passwordPolicy","type":"structure","members":{"AdditionalConstraints":{"shape":"S16","locationName":"additionalConstraints"},"MinimumLength":{"locationName":"minimumLength","type":"double"}}}}}},"required":["AuthResources","UserPoolConfigs","Service"]},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName","ResourceConfig"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"UpdateBackendConfig":{"http":{"requestUri":"/backend/{appId}/config/update","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"LoginAuthConfig":{"shape":"S2q","locationName":"loginAuthConfig"}},"required":["AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendManagerAppId":{"locationName":"backendManagerAppId"},"Error":{"locationName":"error"},"LoginAuthConfig":{"shape":"S2q","locationName":"loginAuthConfig"}}}},"UpdateBackendJob":{"http":{"requestUri":"/backend/{appId}/job/{backendEnvironmentName}/{jobId}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"JobId":{"location":"uri","locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}},"required":["AppId","BackendEnvironmentName","JobId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"CreateTime":{"locationName":"createTime"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"},"UpdateTime":{"locationName":"updateTime"}}}}},"shapes":{"S8":{"type":"structure","members":{"AdditionalAuthTypes":{"locationName":"additionalAuthTypes","type":"list","member":{"shape":"Sa"}},"ApiName":{"locationName":"apiName"},"ConflictResolution":{"locationName":"conflictResolution","type":"structure","members":{"ResolutionStrategy":{"locationName":"resolutionStrategy"}}},"DefaultAuthType":{"shape":"Sa","locationName":"defaultAuthType"},"Service":{"locationName":"service"},"TransformSchema":{"locationName":"transformSchema"}}},"Sa":{"type":"structure","members":{"Mode":{"locationName":"mode"},"Settings":{"locationName":"settings","type":"structure","members":{"CognitoUserPoolId":{"locationName":"cognitoUserPoolId"},"Description":{"locationName":"description"},"ExpirationTime":{"locationName":"expirationTime","type":"double"},"OpenIDAuthTTL":{"locationName":"openIDAuthTTL"},"OpenIDClientId":{"locationName":"openIDClientId"},"OpenIDIatTTL":{"locationName":"openIDIatTTL"},"OpenIDIssueURL":{"locationName":"openIDIssueURL"},"OpenIDProviderName":{"locationName":"openIDProviderName"}}}}},"Si":{"type":"structure","members":{"AuthResources":{"locationName":"authResources"},"IdentityPoolConfigs":{"locationName":"identityPoolConfigs","type":"structure","members":{"IdentityPoolName":{"locationName":"identityPoolName"},"UnauthenticatedLogin":{"locationName":"unauthenticatedLogin","type":"boolean"}},"required":["UnauthenticatedLogin","IdentityPoolName"]},"Service":{"locationName":"service"},"UserPoolConfigs":{"locationName":"userPoolConfigs","type":"structure","members":{"ForgotPassword":{"locationName":"forgotPassword","type":"structure","members":{"DeliveryMethod":{"locationName":"deliveryMethod"},"EmailSettings":{"shape":"Sq","locationName":"emailSettings"},"SmsSettings":{"shape":"Sr","locationName":"smsSettings"}},"required":["DeliveryMethod"]},"Mfa":{"locationName":"mfa","type":"structure","members":{"MFAMode":{},"Settings":{"shape":"Su","locationName":"settings"}},"required":["MFAMode"]},"OAuth":{"locationName":"oAuth","type":"structure","members":{"DomainPrefix":{"locationName":"domainPrefix"},"OAuthGrantType":{"locationName":"oAuthGrantType"},"OAuthScopes":{"shape":"Sz","locationName":"oAuthScopes"},"RedirectSignInURIs":{"shape":"S11","locationName":"redirectSignInURIs"},"RedirectSignOutURIs":{"shape":"S11","locationName":"redirectSignOutURIs"},"SocialProviderSettings":{"shape":"S12","locationName":"socialProviderSettings"}},"required":["RedirectSignOutURIs","RedirectSignInURIs","OAuthGrantType","OAuthScopes"]},"PasswordPolicy":{"locationName":"passwordPolicy","type":"structure","members":{"AdditionalConstraints":{"shape":"S16","locationName":"additionalConstraints"},"MinimumLength":{"locationName":"minimumLength","type":"double"}},"required":["MinimumLength"]},"RequiredSignUpAttributes":{"locationName":"requiredSignUpAttributes","type":"list","member":{}},"SignInMethod":{"locationName":"signInMethod"},"UserPoolName":{"locationName":"userPoolName"}},"required":["RequiredSignUpAttributes","SignInMethod","UserPoolName"]}},"required":["AuthResources","UserPoolConfigs","Service"]},"Sq":{"type":"structure","members":{"EmailMessage":{"locationName":"emailMessage"},"EmailSubject":{"locationName":"emailSubject"}}},"Sr":{"type":"structure","members":{"SmsMessage":{"locationName":"smsMessage"}}},"Su":{"type":"structure","members":{"MfaTypes":{"locationName":"mfaTypes","type":"list","member":{}},"SmsMessage":{"locationName":"smsMessage"}}},"Sz":{"type":"list","member":{}},"S11":{"type":"list","member":{}},"S12":{"type":"structure","members":{"Facebook":{"shape":"S13"},"Google":{"shape":"S13"},"LoginWithAmazon":{"shape":"S13"},"SignInWithApple":{"type":"structure","members":{"ClientId":{"locationName":"client_id"},"KeyId":{"locationName":"key_id"},"PrivateKey":{"locationName":"private_key"},"TeamId":{"locationName":"team_id"}}}}},"S13":{"type":"structure","members":{"ClientId":{"locationName":"client_id"},"ClientSecret":{"locationName":"client_secret"}}},"S16":{"type":"list","member":{}},"S2q":{"type":"structure","members":{"AwsCognitoIdentityPoolId":{"locationName":"aws_cognito_identity_pool_id"},"AwsCognitoRegion":{"locationName":"aws_cognito_region"},"AwsUserPoolsId":{"locationName":"aws_user_pools_id"},"AwsUserPoolsWebClientId":{"locationName":"aws_user_pools_web_client_id"}}}}} + module.exports = {"metadata":{"apiVersion":"2020-08-11","endpointPrefix":"amplifybackend","signingName":"amplifybackend","serviceFullName":"AmplifyBackend","serviceId":"AmplifyBackend","protocol":"rest-json","jsonVersion":"1.1","uid":"amplifybackend-2020-08-11","signatureVersion":"v4"},"operations":{"CloneBackend":{"http":{"requestUri":"/backend/{appId}/environments/{backendEnvironmentName}/clone","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"TargetEnvironmentName":{"locationName":"targetEnvironmentName"}},"required":["AppId","BackendEnvironmentName","TargetEnvironmentName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"CreateBackend":{"http":{"requestUri":"/backend","responseCode":200},"input":{"type":"structure","members":{"AppId":{"locationName":"appId"},"AppName":{"locationName":"appName"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"ResourceConfig":{"locationName":"resourceConfig","type":"structure","members":{}},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","AppName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"CreateBackendAPI":{"http":{"requestUri":"/backend/{appId}/api","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","ResourceName","BackendEnvironmentName","ResourceConfig"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"CreateBackendAuth":{"http":{"requestUri":"/backend/{appId}/auth","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"Si","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","ResourceName","BackendEnvironmentName","ResourceConfig"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"CreateBackendConfig":{"http":{"requestUri":"/backend/{appId}/config","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendManagerAppId":{"locationName":"backendManagerAppId"}},"required":["AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"JobId":{"locationName":"jobId"},"Status":{"locationName":"status"}}}},"CreateToken":{"http":{"requestUri":"/backend/{appId}/challenge","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"}},"required":["AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"ChallengeCode":{"locationName":"challengeCode"},"SessionId":{"locationName":"sessionId"},"Ttl":{"locationName":"ttl"}}}},"DeleteBackend":{"http":{"requestUri":"/backend/{appId}/environments/{backendEnvironmentName}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"}},"required":["AppId","BackendEnvironmentName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"DeleteBackendAPI":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"DeleteBackendAuth":{"http":{"requestUri":"/backend/{appId}/auth/{backendEnvironmentName}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"DeleteToken":{"http":{"requestUri":"/backend/{appId}/challenge/{sessionId}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"SessionId":{"location":"uri","locationName":"sessionId"}},"required":["SessionId","AppId"]},"output":{"type":"structure","members":{"IsSuccess":{"locationName":"isSuccess","type":"boolean"}}}},"GenerateBackendAPIModels":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}/generateModels","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"GetBackend":{"http":{"requestUri":"/backend/{appId}/details","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"}},"required":["AppId"]},"output":{"type":"structure","members":{"AmplifyFeatureFlags":{"locationName":"amplifyFeatureFlags"},"AmplifyMetaConfig":{"locationName":"amplifyMetaConfig"},"AppId":{"locationName":"appId"},"AppName":{"locationName":"appName"},"BackendEnvironmentList":{"shape":"S11","locationName":"backendEnvironmentList"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"}}}},"GetBackendAPI":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}/details","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}}}},"GetBackendAPIModels":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}/getModels","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"Models":{"locationName":"models"},"Status":{"locationName":"status"}}}},"GetBackendAuth":{"http":{"requestUri":"/backend/{appId}/auth/{backendEnvironmentName}/details","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"ResourceConfig":{"shape":"Si","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}}}},"GetBackendJob":{"http":{"method":"GET","requestUri":"/backend/{appId}/job/{backendEnvironmentName}/{jobId}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"JobId":{"location":"uri","locationName":"jobId"}},"required":["AppId","BackendEnvironmentName","JobId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"CreateTime":{"locationName":"createTime"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"},"UpdateTime":{"locationName":"updateTime"}}}},"GetToken":{"http":{"method":"GET","requestUri":"/backend/{appId}/challenge/{sessionId}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"SessionId":{"location":"uri","locationName":"sessionId"}},"required":["SessionId","AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"ChallengeCode":{"locationName":"challengeCode"},"SessionId":{"locationName":"sessionId"},"Ttl":{"locationName":"ttl"}}}},"ImportBackendAuth":{"http":{"requestUri":"/backend/{appId}/auth/{backendEnvironmentName}/import","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"IdentityPoolId":{"locationName":"identityPoolId"},"NativeClientId":{"locationName":"nativeClientId"},"UserPoolId":{"locationName":"userPoolId"},"WebClientId":{"locationName":"webClientId"}},"required":["AppId","BackendEnvironmentName","UserPoolId","NativeClientId","WebClientId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"ListBackendJobs":{"http":{"requestUri":"/backend/{appId}/job/{backendEnvironmentName}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"JobId":{"locationName":"jobId"},"MaxResults":{"locationName":"maxResults","type":"integer"},"NextToken":{"locationName":"nextToken"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}},"required":["AppId","BackendEnvironmentName"]},"output":{"type":"structure","members":{"Jobs":{"locationName":"jobs","type":"list","member":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"CreateTime":{"locationName":"createTime"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"},"UpdateTime":{"locationName":"updateTime"}},"required":["AppId","BackendEnvironmentName"]}},"NextToken":{"locationName":"nextToken"}}}},"RemoveAllBackends":{"http":{"requestUri":"/backend/{appId}/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"CleanAmplifyApp":{"locationName":"cleanAmplifyApp","type":"boolean"}},"required":["AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"RemoveBackendConfig":{"http":{"requestUri":"/backend/{appId}/config/remove","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"}},"required":["AppId"]},"output":{"type":"structure","members":{"Error":{"locationName":"error"}}}},"UpdateBackendAPI":{"http":{"requestUri":"/backend/{appId}/api/{backendEnvironmentName}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceConfig":{"shape":"S8","locationName":"resourceConfig"},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"UpdateBackendAuth":{"http":{"requestUri":"/backend/{appId}/auth/{backendEnvironmentName}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"ResourceConfig":{"locationName":"resourceConfig","type":"structure","members":{"AuthResources":{"locationName":"authResources"},"IdentityPoolConfigs":{"locationName":"identityPoolConfigs","type":"structure","members":{"UnauthenticatedLogin":{"locationName":"unauthenticatedLogin","type":"boolean"}}},"Service":{"locationName":"service"},"UserPoolConfigs":{"locationName":"userPoolConfigs","type":"structure","members":{"ForgotPassword":{"locationName":"forgotPassword","type":"structure","members":{"DeliveryMethod":{"locationName":"deliveryMethod"},"EmailSettings":{"shape":"Sq","locationName":"emailSettings"},"SmsSettings":{"shape":"Sr","locationName":"smsSettings"}}},"Mfa":{"locationName":"mfa","type":"structure","members":{"MFAMode":{},"Settings":{"shape":"Su","locationName":"settings"}}},"OAuth":{"locationName":"oAuth","type":"structure","members":{"DomainPrefix":{"locationName":"domainPrefix"},"OAuthGrantType":{"locationName":"oAuthGrantType"},"OAuthScopes":{"shape":"Sz","locationName":"oAuthScopes"},"RedirectSignInURIs":{"shape":"S11","locationName":"redirectSignInURIs"},"RedirectSignOutURIs":{"shape":"S11","locationName":"redirectSignOutURIs"},"SocialProviderSettings":{"shape":"S12","locationName":"socialProviderSettings"}}},"PasswordPolicy":{"locationName":"passwordPolicy","type":"structure","members":{"AdditionalConstraints":{"shape":"S16","locationName":"additionalConstraints"},"MinimumLength":{"locationName":"minimumLength","type":"double"}}}}}},"required":["AuthResources","UserPoolConfigs","Service"]},"ResourceName":{"locationName":"resourceName"}},"required":["AppId","BackendEnvironmentName","ResourceName","ResourceConfig"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}}}},"UpdateBackendConfig":{"http":{"requestUri":"/backend/{appId}/config/update","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"LoginAuthConfig":{"shape":"S2q","locationName":"loginAuthConfig"}},"required":["AppId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendManagerAppId":{"locationName":"backendManagerAppId"},"Error":{"locationName":"error"},"LoginAuthConfig":{"shape":"S2q","locationName":"loginAuthConfig"}}}},"UpdateBackendJob":{"http":{"requestUri":"/backend/{appId}/job/{backendEnvironmentName}/{jobId}","responseCode":200},"input":{"type":"structure","members":{"AppId":{"location":"uri","locationName":"appId"},"BackendEnvironmentName":{"location":"uri","locationName":"backendEnvironmentName"},"JobId":{"location":"uri","locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"}},"required":["AppId","BackendEnvironmentName","JobId"]},"output":{"type":"structure","members":{"AppId":{"locationName":"appId"},"BackendEnvironmentName":{"locationName":"backendEnvironmentName"},"CreateTime":{"locationName":"createTime"},"Error":{"locationName":"error"},"JobId":{"locationName":"jobId"},"Operation":{"locationName":"operation"},"Status":{"locationName":"status"},"UpdateTime":{"locationName":"updateTime"}}}}},"shapes":{"S8":{"type":"structure","members":{"AdditionalAuthTypes":{"locationName":"additionalAuthTypes","type":"list","member":{"shape":"Sa"}},"ApiName":{"locationName":"apiName"},"ConflictResolution":{"locationName":"conflictResolution","type":"structure","members":{"ResolutionStrategy":{"locationName":"resolutionStrategy"}}},"DefaultAuthType":{"shape":"Sa","locationName":"defaultAuthType"},"Service":{"locationName":"service"},"TransformSchema":{"locationName":"transformSchema"}}},"Sa":{"type":"structure","members":{"Mode":{"locationName":"mode"},"Settings":{"locationName":"settings","type":"structure","members":{"CognitoUserPoolId":{"locationName":"cognitoUserPoolId"},"Description":{"locationName":"description"},"ExpirationTime":{"locationName":"expirationTime","type":"double"},"OpenIDAuthTTL":{"locationName":"openIDAuthTTL"},"OpenIDClientId":{"locationName":"openIDClientId"},"OpenIDIatTTL":{"locationName":"openIDIatTTL"},"OpenIDIssueURL":{"locationName":"openIDIssueURL"},"OpenIDProviderName":{"locationName":"openIDProviderName"}}}}},"Si":{"type":"structure","members":{"AuthResources":{"locationName":"authResources"},"IdentityPoolConfigs":{"locationName":"identityPoolConfigs","type":"structure","members":{"IdentityPoolName":{"locationName":"identityPoolName"},"UnauthenticatedLogin":{"locationName":"unauthenticatedLogin","type":"boolean"}},"required":["UnauthenticatedLogin","IdentityPoolName"]},"Service":{"locationName":"service"},"UserPoolConfigs":{"locationName":"userPoolConfigs","type":"structure","members":{"ForgotPassword":{"locationName":"forgotPassword","type":"structure","members":{"DeliveryMethod":{"locationName":"deliveryMethod"},"EmailSettings":{"shape":"Sq","locationName":"emailSettings"},"SmsSettings":{"shape":"Sr","locationName":"smsSettings"}},"required":["DeliveryMethod"]},"Mfa":{"locationName":"mfa","type":"structure","members":{"MFAMode":{},"Settings":{"shape":"Su","locationName":"settings"}},"required":["MFAMode"]},"OAuth":{"locationName":"oAuth","type":"structure","members":{"DomainPrefix":{"locationName":"domainPrefix"},"OAuthGrantType":{"locationName":"oAuthGrantType"},"OAuthScopes":{"shape":"Sz","locationName":"oAuthScopes"},"RedirectSignInURIs":{"shape":"S11","locationName":"redirectSignInURIs"},"RedirectSignOutURIs":{"shape":"S11","locationName":"redirectSignOutURIs"},"SocialProviderSettings":{"shape":"S12","locationName":"socialProviderSettings"}},"required":["RedirectSignOutURIs","RedirectSignInURIs","OAuthGrantType","OAuthScopes"]},"PasswordPolicy":{"locationName":"passwordPolicy","type":"structure","members":{"AdditionalConstraints":{"shape":"S16","locationName":"additionalConstraints"},"MinimumLength":{"locationName":"minimumLength","type":"double"}},"required":["MinimumLength"]},"RequiredSignUpAttributes":{"locationName":"requiredSignUpAttributes","type":"list","member":{}},"SignInMethod":{"locationName":"signInMethod"},"UserPoolName":{"locationName":"userPoolName"}},"required":["RequiredSignUpAttributes","SignInMethod","UserPoolName"]}},"required":["AuthResources","UserPoolConfigs","Service"]},"Sq":{"type":"structure","members":{"EmailMessage":{"locationName":"emailMessage"},"EmailSubject":{"locationName":"emailSubject"}}},"Sr":{"type":"structure","members":{"SmsMessage":{"locationName":"smsMessage"}}},"Su":{"type":"structure","members":{"MfaTypes":{"locationName":"mfaTypes","type":"list","member":{}},"SmsMessage":{"locationName":"smsMessage"}}},"Sz":{"type":"list","member":{}},"S11":{"type":"list","member":{}},"S12":{"type":"structure","members":{"Facebook":{"shape":"S13"},"Google":{"shape":"S13"},"LoginWithAmazon":{"shape":"S13"},"SignInWithApple":{"type":"structure","members":{"ClientId":{"locationName":"client_id"},"KeyId":{"locationName":"key_id"},"PrivateKey":{"locationName":"private_key"},"TeamId":{"locationName":"team_id"}}}}},"S13":{"type":"structure","members":{"ClientId":{"locationName":"client_id"},"ClientSecret":{"locationName":"client_secret"}}},"S16":{"type":"list","member":{}},"S2q":{"type":"structure","members":{"AwsCognitoIdentityPoolId":{"locationName":"aws_cognito_identity_pool_id"},"AwsCognitoRegion":{"locationName":"aws_cognito_region"},"AwsUserPoolsId":{"locationName":"aws_user_pools_id"},"AwsUserPoolsWebClientId":{"locationName":"aws_user_pools_web_client_id"}}}}} /***/ }), /* 929 */ diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index 19d3a8a654..4b87361ca9 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.1001.0 +// AWS SDK for JavaScript v2.1002.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/":426}],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/":426}],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/":426}],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/":426}],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":417,"./xml/browser_parser":418,_process:431,"buffer/":426,"querystring/":438,"url/":440}],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"},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:431}],342:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.1001.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":449,"./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":387,"./resource_waiter":388,"./response":389,"./sequential_executor":391,"./service":392,"./signers/request_signer":409,"./util":417,"./xml/builder":419}],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){ +Object.defineProperty(s.services.workdocs,"2016-05-01",{get:function(){var t=e("../apis/workdocs-2016-05-01.min.json");return t.paginators=e("../apis/workdocs-2016-05-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.WorkDocs},{"../apis/workdocs-2016-05-01.min.json":236,"../apis/workdocs-2016-05-01.paginators.json":237,"../lib/core":342,"../lib/node_loader":338}],330:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.xray={},i.XRay=a.defineService("xray",["2016-04-12"]),Object.defineProperty(s.services.xray,"2016-04-12",{get:function(){var t=e("../apis/xray-2016-04-12.min.json");return t.paginators=e("../apis/xray-2016-04-12.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.XRay},{"../apis/xray-2016-04-12.min.json":238,"../apis/xray-2016-04-12.paginators.json":239,"../lib/core":342,"../lib/node_loader":338}],331:[function(e,t,r){function i(e,t){if(!i.services.hasOwnProperty(e))throw new Error("InvalidService: Failed to load api for "+e);return i.services[e][t]}i.services={},t.exports=i},{}],332:[function(e,t,r){var i=e("./browserHmac"),a=e("./browserMd5"),s=e("./browserSha1"),o=e("./browserSha256");t.exports={createHash:function(e){if("md5"===(e=e.toLowerCase()))return new a;if("sha256"===e)return new o;if("sha1"===e)return new s;throw new Error("Hash algorithm "+e+" is not supported in the browser SDK")},createHmac:function(e,t){if("md5"===(e=e.toLowerCase()))return new i(a,t);if("sha256"===e)return new i(o,t);if("sha1"===e)return new i(s,t);throw new Error("HMAC algorithm "+e+" is not supported in the browser SDK")},createSign:function(){throw new Error("createSign is not implemented in the browser")}}},{"./browserHmac":334,"./browserMd5":335,"./browserSha1":336,"./browserSha256":337}],333:[function(e,t,r){function i(e){return"string"==typeof e?0===e.length:0===e.byteLength}function a(e){return"string"==typeof e&&(e=new s(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var s=e("buffer/").Buffer;"undefined"!=typeof ArrayBuffer&&void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(e){return o.indexOf(Object.prototype.toString.call(e))>-1});var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:i,convertToBuffer:a}},{"buffer/":426}],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/":426}],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/":426}],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/":426}],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":417,"./xml/browser_parser":418,_process:431,"buffer/":426,"querystring/":438,"url/":440}],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"},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:431}],342:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.1002.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":449,"./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":387,"./resource_waiter":388,"./response":389,"./sequential_executor":391,"./service":392,"./signers/request_signer":409,"./util":417,"./xml/builder":419}],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":391,util:443}],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":417,"./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){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":417}],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":417,"./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":417,"./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":417}],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){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function a(e){var t=e.config.region,r=i(t),a=e.api.endpointPrefix;return[[t,a],[r,a],[t,"*"],[r,"*"],["*",a],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=a(e),r=0;r=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":416,_process:431,jmespath:430}],388:[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}],392:[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;i.Service=o({constructor:function(e){if(!this.loadServiceClass)throw i.util.error(new Error,"Service must be constructed with `new' operator");var t=this.loadServiceClass(e||{});if(t){var r=i.util.copy(e),a=new t(e);return Object.defineProperty(a,"_originalConfig",{get:function(){return r},enumerable:!1,configurable:!0}),a._clientId=++n,a}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]){ diff --git a/lib/core.js b/lib/core.js index 594a759023..06622b45dc 100644 --- a/lib/core.js +++ b/lib/core.js @@ -20,7 +20,7 @@ AWS.util.update(AWS, { /** * @constant */ - VERSION: '2.1001.0', + VERSION: '2.1002.0', /** * @api private diff --git a/package.json b/package.json index c77fdaeeff..26bf2e40a8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "aws-sdk", "description": "AWS SDK for JavaScript", - "version": "2.1001.0", + "version": "2.1002.0", "author": { "name": "Amazon Web Services", "email": "",