diff --git a/.changes/2.1553.0.json b/.changes/2.1553.0.json new file mode 100644 index 0000000000..1fe52f65a6 --- /dev/null +++ b/.changes/2.1553.0.json @@ -0,0 +1,17 @@ +[ + { + "type": "feature", + "category": "DataSync", + "description": "AWS DataSync now supports manifests for specifying files or objects to transfer." + }, + { + "type": "feature", + "category": "LexModelsV2", + "description": "This release introduces a new bot replication feature as part of Lex Global Resiliency offering. This feature leverages a new set of APIs that allow customers to create bot replicas and replicate changes to bots across regions." + }, + { + "type": "feature", + "category": "Redshift", + "description": "LisRecommendations API to fetch Amazon Redshift Advisor recommendations." + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 83d62eddc7..b68a36b81c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,12 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1553.0 +* feature: DataSync: AWS DataSync now supports manifests for specifying files or objects to transfer. +* feature: LexModelsV2: This release introduces a new bot replication feature as part of Lex Global Resiliency offering. This feature leverages a new set of APIs that allow customers to create bot replicas and replicate changes to bots across regions. +* feature: Redshift: LisRecommendations API to fetch Amazon Redshift Advisor recommendations. + ## 2.1552.0 * feature: AppSync: Support for environment variables in AppSync GraphQL APIs * feature: CloudWatchLogs: This release adds a new field, logGroupArn, to the response of the logs:DescribeLogGroups action. diff --git a/README.md b/README.md index d7485e9137..3a0ddc201c 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true; To use the SDK in the browser, simply add the following script tag to your HTML pages: - + You can also build a custom browser SDK with your specified set of AWS services. This can allow you to reduce the SDK's size, specify different API versions of diff --git a/apis/datasync-2018-11-09.min.json b/apis/datasync-2018-11-09.min.json index 207cbfb603..103c34bd19 100644 --- a/apis/datasync-2018-11-09.min.json +++ b/apis/datasync-2018-11-09.min.json @@ -482,8 +482,11 @@ "Includes": { "shape": "S3o" }, - "TaskReportConfig": { + "ManifestConfig": { "shape": "S3u" + }, + "TaskReportConfig": { + "shape": "S40" } } }, @@ -576,7 +579,7 @@ } }, "Platform": { - "shape": "S4h" + "shape": "S4n" } } } @@ -1091,7 +1094,7 @@ "DiscoveryJobArn": {}, "ResourceType": {}, "ResourceIds": { - "shape": "S5y" + "shape": "S64" }, "Filter": { "type": "map", @@ -1138,10 +1141,10 @@ "type": "long" }, "MaxP95Performance": { - "shape": "S68" + "shape": "S6e" }, "Recommendations": { - "shape": "S69" + "shape": "S6f" }, "NfsExportedVolumes": { "type": "long" @@ -1185,10 +1188,10 @@ "type": "long" }, "MaxP95Performance": { - "shape": "S68" + "shape": "S6e" }, "Recommendations": { - "shape": "S69" + "shape": "S6f" }, "RecommendationStatus": {}, "LunCount": { @@ -1211,7 +1214,7 @@ "ResourceId": {}, "ClusterName": {}, "MaxP95Performance": { - "shape": "S68" + "shape": "S6e" }, "ClusterBlockStorageSize": { "type": "long" @@ -1223,7 +1226,7 @@ "type": "long" }, "Recommendations": { - "shape": "S69" + "shape": "S6f" }, "RecommendationStatus": {}, "LunCount": { @@ -1289,8 +1292,11 @@ "Includes": { "shape": "S3o" }, - "TaskReportConfig": { + "ManifestConfig": { "shape": "S3u" + }, + "TaskReportConfig": { + "shape": "S40" } } } @@ -1319,6 +1325,9 @@ "Includes": { "shape": "S3o" }, + "ManifestConfig": { + "shape": "S3u" + }, "StartTime": { "type": "timestamp" }, @@ -1337,6 +1346,9 @@ "BytesTransferred": { "type": "long" }, + "BytesCompressed": { + "type": "long" + }, "Result": { "type": "structure", "members": { @@ -1359,11 +1371,8 @@ "ErrorDetail": {} } }, - "BytesCompressed": { - "type": "long" - }, "TaskReportConfig": { - "shape": "S3u" + "shape": "S40" }, "FilesDeleted": { "type": "long" @@ -1399,7 +1408,7 @@ "members": { "DiscoveryJobArn": {}, "ResourceIds": { - "shape": "S5y" + "shape": "S64" }, "ResourceType": {} } @@ -1434,7 +1443,7 @@ "Name": {}, "Status": {}, "Platform": { - "shape": "S4h" + "shape": "S4n" } } } @@ -1494,7 +1503,7 @@ "members": { "Name": {}, "Values": { - "shape": "S7d" + "shape": "S7j" }, "Operator": {} } @@ -1624,7 +1633,7 @@ "members": { "Name": {}, "Values": { - "shape": "S7d" + "shape": "S7j" }, "Operator": {} } @@ -1716,11 +1725,14 @@ "Excludes": { "shape": "S3o" }, - "Tags": { - "shape": "S9" + "ManifestConfig": { + "shape": "S3u" }, "TaskReportConfig": { - "shape": "S3u" + "shape": "S40" + }, + "Tags": { + "shape": "S9" } } }, @@ -2022,8 +2034,11 @@ "Includes": { "shape": "S3o" }, - "TaskReportConfig": { + "ManifestConfig": { "shape": "S3u" + }, + "TaskReportConfig": { + "shape": "S40" } } }, @@ -2278,6 +2293,35 @@ } }, "S3u": { + "type": "structure", + "members": { + "Action": {}, + "Format": {}, + "Source": { + "type": "structure", + "required": [ + "S3" + ], + "members": { + "S3": { + "type": "structure", + "required": [ + "ManifestObjectPath", + "BucketAccessRoleArn", + "S3BucketArn" + ], + "members": { + "ManifestObjectPath": {}, + "BucketAccessRoleArn": {}, + "S3BucketArn": {}, + "ManifestObjectVersionId": {} + } + } + } + } + } + }, + "S40": { "type": "structure", "members": { "Destination": { @@ -2304,38 +2348,38 @@ "type": "structure", "members": { "Transferred": { - "shape": "S41" + "shape": "S47" }, "Verified": { - "shape": "S41" + "shape": "S47" }, "Deleted": { - "shape": "S41" + "shape": "S47" }, "Skipped": { - "shape": "S41" + "shape": "S47" } } } } }, - "S41": { + "S47": { "type": "structure", "members": { "ReportLevel": {} } }, - "S4h": { + "S4n": { "type": "structure", "members": { "Version": {} } }, - "S5y": { + "S64": { "type": "list", "member": {} }, - "S68": { + "S6e": { "type": "structure", "members": { "IopsRead": { @@ -2373,7 +2417,7 @@ } } }, - "S69": { + "S6f": { "type": "list", "member": { "type": "structure", @@ -2388,7 +2432,7 @@ } } }, - "S7d": { + "S7j": { "type": "list", "member": {} } diff --git a/apis/datasync-2018-11-09.normal.json b/apis/datasync-2018-11-09.normal.json index 6a57af9c9a..30853a8ada 100644 --- a/apis/datasync-2018-11-09.normal.json +++ b/apis/datasync-2018-11-09.normal.json @@ -103,7 +103,7 @@ "shape": "InternalException" } ], - "documentation": "
Creates an endpoint for a Microsoft Azure Blob Storage container that DataSync can use as a transfer source or destination.
Before you begin, make sure you know how DataSync accesses Azure Blob Storage and works with access tiers and blob types. You also need a DataSync agent that can connect to your container.
" + "documentation": "Creates a transfer location for a Microsoft Azure Blob Storage container. DataSync can use this location as a transfer source or destination.
Before you begin, make sure you know how DataSync accesses Azure Blob Storage and works with access tiers and blob types. You also need a DataSync agent that can connect to your container.
" }, "CreateLocationEfs": { "name": "CreateLocationEfs", @@ -125,7 +125,7 @@ "shape": "InternalException" } ], - "documentation": "Creates an endpoint for an Amazon EFS file system that DataSync can access for a transfer. For more information, see Creating a location for Amazon EFS.
" + "documentation": "Creates a transfer location for an Amazon EFS file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses Amazon EFS file systems.
" }, "CreateLocationFsxLustre": { "name": "CreateLocationFsxLustre", @@ -147,7 +147,7 @@ "shape": "InternalException" } ], - "documentation": "Creates an endpoint for an Amazon FSx for Lustre file system.
" + "documentation": "Creates a transfer location for an Amazon FSx for Lustre file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for Lustre file systems.
" }, "CreateLocationFsxOntap": { "name": "CreateLocationFsxOntap", @@ -169,7 +169,7 @@ "shape": "InternalException" } ], - "documentation": "Creates an endpoint for an Amazon FSx for NetApp ONTAP file system that DataSync can use for a data transfer.
Before you begin, make sure that you understand how DataSync accesses an FSx for ONTAP file system.
" + "documentation": "Creates a transfer location for an Amazon FSx for NetApp ONTAP file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for ONTAP file systems.
" }, "CreateLocationFsxOpenZfs": { "name": "CreateLocationFsxOpenZfs", @@ -191,7 +191,7 @@ "shape": "InternalException" } ], - "documentation": "Creates an endpoint for an Amazon FSx for OpenZFS file system that DataSync can access for a transfer. For more information, see Creating a location for FSx for OpenZFS.
Request parameters related to SMB
aren't supported with the CreateLocationFsxOpenZfs
operation.
Creates a transfer location for an Amazon FSx for OpenZFS file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for OpenZFS file systems.
Request parameters related to SMB
aren't supported with the CreateLocationFsxOpenZfs
operation.
Creates an endpoint for an Amazon FSx for Windows File Server file system that DataSync can use for a data transfer.
Before you begin, make sure that you understand how DataSync accesses an FSx for Windows File Server.
" + "documentation": "Creates a transfer location for an Amazon FSx for Windows File Server file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for Windows File Server file systems.
" }, "CreateLocationHdfs": { "name": "CreateLocationHdfs", @@ -235,7 +235,7 @@ "shape": "InternalException" } ], - "documentation": "Creates an endpoint for a Hadoop Distributed File System (HDFS).
" + "documentation": "Creates a transfer location for a Hadoop Distributed File System (HDFS). DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses HDFS clusters.
" }, "CreateLocationNfs": { "name": "CreateLocationNfs", @@ -257,7 +257,7 @@ "shape": "InternalException" } ], - "documentation": "Creates an endpoint for a Network File System (NFS) file server that DataSync can use for a data transfer.
For more information, see Configuring transfers to or from an NFS file server.
If you're copying data to or from an Snowcone device, you can also use CreateLocationNfs
to create your transfer location. For more information, see Configuring transfers with Snowcone.
Creates a transfer location for a Network File System (NFS) file server. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses NFS file servers.
If you're copying data to or from an Snowcone device, you can also use CreateLocationNfs
to create your transfer location. For more information, see Configuring transfers with Snowcone.
Creates an endpoint for an object storage system that DataSync can access for a transfer. For more information, see Creating a location for object storage.
" + "documentation": "Creates a transfer location for an object storage system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand the prerequisites for DataSync to work with object storage systems.
" }, "CreateLocationS3": { "name": "CreateLocationS3", @@ -301,7 +301,7 @@ "shape": "InternalException" } ], - "documentation": "A location is an endpoint for an Amazon S3 bucket. DataSync can use the location as a source or destination for copying data.
Before you create your location, make sure that you read the following sections:
For more information, see Creating an Amazon S3 location.
" + "documentation": "Creates a transfer location for an Amazon S3 bucket. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you read the following topics:
For more information, see Configuring transfers with Amazon S3.
" }, "CreateLocationSmb": { "name": "CreateLocationSmb", @@ -323,7 +323,7 @@ "shape": "InternalException" } ], - "documentation": "Creates an endpoint for a Server Message Block (SMB) file server that DataSync can use for a data transfer.
Before you begin, make sure that you understand how DataSync accesses an SMB file server.
" + "documentation": "Creates a transfer location for a Server Message Block (SMB) file server. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses SMB file servers.
" }, "CreateTask": { "name": "CreateTask", @@ -389,7 +389,7 @@ "shape": "InternalException" } ], - "documentation": "Deletes the configuration of a location used by DataSync.
" + "documentation": "Deletes a transfer location resource from DataSync.
" }, "DeleteTask": { "name": "DeleteTask", @@ -411,7 +411,7 @@ "shape": "InternalException" } ], - "documentation": "Deletes an DataSync transfer task.
" + "documentation": "Deletes a transfer task resource from DataSync.
" }, "DescribeAgent": { "name": "DescribeAgent", @@ -502,7 +502,7 @@ "shape": "InternalException" } ], - "documentation": "Returns metadata about your DataSync location for an Amazon EFS file system.
" + "documentation": "Provides details about how an DataSync transfer location for an Amazon EFS file system is configured.
" }, "DescribeLocationFsxLustre": { "name": "DescribeLocationFsxLustre", @@ -524,7 +524,7 @@ "shape": "InternalException" } ], - "documentation": "Provides details about how an DataSync location for an Amazon FSx for Lustre file system is configured.
" + "documentation": "Provides details about how an DataSync transfer location for an Amazon FSx for Lustre file system is configured.
" }, "DescribeLocationFsxOntap": { "name": "DescribeLocationFsxOntap", @@ -546,7 +546,7 @@ "shape": "InternalException" } ], - "documentation": "Provides details about how an DataSync location for an Amazon FSx for NetApp ONTAP file system is configured.
If your location uses SMB, the DescribeLocationFsxOntap
operation doesn't actually return a Password
.
Provides details about how an DataSync transfer location for an Amazon FSx for NetApp ONTAP file system is configured.
If your location uses SMB, the DescribeLocationFsxOntap
operation doesn't actually return a Password
.
Provides details about how an DataSync location for an Amazon FSx for OpenZFS file system is configured.
Response elements related to SMB
aren't supported with the DescribeLocationFsxOpenZfs
operation.
Provides details about how an DataSync transfer location for an Amazon FSx for OpenZFS file system is configured.
Response elements related to SMB
aren't supported with the DescribeLocationFsxOpenZfs
operation.
Returns metadata about an Amazon FSx for Windows File Server location, such as information about its path.
" + "documentation": "Provides details about how an DataSync transfer location for an Amazon FSx for Windows File Server file system is configured.
" }, "DescribeLocationHdfs": { "name": "DescribeLocationHdfs", @@ -612,7 +612,7 @@ "shape": "InternalException" } ], - "documentation": "Returns metadata, such as the authentication information about the Hadoop Distributed File System (HDFS) location.
" + "documentation": "Provides details about how an DataSync transfer location for a Hadoop Distributed File System (HDFS) is configured.
" }, "DescribeLocationNfs": { "name": "DescribeLocationNfs", @@ -656,7 +656,7 @@ "shape": "InternalException" } ], - "documentation": "Returns metadata about your DataSync location for an object storage system.
" + "documentation": "Provides details about how an DataSync transfer location for an object storage system is configured.
" }, "DescribeLocationS3": { "name": "DescribeLocationS3", @@ -678,7 +678,7 @@ "shape": "InternalException" } ], - "documentation": "Returns metadata, such as bucket name, about an Amazon S3 bucket location.
" + "documentation": "Provides details about how an DataSync transfer location for an S3 bucket is configured.
" }, "DescribeLocationSmb": { "name": "DescribeLocationSmb", @@ -700,7 +700,7 @@ "shape": "InternalException" } ], - "documentation": "Returns metadata, such as the path and user information about an SMB location.
" + "documentation": "Provides details about how an DataSync transfer location for a Server Message Block (SMB) file server is configured.
" }, "DescribeStorageSystem": { "name": "DescribeStorageSystem", @@ -982,7 +982,7 @@ "shape": "InternalException" } ], - "documentation": "Returns a list of executed tasks.
" + "documentation": "Returns a list of executions for an DataSync transfer task.
" }, "ListTasks": { "name": "ListTasks", @@ -1349,7 +1349,7 @@ "shape": "InternalException" } ], - "documentation": "Updates the configuration of a DataSync transfer task.
" + "documentation": "Updates the configuration of an DataSync transfer task.
" }, "UpdateTaskExecution": { "name": "UpdateTaskExecution", @@ -1876,15 +1876,15 @@ }, "User": { "shape": "SmbUser", - "documentation": "Specifies the user who has the permissions to access files, folders, and metadata in your file system.
For information about choosing a user with the right level of access for your transfer, see required permissions for FSx for Windows File Server locations.
" + "documentation": "Specifies the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.
For information about choosing a user with the right level of access for your transfer, see required permissions for FSx for Windows File Server locations.
" }, "Domain": { "shape": "SmbDomain", - "documentation": "Specifies the name of the Windows domain that the FSx for Windows File Server belongs to.
If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
For more information, see required permissions for FSx for Windows File Server locations.
" + "documentation": "Specifies the name of the Microsoft Active Directory domain that the FSx for Windows File Server file system belongs to.
If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file system.
" }, "Password": { "shape": "SmbPassword", - "documentation": "Specifies the password of the user who has the permissions to access files and folders in the file system.
For more information, see required permissions for FSx for Windows File Server locations.
" + "documentation": "Specifies the password of the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system.
" } } }, @@ -2079,26 +2079,26 @@ "members": { "Subdirectory": { "shape": "S3Subdirectory", - "documentation": "A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination.
" + "documentation": "Specifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket is a source or destination location).
DataSync can't transfer objects with a prefix that begins with a slash (/
) or includes //
, /./
, or /../
patterns. For example:
/photos
photos//2006/January
photos/./2006/February
photos/../2006/March
The ARN of the Amazon S3 bucket. If the bucket is on an Amazon Web Services Outpost, this must be an access point ARN.
" + "documentation": "Specifies the ARN of the S3 bucket that you want to use as a location. (When creating your DataSync task later, you specify whether this location is a transfer source or destination.)
If your S3 bucket is located on an Outposts resource, you must specify an Amazon S3 access point. For more information, see Managing data access with Amazon S3 access points in the Amazon S3 User Guide.
" }, "S3StorageClass": { "shape": "S3StorageClass", - "documentation": "The Amazon S3 storage class that you want to store your files in when this location is used as a task destination. For buckets in Amazon Web Services Regions, the storage class defaults to Standard. For buckets on Outposts, the storage class defaults to Amazon Web Services S3 Outposts.
For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
" + "documentation": "Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.
For buckets in Amazon Web Services Regions, the storage class defaults to STANDARD
. For buckets on Outposts, the storage class defaults to OUTPOSTS
.
For more information, see Storage class considerations with Amazon S3 transfers.
" }, "S3Config": { "shape": "S3Config" }, "AgentArns": { "shape": "AgentArnList", - "documentation": "If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the DataSync agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.
" + "documentation": "(Amazon S3 on Outposts only) Specifies the Amazon Resource Name (ARN) of the DataSync agent on your Outpost.
For more information, see Deploy your DataSync agent on Outposts.
" }, "Tags": { "shape": "InputTagList", - "documentation": "The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
" + "documentation": "Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your transfer location.
" } }, "documentation": "CreateLocationS3Request
" @@ -2108,7 +2108,7 @@ "members": { "LocationArn": { "shape": "LocationArn", - "documentation": "The Amazon Resource Name (ARN) of the source Amazon S3 bucket location that is created.
" + "documentation": "The ARN of the S3 location that you created.
" } }, "documentation": "CreateLocationS3Response
" @@ -2125,7 +2125,7 @@ "members": { "Subdirectory": { "shape": "SmbSubdirectory", - "documentation": "Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, /path/to/subdirectory
). Make sure that other SMB clients in your network can also mount this path.
To copy all data in the specified subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.
" + "documentation": "Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, /path/to/subdirectory
). Make sure that other SMB clients in your network can also mount this path.
To copy all data in the subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.
" }, "ServerHostname": { "shape": "ServerHostname", @@ -2133,11 +2133,11 @@ }, "User": { "shape": "SmbUser", - "documentation": "Specifies the user name that can mount your SMB file server and has permission to access the files and folders involved in your transfer.
For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.
" + "documentation": "Specifies the user that can mount and access the files, folders, and file metadata in your SMB file server.
For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.
" }, "Domain": { "shape": "SmbDomain", - "documentation": "Specifies the Windows domain name that your SMB file server belongs to.
If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
For more information, see required permissions for SMB locations.
" + "documentation": "Specifies the name of the Active Directory domain that your SMB file server belongs to.
If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
" }, "Password": { "shape": "SmbPassword", @@ -2211,9 +2211,13 @@ "shape": "FilterList", "documentation": "Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
" }, + "ManifestConfig": { + "shape": "ManifestConfig", + "documentation": "Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest.
When using this parameter, your caller identity (the role that you're using DataSync with) must have the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
" + "documentation": "Specifies how you want to configure a task report, which provides detailed information about your DataSync transfer. For more information, see Monitoring your DataSync transfers with task reports.
When using this parameter, your caller identity (the role that you're using DataSync with) must have the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
CreateTaskRequest
" @@ -2602,7 +2606,7 @@ "members": { "LocationArn": { "shape": "LocationArn", - "documentation": "The Amazon Resource Name (ARN) of the FSx for Windows File Server location to describe.
" + "documentation": "Specifies the Amazon Resource Name (ARN) of the FSx for Windows File Server location.
" } } }, @@ -2611,15 +2615,15 @@ "members": { "LocationArn": { "shape": "LocationArn", - "documentation": "The Amazon Resource Name (ARN) of the FSx for Windows File Server location that was described.
" + "documentation": "The ARN of the FSx for Windows File Server location.
" }, "LocationUri": { "shape": "LocationUri", - "documentation": "The URL of the FSx for Windows File Server location that was described.
" + "documentation": "The uniform resource identifier (URI) of the FSx for Windows File Server location.
" }, "SecurityGroupArns": { "shape": "Ec2SecurityGroupArnList", - "documentation": "The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx for Windows File Server file system.
" + "documentation": "The ARNs of the security groups that are configured for the FSx for Windows File Server file system.
" }, "CreationTime": { "shape": "Time", @@ -2627,11 +2631,11 @@ }, "User": { "shape": "SmbUser", - "documentation": "The user who has the permissions to access files and folders in the FSx for Windows File Server file system.
" + "documentation": "The user with the permissions to mount and access the FSx for Windows File Server file system.
" }, "Domain": { "shape": "SmbDomain", - "documentation": "The name of the Windows domain that the FSx for Windows File Server belongs to.
" + "documentation": "The name of the Microsoft Active Directory domain that the FSx for Windows File Server file system belongs to.
" } } }, @@ -2643,7 +2647,7 @@ "members": { "LocationArn": { "shape": "LocationArn", - "documentation": "The Amazon Resource Name (ARN) of the HDFS cluster location to describe.
" + "documentation": "Specifies the Amazon Resource Name (ARN) of the HDFS location.
" } } }, @@ -2652,15 +2656,15 @@ "members": { "LocationArn": { "shape": "LocationArn", - "documentation": "The ARN of the HDFS cluster location.
" + "documentation": "The ARN of the HDFS location.
" }, "LocationUri": { "shape": "LocationUri", - "documentation": "The URI of the HDFS cluster location.
" + "documentation": "The URI of the HDFS location.
" }, "NameNodes": { "shape": "HdfsNameNodeList", - "documentation": "The NameNode that manage the HDFS namespace.
" + "documentation": "The NameNode that manages the HDFS namespace.
" }, "BlockSize": { "shape": "HdfsBlockSize", @@ -2676,7 +2680,7 @@ }, "QopConfiguration": { "shape": "QopConfiguration", - "documentation": "The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster.
" + "documentation": "The Quality of Protection (QOP) configuration, which specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the HDFS cluster.
" }, "AuthenticationType": { "shape": "HdfsAuthenticationType", @@ -2684,7 +2688,7 @@ }, "SimpleUser": { "shape": "HdfsUser", - "documentation": "The user name used to identify the client on the host operating system. This parameter is used if the AuthenticationType
is defined as SIMPLE
.
The user name to identify the client on the host operating system. This parameter is used if the AuthenticationType
is defined as SIMPLE
.
The ARNs of the agents that are used to connect to the HDFS cluster.
" + "documentation": "The ARNs of the DataSync agents that can connect with your HDFS cluster.
" }, "CreationTime": { "shape": "Time", @@ -2722,7 +2726,7 @@ }, "LocationUri": { "shape": "LocationUri", - "documentation": "The URL of the NFS location.
" + "documentation": "The URI of the NFS location.
" }, "OnPremConfig": { "shape": "OnPremConfig" @@ -2746,7 +2750,7 @@ "members": { "LocationArn": { "shape": "LocationArn", - "documentation": "The Amazon Resource Name (ARN) of the object storage system location that you want information about.
" + "documentation": "Specifies the Amazon Resource Name (ARN) of the object storage system location.
" } }, "documentation": "DescribeLocationObjectStorageRequest
" @@ -2760,7 +2764,7 @@ }, "LocationUri": { "shape": "LocationUri", - "documentation": "The URL of the object storage system location.
" + "documentation": "The URI of the object storage system location.
" }, "AccessKey": { "shape": "ObjectStorageAccessKey", @@ -2776,7 +2780,7 @@ }, "AgentArns": { "shape": "AgentArnList", - "documentation": "The ARNs of the DataSync agents that can securely connect with your location.
" + "documentation": "The ARNs of the DataSync agents that can connect with your object storage system.
" }, "CreationTime": { "shape": "Time", @@ -2797,7 +2801,7 @@ "members": { "LocationArn": { "shape": "LocationArn", - "documentation": "The Amazon Resource Name (ARN) of the Amazon S3 bucket location to describe.
" + "documentation": "Specifies the Amazon Resource Name (ARN) of the Amazon S3 location.
" } }, "documentation": "DescribeLocationS3Request
" @@ -2807,7 +2811,7 @@ "members": { "LocationArn": { "shape": "LocationArn", - "documentation": "The Amazon Resource Name (ARN) of the Amazon S3 bucket or access point.
" + "documentation": "The ARN of the Amazon S3 location.
" }, "LocationUri": { "shape": "LocationUri", @@ -2815,18 +2819,18 @@ }, "S3StorageClass": { "shape": "S3StorageClass", - "documentation": "The Amazon S3 storage class that you chose to store your files in when this location is used as a task destination. For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
" + "documentation": "When Amazon S3 is a destination location, this is the storage class that you chose for your objects.
Some storage classes have behaviors that can affect your Amazon S3 storage costs. For more information, see Storage class considerations with Amazon S3 transfers.
" }, "S3Config": { "shape": "S3Config" }, "AgentArns": { "shape": "AgentArnList", - "documentation": "If you are using DataSync on an Amazon Web Services Outpost, the Amazon Resource Name (ARNs) of the EC2 agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.
" + "documentation": "The ARNs of the DataSync agents deployed on your Outpost when using working with Amazon S3 on Outposts.
For more information, see Deploy your DataSync agent on Outposts.
" }, "CreationTime": { "shape": "Time", - "documentation": "The time that the Amazon S3 bucket location was created.
" + "documentation": "The time that the Amazon S3 location was created.
" } }, "documentation": "DescribeLocationS3Response
" @@ -2839,7 +2843,7 @@ "members": { "LocationArn": { "shape": "LocationArn", - "documentation": "The Amazon Resource Name (ARN) of the SMB location to describe.
" + "documentation": "Specifies the Amazon Resource Name (ARN) of the SMB location that you want information about.
" } }, "documentation": "DescribeLocationSmbRequest
" @@ -2849,27 +2853,27 @@ "members": { "LocationArn": { "shape": "LocationArn", - "documentation": "The Amazon Resource Name (ARN) of the SMB location that was described.
" + "documentation": "The ARN of the SMB location.
" }, "LocationUri": { "shape": "LocationUri", - "documentation": "The URL of the source SMB location that was described.
" + "documentation": "The URI of the SMB location.
" }, "AgentArns": { "shape": "AgentArnList", - "documentation": "The Amazon Resource Name (ARN) of the source SMB file system location that is created.
" + "documentation": "The ARNs of the DataSync agents that can connect with your SMB file server.
" }, "User": { "shape": "SmbUser", - "documentation": "The user who can mount the share, has the permissions to access files and folders in the SMB share.
" + "documentation": "The user that can mount and access the files, folders, and file metadata in your SMB file server.
" }, "Domain": { "shape": "SmbDomain", - "documentation": "The name of the Windows domain that the SMB server belongs to.
" + "documentation": "The name of the Microsoft Active Directory domain that the SMB file server belongs to.
" }, "MountOptions": { "shape": "SmbMountOptions", - "documentation": "The mount options that are available for DataSync to use to access an SMB location.
" + "documentation": "The protocol that DataSync use to access your SMB file.
" }, "CreationTime": { "shape": "Time", @@ -3067,6 +3071,10 @@ "shape": "FilterList", "documentation": "A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
" }, + "ManifestConfig": { + "shape": "ManifestConfig", + "documentation": "The configuration of the manifest that lists the files or objects to transfer. For more information, see Specifying what DataSync transfers by using a manifest.
" + }, "StartTime": { "shape": "Time", "documentation": "The time when the task execution started.
" @@ -3091,17 +3099,17 @@ "shape": "long", "documentation": "The total number of bytes that are involved in the transfer. For the number of bytes sent over the network, see BytesCompressed
.
The result of the task execution.
" - }, "BytesCompressed": { "shape": "long", "documentation": "The physical number of bytes transferred over the network after compression was applied. In most cases, this number is less than BytesTransferred
unless the data isn't compressible.
The result of the task execution.
" + }, "TaskReportConfig": { "shape": "TaskReportConfig", - "documentation": "The configuration of your task report, which provides detailed information about for your DataSync transfer.
" + "documentation": "The configuration of your task report, which provides detailed information about for your DataSync transfer. For more information, see Creating a task report.
" }, "FilesDeleted": { "shape": "long", @@ -3206,9 +3214,13 @@ "shape": "FilterList", "documentation": "A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
" }, + "ManifestConfig": { + "shape": "ManifestConfig", + "documentation": "The configuration of the manifest that lists the files or objects to transfer. For more information, see Specifying what DataSync transfers by using a manifest.
" + }, "TaskReportConfig": { "shape": "TaskReportConfig", - "documentation": "The configuration of your task report. For more information, see Creating a task report.
" + "documentation": "The configuration of your task report, which provides detailed information about for your DataSync transfer. For more information, see Creating a task report.
" } }, "documentation": "DescribeTaskResponse
" @@ -3517,7 +3529,7 @@ "members": { "Domain": { "shape": "SmbDomain", - "documentation": "Specifies the fully qualified domain name (FQDN) of the Microsoft Active Directory that your storage virtual machine (SVM) belongs to.
" + "documentation": "Specifies the fully qualified domain name (FQDN) of the Microsoft Active Directory that your storage virtual machine (SVM) belongs to.
If you have multiple domains in your environment, configuring this setting makes sure that DataSync connects to the right SVM.
" }, "MountOptions": { "shape": "SmbMountOptions" @@ -3528,7 +3540,7 @@ }, "User": { "shape": "SmbUser", - "documentation": "Specifies a user name that can mount the location and access the files, folders, and metadata that you need in the SVM.
If you provide a user in your Active Directory, note the following:
If you're using Directory Service for Microsoft Active Directory, the user must be a member of the Amazon Web Services Delegated FSx Administrators group.
If you're using a self-managed Active Directory, the user must be a member of either the Domain Admins group or a custom group that you specified for file system administration when you created your file system.
Make sure that the user has the permissions it needs to copy the data you want:
SE_TCB_NAME
: Required to set object ownership and file metadata. With this privilege, you also can copy NTFS discretionary access lists (DACLs).
SE_SECURITY_NAME
: May be needed to copy NTFS system access control lists (SACLs). This operation specifically requires the Windows privilege, which is granted to members of the Domain Admins group. If you configure your task to copy SACLs, make sure that the user has the required privileges. For information about copying SACLs, see Ownership and permissions-related options.
Specifies a user that can mount and access the files, folders, and metadata in your SVM.
For information about choosing a user with the right level of access for your transfer, see Using the SMB protocol.
" } }, "documentation": "Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your Amazon FSx for NetApp ONTAP file system. For more information, see Accessing FSx for ONTAP file systems.
" @@ -3887,15 +3899,15 @@ "members": { "TaskArn": { "shape": "TaskArn", - "documentation": "The Amazon Resource Name (ARN) of the task whose tasks you want to list.
" + "documentation": "Specifies the Amazon Resource Name (ARN) of the task that you want execution information about.
" }, "MaxResults": { "shape": "MaxResults", - "documentation": "The maximum number of executed tasks to list.
" + "documentation": "Specifies how many results you want in the response.
" }, "NextToken": { "shape": "NextToken", - "documentation": "An opaque string that indicates the position at which to begin the next list of the executed tasks.
" + "documentation": "Specifies an opaque string that indicates the position at which to begin the next list of results in the response.
" } }, "documentation": "ListTaskExecutions
" @@ -3905,11 +3917,11 @@ "members": { "TaskExecutions": { "shape": "TaskExecutionList", - "documentation": "A list of executed tasks.
" + "documentation": "A list of the task's executions.
" }, "NextToken": { "shape": "NextToken", - "documentation": "An opaque string that indicates the position at which to begin returning the next list of executed tasks.
" + "documentation": "The opaque string that indicates the position to begin the next list of results in the response.
" } }, "documentation": "ListTaskExecutionsResponse
" @@ -4026,6 +4038,36 @@ "TRANSFER" ] }, + "ManifestAction": { + "type": "string", + "enum": [ + "TRANSFER" + ] + }, + "ManifestConfig": { + "type": "structure", + "members": { + "Action": { + "shape": "ManifestAction", + "documentation": "Specifies what DataSync uses the manifest for.
" + }, + "Format": { + "shape": "ManifestFormat", + "documentation": "Specifies the file format of your manifest. For more information, see Creating a manifest.
" + }, + "Source": { + "shape": "SourceManifestConfig", + "documentation": "Specifies the manifest that you want DataSync to use and where it's hosted.
You must specify this parameter if you're configuring a new manifest on or after February 7, 2024.
If you don't, you'll get a 400 status code and ValidationException
error stating that you're missing the IAM role for DataSync to access the S3 bucket where you're hosting your manifest. For more information, see Providing DataSync access to your manifest.
Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest.
" + }, + "ManifestFormat": { + "type": "string", + "enum": [ + "CSV" + ] + }, "MaxP95Performance": { "type": "structure", "members": { @@ -4427,39 +4469,39 @@ "members": { "VerifyMode": { "shape": "VerifyMode", - "documentation": "Specifies how and when DataSync checks the integrity of your data during a transfer.
Default value: POINT_IN_TIME_CONSISTENT
ONLY_FILES_TRANSFERRED
(recommended): DataSync calculates the checksum of transferred files and metadata at the source location. At the end of the transfer, DataSync then compares this checksum to the checksum calculated on those files at the destination.
We recommend this option when transferring to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes. For more information, see Storage class considerations with Amazon S3 locations.
POINT_IN_TIME_CONSISTENT
: At the end of the transfer, DataSync scans the entire source and destination to verify that both locations are fully synchronized.
You can't use this option when transferring to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes. For more information, see Storage class considerations with Amazon S3 locations.
NONE
: DataSync doesn't run additional verification at the end of the transfer. All data transmissions are still integrity-checked with checksum verification during the transfer.
Specifies how and when DataSync checks the integrity of your data during a transfer.
ONLY_FILES_TRANSFERRED
(recommended) - DataSync calculates the checksum of transferred files and metadata at the source location. At the end of the transfer, DataSync then compares this checksum to the checksum calculated on those files at the destination.
We recommend this option when transferring to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes. For more information, see Storage class considerations with Amazon S3 locations.
POINT_IN_TIME_CONSISTENT
(default) - At the end of the transfer, DataSync scans the entire source and destination to verify that both locations are fully synchronized.
You can't use this option when transferring to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes. For more information, see Storage class considerations with Amazon S3 locations.
NONE
- DataSync doesn't run additional verification at the end of the transfer. All data transmissions are still integrity-checked with checksum verification during the transfer.
Specifies whether data at the destination location should be overwritten or preserved. If set to NEVER
, a destination file for example will not be replaced by a source file (even if the destination file differs from the source file). If you modify files in the destination and you sync the files, you can use this value to protect against overwriting those changes.
Some storage classes have specific behaviors that can affect your Amazon S3 storage cost. For detailed information, see Considerations when working with Amazon S3 storage classes in DataSync.
" + "documentation": "Specifies whether DataSync should modify or preserve data at the destination location.
ALWAYS
(default) - DataSync modifies data in the destination location when source data (including metadata) has changed.
If DataSync overwrites objects, you might incur additional charges for certain Amazon S3 storage classes (for example, for retrieval or early deletion). For more information, see Storage class considerations with Amazon S3 transfers.
NEVER
- DataSync doesn't overwrite data in the destination location even if the source data has changed. You can use this option to protect against overwriting changes made to files or objects in the destination.
Specifies whether to preserve metadata indicating the last time a file was read or written to. If you set Atime
to BEST_EFFORT
, DataSync attempts to preserve the original Atime
attribute on all source files (that is, the version before the PREPARING
phase of the task execution).
The behavior of Atime
isn't fully standard across platforms, so DataSync can only do this on a best-effort basis.
Default value: BEST_EFFORT
BEST_EFFORT
: Attempt to preserve the per-file Atime
value (recommended).
NONE
: Ignore Atime
.
If Atime
is set to BEST_EFFORT
, Mtime
must be set to PRESERVE
.
If Atime
is set to NONE
, Mtime
must also be NONE
.
Specifies whether to preserve metadata indicating the last time a file was read or written to.
The behavior of Atime
isn't fully standard across platforms, so DataSync can only do this on a best-effort basis.
BEST_EFFORT
(default) - DataSync attempts to preserve the original Atime
attribute on all source files (that is, the version before the PREPARING
phase of the task execution). This option is recommended.
NONE
- Ignores Atime
.
If Atime
is set to BEST_EFFORT
, Mtime
must be set to PRESERVE
.
If Atime
is set to NONE
, Mtime
must also be NONE
.
Specifies whether to preserve metadata indicating the last time that a file was written to before the PREPARING
phase of your task execution. This option is required when you need to run the a task more than once.
Default Value: PRESERVE
PRESERVE
: Preserve original Mtime
(recommended)
NONE
: Ignore Mtime
.
If Mtime
is set to PRESERVE
, Atime
must be set to BEST_EFFORT
.
If Mtime
is set to NONE
, Atime
must also be set to NONE
.
Specifies whether to preserve metadata indicating the last time that a file was written to before the PREPARING
phase of your task execution. This option is required when you need to run the a task more than once.
PRESERVE
(default) - Preserves original Mtime
, which is recommended.
NONE
- Ignores Mtime
.
If Mtime
is set to PRESERVE
, Atime
must be set to BEST_EFFORT
.
If Mtime
is set to NONE
, Atime
must also be set to NONE
.
Specifies the POSIX user ID (UID) of the file's owner.
For more information, see Metadata copied by DataSync.
Default value: INT_VALUE
. This preserves the integer value of the ID.
INT_VALUE
: Preserve the integer value of UID and group ID (GID) (recommended).
NONE
: Ignore UID and GID.
Specifies the POSIX user ID (UID) of the file's owner.
INT_VALUE
(default) - Preserves the integer value of UID and group ID (GID), which is recommended.
NONE
- Ignores UID and GID.
For more information, see Metadata copied by DataSync.
" }, "Gid": { "shape": "Gid", - "documentation": "Specifies the POSIX group ID (GID) of the file's owners.
For more information, see Metadata copied by DataSync.
Default value: INT_VALUE
. This preserves the integer value of the ID.
INT_VALUE
: Preserve the integer value of user ID (UID) and GID (recommended).
NONE
: Ignore UID and GID.
Specifies the POSIX group ID (GID) of the file's owners.
INT_VALUE
(default) - Preserves the integer value of user ID (UID) and GID, which is recommended.
NONE
- Ignores UID and GID.
For more information, see Metadata copied by DataSync.
" }, "PreserveDeletedFiles": { "shape": "PreserveDeletedFiles", - "documentation": "Specifies whether files in the destination location that don't exist in the source should be preserved. This option can affect your Amazon S3 storage cost. If your task deletes objects, you might incur minimum storage duration charges for certain storage classes. For detailed information, see Considerations when working with Amazon S3 storage classes in DataSync.
Default value: PRESERVE
PRESERVE
: Ignore such destination files (recommended).
REMOVE
: Delete destination files that aren’t present in the source.
If you set this parameter to REMOVE
, you can't set TransferMode
to ALL
. When you transfer all data, DataSync doesn't scan your destination location and doesn't know what to delete.
Specifies whether files in the destination location that don't exist in the source should be preserved. This option can affect your Amazon S3 storage cost. If your task deletes objects, you might incur minimum storage duration charges for certain storage classes. For detailed information, see Considerations when working with Amazon S3 storage classes in DataSync.
PRESERVE
(default) - Ignores such destination files, which is recommended.
REMOVE
- Deletes destination files that aren’t present in the source.
If you set this parameter to REMOVE
, you can't set TransferMode
to ALL
. When you transfer all data, DataSync doesn't scan your destination location and doesn't know what to delete.
Specifies whether DataSync should preserve the metadata of block and character devices in the source location and recreate the files with that device name and metadata on the destination. DataSync copies only the name and metadata of such devices.
DataSync can't copy the actual contents of these devices because they're nonterminal and don't return an end-of-file (EOF) marker.
Default value: NONE
NONE
: Ignore special devices (recommended).
PRESERVE
: Preserve character and block device metadata. This option currently isn't supported for Amazon EFS.
Specifies whether DataSync should preserve the metadata of block and character devices in the source location and recreate the files with that device name and metadata on the destination. DataSync copies only the name and metadata of such devices.
DataSync can't copy the actual contents of these devices because they're nonterminal and don't return an end-of-file (EOF) marker.
NONE
(default) - Ignores special devices (recommended).
PRESERVE
- Preserves character and block device metadata. This option currently isn't supported for Amazon EFS.
Specifies which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file.
For more information, see Metadata copied by DataSync.
Default value: PRESERVE
PRESERVE
: Preserve POSIX-style permissions (recommended).
NONE
: Ignore permissions.
DataSync can preserve extant permissions of a source location.
Specifies which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file.
For more information, see Metadata copied by DataSync.
PRESERVE
(default) - Preserves POSIX-style permissions, which is recommended.
NONE
- Ignores POSIX-style permissions.
DataSync can preserve extant permissions of a source location.
Specifies the type of logs that DataSync publishes to a Amazon CloudWatch Logs log group. To specify the log group, see CloudWatchLogGroupArn.
If you set LogLevel
to OFF
, no logs are published. BASIC
publishes logs on errors for individual files transferred. TRANSFER
publishes logs for every file or object that is transferred and integrity checked.
Specifies the type of logs that DataSync publishes to a Amazon CloudWatch Logs log group. To specify the log group, see CloudWatchLogGroupArn.
BASIC
- Publishes logs with only basic information (such as transfer errors).
TRANSFER
- Publishes logs for all files or objects that your DataSync task transfers and performs data-integrity checks on.
OFF
- No logs are published.
Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location or transfers all the content from the source (without comparing what's in the destination).
CHANGED
: DataSync copies only data or metadata that is new or different content from the source location to the destination location.
ALL
: DataSync copies all source location content to the destination (without comparing what's in the destination).
Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location or transfers all the content from the source (without comparing what's in the destination).
CHANGED
(default) - DataSync copies only data or metadata that is new or different content from the source location to the destination location.
ALL
- DataSync copies everything in the source to the destination without comparing differences between the locations.
Specifies which components of the SMB security descriptor are copied from source to destination objects.
This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations or between two FSx for Windows File Server locations. For more information, see how DataSync handles metadata.
Default value: OWNER_DACL
OWNER_DACL
: For each copied object, DataSync copies the following metadata:
The object owner.
NTFS discretionary access control lists (DACLs), which determine whether to grant access to an object.
DataSync won't copy NTFS system access control lists (SACLs) with this option.
OWNER_DACL_SACL
: For each copied object, DataSync copies the following metadata:
The object owner.
NTFS discretionary access control lists (DACLs), which determine whether to grant access to an object.
SACLs, which are used by administrators to log attempts to access a secured object.
Copying SACLs requires granting additional permissions to the Windows user that DataSync uses to access your SMB location. For information about choosing a user that ensures sufficient permissions to files, folders, and metadata, see user.
NONE
: None of the SMB security descriptor components are copied. Destination objects are owned by the user that was provided for accessing the destination location. DACLs and SACLs are set based on the destination server’s configuration.
Specifies which components of the SMB security descriptor are copied from source to destination objects.
This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations or between two FSx for Windows File Server locations. For more information, see how DataSync handles metadata.
OWNER_DACL
(default) - For each copied object, DataSync copies the following metadata:
The object owner.
NTFS discretionary access control lists (DACLs), which determine whether to grant access to an object.
DataSync won't copy NTFS system access control lists (SACLs) with this option.
OWNER_DACL_SACL
- For each copied object, DataSync copies the following metadata:
The object owner.
NTFS discretionary access control lists (DACLs), which determine whether to grant access to an object.
SACLs, which are used by administrators to log attempts to access a secured object.
Copying SACLs requires granting additional permissions to the Windows user that DataSync uses to access your SMB location. For information about choosing a user with the right permissions, see required permissions for SMB, FSx for Windows File Server, or FSx for ONTAP (depending on the type of location in your transfer).
NONE
- None of the SMB security descriptor components are copied. Destination objects are owned by the user that was provided for accessing the destination location. DACLs and SACLs are set based on the destination server’s configuration.
Specifies whether object tags are preserved when transferring between object storage systems. If you want your DataSync task to ignore object tags, specify the NONE
value.
Default Value: PRESERVE
Specifies whether you want DataSync to PRESERVE
object tags (default behavior) when transferring between object storage systems. If you want your DataSync task to ignore object tags, specify the NONE
value.
Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You also can specify how to verify data integrity, set bandwidth limits for your task, among other options.
Each option has a default value. Unless you need to, you don't have to configure any of these options before starting your task.
" @@ -4550,7 +4592,7 @@ "members": { "Version": { "shape": "AgentVersion", - "documentation": "The version of the DataSync agent.
Beginning December 7, 2023, we will discontinue version 1 DataSync agents. Check the DataSync console to see if you have affected agents. If you do, replace those agents before then to avoid data transfer or storage discovery disruptions. If you need more help, contact Amazon Web Services Support.
The version of the DataSync agent.
On December 7, 2023, we discontinued version 1 DataSync agents. Check the DataSync console to see if you have affected agents. If you do, replace those agents or delete them if they aren't in use. If you need more help, contact Amazon Web Services Support.
The platform-related details about the DataSync agent, such as the version number.
" @@ -4721,7 +4763,7 @@ }, "BucketAccessRoleArn": { "shape": "IamRoleArn", - "documentation": "Specifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync to upload a task report to your S3 bucket. For more information, see Allowing DataSync to upload a task report to an Amazon S3 bucket.
" + "documentation": "Specifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync to upload a task report to your S3 bucket. For more information, see Allowing DataSync to upload a task report to an Amazon S3 bucket.
" } }, "documentation": "Specifies the Amazon S3 bucket where DataSync uploads your task report.
" @@ -4868,10 +4910,43 @@ "members": { "BucketAccessRoleArn": { "shape": "IamRoleArn", - "documentation": "The ARN of the IAM role for accessing the S3 bucket.
" + "documentation": "Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket.
" + } + }, + "documentation": "Specifies the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that DataSync uses to access your S3 bucket.
For more information, see Accessing S3 buckets.
" + }, + "S3ManifestConfig": { + "type": "structure", + "required": [ + "ManifestObjectPath", + "BucketAccessRoleArn", + "S3BucketArn" + ], + "members": { + "ManifestObjectPath": { + "shape": "S3Subdirectory", + "documentation": "Specifies the Amazon S3 object key of your manifest. This can include a prefix (for example, prefix/my-manifest.csv
).
Specifies the Identity and Access Management (IAM) role that allows DataSync to access your manifest. For more information, see Providing DataSync access to your manifest.
" + }, + "S3BucketArn": { + "shape": "S3BucketArn", + "documentation": "Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest.
" + }, + "ManifestObjectVersionId": { + "shape": "S3ObjectVersionId", + "documentation": "Specifies the object version ID of the manifest that you want DataSync to use. If you don't set this, DataSync uses the latest version of the object.
" } }, - "documentation": "The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role used to access an Amazon S3 bucket.
For detailed information about using such a role, see Creating a Location for Amazon S3 in the DataSync User Guide.
" + "documentation": "Specifies the S3 bucket where you're hosting the manifest that you want DataSync to use. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest.
" + }, + "S3ObjectVersionId": { + "type": "string", + "max": 100, + "min": 1, + "pattern": "^.+$" }, "S3StorageClass": { "type": "string", @@ -4955,6 +5030,19 @@ "SMB2_0" ] }, + "SourceManifestConfig": { + "type": "structure", + "required": [ + "S3" + ], + "members": { + "S3": { + "shape": "S3ManifestConfig", + "documentation": "Specifies the S3 bucket where you're hosting your manifest.
" + } + }, + "documentation": "Specifies the manifest that you want DataSync to use and where it's hosted. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest.
" + }, "SourceNetworkInterfaceArns": { "type": "list", "member": { @@ -5018,13 +5106,17 @@ "shape": "FilterList", "documentation": "Specifies a list of filter rules that determines which files to exclude from a task. The list contains a single filter string that consists of the patterns to exclude. The patterns are delimited by \"|\" (that is, a pipe), for example, \"/folder1|/folder2\"
.
Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
" + "ManifestConfig": { + "shape": "ManifestConfig", + "documentation": "Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest.
When using this parameter, your caller identity (the role that you're using DataSync with) must have the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a manifest configuration, specify this parameter with an empty value.
" }, "TaskReportConfig": { "shape": "TaskReportConfig", - "documentation": "Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
" + "documentation": "Specifies how you want to configure a task report, which provides detailed information about your DataSync transfer. For more information, see Monitoring your DataSync transfers with task reports.
When using this parameter, your caller identity (the role that you're using DataSync with) must have the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a task report configuration, specify this parameter as empty.
" + }, + "Tags": { + "shape": "InputTagList", + "documentation": "Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task execution.
Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
" } }, "documentation": "StartTaskExecutionRequest
" @@ -5178,14 +5270,14 @@ "members": { "TaskExecutionArn": { "shape": "TaskExecutionArn", - "documentation": "The Amazon Resource Name (ARN) of the task that was executed.
" + "documentation": "The Amazon Resource Name (ARN) of a task execution.
" }, "Status": { "shape": "TaskExecutionStatus", - "documentation": "The status of a task execution.
" + "documentation": "The status of a task execution. For more information, see Task execution statuses.
" } }, - "documentation": "Represents a single entry in a list of task executions. TaskExecutionListEntry
returns an array that contains a list of specific invocations of a task when the ListTaskExecutions operation is called.
Represents a single entry in a list of DataSync task executions that's returned with the ListTaskExecutions operation.
" }, "TaskExecutionResultDetail": { "type": "structure", @@ -5767,9 +5859,13 @@ "shape": "FilterList", "documentation": "Specifies a list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
" }, + "ManifestConfig": { + "shape": "ManifestConfig", + "documentation": "Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest.
When using this parameter, your caller identity (the IAM role that you're using DataSync with) must have the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a manifest configuration, specify this parameter as empty.
" + }, "TaskReportConfig": { "shape": "TaskReportConfig", - "documentation": "Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
" + "documentation": "Specifies how you want to configure a task report, which provides detailed information about your DataSync transfer. For more information, see Monitoring your DataSync transfers with task reports.
When using this parameter, your caller identity (the IAM role that you're using DataSync with) must have the iam:PassRole
permission. The AWSDataSyncFullAccess policy includes this permission.
To remove a task report configuration, specify this parameter as empty.
" } }, "documentation": "UpdateTaskResponse
" diff --git a/apis/models.lex.v2-2020-08-07.min.json b/apis/models.lex.v2-2020-08-07.min.json index acb1866f1a..b65886388a 100644 --- a/apis/models.lex.v2-2020-08-07.min.json +++ b/apis/models.lex.v2-2020-08-07.min.json @@ -405,6 +405,39 @@ } } }, + "CreateBotReplica": { + "http": { + "method": "PUT", + "requestUri": "/bots/{botId}/replicas/", + "responseCode": 202 + }, + "input": { + "type": "structure", + "required": [ + "botId", + "replicaRegion" + ], + "members": { + "botId": { + "location": "uri", + "locationName": "botId" + }, + "replicaRegion": {} + } + }, + "output": { + "type": "structure", + "members": { + "botId": {}, + "replicaRegion": {}, + "sourceRegion": {}, + "creationDateTime": { + "type": "timestamp" + }, + "botReplicaStatus": {} + } + } + }, "CreateBotVersion": { "http": { "method": "PUT", @@ -424,7 +457,7 @@ }, "description": {}, "botVersionLocaleSpecification": { - "shape": "S2h" + "shape": "S2l" } } }, @@ -435,7 +468,7 @@ "description": {}, "botVersion": {}, "botVersionLocaleSpecification": { - "shape": "S2h" + "shape": "S2l" }, "botStatus": {}, "creationDateTime": { @@ -458,11 +491,11 @@ ], "members": { "resourceSpecification": { - "shape": "S2l" + "shape": "S2p" }, "fileFormat": {}, "filePassword": { - "shape": "S2r" + "shape": "S2v" } } }, @@ -471,7 +504,7 @@ "members": { "exportId": {}, "resourceSpecification": { - "shape": "S2l" + "shape": "S2p" }, "fileFormat": {}, "exportStatus": {}, @@ -500,28 +533,28 @@ "description": {}, "parentIntentSignature": {}, "sampleUtterances": { - "shape": "S2w" + "shape": "S30" }, "dialogCodeHook": { - "shape": "S2z" + "shape": "S33" }, "fulfillmentCodeHook": { - "shape": "S30" + "shape": "S34" }, "intentConfirmationSetting": { - "shape": "S48" + "shape": "S4c" }, "intentClosingSetting": { - "shape": "S4q" + "shape": "S4u" }, "inputContexts": { - "shape": "S4r" + "shape": "S4v" }, "outputContexts": { - "shape": "S4t" + "shape": "S4x" }, "kendraConfiguration": { - "shape": "S4x" + "shape": "S51" }, "botId": { "location": "uri", @@ -536,7 +569,7 @@ "locationName": "localeId" }, "initialResponseSetting": { - "shape": "S50" + "shape": "S54" } } }, @@ -548,28 +581,28 @@ "description": {}, "parentIntentSignature": {}, "sampleUtterances": { - "shape": "S2w" + "shape": "S30" }, "dialogCodeHook": { - "shape": "S2z" + "shape": "S33" }, "fulfillmentCodeHook": { - "shape": "S30" + "shape": "S34" }, "intentConfirmationSetting": { - "shape": "S48" + "shape": "S4c" }, "intentClosingSetting": { - "shape": "S4q" + "shape": "S4u" }, "inputContexts": { - "shape": "S4r" + "shape": "S4v" }, "outputContexts": { - "shape": "S4t" + "shape": "S4x" }, "kendraConfiguration": { - "shape": "S4x" + "shape": "S51" }, "botId": {}, "botVersion": {}, @@ -578,7 +611,7 @@ "type": "timestamp" }, "initialResponseSetting": { - "shape": "S50" + "shape": "S54" } } } @@ -689,10 +722,10 @@ "description": {}, "slotTypeId": {}, "valueElicitationSetting": { - "shape": "S5n" + "shape": "S5r" }, "obfuscationSetting": { - "shape": "S60" + "shape": "S64" }, "botId": { "location": "uri", @@ -711,10 +744,10 @@ "locationName": "intentId" }, "multipleValuesSetting": { - "shape": "S62" + "shape": "S66" }, "subSlotSetting": { - "shape": "S63" + "shape": "S67" } } }, @@ -726,10 +759,10 @@ "description": {}, "slotTypeId": {}, "valueElicitationSetting": { - "shape": "S5n" + "shape": "S5r" }, "obfuscationSetting": { - "shape": "S60" + "shape": "S64" }, "botId": {}, "botVersion": {}, @@ -739,10 +772,10 @@ "type": "timestamp" }, "multipleValuesSetting": { - "shape": "S62" + "shape": "S66" }, "subSlotSetting": { - "shape": "S63" + "shape": "S67" } } } @@ -765,10 +798,10 @@ "slotTypeName": {}, "description": {}, "slotTypeValues": { - "shape": "S6a" + "shape": "S6e" }, "valueSelectionSetting": { - "shape": "S6f" + "shape": "S6j" }, "parentSlotTypeSignature": {}, "botId": { @@ -784,10 +817,10 @@ "locationName": "localeId" }, "externalSourceSetting": { - "shape": "S6m" + "shape": "S6q" }, "compositeSlotTypeSetting": { - "shape": "S6r" + "shape": "S6v" } } }, @@ -798,10 +831,10 @@ "slotTypeName": {}, "description": {}, "slotTypeValues": { - "shape": "S6a" + "shape": "S6e" }, "valueSelectionSetting": { - "shape": "S6f" + "shape": "S6j" }, "parentSlotTypeSignature": {}, "botId": {}, @@ -811,10 +844,10 @@ "type": "timestamp" }, "externalSourceSetting": { - "shape": "S6m" + "shape": "S6q" }, "compositeSlotTypeSetting": { - "shape": "S6r" + "shape": "S6v" } } } @@ -836,7 +869,7 @@ "locationName": "testSetId" }, "target": { - "shape": "S6w" + "shape": "S70" } } }, @@ -849,7 +882,7 @@ }, "testSetId": {}, "target": { - "shape": "S6w" + "shape": "S70" } } } @@ -977,6 +1010,38 @@ } } }, + "DeleteBotReplica": { + "http": { + "method": "DELETE", + "requestUri": "/bots/{botId}/replicas/{replicaRegion}/", + "responseCode": 202 + }, + "input": { + "type": "structure", + "required": [ + "botId", + "replicaRegion" + ], + "members": { + "botId": { + "location": "uri", + "locationName": "botId" + }, + "replicaRegion": { + "location": "uri", + "locationName": "replicaRegion" + } + } + }, + "output": { + "type": "structure", + "members": { + "botId": {}, + "replicaRegion": {}, + "botReplicaStatus": {} + } + } + }, "DeleteBotVersion": { "http": { "method": "DELETE", @@ -1375,7 +1440,7 @@ "shape": "S14" }, "failureReasons": { - "shape": "S7w" + "shape": "S82" } } } @@ -1443,7 +1508,7 @@ "type": "timestamp" }, "parentBotNetworks": { - "shape": "S82" + "shape": "S88" } } } @@ -1498,7 +1563,7 @@ }, "botLocaleStatus": {}, "failureReasons": { - "shape": "S7w" + "shape": "S82" }, "creationDateTime": { "type": "timestamp" @@ -1526,7 +1591,7 @@ } }, "recommendedActions": { - "shape": "S8a" + "shape": "S8g" }, "generativeAISettings": { "shape": "S25" @@ -1576,7 +1641,7 @@ "botRecommendationStatus": {}, "botRecommendationId": {}, "failureReasons": { - "shape": "S7w" + "shape": "S82" }, "creationDateTime": { "type": "timestamp" @@ -1585,10 +1650,10 @@ "type": "timestamp" }, "transcriptSourceSetting": { - "shape": "S8f" + "shape": "S8l" }, "encryptionSetting": { - "shape": "S8o" + "shape": "S8u" }, "botRecommendationResults": { "type": "structure", @@ -1621,6 +1686,45 @@ } } }, + "DescribeBotReplica": { + "http": { + "method": "GET", + "requestUri": "/bots/{botId}/replicas/{replicaRegion}/", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "botId", + "replicaRegion" + ], + "members": { + "botId": { + "location": "uri", + "locationName": "botId" + }, + "replicaRegion": { + "location": "uri", + "locationName": "replicaRegion" + } + } + }, + "output": { + "type": "structure", + "members": { + "botId": {}, + "replicaRegion": {}, + "sourceRegion": {}, + "creationDateTime": { + "type": "timestamp" + }, + "botReplicaStatus": {}, + "failureReasons": { + "shape": "S82" + } + } + } + }, "DescribeBotResourceGeneration": { "http": { "method": "GET", @@ -1662,7 +1766,7 @@ "localeId": {}, "generationId": {}, "failureReasons": { - "shape": "S7w" + "shape": "S82" }, "generationStatus": {}, "generationInputPrompt": {}, @@ -1716,13 +1820,13 @@ }, "botStatus": {}, "failureReasons": { - "shape": "S7w" + "shape": "S82" }, "creationDateTime": { "type": "timestamp" }, "parentBotNetworks": { - "shape": "S82" + "shape": "S88" }, "botType": {}, "botMembers": { @@ -1798,12 +1902,12 @@ "members": { "exportId": {}, "resourceSpecification": { - "shape": "S2l" + "shape": "S2p" }, "fileFormat": {}, "exportStatus": {}, "failureReasons": { - "shape": "S7w" + "shape": "S82" }, "downloadUrl": {}, "creationDateTime": { @@ -1838,14 +1942,14 @@ "members": { "importId": {}, "resourceSpecification": { - "shape": "S97" + "shape": "S9f" }, "importedResourceId": {}, "importedResourceName": {}, "mergeStrategy": {}, "importStatus": {}, "failureReasons": { - "shape": "S7w" + "shape": "S82" }, "creationDateTime": { "type": "timestamp" @@ -1897,31 +2001,31 @@ "description": {}, "parentIntentSignature": {}, "sampleUtterances": { - "shape": "S2w" + "shape": "S30" }, "dialogCodeHook": { - "shape": "S2z" + "shape": "S33" }, "fulfillmentCodeHook": { - "shape": "S30" + "shape": "S34" }, "slotPriorities": { - "shape": "S9j" + "shape": "S9r" }, "intentConfirmationSetting": { - "shape": "S48" + "shape": "S4c" }, "intentClosingSetting": { - "shape": "S4q" + "shape": "S4u" }, "inputContexts": { - "shape": "S4r" + "shape": "S4v" }, "outputContexts": { - "shape": "S4t" + "shape": "S4x" }, "kendraConfiguration": { - "shape": "S4x" + "shape": "S51" }, "botId": {}, "botVersion": {}, @@ -1933,7 +2037,7 @@ "type": "timestamp" }, "initialResponseSetting": { - "shape": "S50" + "shape": "S54" } } } @@ -2011,10 +2115,10 @@ "description": {}, "slotTypeId": {}, "valueElicitationSetting": { - "shape": "S5n" + "shape": "S5r" }, "obfuscationSetting": { - "shape": "S60" + "shape": "S64" }, "botId": {}, "botVersion": {}, @@ -2027,10 +2131,10 @@ "type": "timestamp" }, "multipleValuesSetting": { - "shape": "S62" + "shape": "S66" }, "subSlotSetting": { - "shape": "S63" + "shape": "S67" } } } @@ -2075,10 +2179,10 @@ "slotTypeName": {}, "description": {}, "slotTypeValues": { - "shape": "S6a" + "shape": "S6e" }, "valueSelectionSetting": { - "shape": "S6f" + "shape": "S6j" }, "parentSlotTypeSignature": {}, "botId": {}, @@ -2091,10 +2195,10 @@ "type": "timestamp" }, "externalSourceSetting": { - "shape": "S6m" + "shape": "S6q" }, "compositeSlotTypeSetting": { - "shape": "S6r" + "shape": "S6v" } } } @@ -2131,12 +2235,12 @@ "testSetId": {}, "testSetName": {}, "target": { - "shape": "S9v" + "shape": "Sa3" }, "apiMode": {}, "testExecutionModality": {}, "failureReasons": { - "shape": "S7w" + "shape": "S82" } } } @@ -2172,7 +2276,7 @@ "type": "integer" }, "storageLocation": { - "shape": "S9c" + "shape": "S9k" }, "creationDateTime": { "type": "timestamp" @@ -2210,7 +2314,7 @@ "type": "timestamp" }, "target": { - "shape": "S6w" + "shape": "S70" }, "testSetDiscrepancyReportStatus": {}, "lastUpdatedDataTime": { @@ -2257,7 +2361,7 @@ }, "testSetDiscrepancyRawOutputUrl": {}, "failureReasons": { - "shape": "S7w" + "shape": "S82" } } } @@ -2286,16 +2390,16 @@ "testSetGenerationId": {}, "testSetGenerationStatus": {}, "failureReasons": { - "shape": "S7w" + "shape": "S82" }, "testSetId": {}, "testSetName": {}, "description": {}, "storageLocation": { - "shape": "S9c" + "shape": "S9k" }, "generationDataSource": { - "shape": "Sad" + "shape": "Sal" }, "roleArn": {}, "creationDateTime": { @@ -2344,7 +2448,7 @@ "localeId": {}, "intentId": {}, "sampleUtterances": { - "shape": "S2w" + "shape": "S30" } } } @@ -2396,7 +2500,7 @@ "botVersion": {}, "localeId": {}, "aggregationDuration": { - "shape": "Sam" + "shape": "Sau" }, "sortBy": { "type": "structure", @@ -2421,7 +2525,7 @@ "members": { "name": {}, "values": { - "shape": "Saw" + "shape": "Sb4" }, "operator": {} } @@ -2441,7 +2545,7 @@ "botVersion": {}, "localeId": {}, "aggregationDuration": { - "shape": "Sam" + "shape": "Sau" }, "aggregationWindowStartTime": { "type": "timestamp" @@ -2480,6 +2584,62 @@ } } }, + "ListBotAliasReplicas": { + "http": { + "requestUri": "/bots/{botId}/replicas/{replicaRegion}/botaliases/", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "botId", + "replicaRegion" + ], + "members": { + "botId": { + "location": "uri", + "locationName": "botId" + }, + "replicaRegion": { + "location": "uri", + "locationName": "replicaRegion" + }, + "maxResults": { + "type": "integer" + }, + "nextToken": {} + } + }, + "output": { + "type": "structure", + "members": { + "botId": {}, + "sourceRegion": {}, + "replicaRegion": {}, + "botAliasReplicaSummaries": { + "type": "list", + "member": { + "type": "structure", + "members": { + "botAliasId": {}, + "botAliasReplicationStatus": {}, + "botVersion": {}, + "creationDateTime": { + "type": "timestamp" + }, + "lastUpdatedDateTime": { + "type": "timestamp" + }, + "failureReasons": { + "shape": "S82" + } + } + } + }, + "nextToken": {} + } + } + }, "ListBotAliases": { "http": { "requestUri": "/bots/{botId}/botaliases/", @@ -2571,7 +2731,7 @@ "members": { "name": {}, "values": { - "shape": "Saw" + "shape": "Sb4" }, "operator": {} } @@ -2671,6 +2831,47 @@ } } }, + "ListBotReplicas": { + "http": { + "requestUri": "/bots/{botId}/replicas/", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "botId" + ], + "members": { + "botId": { + "location": "uri", + "locationName": "botId" + } + } + }, + "output": { + "type": "structure", + "members": { + "botId": {}, + "sourceRegion": {}, + "botReplicaSummaries": { + "type": "list", + "member": { + "type": "structure", + "members": { + "replicaRegion": {}, + "creationDateTime": { + "type": "timestamp" + }, + "botReplicaStatus": {}, + "failureReasons": { + "shape": "S82" + } + } + } + } + } + } + }, "ListBotResourceGenerations": { "http": { "requestUri": "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/generations", @@ -2739,6 +2940,69 @@ } } }, + "ListBotVersionReplicas": { + "http": { + "requestUri": "/bots/{botId}/replicas/{replicaRegion}/botversions/", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "botId", + "replicaRegion" + ], + "members": { + "botId": { + "location": "uri", + "locationName": "botId" + }, + "replicaRegion": { + "location": "uri", + "locationName": "replicaRegion" + }, + "maxResults": { + "type": "integer" + }, + "nextToken": {}, + "sortBy": { + "type": "structure", + "required": [ + "attribute", + "order" + ], + "members": { + "attribute": {}, + "order": {} + } + } + } + }, + "output": { + "type": "structure", + "members": { + "botId": {}, + "sourceRegion": {}, + "replicaRegion": {}, + "botVersionReplicaSummaries": { + "type": "list", + "member": { + "type": "structure", + "members": { + "botVersion": {}, + "botVersionReplicationStatus": {}, + "creationDateTime": { + "type": "timestamp" + }, + "failureReasons": { + "shape": "S82" + } + } + } + }, + "nextToken": {} + } + } + }, "ListBotVersions": { "http": { "requestUri": "/bots/{botId}/botversions/", @@ -2825,7 +3089,7 @@ "members": { "name": {}, "values": { - "shape": "Saw" + "shape": "Sb4" }, "operator": {} } @@ -3038,7 +3302,7 @@ "members": { "name": {}, "values": { - "shape": "Saw" + "shape": "Sb4" }, "operator": {} } @@ -3063,7 +3327,7 @@ "members": { "exportId": {}, "resourceSpecification": { - "shape": "S2l" + "shape": "S2p" }, "fileFormat": {}, "exportStatus": {}, @@ -3114,7 +3378,7 @@ "members": { "name": {}, "values": { - "shape": "Saw" + "shape": "Sb4" }, "operator": {} } @@ -3197,7 +3461,7 @@ } }, "binBy": { - "shape": "Sdg" + "shape": "Se4" }, "groupBy": { "type": "list", @@ -3224,7 +3488,7 @@ "name": {}, "operator": {}, "values": { - "shape": "Sdr" + "shape": "Sef" } } } @@ -3245,7 +3509,7 @@ "type": "structure", "members": { "binKeys": { - "shape": "Sdw" + "shape": "Sek" }, "groupByKeys": { "type": "list", @@ -3315,7 +3579,7 @@ "name": {}, "operator": {}, "values": { - "shape": "Sdr" + "shape": "Sef" } } } @@ -3385,7 +3649,7 @@ } }, "binBy": { - "shape": "Sdg" + "shape": "Se4" }, "groupBy": { "type": "list", @@ -3412,7 +3676,7 @@ "name": {}, "operator": {}, "values": { - "shape": "Sdr" + "shape": "Sef" } } } @@ -3433,7 +3697,7 @@ "type": "structure", "members": { "binKeys": { - "shape": "Sdw" + "shape": "Sek" }, "groupByKeys": { "type": "list", @@ -3513,7 +3777,7 @@ "members": { "name": {}, "values": { - "shape": "Saw" + "shape": "Sb4" }, "operator": {} } @@ -3541,10 +3805,10 @@ "description": {}, "parentIntentSignature": {}, "inputContexts": { - "shape": "S4r" + "shape": "S4v" }, "outputContexts": { - "shape": "S4t" + "shape": "S4x" }, "lastUpdatedDateTime": { "type": "timestamp" @@ -3651,7 +3915,7 @@ } }, "filters": { - "shape": "Sff" + "shape": "Sg3" }, "maxResults": { "type": "integer" @@ -3744,7 +4008,7 @@ } }, "binBy": { - "shape": "Sdg" + "shape": "Se4" }, "groupBy": { "type": "list", @@ -3759,7 +4023,7 @@ } }, "filters": { - "shape": "Sff" + "shape": "Sg3" }, "maxResults": { "type": "integer" @@ -3777,7 +4041,7 @@ "type": "structure", "members": { "binKeys": { - "shape": "Sdw" + "shape": "Sek" }, "groupByKeys": { "type": "list", @@ -3857,7 +4121,7 @@ "members": { "name": {}, "values": { - "shape": "Saw" + "shape": "Sb4" }, "operator": {} } @@ -3948,7 +4212,7 @@ "members": { "name": {}, "values": { - "shape": "Saw" + "shape": "Sb4" }, "operator": {} } @@ -3978,7 +4242,7 @@ "slotConstraint": {}, "slotTypeId": {}, "valueElicitationPromptSpecification": { - "shape": "S49" + "shape": "S4d" }, "lastUpdatedDateTime": { "type": "timestamp" @@ -4083,10 +4347,10 @@ "type": "integer" }, "speechTranscriptionResultCounts": { - "shape": "Sh4" + "shape": "Shs" }, "endToEndResultCounts": { - "shape": "Sh4" + "shape": "Shs" } } } @@ -4179,10 +4443,10 @@ "type": "integer" }, "speechTranscriptionResultCounts": { - "shape": "Sh4" + "shape": "Shs" }, "intentMatchResultCounts": { - "shape": "Sh4" + "shape": "Shs" } } } @@ -4232,10 +4496,10 @@ "type": "integer" }, "speechTranscriptionResultCounts": { - "shape": "Sh4" + "shape": "Shs" }, "slotMatchResultCounts": { - "shape": "Sh4" + "shape": "Shs" } } } @@ -4278,7 +4542,7 @@ "expectedAgentPrompt": {}, "actualAgentPrompt": {}, "errorDetails": { - "shape": "Shv" + "shape": "Sij" }, "actualElicitedSlot": {}, "actualIntent": {} @@ -4292,16 +4556,16 @@ ], "members": { "input": { - "shape": "Shx" + "shape": "Sil" }, "expectedOutput": { - "shape": "Sid" + "shape": "Sj1" }, "actualOutput": { - "shape": "Sid" + "shape": "Sj1" }, "errorDetails": { - "shape": "Shv" + "shape": "Sij" }, "endToEndResult": {}, "intentMatchResult": {}, @@ -4376,7 +4640,7 @@ "testSetId": {}, "testSetName": {}, "target": { - "shape": "S9v" + "shape": "Sa3" }, "apiMode": {}, "testExecutionModality": {} @@ -4447,10 +4711,10 @@ ], "members": { "input": { - "shape": "Shx" + "shape": "Sil" }, "expected": { - "shape": "Sid" + "shape": "Sj1" } } } @@ -4506,7 +4770,7 @@ "type": "integer" }, "storageLocation": { - "shape": "S9c" + "shape": "S9k" }, "creationDateTime": { "type": "timestamp" @@ -4556,7 +4820,7 @@ } }, "filters": { - "shape": "Sj6" + "shape": "Sju" }, "maxResults": { "type": "integer" @@ -4613,7 +4877,7 @@ "content": {}, "contentType": {}, "imageResponseCard": { - "shape": "S3c" + "shape": "S3g" } } } @@ -4664,7 +4928,7 @@ } }, "binBy": { - "shape": "Sdg" + "shape": "Se4" }, "groupBy": { "type": "list", @@ -4691,7 +4955,7 @@ } }, "filters": { - "shape": "Sj6" + "shape": "Sju" }, "maxResults": { "type": "integer" @@ -4709,7 +4973,7 @@ "type": "structure", "members": { "binKeys": { - "shape": "Sdw" + "shape": "Sek" }, "groupByKeys": { "type": "list", @@ -4793,7 +5057,7 @@ "members": { "name": {}, "values": { - "shape": "Saw" + "shape": "Sb4" } } } @@ -4859,10 +5123,10 @@ "locationName": "localeId" }, "transcriptSourceSetting": { - "shape": "S8f" + "shape": "S8l" }, "encryptionSetting": { - "shape": "S8o" + "shape": "S8u" } } }, @@ -4878,10 +5142,10 @@ "type": "timestamp" }, "transcriptSourceSetting": { - "shape": "S8f" + "shape": "S8l" }, "encryptionSetting": { - "shape": "S8o" + "shape": "S8u" } } } @@ -4948,11 +5212,11 @@ "members": { "importId": {}, "resourceSpecification": { - "shape": "S97" + "shape": "S9f" }, "mergeStrategy": {}, "filePassword": { - "shape": "S2r" + "shape": "S2v" } } }, @@ -4961,7 +5225,7 @@ "members": { "importId": {}, "resourceSpecification": { - "shape": "S97" + "shape": "S9f" }, "mergeStrategy": {}, "importStatus": {}, @@ -4989,7 +5253,7 @@ "locationName": "testSetId" }, "target": { - "shape": "S9v" + "shape": "Sa3" }, "apiMode": {}, "testExecutionModality": {} @@ -5004,7 +5268,7 @@ }, "testSetId": {}, "target": { - "shape": "S9v" + "shape": "Sa3" }, "apiMode": {}, "testExecutionModality": {} @@ -5029,10 +5293,10 @@ "testSetName": {}, "description": {}, "storageLocation": { - "shape": "S9c" + "shape": "S9k" }, "generationDataSource": { - "shape": "Sad" + "shape": "Sal" }, "roleArn": {}, "testSetTags": { @@ -5051,10 +5315,10 @@ "testSetName": {}, "description": {}, "storageLocation": { - "shape": "S9c" + "shape": "S9k" }, "generationDataSource": { - "shape": "Sad" + "shape": "Sal" }, "roleArn": {}, "testSetTags": { @@ -5344,7 +5608,7 @@ }, "botLocaleStatus": {}, "failureReasons": { - "shape": "S7w" + "shape": "S82" }, "creationDateTime": { "type": "timestamp" @@ -5353,7 +5617,7 @@ "type": "timestamp" }, "recommendedActions": { - "shape": "S8a" + "shape": "S8g" }, "generativeAISettings": { "shape": "S25" @@ -5394,7 +5658,7 @@ "locationName": "botRecommendationId" }, "encryptionSetting": { - "shape": "S8o" + "shape": "S8u" } } }, @@ -5413,10 +5677,10 @@ "type": "timestamp" }, "transcriptSourceSetting": { - "shape": "S8f" + "shape": "S8l" }, "encryptionSetting": { - "shape": "S8o" + "shape": "S8u" } } } @@ -5438,7 +5702,7 @@ "locationName": "exportId" }, "filePassword": { - "shape": "S2r" + "shape": "S2v" } } }, @@ -5447,7 +5711,7 @@ "members": { "exportId": {}, "resourceSpecification": { - "shape": "S2l" + "shape": "S2p" }, "fileFormat": {}, "exportStatus": {}, @@ -5484,31 +5748,31 @@ "description": {}, "parentIntentSignature": {}, "sampleUtterances": { - "shape": "S2w" + "shape": "S30" }, "dialogCodeHook": { - "shape": "S2z" + "shape": "S33" }, "fulfillmentCodeHook": { - "shape": "S30" + "shape": "S34" }, "slotPriorities": { - "shape": "S9j" + "shape": "S9r" }, "intentConfirmationSetting": { - "shape": "S48" + "shape": "S4c" }, "intentClosingSetting": { - "shape": "S4q" + "shape": "S4u" }, "inputContexts": { - "shape": "S4r" + "shape": "S4v" }, "outputContexts": { - "shape": "S4t" + "shape": "S4x" }, "kendraConfiguration": { - "shape": "S4x" + "shape": "S51" }, "botId": { "location": "uri", @@ -5523,7 +5787,7 @@ "locationName": "localeId" }, "initialResponseSetting": { - "shape": "S50" + "shape": "S54" } } }, @@ -5535,31 +5799,31 @@ "description": {}, "parentIntentSignature": {}, "sampleUtterances": { - "shape": "S2w" + "shape": "S30" }, "dialogCodeHook": { - "shape": "S2z" + "shape": "S33" }, "fulfillmentCodeHook": { - "shape": "S30" + "shape": "S34" }, "slotPriorities": { - "shape": "S9j" + "shape": "S9r" }, "intentConfirmationSetting": { - "shape": "S48" + "shape": "S4c" }, "intentClosingSetting": { - "shape": "S4q" + "shape": "S4u" }, "inputContexts": { - "shape": "S4r" + "shape": "S4v" }, "outputContexts": { - "shape": "S4t" + "shape": "S4x" }, "kendraConfiguration": { - "shape": "S4x" + "shape": "S51" }, "botId": {}, "botVersion": {}, @@ -5571,7 +5835,7 @@ "type": "timestamp" }, "initialResponseSetting": { - "shape": "S50" + "shape": "S54" } } } @@ -5634,10 +5898,10 @@ "description": {}, "slotTypeId": {}, "valueElicitationSetting": { - "shape": "S5n" + "shape": "S5r" }, "obfuscationSetting": { - "shape": "S60" + "shape": "S64" }, "botId": { "location": "uri", @@ -5656,10 +5920,10 @@ "locationName": "intentId" }, "multipleValuesSetting": { - "shape": "S62" + "shape": "S66" }, "subSlotSetting": { - "shape": "S63" + "shape": "S67" } } }, @@ -5671,10 +5935,10 @@ "description": {}, "slotTypeId": {}, "valueElicitationSetting": { - "shape": "S5n" + "shape": "S5r" }, "obfuscationSetting": { - "shape": "S60" + "shape": "S64" }, "botId": {}, "botVersion": {}, @@ -5687,10 +5951,10 @@ "type": "timestamp" }, "multipleValuesSetting": { - "shape": "S62" + "shape": "S66" }, "subSlotSetting": { - "shape": "S63" + "shape": "S67" } } } @@ -5718,10 +5982,10 @@ "slotTypeName": {}, "description": {}, "slotTypeValues": { - "shape": "S6a" + "shape": "S6e" }, "valueSelectionSetting": { - "shape": "S6f" + "shape": "S6j" }, "parentSlotTypeSignature": {}, "botId": { @@ -5737,10 +6001,10 @@ "locationName": "localeId" }, "externalSourceSetting": { - "shape": "S6m" + "shape": "S6q" }, "compositeSlotTypeSetting": { - "shape": "S6r" + "shape": "S6v" } } }, @@ -5751,10 +6015,10 @@ "slotTypeName": {}, "description": {}, "slotTypeValues": { - "shape": "S6a" + "shape": "S6e" }, "valueSelectionSetting": { - "shape": "S6f" + "shape": "S6j" }, "parentSlotTypeSignature": {}, "botId": {}, @@ -5767,10 +6031,10 @@ "type": "timestamp" }, "externalSourceSetting": { - "shape": "S6m" + "shape": "S6q" }, "compositeSlotTypeSetting": { - "shape": "S6r" + "shape": "S6v" } } } @@ -5809,7 +6073,7 @@ "type": "integer" }, "storageLocation": { - "shape": "S9c" + "shape": "S9k" }, "creationDateTime": { "type": "timestamp" @@ -6092,7 +6356,7 @@ "modelArn": {} } }, - "S2h": { + "S2l": { "type": "map", "key": {}, "value": { @@ -6105,7 +6369,7 @@ } } }, - "S2l": { + "S2p": { "type": "structure", "members": { "botExportSpecification": { @@ -6156,11 +6420,11 @@ } } }, - "S2r": { + "S2v": { "type": "string", "sensitive": true }, - "S2w": { + "S30": { "type": "list", "member": { "type": "structure", @@ -6172,7 +6436,7 @@ } } }, - "S2z": { + "S33": { "type": "structure", "required": [ "enabled" @@ -6183,7 +6447,7 @@ } } }, - "S30": { + "S34": { "type": "structure", "required": [ "enabled" @@ -6196,31 +6460,31 @@ "type": "structure", "members": { "successResponse": { - "shape": "S32" + "shape": "S36" }, "failureResponse": { - "shape": "S32" + "shape": "S36" }, "timeoutResponse": { - "shape": "S32" + "shape": "S36" }, "successNextStep": { - "shape": "S3k" + "shape": "S3o" }, "successConditional": { - "shape": "S3w" + "shape": "S40" }, "failureNextStep": { - "shape": "S3k" + "shape": "S3o" }, "failureConditional": { - "shape": "S3w" + "shape": "S40" }, "timeoutNextStep": { - "shape": "S3k" + "shape": "S3o" }, "timeoutConditional": { - "shape": "S3w" + "shape": "S40" } } }, @@ -6244,7 +6508,7 @@ "type": "integer" }, "messageGroups": { - "shape": "S33" + "shape": "S37" }, "allowInterrupt": { "type": "boolean" @@ -6262,7 +6526,7 @@ "type": "integer" }, "messageGroups": { - "shape": "S33" + "shape": "S37" }, "allowInterrupt": { "type": "boolean" @@ -6279,21 +6543,21 @@ } } }, - "S32": { + "S36": { "type": "structure", "required": [ "messageGroups" ], "members": { "messageGroups": { - "shape": "S33" + "shape": "S37" }, "allowInterrupt": { "type": "boolean" } } }, - "S33": { + "S37": { "type": "list", "member": { "type": "structure", @@ -6302,18 +6566,18 @@ ], "members": { "message": { - "shape": "S35" + "shape": "S39" }, "variations": { "type": "list", "member": { - "shape": "S35" + "shape": "S39" } } } } }, - "S35": { + "S39": { "type": "structure", "members": { "plainTextMessage": { @@ -6344,11 +6608,11 @@ } }, "imageResponseCard": { - "shape": "S3c" + "shape": "S3g" } } }, - "S3c": { + "S3g": { "type": "structure", "required": [ "title" @@ -6373,7 +6637,7 @@ } } }, - "S3k": { + "S3o": { "type": "structure", "members": { "dialogAction": { @@ -6397,17 +6661,17 @@ "type": "map", "key": {}, "value": { - "shape": "S3p" + "shape": "S3t" } } } }, "sessionAttributes": { - "shape": "S3u" + "shape": "S3y" } } }, - "S3p": { + "S3t": { "type": "structure", "members": { "shape": {}, @@ -6420,17 +6684,17 @@ "values": { "type": "list", "member": { - "shape": "S3p" + "shape": "S3t" } } } }, - "S3u": { + "S3y": { "type": "map", "key": {}, "value": {} }, - "S3w": { + "S40": { "type": "structure", "required": [ "active", @@ -6462,10 +6726,10 @@ } }, "nextStep": { - "shape": "S3k" + "shape": "S3o" }, "response": { - "shape": "S32" + "shape": "S36" } } } @@ -6474,63 +6738,63 @@ "type": "structure", "members": { "nextStep": { - "shape": "S3k" + "shape": "S3o" }, "response": { - "shape": "S32" + "shape": "S36" } } } } }, - "S48": { + "S4c": { "type": "structure", "required": [ "promptSpecification" ], "members": { "promptSpecification": { - "shape": "S49" + "shape": "S4d" }, "declinationResponse": { - "shape": "S32" + "shape": "S36" }, "active": { "type": "boolean" }, "confirmationResponse": { - "shape": "S32" + "shape": "S36" }, "confirmationNextStep": { - "shape": "S3k" + "shape": "S3o" }, "confirmationConditional": { - "shape": "S3w" + "shape": "S40" }, "declinationNextStep": { - "shape": "S3k" + "shape": "S3o" }, "declinationConditional": { - "shape": "S3w" + "shape": "S40" }, "failureResponse": { - "shape": "S32" + "shape": "S36" }, "failureNextStep": { - "shape": "S3k" + "shape": "S3o" }, "failureConditional": { - "shape": "S3w" + "shape": "S40" }, "codeHook": { - "shape": "S4n" + "shape": "S4r" }, "elicitationCodeHook": { - "shape": "S4p" + "shape": "S4t" } } }, - "S49": { + "S4d": { "type": "structure", "required": [ "messageGroups", @@ -6538,7 +6802,7 @@ ], "members": { "messageGroups": { - "shape": "S33" + "shape": "S37" }, "maxRetries": { "type": "integer" @@ -6635,7 +6899,7 @@ } } }, - "S4n": { + "S4r": { "type": "structure", "required": [ "enableCodeHookInvocation", @@ -6654,37 +6918,37 @@ "type": "structure", "members": { "successResponse": { - "shape": "S32" + "shape": "S36" }, "successNextStep": { - "shape": "S3k" + "shape": "S3o" }, "successConditional": { - "shape": "S3w" + "shape": "S40" }, "failureResponse": { - "shape": "S32" + "shape": "S36" }, "failureNextStep": { - "shape": "S3k" + "shape": "S3o" }, "failureConditional": { - "shape": "S3w" + "shape": "S40" }, "timeoutResponse": { - "shape": "S32" + "shape": "S36" }, "timeoutNextStep": { - "shape": "S3k" + "shape": "S3o" }, "timeoutConditional": { - "shape": "S3w" + "shape": "S40" } } } } }, - "S4p": { + "S4t": { "type": "structure", "required": [ "enableCodeHookInvocation" @@ -6696,24 +6960,24 @@ "invocationLabel": {} } }, - "S4q": { + "S4u": { "type": "structure", "members": { "closingResponse": { - "shape": "S32" + "shape": "S36" }, "active": { "type": "boolean" }, "nextStep": { - "shape": "S3k" + "shape": "S3o" }, "conditional": { - "shape": "S3w" + "shape": "S40" } } }, - "S4r": { + "S4v": { "type": "list", "member": { "type": "structure", @@ -6725,7 +6989,7 @@ } } }, - "S4t": { + "S4x": { "type": "list", "member": { "type": "structure", @@ -6745,7 +7009,7 @@ } } }, - "S4x": { + "S51": { "type": "structure", "required": [ "kendraIndex" @@ -6758,68 +7022,68 @@ "queryFilterString": {} } }, - "S50": { + "S54": { "type": "structure", "members": { "initialResponse": { - "shape": "S32" + "shape": "S36" }, "nextStep": { - "shape": "S3k" + "shape": "S3o" }, "conditional": { - "shape": "S3w" + "shape": "S40" }, "codeHook": { - "shape": "S4n" + "shape": "S4r" } } }, - "S5n": { + "S5r": { "type": "structure", "required": [ "slotConstraint" ], "members": { "defaultValueSpecification": { - "shape": "S5o" + "shape": "S5s" }, "slotConstraint": {}, "promptSpecification": { - "shape": "S49" + "shape": "S4d" }, "sampleUtterances": { - "shape": "S2w" + "shape": "S30" }, "waitAndContinueSpecification": { - "shape": "S5t" + "shape": "S5x" }, "slotCaptureSetting": { "type": "structure", "members": { "captureResponse": { - "shape": "S32" + "shape": "S36" }, "captureNextStep": { - "shape": "S3k" + "shape": "S3o" }, "captureConditional": { - "shape": "S3w" + "shape": "S40" }, "failureResponse": { - "shape": "S32" + "shape": "S36" }, "failureNextStep": { - "shape": "S3k" + "shape": "S3o" }, "failureConditional": { - "shape": "S3w" + "shape": "S40" }, "codeHook": { - "shape": "S4n" + "shape": "S4r" }, "elicitationCodeHook": { - "shape": "S4p" + "shape": "S4t" } } }, @@ -6834,7 +7098,7 @@ } } }, - "S5o": { + "S5s": { "type": "structure", "required": [ "defaultValueList" @@ -6854,7 +7118,7 @@ } } }, - "S5t": { + "S5x": { "type": "structure", "required": [ "waitingResponse", @@ -6862,10 +7126,10 @@ ], "members": { "waitingResponse": { - "shape": "S32" + "shape": "S36" }, "continueResponse": { - "shape": "S32" + "shape": "S36" }, "stillWaitingResponse": { "type": "structure", @@ -6876,7 +7140,7 @@ ], "members": { "messageGroups": { - "shape": "S33" + "shape": "S37" }, "frequencyInSeconds": { "type": "integer" @@ -6894,7 +7158,7 @@ } } }, - "S60": { + "S64": { "type": "structure", "required": [ "obfuscationSettingType" @@ -6903,7 +7167,7 @@ "obfuscationSettingType": {} } }, - "S62": { + "S66": { "type": "structure", "members": { "allowMultipleValues": { @@ -6911,7 +7175,7 @@ } } }, - "S63": { + "S67": { "type": "structure", "members": { "expression": {}, @@ -6933,16 +7197,16 @@ ], "members": { "defaultValueSpecification": { - "shape": "S5o" + "shape": "S5s" }, "promptSpecification": { - "shape": "S49" + "shape": "S4d" }, "sampleUtterances": { - "shape": "S2w" + "shape": "S30" }, "waitAndContinueSpecification": { - "shape": "S5t" + "shape": "S5x" } } } @@ -6951,24 +7215,24 @@ } } }, - "S6a": { + "S6e": { "type": "list", "member": { "type": "structure", "members": { "sampleValue": { - "shape": "S6c" + "shape": "S6g" }, "synonyms": { "type": "list", "member": { - "shape": "S6c" + "shape": "S6g" } } } } }, - "S6c": { + "S6g": { "type": "structure", "required": [ "value" @@ -6977,7 +7241,7 @@ "value": {} } }, - "S6f": { + "S6j": { "type": "structure", "required": [ "resolutionStrategy" @@ -7001,7 +7265,7 @@ } } }, - "S6m": { + "S6q": { "type": "structure", "members": { "grammarSlotTypeSetting": { @@ -7023,7 +7287,7 @@ } } }, - "S6r": { + "S6v": { "type": "structure", "members": { "subSlots": { @@ -7042,7 +7306,7 @@ } } }, - "S6w": { + "S70": { "type": "structure", "members": { "botAliasTarget": { @@ -7060,11 +7324,11 @@ } } }, - "S7w": { + "S82": { "type": "list", "member": {} }, - "S82": { + "S88": { "type": "list", "member": { "type": "structure", @@ -7078,11 +7342,11 @@ } } }, - "S8a": { + "S8g": { "type": "list", "member": {} }, - "S8f": { + "S8l": { "type": "structure", "members": { "s3BucketTranscriptSource": { @@ -7133,23 +7397,23 @@ } } }, - "S8o": { + "S8u": { "type": "structure", "members": { "kmsKeyArn": {}, "botLocaleExportPassword": { - "shape": "S8p" + "shape": "S8v" }, "associatedTranscriptsPassword": { - "shape": "S8p" + "shape": "S8v" } } }, - "S8p": { + "S8v": { "type": "string", "sensitive": true }, - "S97": { + "S9f": { "type": "structure", "members": { "botImportSpecification": { @@ -7222,7 +7486,7 @@ "description": {}, "roleArn": {}, "storageLocation": { - "shape": "S9c" + "shape": "S9k" }, "importInputLocation": { "type": "structure", @@ -7243,7 +7507,7 @@ } } }, - "S9c": { + "S9k": { "type": "structure", "required": [ "s3BucketName", @@ -7255,7 +7519,7 @@ "kmsKeyArn": {} } }, - "S9j": { + "S9r": { "type": "list", "member": { "type": "structure", @@ -7271,7 +7535,7 @@ } } }, - "S9v": { + "Sa3": { "type": "structure", "members": { "botAliasTarget": { @@ -7289,7 +7553,7 @@ } } }, - "Sad": { + "Sal": { "type": "structure", "members": { "conversationLogsDataSource": { @@ -7325,7 +7589,7 @@ } } }, - "Sam": { + "Sau": { "type": "structure", "required": [ "relativeAggregationDuration" @@ -7346,11 +7610,11 @@ } } }, - "Saw": { + "Sb4": { "type": "list", "member": {} }, - "Sdg": { + "Se4": { "type": "list", "member": { "type": "structure", @@ -7365,11 +7629,11 @@ } } }, - "Sdr": { + "Sef": { "type": "list", "member": {} }, - "Sdw": { + "Sek": { "type": "list", "member": { "type": "structure", @@ -7381,7 +7645,7 @@ } } }, - "Sff": { + "Sg3": { "type": "list", "member": { "type": "structure", @@ -7394,19 +7658,19 @@ "name": {}, "operator": {}, "values": { - "shape": "Sdr" + "shape": "Sef" } } } }, - "Sh4": { + "Shs": { "type": "map", "key": {}, "value": { "type": "integer" } }, - "Shv": { + "Sij": { "type": "structure", "required": [ "errorCode", @@ -7417,7 +7681,7 @@ "errorMessage": {} } }, - "Shx": { + "Sil": { "type": "structure", "required": [ "utteranceInput" @@ -7439,16 +7703,16 @@ } }, "requestAttributes": { - "shape": "S3u" + "shape": "S3y" }, "sessionState": { "type": "structure", "members": { "sessionAttributes": { - "shape": "S3u" + "shape": "S3y" }, "activeContexts": { - "shape": "Si3" + "shape": "Sir" }, "runtimeHints": { "type": "structure", @@ -7457,7 +7721,7 @@ "type": "map", "key": {}, "value": { - "shape": "Si8" + "shape": "Siw" } } } @@ -7466,7 +7730,7 @@ } } }, - "Si3": { + "Sir": { "type": "list", "member": { "type": "structure", @@ -7478,7 +7742,7 @@ } } }, - "Si8": { + "Siw": { "type": "map", "key": {}, "value": { @@ -7497,12 +7761,12 @@ } }, "subSlotHints": { - "shape": "Si8" + "shape": "Siw" } } } }, - "Sid": { + "Sj1": { "type": "structure", "required": [ "intent" @@ -7516,39 +7780,39 @@ "members": { "name": {}, "slots": { - "shape": "Sif" + "shape": "Sj3" } } }, "activeContexts": { - "shape": "Si3" + "shape": "Sir" }, "transcript": {} } }, - "Sif": { + "Sj3": { "type": "map", "key": {}, "value": { - "shape": "Sig" + "shape": "Sj4" } }, - "Sig": { + "Sj4": { "type": "structure", "members": { "value": {}, "values": { "type": "list", "member": { - "shape": "Sig" + "shape": "Sj4" } }, "subSlots": { - "shape": "Sif" + "shape": "Sj3" } } }, - "Sj6": { + "Sju": { "type": "list", "member": { "type": "structure", @@ -7561,7 +7825,7 @@ "name": {}, "operator": {}, "values": { - "shape": "Sdr" + "shape": "Sef" } } } diff --git a/apis/models.lex.v2-2020-08-07.normal.json b/apis/models.lex.v2-2020-08-07.normal.json index f15a64365e..b7768e1b88 100644 --- a/apis/models.lex.v2-2020-08-07.normal.json +++ b/apis/models.lex.v2-2020-08-07.normal.json @@ -249,6 +249,41 @@ ], "documentation": "Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.
" }, + "CreateBotReplica": { + "name": "CreateBotReplica", + "http": { + "method": "PUT", + "requestUri": "/bots/{botId}/replicas/", + "responseCode": 202 + }, + "input": { + "shape": "CreateBotReplicaRequest" + }, + "output": { + "shape": "CreateBotReplicaResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "PreconditionFailedException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "Action to create a replication of the source bot in the secondary region.
" + }, "CreateBotVersion": { "name": "CreateBotVersion", "http": { @@ -669,6 +704,41 @@ ], "documentation": "Removes a locale from a bot.
When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.
" }, + "DeleteBotReplica": { + "name": "DeleteBotReplica", + "http": { + "method": "DELETE", + "requestUri": "/bots/{botId}/replicas/{replicaRegion}/", + "responseCode": 202 + }, + "input": { + "shape": "DeleteBotReplicaRequest" + }, + "output": { + "shape": "DeleteBotReplicaResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "PreconditionFailedException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "The action to delete the replicated bot in the secondary region.
" + }, "DeleteBotVersion": { "name": "DeleteBotVersion", "http": { @@ -1141,6 +1211,38 @@ ], "documentation": "Provides metadata information about a bot recommendation. This information will enable you to get a description on the request inputs, to download associated transcripts after processing is complete, and to download intents and slot-types generated by the bot recommendation.
" }, + "DescribeBotReplica": { + "name": "DescribeBotReplica", + "http": { + "method": "GET", + "requestUri": "/bots/{botId}/replicas/{replicaRegion}/", + "responseCode": 200 + }, + "input": { + "shape": "DescribeBotReplicaRequest" + }, + "output": { + "shape": "DescribeBotReplicaResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "Monitors the bot replication status through the UI console.
" + }, "DescribeBotResourceGeneration": { "name": "DescribeBotResourceGeneration", "http": { @@ -1644,6 +1746,35 @@ ], "documentation": "Provides a list of utterances that users have sent to the bot.
Utterances are aggregated by the text of the utterance. For example, all instances where customers used the phrase \"I want to order pizza\" are aggregated into the same line in the response.
You can see both detected utterances and missed utterances. A detected utterance is where the bot properly recognized the utterance and activated the associated intent. A missed utterance was not recognized by the bot and didn't activate an intent.
Utterances can be aggregated for a bot alias or for a bot version, but not both at the same time.
Utterances statistics are not generated under the following conditions:
The childDirected
field was set to true when the bot was created.
You are using slot obfuscation with one or more slots.
You opted out of participating in improving Amazon Lex.
The action to list the replicated bots created from the source bot alias.
" + }, "ListBotAliases": { "name": "ListBotAliases", "http": { @@ -1731,6 +1862,35 @@ ], "documentation": "Get a list of bot recommendations that meet the specified criteria.
" }, + "ListBotReplicas": { + "name": "ListBotReplicas", + "http": { + "method": "POST", + "requestUri": "/bots/{botId}/replicas/", + "responseCode": 200 + }, + "input": { + "shape": "ListBotReplicasRequest" + }, + "output": { + "shape": "ListBotReplicasResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "The action to list the replicated bots.
" + }, "ListBotResourceGenerations": { "name": "ListBotResourceGenerations", "http": { @@ -1760,6 +1920,35 @@ ], "documentation": "Lists the generation requests made for a bot locale.
" }, + "ListBotVersionReplicas": { + "name": "ListBotVersionReplicas", + "http": { + "method": "POST", + "requestUri": "/bots/{botId}/replicas/{replicaRegion}/botversions/", + "responseCode": 200 + }, + "input": { + "shape": "ListBotVersionReplicasRequest" + }, + "output": { + "shape": "ListBotVersionReplicasResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "Contains information about all the versions replication statuses applicable for Global Resiliency.
" + }, "ListBotVersions": { "name": "ListBotVersions", "http": { @@ -4758,6 +4947,53 @@ "min": 1, "pattern": "^(\\bAmazonLexTestAlias\\b|[0-9a-zA-Z][_-]?)+$" }, + "BotAliasReplicaSummary": { + "type": "structure", + "members": { + "botAliasId": { + "shape": "BotAliasId", + "documentation": "The bot alias ID for all the alias bot replications.
" + }, + "botAliasReplicationStatus": { + "shape": "BotAliasReplicationStatus", + "documentation": "The replication statuses for all the alias bot replications.
" + }, + "botVersion": { + "shape": "BotVersion", + "documentation": "The bot version for all the alias bot replications.
" + }, + "creationDateTime": { + "shape": "Timestamp", + "documentation": "The creation time and date for all the alias bot replications.
" + }, + "lastUpdatedDateTime": { + "shape": "Timestamp", + "documentation": "The last time and date updated for all the alias bot replications.
" + }, + "failureReasons": { + "shape": "FailureReasons", + "documentation": "The reasons for failure for the aliases bot replications.
" + } + }, + "documentation": "Contains information about all the aliases replication statuses applicable for global resiliency.
" + }, + "BotAliasReplicaSummaryList": { + "type": "list", + "member": { + "shape": "BotAliasReplicaSummary" + } + }, + "BotAliasReplicationStatus": { + "type": "string", + "documentation": "The status of the operation to replicate the bot alias. Values: Creating, Updating, Available, Deleting, Failed.
", + "enum": [ + "Creating", + "Updating", + "Available", + "Deleting", + "Failed" + ] + }, "BotAliasStatus": { "type": "string", "enum": [ @@ -5245,6 +5481,44 @@ "shape": "BotRecommendationSummary" } }, + "BotReplicaStatus": { + "type": "string", + "documentation": "The status of the operation to replicate the bot. Values: Enabling, Enabled, Deleting, Failed.
", + "enum": [ + "Enabling", + "Enabled", + "Deleting", + "Failed" + ] + }, + "BotReplicaSummary": { + "type": "structure", + "members": { + "replicaRegion": { + "shape": "ReplicaRegion", + "documentation": "The replica region used in the replication statuses summary.
" + }, + "creationDateTime": { + "shape": "Timestamp", + "documentation": "The creation time and date for the replicated bots.
" + }, + "botReplicaStatus": { + "shape": "BotReplicaStatus", + "documentation": "The operation status for the replicated bot applicable.
" + }, + "failureReasons": { + "shape": "FailureReasons", + "documentation": "The reasons for the failure for the replicated bot.
" + } + }, + "documentation": "Contains summary information about all the replication statuses applicable for global resiliency.
" + }, + "BotReplicaSummaryList": { + "type": "list", + "member": { + "shape": "BotReplicaSummary" + } + }, "BotSortAttribute": { "type": "string", "enum": [ @@ -5358,6 +5632,68 @@ }, "min": 1 }, + "BotVersionReplicaSortAttribute": { + "type": "string", + "enum": [ + "BotVersion" + ] + }, + "BotVersionReplicaSortBy": { + "type": "structure", + "required": [ + "attribute", + "order" + ], + "members": { + "attribute": { + "shape": "BotVersionReplicaSortAttribute", + "documentation": "The attribute of the sort category for the version replicated bots.
" + }, + "order": { + "shape": "SortOrder", + "documentation": "The order of the sort category for the version replicated bots.
" + } + }, + "documentation": "The sort category for the version replicated bots.
" + }, + "BotVersionReplicaSummary": { + "type": "structure", + "members": { + "botVersion": { + "shape": "BotVersion", + "documentation": "The bot version for the summary information for all the version replication statuses.
" + }, + "botVersionReplicationStatus": { + "shape": "BotVersionReplicationStatus", + "documentation": "The version replication status for all the replicated bots.
" + }, + "creationDateTime": { + "shape": "Timestamp", + "documentation": "The creation date and time of the replication status for all the replicated bots.
" + }, + "failureReasons": { + "shape": "FailureReasons", + "documentation": "The reasons for replication failure for all the replicated bots.
" + } + }, + "documentation": "Contains summary information for all the version replication statuses applicable for Global resiliency.
" + }, + "BotVersionReplicaSummaryList": { + "type": "list", + "member": { + "shape": "BotVersionReplicaSummary" + } + }, + "BotVersionReplicationStatus": { + "type": "string", + "documentation": "The status of the operation to replicate the bot version. Values: Creating, Available, Deleting, Failed.
", + "enum": [ + "Creating", + "Available", + "Deleting", + "Failed" + ] + }, "BotVersionSortAttribute": { "type": "string", "enum": [ @@ -6190,6 +6526,50 @@ } } }, + "CreateBotReplicaRequest": { + "type": "structure", + "required": [ + "botId", + "replicaRegion" + ], + "members": { + "botId": { + "shape": "Id", + "documentation": "The request for the unique bot ID of the source bot to be replicated in the secondary region.
", + "location": "uri", + "locationName": "botId" + }, + "replicaRegion": { + "shape": "ReplicaRegion", + "documentation": "The request for the secondary region that will be used in the replication of the source bot.
" + } + } + }, + "CreateBotReplicaResponse": { + "type": "structure", + "members": { + "botId": { + "shape": "Id", + "documentation": "The unique bot ID of the replicated bot generated.
" + }, + "replicaRegion": { + "shape": "ReplicaRegion", + "documentation": "The region of the replicated bot generated.
" + }, + "sourceRegion": { + "shape": "ReplicaRegion", + "documentation": "The source region for the source bot used for the replicated bot generated.
" + }, + "creationDateTime": { + "shape": "Timestamp", + "documentation": "The creation date and time of the replicated bot generated.
" + }, + "botReplicaStatus": { + "shape": "BotReplicaStatus", + "documentation": "The operational status of the replicated bot generated.
" + } + } + }, "CreateBotRequest": { "type": "structure", "required": [ @@ -7212,6 +7592,44 @@ } } }, + "DeleteBotReplicaRequest": { + "type": "structure", + "required": [ + "botId", + "replicaRegion" + ], + "members": { + "botId": { + "shape": "Id", + "documentation": "The unique ID of the replicated bot to be deleted from the secondary region
", + "location": "uri", + "locationName": "botId" + }, + "replicaRegion": { + "shape": "ReplicaRegion", + "documentation": "The secondary region of the replicated bot that will be deleted.
", + "location": "uri", + "locationName": "replicaRegion" + } + } + }, + "DeleteBotReplicaResponse": { + "type": "structure", + "members": { + "botId": { + "shape": "Id", + "documentation": "The unique bot ID of the replicated bot generated.
" + }, + "replicaRegion": { + "shape": "ReplicaRegion", + "documentation": "The region of the replicated bot generated.
" + }, + "botReplicaStatus": { + "shape": "BotReplicaStatus", + "documentation": "The operational status of the replicated bot generated.
" + } + } + }, "DeleteBotRequest": { "type": "structure", "required": [ @@ -7897,6 +8315,56 @@ } } }, + "DescribeBotReplicaRequest": { + "type": "structure", + "required": [ + "botId", + "replicaRegion" + ], + "members": { + "botId": { + "shape": "Id", + "documentation": "The request for the unique bot ID of the replicated bot being monitored.
", + "location": "uri", + "locationName": "botId" + }, + "replicaRegion": { + "shape": "ReplicaRegion", + "documentation": "The request for the region of the replicated bot being monitored.
", + "location": "uri", + "locationName": "replicaRegion" + } + } + }, + "DescribeBotReplicaResponse": { + "type": "structure", + "members": { + "botId": { + "shape": "Id", + "documentation": "The unique bot ID of the replicated bot being monitored.
" + }, + "replicaRegion": { + "shape": "ReplicaRegion", + "documentation": "The region of the replicated bot being monitored.
" + }, + "sourceRegion": { + "shape": "ReplicaRegion", + "documentation": "The source region of the replicated bot being monitored.
" + }, + "creationDateTime": { + "shape": "Timestamp", + "documentation": "The creation date and time of the replicated bot being monitored.
" + }, + "botReplicaStatus": { + "shape": "BotReplicaStatus", + "documentation": "The operational status of the replicated bot being monitored.
" + }, + "failureReasons": { + "shape": "FailureReasons", + "documentation": "The failure reasons the bot being monitored failed to replicate.
" + } + } + }, "DescribeBotRequest": { "type": "structure", "required": [ @@ -10339,6 +10807,60 @@ } } }, + "ListBotAliasReplicasRequest": { + "type": "structure", + "required": [ + "botId", + "replicaRegion" + ], + "members": { + "botId": { + "shape": "Id", + "documentation": "The request for the unique bot ID of the replicated bot created from the source bot alias.
", + "location": "uri", + "locationName": "botId" + }, + "replicaRegion": { + "shape": "ReplicaRegion", + "documentation": "The request for the secondary region of the replicated bot created from the source bot alias.
", + "location": "uri", + "locationName": "replicaRegion" + }, + "maxResults": { + "shape": "MaxResults", + "documentation": "The request for maximum results to list the replicated bots created from the source bot alias.
" + }, + "nextToken": { + "shape": "NextToken", + "documentation": "The request for the next token for the replicated bot created from the source bot alias.
" + } + } + }, + "ListBotAliasReplicasResponse": { + "type": "structure", + "members": { + "botId": { + "shape": "Id", + "documentation": "The unique bot ID of the replicated bot created from the source bot alias.
" + }, + "sourceRegion": { + "shape": "ReplicaRegion", + "documentation": "The source region of the replicated bot created from the source bot alias.
" + }, + "replicaRegion": { + "shape": "ReplicaRegion", + "documentation": "The secondary region of the replicated bot created from the source bot alias.
" + }, + "botAliasReplicaSummaries": { + "shape": "BotAliasReplicaSummaryList", + "documentation": "The summary information of the replicated bot created from the source bot alias.
" + }, + "nextToken": { + "shape": "NextToken", + "documentation": "The next token for the replicated bots created from the source bot alias.
" + } + } + }, "ListBotAliasesRequest": { "type": "structure", "required": [ @@ -10497,6 +11019,37 @@ } } }, + "ListBotReplicasRequest": { + "type": "structure", + "required": [ + "botId" + ], + "members": { + "botId": { + "shape": "Id", + "documentation": "The request for the unique bot IDs in the list of replicated bots.
", + "location": "uri", + "locationName": "botId" + } + } + }, + "ListBotReplicasResponse": { + "type": "structure", + "members": { + "botId": { + "shape": "Id", + "documentation": "the unique bot IDs in the list of replicated bots.
" + }, + "sourceRegion": { + "shape": "ReplicaRegion", + "documentation": "The source region of the source bots in the list of replicated bots.
" + }, + "botReplicaSummaries": { + "shape": "BotReplicaSummaryList", + "documentation": "The summary details for the replicated bots.
" + } + } + }, "ListBotResourceGenerationsRequest": { "type": "structure", "required": [ @@ -10562,6 +11115,64 @@ } } }, + "ListBotVersionReplicasRequest": { + "type": "structure", + "required": [ + "botId", + "replicaRegion" + ], + "members": { + "botId": { + "shape": "Id", + "documentation": "The request for the unique ID in the list of replicated bots.
", + "location": "uri", + "locationName": "botId" + }, + "replicaRegion": { + "shape": "ReplicaRegion", + "documentation": "The request for the region used in the list of replicated bots.
", + "location": "uri", + "locationName": "replicaRegion" + }, + "maxResults": { + "shape": "MaxResults", + "documentation": "The maximum results given in the list of replicated bots.
" + }, + "nextToken": { + "shape": "NextToken", + "documentation": "The next token given in the list of replicated bots.
" + }, + "sortBy": { + "shape": "BotVersionReplicaSortBy", + "documentation": "The requested sort category for the list of replicated bots.
" + } + } + }, + "ListBotVersionReplicasResponse": { + "type": "structure", + "members": { + "botId": { + "shape": "Id", + "documentation": "The unique ID of the bots in the list of replicated bots.
" + }, + "sourceRegion": { + "shape": "ReplicaRegion", + "documentation": "The source region used for the bots in the list of replicated bots.
" + }, + "replicaRegion": { + "shape": "ReplicaRegion", + "documentation": "The region used for the replicated bots in the list of replicated bots.
" + }, + "botVersionReplicaSummaries": { + "shape": "BotVersionReplicaSummaryList", + "documentation": "The information summary used for the replicated bots in the list of replicated bots.
" + }, + "nextToken": { + "shape": "NextToken", + "documentation": "The next token used for the replicated bots in the list of replicated bots.
" + } + } + }, "ListBotVersionsRequest": { "type": "structure", "required": [ @@ -12370,6 +12981,12 @@ }, "documentation": "Specifies the time window that utterance statistics are returned for. The time window is always relative to the last time that the that utterances were aggregated. For example, if the ListAggregatedUtterances
operation is called at 1600, the time window is set to 1 hour, and the last refresh time was 1530, only utterances made between 1430 and 1530 are returned.
You can choose the time window that statistics should be returned for.
Hours - You can request utterance statistics for 1, 3, 6, 12, or 24 hour time windows. Statistics are refreshed every half hour for 1 hour time windows, and hourly for the other time windows.
Days - You can request utterance statistics for 3 days. Statistics are refreshed every 6 hours.
Weeks - You can see statistics for one or two weeks. Statistics are refreshed every 12 hours for one week time windows, and once per day for two week time windows.
The region that contains the replicated bots. Minimum value = 2, maximum value = 25.
", + "max": 25, + "min": 2 + }, "ResourceCount": { "type": "integer" }, diff --git a/apis/models.lex.v2-2020-08-07.paginators.json b/apis/models.lex.v2-2020-08-07.paginators.json index 3ccc0d6b5e..73893bc54a 100644 --- a/apis/models.lex.v2-2020-08-07.paginators.json +++ b/apis/models.lex.v2-2020-08-07.paginators.json @@ -5,6 +5,11 @@ "output_token": "nextToken", "limit_key": "maxResults" }, + "ListBotAliasReplicas": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults" + }, "ListBotAliases": { "input_token": "nextToken", "output_token": "nextToken", @@ -25,6 +30,11 @@ "output_token": "nextToken", "limit_key": "maxResults" }, + "ListBotVersionReplicas": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults" + }, "ListBotVersions": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/apis/redshift-2012-12-01.min.json b/apis/redshift-2012-12-01.min.json index f724af9166..507f2e389d 100644 --- a/apis/redshift-2012-12-01.min.json +++ b/apis/redshift-2012-12-01.min.json @@ -2664,6 +2664,71 @@ } } }, + "ListRecommendations": { + "input": { + "type": "structure", + "members": { + "ClusterIdentifier": {}, + "NamespaceArn": {}, + "MaxRecords": { + "type": "integer" + }, + "Marker": {} + } + }, + "output": { + "resultWrapper": "ListRecommendationsResult", + "type": "structure", + "members": { + "Recommendations": { + "type": "list", + "member": { + "locationName": "Recommendation", + "type": "structure", + "members": { + "Id": {}, + "ClusterIdentifier": {}, + "NamespaceArn": {}, + "CreatedAt": { + "type": "timestamp" + }, + "RecommendationType": {}, + "Title": {}, + "Description": {}, + "Observation": {}, + "ImpactRanking": {}, + "RecommendationText": {}, + "RecommendedActions": { + "type": "list", + "member": { + "locationName": "RecommendedAction", + "type": "structure", + "members": { + "Text": {}, + "Database": {}, + "Command": {}, + "Type": {} + } + } + }, + "ReferenceLinks": { + "type": "list", + "member": { + "locationName": "ReferenceLink", + "type": "structure", + "members": { + "Text": {}, + "Link": {} + } + } + } + } + } + }, + "Marker": {} + } + } + }, "ModifyAquaConfiguration": { "input": { "type": "structure", @@ -2879,7 +2944,7 @@ } }, "output": { - "shape": "Sbf", + "shape": "Sbp", "resultWrapper": "ModifyClusterParameterGroupResult" } }, @@ -3259,7 +3324,7 @@ } }, "output": { - "shape": "Sbf", + "shape": "Sbp", "resultWrapper": "ResetClusterParameterGroupResult" } }, @@ -4725,7 +4790,7 @@ "Policy": {} } }, - "Sbf": { + "Sbp": { "type": "structure", "members": { "ParameterGroupName": {}, diff --git a/apis/redshift-2012-12-01.normal.json b/apis/redshift-2012-12-01.normal.json index 25635109e4..0fc10bea6d 100644 --- a/apis/redshift-2012-12-01.normal.json +++ b/apis/redshift-2012-12-01.normal.json @@ -2638,6 +2638,29 @@ ], "documentation": "Get the resource policy for a specified resource.
" }, + "ListRecommendations": { + "name": "ListRecommendations", + "http": { + "method": "POST", + "requestUri": "/" + }, + "input": { + "shape": "ListRecommendationsMessage" + }, + "output": { + "shape": "ListRecommendationsResult", + "resultWrapper": "ListRecommendationsResult" + }, + "errors": [ + { + "shape": "ClusterNotFoundFault" + }, + { + "shape": "UnsupportedOperationFault" + } + ], + "documentation": "List the Amazon Redshift Advisor recommendations for one or multiple Amazon Redshift clusters in an Amazon Web Services account.
" + }, "ModifyAquaConfiguration": { "name": "ModifyAquaConfiguration", "http": { @@ -8140,6 +8163,14 @@ "min": 1, "pattern": "^[a-zA-Z0-9_+.#@$-]+$" }, + "ImpactRankingType": { + "type": "string", + "enum": [ + "HIGH", + "MEDIUM", + "LOW" + ] + }, "ImportTablesCompleted": { "type": "list", "member": { @@ -8268,6 +8299,40 @@ "shape": "LakeFormationScopeUnion" } }, + "ListRecommendationsMessage": { + "type": "structure", + "members": { + "ClusterIdentifier": { + "shape": "String", + "documentation": "The unique identifier of the Amazon Redshift cluster for which the list of Advisor recommendations is returned. If the neither the cluster identifier and the cluster namespace ARN parameters are specified, then recommendations for all clusters in the account are returned.
" + }, + "NamespaceArn": { + "shape": "String", + "documentation": "The Amazon Redshift cluster namespace Amazon Resource Name (ARN) for which the list of Advisor recommendations is returned. If the neither the cluster identifier and the cluster namespace ARN parameters are specified, then recommendations for all clusters in the account are returned.
" + }, + "MaxRecords": { + "shape": "IntegerOptional", + "documentation": "The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
" + }, + "Marker": { + "shape": "String", + "documentation": "A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
" + } + } + }, + "ListRecommendationsResult": { + "type": "structure", + "members": { + "Recommendations": { + "shape": "RecommendationList", + "documentation": "The Advisor recommendations for action on the Amazon Redshift cluster.
" + }, + "Marker": { + "shape": "String", + "documentation": "A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
" + } + } + }, "LogDestinationType": { "type": "string", "enum": [ @@ -9473,6 +9538,103 @@ } } }, + "Recommendation": { + "type": "structure", + "members": { + "Id": { + "shape": "String", + "documentation": "A unique identifier of the Advisor recommendation.
" + }, + "ClusterIdentifier": { + "shape": "String", + "documentation": "The unique identifier of the cluster for which the recommendation is returned.
" + }, + "NamespaceArn": { + "shape": "String", + "documentation": "The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
" + }, + "CreatedAt": { + "shape": "TStamp", + "documentation": "The date and time (UTC) that the recommendation was created.
" + }, + "RecommendationType": { + "shape": "String", + "documentation": "The type of Advisor recommendation.
" + }, + "Title": { + "shape": "String", + "documentation": "The title of the recommendation.
" + }, + "Description": { + "shape": "String", + "documentation": "The description of the recommendation.
" + }, + "Observation": { + "shape": "String", + "documentation": "The description of what was observed about your cluster.
" + }, + "ImpactRanking": { + "shape": "ImpactRankingType", + "documentation": "The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
" + }, + "RecommendationText": { + "shape": "String", + "documentation": "The description of the recommendation.
" + }, + "RecommendedActions": { + "shape": "RecommendedActionList", + "documentation": "List of Amazon Redshift recommended actions.
" + }, + "ReferenceLinks": { + "shape": "ReferenceLinkList", + "documentation": "List of helpful links for more information about the Advisor recommendation.
" + } + }, + "documentation": "An Amazon Redshift Advisor recommended action on the Amazon Redshift cluster.
" + }, + "RecommendationList": { + "type": "list", + "member": { + "shape": "Recommendation", + "locationName": "Recommendation" + } + }, + "RecommendedAction": { + "type": "structure", + "members": { + "Text": { + "shape": "String", + "documentation": "The specific instruction about the command.
" + }, + "Database": { + "shape": "String", + "documentation": "The database name to perform the action on. Only applicable if the type of command is SQL.
" + }, + "Command": { + "shape": "String", + "documentation": "The command to run.
" + }, + "Type": { + "shape": "RecommendedActionType", + "documentation": "The type of command.
" + } + }, + "documentation": "The recommended action from the Amazon Redshift Advisor recommendation.
" + }, + "RecommendedActionList": { + "type": "list", + "member": { + "shape": "RecommendedAction", + "locationName": "RecommendedAction" + } + }, + "RecommendedActionType": { + "type": "string", + "enum": [ + "SQL", + "CLI" + ] + }, "RecurringCharge": { "type": "structure", "members": { @@ -9554,6 +9716,27 @@ "min": 1, "pattern": "[a-z][a-z0-9]*(-[a-z0-9]+)*" }, + "ReferenceLink": { + "type": "structure", + "members": { + "Text": { + "shape": "String", + "documentation": "The hyperlink text that describes the link to more information.
" + }, + "Link": { + "shape": "String", + "documentation": "The URL address to find more information.
" + } + }, + "documentation": "A link to an Amazon Redshift Advisor reference for more information about a recommendation.
" + }, + "ReferenceLinkList": { + "type": "list", + "member": { + "shape": "ReferenceLink", + "locationName": "ReferenceLink" + } + }, "RejectDataShareMessage": { "type": "structure", "required": [ diff --git a/apis/redshift-2012-12-01.paginators.json b/apis/redshift-2012-12-01.paginators.json index 4403ac87b2..8dc4a35f6b 100644 --- a/apis/redshift-2012-12-01.paginators.json +++ b/apis/redshift-2012-12-01.paginators.json @@ -209,6 +209,12 @@ "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "ReservedNodeOfferings" + }, + "ListRecommendations": { + "input_token": "Marker", + "limit_key": "MaxRecords", + "output_token": "Marker", + "result_key": "Recommendations" } } } \ No newline at end of file diff --git a/clients/datasync.d.ts b/clients/datasync.d.ts index d6ed9f8fcd..e4ba8dae7a 100644 --- a/clients/datasync.d.ts +++ b/clients/datasync.d.ts @@ -36,91 +36,91 @@ declare class DataSync extends Service { */ createAgent(callback?: (err: AWSError, data: DataSync.Types.CreateAgentResponse) => void): Request>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:s-1,y=a?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,i),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&n,d+=y,n/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],443:[function(e,t,r){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}],444:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var s=0;s G((f-r)/g)&&i("overflow"),r+=(p-t)*g,t=p,u=0;u =0?(c=b.substr(0,S),l=b.substr(S+1)):(c=b,l=""),d=decodeURIComponent(c),y=decodeURIComponent(l),a(o,d)?i(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],448:[function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a >1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:s-1,y=a?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,i),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&n,d+=y,n/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],443:[function(e,t,r){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}],444:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var s=0;s=55296&&t<=56319&&i65535&&(e-=65536,t+=w(e>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var a=0;for(e=r?G(e/R):e>>1,e+=G(e/t);e>L*k>>1;a+=T)e=G(e/L);return G(a+(L+1)*e/(e+A))}function l(e){var t,r,a,s,o,n,m,l,d,y,b=[],S=e.length,g=0,h=v,I=D;for(r=e.lastIndexOf(x),r<0&&(r=0),a=0;a=S&&i("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-g)/n))&&i("overflow"),g+=l*n,d=m<=I?C:m>=I+k?k:m-I,!(l=t&&bf&&i("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l=0&&delete e.httpRequest.headers["Content-Length"]}function i(e){var t=new l,r=e.service.api.operations[e.operation].input;if(r.payload){var a={},i=r.members[r.payload];a=e.params[r.payload],"structure"===i.type?(e.httpRequest.body=t.build(a||{},i),s(e)):void 0!==a&&(e.httpRequest.body=a,("binary"===i.type||i.isStreaming)&&s(e,!0))}else e.httpRequest.body=t.build(e.params,r),s(e)}function s(e,t){if(!e.httpRequest.headers["Content-Type"]){var r=t?"binary/octet-stream":"application/json";e.httpRequest.headers["Content-Type"]=r}}function o(e){m.buildRequest(e),y.indexOf(e.httpRequest.method)<0&&i(e)}function n(e){c.extractError(e)}function u(e){m.extractData(e);var t,r=e.request,a=r.service.api.operations[r.operation],i=r.service.api.operations[r.operation].output||{};a.hasEventOutput;if(i.payload){var s=i.members[i.payload],o=e.httpResponse.body;if(s.isEventStream)t=new d,e.data[payload]=p.createEventStream(2===AWS.HttpClient.streamsApiVersion?e.httpResponse.stream:o,t,s);else if("structure"===s.type||"list"===s.type){var t=new d;e.data[i.payload]=t.parse(o,s)}else"binary"===s.type||s.isStreaming?e.data[i.payload]=o:e.data[i.payload]=s.toType(o)}else{var n=e.data;c.extractData(e),e.data=p.merge(n,e.data)}}var p=e("../util"),m=e("./rest"),c=e("./json"),l=e("../json/builder"),d=e("../json/parser"),y=["GET","HEAD","DELETE"];t.exports={buildRequest:o,extractError:n,extractData:u,unsetContentLength:a}},{"../json/builder":374,"../json/parser":375,"../util":428,"./json":386,"./rest":388}],390:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation].input,r=new n.XML.Builder,a=e.params,i=t.payload;if(i){var s=t.members[i];if(void 0===(a=a[i]))return;if("structure"===s.type){var o=s.name;e.httpRequest.body=r.toXML(a,s,o,!0)}else e.httpRequest.body=a}else e.httpRequest.body=r.toXML(a,t,t.name||t.shape||u.string.upperFirst(e.operation)+"Request")}function i(e){p.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&a(e)}function s(e){p.extractError(e);var t;try{t=(new n.XML.Parser).parse(e.httpResponse.body.toString())}catch(r){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=u.error(new Error,{code:t.Code,message:t.Message}):e.error=u.error(new Error,{code:e.httpResponse.statusCode,message:null})}function o(e){p.extractData(e);var t,r=e.request,a=e.httpResponse.body,i=r.service.api.operations[r.operation],s=i.output,o=(i.hasEventOutput,s.payload);if(o){var m=s.members[o];m.isEventStream?(t=new n.XML.Parser,e.data[o]=u.createEventStream(2===n.HttpClient.streamsApiVersion?e.httpResponse.stream:e.httpResponse.body,t,m)):"structure"===m.type?(t=new n.XML.Parser,e.data[o]=t.parse(a.toString(),m)):"binary"===m.type||m.isStreaming?e.data[o]=a:e.data[o]=m.toType(a)}else if(a.length>0){t=new n.XML.Parser;var c=t.parse(a.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:i,extractError:s,extractData:o}},{"../core":350,"../util":428,"./rest":388}],391:[function(e,t,r){function a(){}function i(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,a){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=i(s);n=e?e+"."+n:n,u(n,o,s,a)}})}function o(e,t,r,a){var i=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+i+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,a),u(e+m,s,r.value,a)})}function n(e,t,r,a){var s=r.member||{};if(0===t.length)return void a.call(this,e,null);p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(i(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,a)})}function u(e,t,r,a){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,a):"list"===r.type?n(e,t,r,a):"map"===r.type?o(e,t,r,a):a(e,r.toWireFormat(t).toString()))}var p=e("../util");a.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=a},{"../util":428}],392:[function(e,t,r){var a=e("../core"),i=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};a.RDS.Signer=a.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=a.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new a.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),i=new a.Service(u),i.api=s;var p=i.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,a){a&&(a=r.convertUrlToAuthToken(a)),t(e,a)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=a.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||a.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":350}],393:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],394:[function(e,t,r){function a(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function i(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)}function s(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}t.exports={isFipsRegion:a,isGlobalRegion:i,getRealRegion:s}},{}],395:[function(e,t,r){function a(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function i(e){var t=e.config.region,r=a(t),i=e.api.endpointPrefix;return[[t,i],[r,i],[t,"*"],[r,"*"],["*",i],[t,"internal-*"],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=i(e),r=e.config.useFipsEndpoint,a=e.config.useDualstackEndpoint,o=0;o=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),s.alloc(+e)}function S(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(a)return K(e).length;t=(""+t).toLowerCase(),a=!0}}function g(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return P(this,t,r);case"latin1":case"binary":return q(this,t,r);case"base64":return D(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function h(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function I(e,t,r,a,i){if(0===e.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=s.from(t,a)),s.isBuffer(t))return 0===t.length?-1:N(e,t,r,a,i);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):N(e,[t],r,a,i);throw new TypeError("val must be string, number or Buffer")}function N(e,t,r,a,i){function s(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,n=e.length,u=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;o=2,n/=2,u/=2,r/=2}var p;if(i){var m=-1;for(p=r;p>>8*(a?i:1-i)}function B(e,t,r,a){t<0&&(t=4294967295+t+1);for(var i=0,s=Math.min(e.length-r,4);i>>8*(a?i:3-i)&255}function U(e,t,r,a,i,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _(e,t,r,a,i){return i||U(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,t,r,a,23,4),r+4}function F(e,t,r,a,i){return i||U(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,t,r,a,52,8),r+8}function O(e){if(e=V(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){t=t||1/0;for(var r,a=e.length,i=null,s=[],o=0;o55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===a){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function W(e){for(var t=[],r=0;r