diff --git a/.changes/2.1021.0.json b/.changes/2.1021.0.json new file mode 100644 index 0000000000..23385b7ae2 --- /dev/null +++ b/.changes/2.1021.0.json @@ -0,0 +1,22 @@ +[ + { + "type": "feature", + "category": "ConnectParticipant", + "description": "This release adds a new boolean attribute - Connect Participant - to the CreateParticipantConnection API, which can be used to mark the participant as connected." + }, + { + "type": "feature", + "category": "DataSync", + "description": "AWS DataSync now supports Hadoop Distributed File System (HDFS) Locations" + }, + { + "type": "feature", + "category": "Finspace", + "description": "Adds superuser and data-bundle parameters to CreateEnvironment API" + }, + { + "type": "feature", + "category": "Macie2", + "description": "This release adds support for specifying the severity of findings that a custom data identifier produces, based on the number of occurrences of text that matches the detection criteria." + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b35bdaad9..4a32684efd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,13 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1021.0 +* feature: ConnectParticipant: This release adds a new boolean attribute - Connect Participant - to the CreateParticipantConnection API, which can be used to mark the participant as connected. +* feature: DataSync: AWS DataSync now supports Hadoop Distributed File System (HDFS) Locations +* feature: Finspace: Adds superuser and data-bundle parameters to CreateEnvironment API +* feature: Macie2: This release adds support for specifying the severity of findings that a custom data identifier produces, based on the number of occurrences of text that matches the detection criteria. + ## 2.1020.0 * feature: CloudFront: CloudFront now supports response headers policies to add HTTP headers to the responses that CloudFront sends to viewers. You can use these policies to add CORS headers, control browser caching, and more, without modifying your origin or writing any code. * feature: Connect: Amazon Connect Chat now supports real-time message streaming. diff --git a/README.md b/README.md index 3062a12c48..95fb818e81 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma To use the SDK in the browser, simply add the following script tag to your HTML pages: - + You can also build a custom browser SDK with your specified set of AWS services. This can allow you to reduce the SDK's size, specify different API versions of diff --git a/apis/connectparticipant-2018-09-07.normal.json b/apis/connectparticipant-2018-09-07.normal.json index 1dc2dd6586..302d7bdaa1 100644 --- a/apis/connectparticipant-2018-09-07.normal.json +++ b/apis/connectparticipant-2018-09-07.normal.json @@ -336,11 +336,7 @@ "MESSAGE", "EVENT", "ATTACHMENT", - "CONNECTION_ACK", - "PARTICIPANT_ACTIVE", - "PARTICIPANT_INACTIVE", - "PARTICIPANT_ENGAGED", - "PARTICIPANT_DISENGAGED" + "CONNECTION_ACK" ] }, "ClientToken": { diff --git a/apis/datasync-2018-11-09.min.json b/apis/datasync-2018-11-09.min.json index 677ef7043a..59c17acbf7 100644 --- a/apis/datasync-2018-11-09.min.json +++ b/apis/datasync-2018-11-09.min.json @@ -114,6 +114,53 @@ } } }, + "CreateLocationHdfs": { + "input": { + "type": "structure", + "required": [ + "NameNodes", + "AuthenticationType", + "AgentArns" + ], + "members": { + "Subdirectory": {}, + "NameNodes": { + "shape": "Sx" + }, + "BlockSize": { + "type": "integer" + }, + "ReplicationFactor": { + "type": "integer" + }, + "KmsKeyProviderUri": {}, + "QopConfiguration": { + "shape": "S14" + }, + "AuthenticationType": {}, + "SimpleUser": {}, + "KerberosPrincipal": {}, + "KerberosKeytab": { + "type": "blob" + }, + "KerberosKrb5Conf": { + "type": "blob" + }, + "AgentArns": { + "shape": "S1c" + }, + "Tags": { + "shape": "S7" + } + } + }, + "output": { + "type": "structure", + "members": { + "LocationArn": {} + } + } + }, "CreateLocationNfs": { "input": { "type": "structure", @@ -126,10 +173,10 @@ "Subdirectory": {}, "ServerHostname": {}, "OnPremConfig": { - "shape": "Sy" + "shape": "S1h" }, "MountOptions": { - "shape": "S10" + "shape": "S1i" }, "Tags": { "shape": "S7" @@ -161,10 +208,10 @@ "BucketName": {}, "AccessKey": {}, "SecretKey": { - "shape": "S19" + "shape": "S1r" }, "AgentArns": { - "shape": "Sz" + "shape": "S1c" }, "Tags": { "shape": "S7" @@ -190,10 +237,10 @@ "S3BucketArn": {}, "S3StorageClass": {}, "S3Config": { - "shape": "S1e" + "shape": "S1w" }, "AgentArns": { - "shape": "Sz" + "shape": "S1c" }, "Tags": { "shape": "S7" @@ -226,10 +273,10 @@ "shape": "St" }, "AgentArns": { - "shape": "Sz" + "shape": "S1c" }, "MountOptions": { - "shape": "S1j" + "shape": "S21" }, "Tags": { "shape": "S7" @@ -256,19 +303,19 @@ "CloudWatchLogGroupArn": {}, "Name": {}, "Options": { - "shape": "S1o" + "shape": "S26" }, "Excludes": { - "shape": "S23" + "shape": "S2l" }, "Schedule": { - "shape": "S27" + "shape": "S2p" }, "Tags": { "shape": "S7" }, "Includes": { - "shape": "S23" + "shape": "S2l" } } }, @@ -413,6 +460,46 @@ } } }, + "DescribeLocationHdfs": { + "input": { + "type": "structure", + "required": [ + "LocationArn" + ], + "members": { + "LocationArn": {} + } + }, + "output": { + "type": "structure", + "members": { + "LocationArn": {}, + "LocationUri": {}, + "NameNodes": { + "shape": "Sx" + }, + "BlockSize": { + "type": "integer" + }, + "ReplicationFactor": { + "type": "integer" + }, + "KmsKeyProviderUri": {}, + "QopConfiguration": { + "shape": "S14" + }, + "AuthenticationType": {}, + "SimpleUser": {}, + "KerberosPrincipal": {}, + "AgentArns": { + "shape": "S1c" + }, + "CreationTime": { + "type": "timestamp" + } + } + } + }, "DescribeLocationNfs": { "input": { "type": "structure", @@ -429,10 +516,10 @@ "LocationArn": {}, "LocationUri": {}, "OnPremConfig": { - "shape": "Sy" + "shape": "S1h" }, "MountOptions": { - "shape": "S10" + "shape": "S1i" }, "CreationTime": { "type": "timestamp" @@ -461,7 +548,7 @@ }, "ServerProtocol": {}, "AgentArns": { - "shape": "Sz" + "shape": "S1c" }, "CreationTime": { "type": "timestamp" @@ -486,10 +573,10 @@ "LocationUri": {}, "S3StorageClass": {}, "S3Config": { - "shape": "S1e" + "shape": "S1w" }, "AgentArns": { - "shape": "Sz" + "shape": "S1c" }, "CreationTime": { "type": "timestamp" @@ -513,12 +600,12 @@ "LocationArn": {}, "LocationUri": {}, "AgentArns": { - "shape": "Sz" + "shape": "S1c" }, "User": {}, "Domain": {}, "MountOptions": { - "shape": "S1j" + "shape": "S21" }, "CreationTime": { "type": "timestamp" @@ -555,13 +642,13 @@ "member": {} }, "Options": { - "shape": "S1o" + "shape": "S26" }, "Excludes": { - "shape": "S23" + "shape": "S2l" }, "Schedule": { - "shape": "S27" + "shape": "S2p" }, "ErrorCode": {}, "ErrorDetail": {}, @@ -569,7 +656,7 @@ "type": "timestamp" }, "Includes": { - "shape": "S23" + "shape": "S2l" } } } @@ -590,13 +677,13 @@ "TaskExecutionArn": {}, "Status": {}, "Options": { - "shape": "S1o" + "shape": "S26" }, "Excludes": { - "shape": "S23" + "shape": "S2l" }, "Includes": { - "shape": "S23" + "shape": "S2l" }, "StartTime": { "type": "timestamp" @@ -689,7 +776,7 @@ "members": { "Name": {}, "Values": { - "shape": "S3p" + "shape": "S49" }, "Operator": {} } @@ -789,7 +876,7 @@ "members": { "Name": {}, "Values": { - "shape": "S3p" + "shape": "S49" }, "Operator": {} } @@ -824,13 +911,13 @@ "members": { "TaskArn": {}, "OverrideOptions": { - "shape": "S1o" + "shape": "S26" }, "Includes": { - "shape": "S23" + "shape": "S2l" }, "Excludes": { - "shape": "S23" + "shape": "S2l" } } }, @@ -896,6 +983,47 @@ "members": {} } }, + "UpdateLocationHdfs": { + "input": { + "type": "structure", + "required": [ + "LocationArn" + ], + "members": { + "LocationArn": {}, + "Subdirectory": {}, + "NameNodes": { + "shape": "Sx" + }, + "BlockSize": { + "type": "integer" + }, + "ReplicationFactor": { + "type": "integer" + }, + "KmsKeyProviderUri": {}, + "QopConfiguration": { + "shape": "S14" + }, + "AuthenticationType": {}, + "SimpleUser": {}, + "KerberosPrincipal": {}, + "KerberosKeytab": { + "type": "blob" + }, + "KerberosKrb5Conf": { + "type": "blob" + }, + "AgentArns": { + "shape": "S1c" + } + } + }, + "output": { + "type": "structure", + "members": {} + } + }, "UpdateLocationNfs": { "input": { "type": "structure", @@ -906,10 +1034,10 @@ "LocationArn": {}, "Subdirectory": {}, "OnPremConfig": { - "shape": "Sy" + "shape": "S1h" }, "MountOptions": { - "shape": "S10" + "shape": "S1i" } } }, @@ -933,10 +1061,10 @@ "Subdirectory": {}, "AccessKey": {}, "SecretKey": { - "shape": "S19" + "shape": "S1r" }, "AgentArns": { - "shape": "Sz" + "shape": "S1c" } } }, @@ -960,10 +1088,10 @@ "shape": "St" }, "AgentArns": { - "shape": "Sz" + "shape": "S1c" }, "MountOptions": { - "shape": "S1j" + "shape": "S21" } } }, @@ -981,18 +1109,18 @@ "members": { "TaskArn": {}, "Options": { - "shape": "S1o" + "shape": "S26" }, "Excludes": { - "shape": "S23" + "shape": "S2l" }, "Schedule": { - "shape": "S27" + "shape": "S2p" }, "Name": {}, "CloudWatchLogGroupArn": {}, "Includes": { - "shape": "S23" + "shape": "S2l" } } }, @@ -1011,7 +1139,7 @@ "members": { "TaskExecutionArn": {}, "Options": { - "shape": "S1o" + "shape": "S26" } } }, @@ -1067,32 +1195,55 @@ "type": "string", "sensitive": true }, - "Sy": { + "Sx": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "Hostname", + "Port" + ], + "members": { + "Hostname": {}, + "Port": { + "type": "integer" + } + } + } + }, + "S14": { + "type": "structure", + "members": { + "RpcProtection": {}, + "DataTransferProtection": {} + } + }, + "S1c": { + "type": "list", + "member": {} + }, + "S1h": { "type": "structure", "required": [ "AgentArns" ], "members": { "AgentArns": { - "shape": "Sz" + "shape": "S1c" } } }, - "Sz": { - "type": "list", - "member": {} - }, - "S10": { + "S1i": { "type": "structure", "members": { "Version": {} } }, - "S19": { + "S1r": { "type": "string", "sensitive": true }, - "S1e": { + "S1w": { "type": "structure", "required": [ "BucketAccessRoleArn" @@ -1101,13 +1252,13 @@ "BucketAccessRoleArn": {} } }, - "S1j": { + "S21": { "type": "structure", "members": { "Version": {} } }, - "S1o": { + "S26": { "type": "structure", "members": { "VerifyMode": {}, @@ -1128,7 +1279,7 @@ "SecurityDescriptorCopyFlags": {} } }, - "S23": { + "S2l": { "type": "list", "member": { "type": "structure", @@ -1138,7 +1289,7 @@ } } }, - "S27": { + "S2p": { "type": "structure", "required": [ "ScheduleExpression" @@ -1147,7 +1298,7 @@ "ScheduleExpression": {} } }, - "S3p": { + "S49": { "type": "list", "member": {} } diff --git a/apis/datasync-2018-11-09.normal.json b/apis/datasync-2018-11-09.normal.json index 79aaec29a0..9736ecd0e1 100644 --- a/apis/datasync-2018-11-09.normal.json +++ b/apis/datasync-2018-11-09.normal.json @@ -102,6 +102,28 @@ ], "documentation": "

Creates an endpoint for an Amazon FSx for Windows File Server file system.

" }, + "CreateLocationHdfs": { + "name": "CreateLocationHdfs", + "http": { + "method": "POST", + "requestUri": "/" + }, + "input": { + "shape": "CreateLocationHdfsRequest" + }, + "output": { + "shape": "CreateLocationHdfsResponse" + }, + "errors": [ + { + "shape": "InvalidRequestException" + }, + { + "shape": "InternalException" + } + ], + "documentation": "

Creates an endpoint for a Hadoop Distributed File System (HDFS).

" + }, "CreateLocationNfs": { "name": "CreateLocationNfs", "http": { @@ -344,6 +366,28 @@ ], "documentation": "

Returns metadata, such as the path information about an Amazon FSx for Windows File Server location.

" }, + "DescribeLocationHdfs": { + "name": "DescribeLocationHdfs", + "http": { + "method": "POST", + "requestUri": "/" + }, + "input": { + "shape": "DescribeLocationHdfsRequest" + }, + "output": { + "shape": "DescribeLocationHdfsResponse" + }, + "errors": [ + { + "shape": "InvalidRequestException" + }, + { + "shape": "InternalException" + } + ], + "documentation": "

Returns metadata, such as the authentication information about the Hadoop Distributed File System (HDFS) location.

" + }, "DescribeLocationNfs": { "name": "DescribeLocationNfs", "http": { @@ -674,6 +718,28 @@ ], "documentation": "

Updates the name of an agent.

" }, + "UpdateLocationHdfs": { + "name": "UpdateLocationHdfs", + "http": { + "method": "POST", + "requestUri": "/" + }, + "input": { + "shape": "UpdateLocationHdfsRequest" + }, + "output": { + "shape": "UpdateLocationHdfsResponse" + }, + "errors": [ + { + "shape": "InvalidRequestException" + }, + { + "shape": "InternalException" + } + ], + "documentation": "

Updates some parameters of a previously created location for a Hadoop Distributed File System cluster.

" + }, "UpdateLocationNfs": { "name": "UpdateLocationNfs", "http": { @@ -990,6 +1056,77 @@ } } }, + "CreateLocationHdfsRequest": { + "type": "structure", + "required": [ + "NameNodes", + "AuthenticationType", + "AgentArns" + ], + "members": { + "Subdirectory": { + "shape": "HdfsSubdirectory", + "documentation": "

A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.

" + }, + "NameNodes": { + "shape": "HdfsNameNodeList", + "documentation": "

The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.

" + }, + "BlockSize": { + "shape": "HdfsBlockSize", + "documentation": "

The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).

" + }, + "ReplicationFactor": { + "shape": "HdfsReplicationFactor", + "documentation": "

The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.

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

The URI of the HDFS cluster's Key Management Server (KMS).

" + }, + "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. If QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to PRIVACY. If you set RpcProtection or DataTransferProtection, the other parameter assumes the same value.

" + }, + "AuthenticationType": { + "shape": "HdfsAuthenticationType", + "documentation": "

The type of authentication used to determine the identity of the user.

" + }, + "SimpleUser": { + "shape": "HdfsUser", + "documentation": "

The user name used to identify the client on the host operating system.

If SIMPLE is specified for AuthenticationType, this parameter is required.

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

The Kerberos principal with access to the files and folders on the HDFS cluster.

If KERBEROS is specified for AuthenticationType, this parameter is required.

" + }, + "KerberosKeytab": { + "shape": "KerberosKeytabFile", + "documentation": "

The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. You can load the keytab from a file by providing the file's address. If you're using the CLI, it performs base64 encoding for you. Otherwise, provide the base64-encoded text.

If KERBEROS is specified for AuthenticationType, this parameter is required.

" + }, + "KerberosKrb5Conf": { + "shape": "KerberosKrb5ConfFile", + "documentation": "

The krb5.conf file that contains the Kerberos configuration information. You can load the krb5.conf file by providing the file's address. If you're using the CLI, it performs the base64 encoding for you. Otherwise, provide the base64-encoded text.

If KERBEROS is specified for AuthenticationType, this parameter is required.

" + }, + "AgentArns": { + "shape": "AgentArnList", + "documentation": "

The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.

" + }, + "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.

" + } + } + }, + "CreateLocationHdfsResponse": { + "type": "structure", + "members": { + "LocationArn": { + "shape": "LocationArn", + "documentation": "

The ARN of the source HDFS cluster location that's created.

" + } + } + }, "CreateLocationNfsRequest": { "type": "structure", "required": [ @@ -1227,7 +1364,7 @@ }, "Includes": { "shape": "FilterList", - "documentation": "

A list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by \"|\" (that is, a pipe). For example: \"/folder1|/folder2\"

" + "documentation": "

A list of filter rules that determines which files to include when running a task. The pattern contains a single filter string that consists of the patterns to include. The patterns are delimited by \"|\" (that is, a pipe), for example, \"/folder1|/folder2\".

" } }, "documentation": "

CreateTaskRequest

" @@ -1415,6 +1552,71 @@ } } }, + "DescribeLocationHdfsRequest": { + "type": "structure", + "required": [ + "LocationArn" + ], + "members": { + "LocationArn": { + "shape": "LocationArn", + "documentation": "

The Amazon Resource Name (ARN) of the HDFS cluster location to describe.

" + } + } + }, + "DescribeLocationHdfsResponse": { + "type": "structure", + "members": { + "LocationArn": { + "shape": "LocationArn", + "documentation": "

The ARN of the HDFS cluster location.

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

The URI of the HDFS cluster location.

" + }, + "NameNodes": { + "shape": "HdfsNameNodeList", + "documentation": "

The NameNode that manage the HDFS namespace.

" + }, + "BlockSize": { + "shape": "HdfsBlockSize", + "documentation": "

The size of the data blocks to write into the HDFS cluster.

" + }, + "ReplicationFactor": { + "shape": "HdfsReplicationFactor", + "documentation": "

The number of DataNodes to replicate the data to when writing to the HDFS cluster.

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

The URI of the HDFS cluster's Key Management Server (KMS).

" + }, + "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.

" + }, + "AuthenticationType": { + "shape": "HdfsAuthenticationType", + "documentation": "

The type of authentication used to determine the identity of the user.

" + }, + "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.

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

The Kerberos principal with access to the files and folders on the HDFS cluster. This parameter is used if the AuthenticationType is defined as KERBEROS.

" + }, + "AgentArns": { + "shape": "AgentArnList", + "documentation": "

The ARNs of the agents that are used to connect to the HDFS cluster.

" + }, + "CreationTime": { + "shape": "Time", + "documentation": "

The time that the HDFS location was created.

" + } + } + }, "DescribeLocationNfsRequest": { "type": "structure", "required": [ @@ -1701,11 +1903,11 @@ }, "SourceNetworkInterfaceArns": { "shape": "SourceNetworkInterfaceArns", - "documentation": "

The Amazon Resource Name (ARN) of the source ENIs (Elastic Network Interface) that was created for your subnet.

" + "documentation": "

The Amazon Resource Names (ARNs) of the source elastic network interfaces (ENIs) that were created for your subnet.

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

The Amazon Resource Name (ARN) of the destination ENIs (Elastic Network Interface) that was created for your subnet.

" + "documentation": "

The Amazon Resource Names (ARNs) of the destination elastic network interfaces (ENIs) that were created for your subnet.

" }, "Options": { "shape": "Options", @@ -1713,7 +1915,7 @@ }, "Excludes": { "shape": "FilterList", - "documentation": "

A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by \"|\" (that is, a pipe), for example: \"/folder1|/folder2\"

" + "documentation": "

A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by \"|\" (that is, a pipe), for example, \"/folder1|/folder2\".

" }, "Schedule": { "shape": "TaskSchedule", @@ -1733,7 +1935,7 @@ }, "Includes": { "shape": "FilterList", - "documentation": "

A list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by \"|\" (that is, a pipe). For example: \"/folder1|/folder2\"

" + "documentation": "

A list of filter rules that determines which files to include when running a task. The pattern contains a single filter string that consists of the patterns to include. The patterns are delimited by \"|\" (that is, a pipe), for example, \"/folder1|/folder2\".

" } }, "documentation": "

DescribeTaskResponse

" @@ -1874,6 +2076,91 @@ "BOTH" ] }, + "HdfsAuthenticationType": { + "type": "string", + "enum": [ + "SIMPLE", + "KERBEROS" + ] + }, + "HdfsBlockSize": { + "type": "integer", + "box": true, + "max": 1073741824, + "min": 1048576 + }, + "HdfsDataTransferProtection": { + "type": "string", + "enum": [ + "DISABLED", + "AUTHENTICATION", + "INTEGRITY", + "PRIVACY" + ] + }, + "HdfsNameNode": { + "type": "structure", + "required": [ + "Hostname", + "Port" + ], + "members": { + "Hostname": { + "shape": "HdfsServerHostname", + "documentation": "

The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that's installed on-premises uses this hostname to communicate with the NameNode in the network.

" + }, + "Port": { + "shape": "HdfsServerPort", + "documentation": "

The port that the NameNode uses to listen to client requests.

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

The NameNode of the Hadoop Distributed File System (HDFS). The NameNode manages the file system's namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes.

" + }, + "HdfsNameNodeList": { + "type": "list", + "member": { + "shape": "HdfsNameNode" + }, + "min": 1 + }, + "HdfsReplicationFactor": { + "type": "integer", + "box": true, + "max": 512, + "min": 1 + }, + "HdfsRpcProtection": { + "type": "string", + "enum": [ + "DISABLED", + "AUTHENTICATION", + "INTEGRITY", + "PRIVACY" + ] + }, + "HdfsServerHostname": { + "type": "string", + "max": 255, + "min": 1, + "pattern": "^(([a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9\\-]*[A-Za-z0-9])$" + }, + "HdfsServerPort": { + "type": "integer", + "box": true, + "max": 65536, + "min": 1 + }, + "HdfsSubdirectory": { + "type": "string", + "max": 4096, + "pattern": "^[a-zA-Z0-9_\\-\\+\\./\\(\\)\\$\\p{Zs}]+$" + }, + "HdfsUser": { + "type": "string", + "max": 256, + "min": 1, + "pattern": "^[_.A-Za-z0-9][-_.A-Za-z0-9]*$" + }, "IamRoleArn": { "type": "string", "max": 2048, @@ -1887,6 +2174,26 @@ "max": 50, "min": 0 }, + "KerberosKeytabFile": { + "type": "blob", + "max": 65536 + }, + "KerberosKrb5ConfFile": { + "type": "blob", + "max": 131072 + }, + "KerberosPrincipal": { + "type": "string", + "max": 256, + "min": 1, + "pattern": "^.+$" + }, + "KmsKeyProviderUri": { + "type": "string", + "max": 255, + "min": 1, + "pattern": "^kms:\\/\\/http[s]?@(([a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9\\-]*[A-Za-z0-9])(;(([a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9\\-]*[A-Za-z0-9]))*:[0-9]{1,5}\\/kms$" + }, "ListAgentsRequest": { "type": "structure", "members": { @@ -2153,7 +2460,7 @@ "members": { "Version": { "shape": "NfsVersion", - "documentation": "

The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to use the version specified, the sync will fail. If you don't specify a version, DataSync defaults to AUTOMATIC. That is, DataSync automatically selects a version based on negotiation with the NFS server.

You can specify the following NFS versions:

" + "documentation": "

The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to use the version specified, the sync will fail. If you don't specify a version, DataSync defaults to AUTOMATIC. That is, DataSync automatically selects a version based on negotiation with the NFS server.

You can specify the following NFS versions:

" } }, "documentation": "

Represents the mount options that are available for DataSync to access an NFS location.

" @@ -2376,6 +2683,20 @@ }, "documentation": "

The VPC endpoint, subnet, and security group that an agent uses to access IP addresses in a VPC (Virtual Private Cloud).

" }, + "QopConfiguration": { + "type": "structure", + "members": { + "RpcProtection": { + "shape": "HdfsRpcProtection", + "documentation": "

The RPC protection setting configured on the HDFS cluster. This setting corresponds to your hadoop.rpc.protection setting in your core-site.xml file on your Hadoop cluster.

" + }, + "DataTransferProtection": { + "shape": "HdfsDataTransferProtection", + "documentation": "

The data transfer protection setting configured on the HDFS cluster. This setting corresponds to your dfs.data.transfer.protection setting in the hdfs-site.xml file on your Hadoop cluster.

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

The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy settings configured on the Hadoop Distributed File System (HDFS) cluster.

" + }, "S3BucketArn": { "type": "string", "max": 156, @@ -2489,11 +2810,11 @@ }, "Includes": { "shape": "FilterList", - "documentation": "

A list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by \"|\" (that is, a pipe). For example: \"/folder1|/folder2\"

" + "documentation": "

A list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by \"|\" (that is, a pipe), for example, \"/folder1|/folder2\".

" }, "Excludes": { "shape": "FilterList", - "documentation": "

A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by \"|\" (that is, a pipe), for example, \"/folder1|/folder2\".

" + "documentation": "

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\".

" } }, "documentation": "

StartTaskExecutionRequest

" @@ -2537,7 +2858,7 @@ "documentation": "

The value for an Amazon Web Services resource tag.

" } }, - "documentation": "

Represents a single entry in a list of AWS resource tags. TagListEntry returns an array that contains a list of tasks when the ListTagsForResource operation is called.

" + "documentation": "

Represents a single entry in a list of Amazon Web Services resource tags. TagListEntry returns an array that contains a list of tasks when the ListTagsForResource operation is called.

" }, "TagResourceRequest": { "type": "structure", @@ -2808,6 +3129,70 @@ "type": "structure", "members": {} }, + "UpdateLocationHdfsRequest": { + "type": "structure", + "required": [ + "LocationArn" + ], + "members": { + "LocationArn": { + "shape": "LocationArn", + "documentation": "

The Amazon Resource Name (ARN) of the source HDFS cluster location.

" + }, + "Subdirectory": { + "shape": "HdfsSubdirectory", + "documentation": "

A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster.

" + }, + "NameNodes": { + "shape": "HdfsNameNodeList", + "documentation": "

The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.

" + }, + "BlockSize": { + "shape": "HdfsBlockSize", + "documentation": "

The size of the data blocks to write into the HDFS cluster.

" + }, + "ReplicationFactor": { + "shape": "HdfsReplicationFactor", + "documentation": "

The number of DataNodes to replicate the data to when writing to the HDFS cluster.

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

The URI of the HDFS cluster's Key Management Server (KMS).

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

The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy settings configured on the Hadoop Distributed File System (HDFS) cluster.

" + }, + "AuthenticationType": { + "shape": "HdfsAuthenticationType", + "documentation": "

The type of authentication used to determine the identity of the user.

" + }, + "SimpleUser": { + "shape": "HdfsUser", + "documentation": "

The user name used to identify the client on the host operating system.

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

The Kerberos principal with access to the files and folders on the HDFS cluster.

" + }, + "KerberosKeytab": { + "shape": "KerberosKeytabFile", + "documentation": "

The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. You can load the keytab from a file by providing the file's address. If you use the AWS CLI, it performs base64 encoding for you. Otherwise, provide the base64-encoded text.

" + }, + "KerberosKrb5Conf": { + "shape": "KerberosKrb5ConfFile", + "documentation": "

The krb5.conf file that contains the Kerberos configuration information. You can load the krb5.conf file by providing the file's address. If you're using the AWS CLI, it performs the base64 encoding for you. Otherwise, provide the base64-encoded text.

" + }, + "AgentArns": { + "shape": "AgentArnList", + "documentation": "

The ARNs of the agents that are used to connect to the HDFS cluster.

" + } + } + }, + "UpdateLocationHdfsResponse": { + "type": "structure", + "members": {} + }, "UpdateLocationNfsRequest": { "type": "structure", "required": [ @@ -2948,7 +3333,7 @@ }, "Excludes": { "shape": "FilterList", - "documentation": "

A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by \"|\" (that is, a pipe), for example: \"/folder1|/folder2\"

" + "documentation": "

A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by \"|\" (that is, a pipe), for example, \"/folder1|/folder2\".

" }, "Schedule": { "shape": "TaskSchedule", @@ -2960,11 +3345,11 @@ }, "CloudWatchLogGroupArn": { "shape": "LogGroupArn", - "documentation": "

The Amazon Resource Name (ARN) of the resource name of the CloudWatch LogGroup.

" + "documentation": "

The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group.

" }, "Includes": { "shape": "FilterList", - "documentation": "

A list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by \"|\" (that is, a pipe). For example: \"/folder1|/folder2\"

" + "documentation": "

A list of filter rules that determines which files to include when running a task. The pattern contains a single filter string that consists of the patterns to include. The patterns are delimited by \"|\" (that is, a pipe), for example, \"/folder1|/folder2\".

" } }, "documentation": "

UpdateTaskResponse

" diff --git a/apis/finspace-2021-03-12.min.json b/apis/finspace-2021-03-12.min.json index 23b77d511f..702fc0f74f 100644 --- a/apis/finspace-2021-03-12.min.json +++ b/apis/finspace-2021-03-12.min.json @@ -32,6 +32,26 @@ "federationMode": {}, "federationParameters": { "shape": "S9" + }, + "superuserParameters": { + "type": "structure", + "required": [ + "emailAddress", + "firstName", + "lastName" + ], + "members": { + "emailAddress": { + "type": "string", + "sensitive": true + }, + "firstName": {}, + "lastName": {} + } + }, + "dataBundles": { + "type": "list", + "member": {} } } }, @@ -87,7 +107,7 @@ "type": "structure", "members": { "environment": { - "shape": "Sn" + "shape": "Ss" } } } @@ -117,7 +137,7 @@ "environments": { "type": "list", "member": { - "shape": "Sn" + "shape": "Ss" } }, "nextToken": {} @@ -231,7 +251,7 @@ "type": "structure", "members": { "environment": { - "shape": "Sn" + "shape": "Ss" } } } @@ -258,7 +278,7 @@ } } }, - "Sn": { + "Ss": { "type": "structure", "members": { "name": {}, diff --git a/apis/finspace-2021-03-12.normal.json b/apis/finspace-2021-03-12.normal.json index 0a918f8c26..2c29ec3ff4 100644 --- a/apis/finspace-2021-03-12.normal.json +++ b/apis/finspace-2021-03-12.normal.json @@ -274,6 +274,14 @@ "federationParameters": { "shape": "FederationParameters", "documentation": "

Configuration information when authentication mode is FEDERATED.

" + }, + "superuserParameters": { + "shape": "SuperuserParameters", + "documentation": "

Configuration information for the superuser.

" + }, + "dataBundles": { + "shape": "DataBundleArns", + "documentation": "

The list of Amazon Resource Names (ARN) of the data bundles to install. Currently supported data bundle ARNs:

" } } }, @@ -294,6 +302,19 @@ } } }, + "DataBundleArn": { + "type": "string", + "documentation": "

The Amazon Resource Name (ARN) of the data bundle.

", + "max": 2048, + "min": 20, + "pattern": "^arn:aws:finspace:[A-Za-z0-9_/.-]{0,63}:\\d*:data-bundle/[0-9A-Za-z_-]{1,128}$" + }, + "DataBundleArns": { + "type": "list", + "member": { + "shape": "DataBundleArn" + } + }, "DeleteEnvironmentRequest": { "type": "structure", "required": [ @@ -318,6 +339,13 @@ "min": 1, "pattern": "^[a-zA-Z0-9. ]{1,1000}$" }, + "EmailId": { + "type": "string", + "max": 128, + "min": 1, + "pattern": "[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+[.]+[A-Za-z]+", + "sensitive": true + }, "Environment": { "type": "structure", "members": { @@ -542,6 +570,12 @@ } } }, + "NameString": { + "type": "string", + "max": 50, + "min": 1, + "pattern": "^[a-zA-Z0-9]{1,50}$" + }, "PaginationToken": { "type": "string", "max": 1000, @@ -565,6 +599,29 @@ "min": 1, "pattern": "^[a-zA-Z-0-9-:\\/.]*$" }, + "SuperuserParameters": { + "type": "structure", + "required": [ + "emailAddress", + "firstName", + "lastName" + ], + "members": { + "emailAddress": { + "shape": "EmailId", + "documentation": "

The email address of the superuser.

" + }, + "firstName": { + "shape": "NameString", + "documentation": "

The first name of the superuser.

" + }, + "lastName": { + "shape": "NameString", + "documentation": "

The last name of the superuser.

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

Configuration information for the superuser.

" + }, "TagKey": { "type": "string", "max": 128, @@ -695,5 +752,5 @@ "pattern": "^[A-Za-z0-9._\\-:\\/#\\+]+$" } }, - "documentation": "

The FinSpace management service provides the APIs for managing the FinSpace environments.

" + "documentation": "

The FinSpace management service provides the APIs for managing FinSpace environments.

" } \ No newline at end of file diff --git a/apis/macie2-2020-01-01.min.json b/apis/macie2-2020-01-01.min.json index 47ab7f2e45..061999d207 100644 --- a/apis/macie2-2020-01-01.min.json +++ b/apis/macie2-2020-01-01.min.json @@ -196,6 +196,10 @@ "regex": { "locationName": "regex" }, + "severityLevels": { + "shape": "S1a", + "locationName": "severityLevels" + }, "tags": { "shape": "S17", "locationName": "tags" @@ -230,7 +234,7 @@ "locationName": "description" }, "findingCriteria": { - "shape": "S1d", + "shape": "S1h", "locationName": "findingCriteria" }, "name": { @@ -291,7 +295,7 @@ "type": "structure", "members": { "unprocessedAccounts": { - "shape": "S1k", + "shape": "S1n", "locationName": "unprocessedAccounts" } } @@ -380,7 +384,7 @@ "type": "structure", "members": { "unprocessedAccounts": { - "shape": "S1k", + "shape": "S1n", "locationName": "unprocessedAccounts" } } @@ -453,7 +457,7 @@ "type": "structure", "members": { "unprocessedAccounts": { - "shape": "S1k", + "shape": "S1n", "locationName": "unprocessedAccounts" } } @@ -588,7 +592,7 @@ "locationName": "errorMessage" }, "jobDetails": { - "shape": "S2e", + "shape": "S2h", "locationName": "jobDetails" }, "lastUpdated": { @@ -600,11 +604,11 @@ "type": "long" }, "objectCountByEncryptionType": { - "shape": "S2h", + "shape": "S2k", "locationName": "objectCountByEncryptionType" }, "publicAccess": { - "shape": "S2i", + "shape": "S2l", "locationName": "publicAccess" }, "region": { @@ -655,15 +659,15 @@ "locationName": "tags", "type": "list", "member": { - "shape": "S2v" + "shape": "S2y" } }, "unclassifiableObjectCount": { - "shape": "S2w", + "shape": "S2z", "locationName": "unclassifiableObjectCount" }, "unclassifiableObjectSizeInBytes": { - "shape": "S2w", + "shape": "S2z", "locationName": "unclassifiableObjectSizeInBytes" }, "versioning": { @@ -732,7 +736,7 @@ "locationName": "jobType" }, "lastRunErrorStatus": { - "shape": "S30", + "shape": "S33", "locationName": "lastRunErrorStatus" }, "lastRunTime": { @@ -780,7 +784,7 @@ "locationName": "tags" }, "userPausedDetails": { - "shape": "S34", + "shape": "S37", "locationName": "userPausedDetails" } } @@ -962,7 +966,7 @@ "type": "structure", "members": { "administrator": { - "shape": "S3p", + "shape": "S3s", "locationName": "administrator" } } @@ -1097,11 +1101,11 @@ "type": "long" }, "unclassifiableObjectCount": { - "shape": "S2w", + "shape": "S2z", "locationName": "unclassifiableObjectCount" }, "unclassifiableObjectSizeInBytes": { - "shape": "S2w", + "shape": "S2z", "locationName": "unclassifiableObjectSizeInBytes" } } @@ -1121,7 +1125,7 @@ "type": "structure", "members": { "configuration": { - "shape": "S3z", + "shape": "S42", "locationName": "configuration" } } @@ -1183,6 +1187,10 @@ "regex": { "locationName": "regex" }, + "severityLevels": { + "shape": "S1a", + "locationName": "severityLevels" + }, "tags": { "shape": "S17", "locationName": "tags" @@ -1199,7 +1207,7 @@ "type": "structure", "members": { "findingCriteria": { - "shape": "S1d", + "shape": "S1h", "locationName": "findingCriteria" }, "groupBy": { @@ -1261,7 +1269,7 @@ "locationName": "findingIds" }, "sortCriteria": { - "shape": "S4b", + "shape": "S4e", "locationName": "sortCriteria" } }, @@ -1330,7 +1338,7 @@ "locationName": "name" }, "occurrences": { - "shape": "S4l", + "shape": "S4o", "locationName": "occurrences" } } @@ -1365,7 +1373,7 @@ "type": "long" }, "occurrences": { - "shape": "S4l", + "shape": "S4o", "locationName": "occurrences" }, "type": { @@ -1547,7 +1555,7 @@ "locationName": "principalId" }, "sessionContext": { - "shape": "S5d", + "shape": "S5g", "locationName": "sessionContext" } } @@ -1590,7 +1598,7 @@ "locationName": "principalId" }, "sessionContext": { - "shape": "S5d", + "shape": "S5g", "locationName": "sessionContext" } } @@ -1659,7 +1667,7 @@ "locationName": "createdAt" }, "defaultServerSideEncryption": { - "shape": "S5o", + "shape": "S5r", "locationName": "defaultServerSideEncryption" }, "name": { @@ -1678,11 +1686,11 @@ } }, "publicAccess": { - "shape": "S2i", + "shape": "S2l", "locationName": "publicAccess" }, "tags": { - "shape": "S5r", + "shape": "S5u", "locationName": "tags" } } @@ -1715,7 +1723,7 @@ "type": "boolean" }, "serverSideEncryption": { - "shape": "S5o", + "shape": "S5r", "locationName": "serverSideEncryption" }, "size": { @@ -1726,7 +1734,7 @@ "locationName": "storageClass" }, "tags": { - "shape": "S5r", + "shape": "S5u", "locationName": "tags" }, "versionId": { @@ -1803,7 +1811,7 @@ "locationName": "description" }, "findingCriteria": { - "shape": "S1d", + "shape": "S1h", "locationName": "findingCriteria" }, "id": { @@ -1837,7 +1845,7 @@ "type": "structure", "members": { "securityHubConfiguration": { - "shape": "S60", + "shape": "S63", "locationName": "securityHubConfiguration" } } @@ -1910,7 +1918,7 @@ "type": "structure", "members": { "master": { - "shape": "S3p", + "shape": "S3s", "locationName": "master" } } @@ -2139,11 +2147,11 @@ "type": "structure", "members": { "excludes": { - "shape": "S6w", + "shape": "S6z", "locationName": "excludes" }, "includes": { - "shape": "S6w", + "shape": "S6z", "locationName": "includes" } } @@ -2196,14 +2204,14 @@ "locationName": "jobType" }, "lastRunErrorStatus": { - "shape": "S30", + "shape": "S33", "locationName": "lastRunErrorStatus" }, "name": { "locationName": "name" }, "userPausedDetails": { - "shape": "S34", + "shape": "S37", "locationName": "userPausedDetails" }, "bucketCriteria": { @@ -2279,7 +2287,7 @@ "type": "structure", "members": { "findingCriteria": { - "shape": "S1d", + "shape": "S1h", "locationName": "findingCriteria" }, "maxResults": { @@ -2290,7 +2298,7 @@ "locationName": "nextToken" }, "sortCriteria": { - "shape": "S4b", + "shape": "S4e", "locationName": "sortCriteria" } } @@ -2389,7 +2397,7 @@ "locationName": "invitations", "type": "list", "member": { - "shape": "S3p" + "shape": "S3s" } }, "nextToken": { @@ -2589,7 +2597,7 @@ "type": "structure", "members": { "configuration": { - "shape": "S3z", + "shape": "S42", "locationName": "configuration" } }, @@ -2601,7 +2609,7 @@ "type": "structure", "members": { "configuration": { - "shape": "S3z", + "shape": "S42", "locationName": "configuration" } } @@ -2621,7 +2629,7 @@ "idempotencyToken": true }, "securityHubConfiguration": { - "shape": "S60", + "shape": "S63", "locationName": "securityHubConfiguration" } } @@ -2644,11 +2652,11 @@ "type": "structure", "members": { "excludes": { - "shape": "S83", + "shape": "S86", "locationName": "excludes" }, "includes": { - "shape": "S83", + "shape": "S86", "locationName": "includes" } } @@ -2708,7 +2716,7 @@ "locationName": "errorMessage" }, "jobDetails": { - "shape": "S2e", + "shape": "S2h", "locationName": "jobDetails" }, "objectCount": { @@ -2716,7 +2724,7 @@ "type": "long" }, "objectCountByEncryptionType": { - "shape": "S2h", + "shape": "S2k", "locationName": "objectCountByEncryptionType" }, "sizeInBytes": { @@ -2728,11 +2736,11 @@ "type": "long" }, "unclassifiableObjectCount": { - "shape": "S2w", + "shape": "S2z", "locationName": "unclassifiableObjectCount" }, "unclassifiableObjectSizeInBytes": { - "shape": "S2w", + "shape": "S2z", "locationName": "unclassifiableObjectSizeInBytes" } } @@ -2887,7 +2895,7 @@ "locationName": "description" }, "findingCriteria": { - "shape": "S1d", + "shape": "S1h", "locationName": "findingCriteria" }, "id": { @@ -3211,7 +3219,26 @@ "key": {}, "value": {} }, - "S1d": { + "S1a": { + "type": "list", + "member": { + "type": "structure", + "members": { + "occurrencesThreshold": { + "locationName": "occurrencesThreshold", + "type": "long" + }, + "severity": { + "locationName": "severity" + } + }, + "required": [ + "occurrencesThreshold", + "severity" + ] + } + }, + "S1h": { "type": "structure", "members": { "criterion": { @@ -3254,7 +3281,7 @@ } } }, - "S1k": { + "S1n": { "type": "list", "member": { "type": "structure", @@ -3271,7 +3298,7 @@ } } }, - "S2e": { + "S2h": { "type": "structure", "members": { "isDefinedInJob": { @@ -3289,7 +3316,7 @@ } } }, - "S2h": { + "S2k": { "type": "structure", "members": { "customerManaged": { @@ -3314,7 +3341,7 @@ } } }, - "S2i": { + "S2l": { "type": "structure", "members": { "effectivePermission": { @@ -3329,7 +3356,7 @@ "type": "structure", "members": { "blockPublicAccess": { - "shape": "S2m", + "shape": "S2p", "locationName": "blockPublicAccess" } } @@ -3353,7 +3380,7 @@ } }, "blockPublicAccess": { - "shape": "S2m", + "shape": "S2p", "locationName": "blockPublicAccess" }, "bucketPolicy": { @@ -3376,7 +3403,7 @@ } } }, - "S2m": { + "S2p": { "type": "structure", "members": { "blockPublicAcls": { @@ -3397,7 +3424,7 @@ } } }, - "S2v": { + "S2y": { "type": "structure", "members": { "key": { @@ -3408,7 +3435,7 @@ } } }, - "S2w": { + "S2z": { "type": "structure", "members": { "fileType": { @@ -3425,7 +3452,7 @@ } } }, - "S30": { + "S33": { "type": "structure", "members": { "code": { @@ -3433,7 +3460,7 @@ } } }, - "S34": { + "S37": { "type": "structure", "members": { "jobExpiresAt": { @@ -3449,7 +3476,7 @@ } } }, - "S3p": { + "S3s": { "type": "structure", "members": { "accountId": { @@ -3467,7 +3494,7 @@ } } }, - "S3z": { + "S42": { "type": "structure", "members": { "s3Destination": { @@ -3491,7 +3518,7 @@ } } }, - "S4b": { + "S4e": { "type": "structure", "members": { "attributeName": { @@ -3502,7 +3529,7 @@ } } }, - "S4l": { + "S4o": { "type": "structure", "members": { "cells": { @@ -3529,11 +3556,11 @@ } }, "lineRanges": { - "shape": "S4o", + "shape": "S4r", "locationName": "lineRanges" }, "offsetRanges": { - "shape": "S4o", + "shape": "S4r", "locationName": "offsetRanges" }, "pages": { @@ -3543,11 +3570,11 @@ "type": "structure", "members": { "lineRange": { - "shape": "S4p", + "shape": "S4s", "locationName": "lineRange" }, "offsetRange": { - "shape": "S4p", + "shape": "S4s", "locationName": "offsetRange" }, "pageNumber": { @@ -3575,13 +3602,13 @@ } } }, - "S4o": { + "S4r": { "type": "list", "member": { - "shape": "S4p" + "shape": "S4s" } }, - "S4p": { + "S4s": { "type": "structure", "members": { "end": { @@ -3598,7 +3625,7 @@ } } }, - "S5d": { + "S5g": { "type": "structure", "members": { "attributes": { @@ -3638,7 +3665,7 @@ } } }, - "S5o": { + "S5r": { "type": "structure", "members": { "encryptionType": { @@ -3649,13 +3676,13 @@ } } }, - "S5r": { + "S5u": { "type": "list", "member": { - "shape": "S2v" + "shape": "S2y" } }, - "S60": { + "S63": { "type": "structure", "members": { "publishClassificationFindings": { @@ -3672,7 +3699,7 @@ "publishClassificationFindings" ] }, - "S6w": { + "S6z": { "type": "list", "member": { "type": "structure", @@ -3690,7 +3717,7 @@ } } }, - "S83": { + "S86": { "type": "structure", "members": { "and": { diff --git a/apis/macie2-2020-01-01.normal.json b/apis/macie2-2020-01-01.normal.json index d0211a5cc9..e86ff58505 100644 --- a/apis/macie2-2020-01-01.normal.json +++ b/apis/macie2-2020-01-01.normal.json @@ -147,7 +147,7 @@ "documentation": "

The request failed because it conflicts with the current state of the specified resource.

" } ], - "documentation": "

Creates and defines the settings for a classification job.

" + "documentation": "

Creates and defines the settings for a classification job.

" }, "CreateCustomDataIdentifier": { "name": "CreateCustomDataIdentifier", @@ -2466,7 +2466,7 @@ "documentation": "

The request failed because it conflicts with the current state of the specified resource.

" } ], - "documentation": "

Enables an Amazon Macie administrator to suspend or re-enable a member account.

" + "documentation": "

Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.

" }, "UpdateOrganizationConfiguration": { "name": "UpdateOrganizationConfiguration", @@ -3088,7 +3088,7 @@ "documentation": "

Specifies whether versioning is enabled for the bucket.

" } }, - "documentation": "

Provides statistical data and other information about an S3 bucket that Amazon Macie monitors and analyzes for your account. If an error occurs when Macie attempts to retrieve and process information about the bucket or the bucket's objects, the value for most of these properties is null. Exceptions are accountId, bucketArn, bucketCreatedAt, bucketName, lastUpdated, and region. To identify the cause of the error, refer to the errorCode and errorMessage values.

" + "documentation": "

Provides statistical data and other information about an S3 bucket that Amazon Macie monitors and analyzes for your account. If an error occurs when Macie attempts to retrieve and process information about the bucket or the bucket's objects, the value for the versioning property is false and the value for most other properties is null. Exceptions are accountId, bucketArn, bucketCreatedAt, bucketName, lastUpdated, and region. To identify the cause of the error, refer to the errorCode and errorMessage values.

" }, "BucketMetadataErrorCode": { "type": "string", @@ -3289,12 +3289,12 @@ "code": { "shape": "__string", "locationName": "code", - "documentation": "

The status of the finding. Possible values are:

" + "documentation": "

The status of the finding. Possible values are:

" }, "reason": { "shape": "__string", "locationName": "reason", - "documentation": "

A brief description of the status of the finding. Amazon Macie uses this value to notify you of any errors, warnings, or considerations that might impact your analysis of the finding.

" + "documentation": "

A brief description of the status of the finding. This value is null if the status (code) of the finding is COMPLETE.

Amazon Macie uses this value to notify you of any errors, warnings, or considerations that might impact your analysis of the finding and the affected S3 object. Possible values are:

For information about sensitive data discovery quotas for files, see Amazon Macie quotas in the Amazon Macie User Guide.

" } }, "documentation": "

Provides information about the status of a sensitive data finding.

" @@ -3403,17 +3403,17 @@ "ignoreWords": { "shape": "__listOf__string", "locationName": "ignoreWords", - "documentation": "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive.

" + "documentation": "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive.

" }, "keywords": { "shape": "__listOf__string", "locationName": "keywords", - "documentation": "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 UTF-8 characters. Keywords aren't case sensitive.

" + "documentation": "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 UTF-8 characters. Keywords aren't case sensitive.

" }, "maximumMatchDistance": { "shape": "__integer", "locationName": "maximumMatchDistance", - "documentation": "

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50.

" + "documentation": "

The maximum number of characters that can exist between text that matches the regular expression and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regular expression. The distance can be 1-300 characters. The default value is 50.

" }, "name": { "shape": "__string", @@ -3425,6 +3425,11 @@ "locationName": "regex", "documentation": "

The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.

" }, + "severityLevels": { + "shape": "SeverityLevelList", + "locationName": "severityLevels", + "documentation": "

The severity to assign to findings that the custom data identifier produces, based on the number of occurrences of text that matches the custom data identifier's detection criteria. You can specify as many as three SeverityLevel objects in this array, one for each severity: LOW, MEDIUM, or HIGH. If you specify more than one, the occurrences thresholds must be in ascending order by severity, moving from LOW to HIGH. For example, 1 for LOW, 50 for MEDIUM, and 100 for HIGH. If an S3 object contains fewer occurrences than the lowest specified threshold, Amazon Macie doesn't create a finding.

If you don't specify any values for this array, Macie creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, and Macie assigns the MEDIUM severity to those findings.

" + }, "tags": { "shape": "TagMap", "locationName": "tags", @@ -3570,7 +3575,7 @@ "findingTypes": { "shape": "__listOfFindingType", "locationName": "findingTypes", - "documentation": "

An array that lists one or more types of findings to include in the set of sample findings. Currently, the only supported value is Policy:IAMUser/S3BucketEncryptionDisabled.

" + "documentation": "

An array of finding types, one for each type of sample finding to create. To create a sample of every type of finding that Amazon Macie supports, don't include this array in your request.

" } } }, @@ -3748,6 +3753,15 @@ "members": {}, "documentation": "

Specifies that a classification job runs once a day, every day. This is an empty object.

" }, + "DataIdentifierSeverity": { + "type": "string", + "documentation": "

The severity of a finding, ranging from LOW, for least severe, to HIGH, for most severe. Valid values are:

", + "enum": [ + "LOW", + "MEDIUM", + "HIGH" + ] + }, "DayOfWeek": { "type": "string", "enum": [ @@ -4643,17 +4657,17 @@ "ignoreWords": { "shape": "__listOf__string", "locationName": "ignoreWords", - "documentation": "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. Ignore words are case sensitive.

" + "documentation": "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore words are case sensitive.

" }, "keywords": { "shape": "__listOf__string", "locationName": "keywords", - "documentation": "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive.

" + "documentation": "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. Keywords aren't case sensitive.

" }, "maximumMatchDistance": { "shape": "__integer", "locationName": "maximumMatchDistance", - "documentation": "

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern.

" + "documentation": "

The maximum number of characters that can exist between text that matches the regular expression and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regular expression.

" }, "name": { "shape": "__string", @@ -4665,6 +4679,11 @@ "locationName": "regex", "documentation": "

The regular expression (regex) that defines the pattern to match.

" }, + "severityLevels": { + "shape": "SeverityLevelList", + "locationName": "severityLevels", + "documentation": "

Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number of occurrences of text that matches the custom data identifier's detection criteria. By default, Amazon Macie creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, and Macie assigns the MEDIUM severity to those findings.

" + }, "tags": { "shape": "TagMap", "locationName": "tags", @@ -5797,7 +5816,7 @@ "category": { "shape": "SensitiveDataItemCategory", "locationName": "category", - "documentation": "

The category of sensitive data that the managed data identifier detects: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.

" + "documentation": "

The category of sensitive data that the managed data identifier detects: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.

" }, "id": { "shape": "__string", @@ -6684,7 +6703,7 @@ "category": { "shape": "SensitiveDataItemCategory", "locationName": "category", - "documentation": "

The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.

" + "documentation": "

The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.

" }, "detections": { "shape": "DefaultDetections", @@ -6834,6 +6853,33 @@ "High" ] }, + "SeverityLevel": { + "type": "structure", + "members": { + "occurrencesThreshold": { + "shape": "__long", + "locationName": "occurrencesThreshold", + "documentation": "

The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).

" + }, + "severity": { + "shape": "DataIdentifierSeverity", + "locationName": "severity", + "documentation": "

The severity to assign to a finding if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold) and, if applicable, is less than the threshold for the next consecutive severity level for the custom data identifier.

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

Specifies a severity level for findings that a custom data identifier produces. A severity level determines which severity is assigned to the findings, based on the number of occurrences of text that matches the custom data identifier's detection criteria.

", + "required": [ + "occurrencesThreshold", + "severity" + ] + }, + "SeverityLevelList": { + "type": "list", + "documentation": "

The severity to assign to findings that the custom data identifier produces, based on the number of occurrences of text that matches the custom data identifier's detection criteria. You can specify as many as three SeverityLevel objects in this array, one for each severity: LOW, MEDIUM, or HIGH. If you specify more than one, the occurrences thresholds must be in ascending order by severity, moving from LOW to HIGH. For example, 1 for LOW, 50 for MEDIUM, and 100 for HIGH. If an S3 object contains fewer occurrences than the lowest specified threshold, Amazon Macie doesn't create a finding.

If you don't specify any values for this array, Macie creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, and Macie automatically assigns the MEDIUM severity to those findings.

", + "member": { + "shape": "SeverityLevel" + } + }, "SharedAccess": { "type": "string", "enum": [ @@ -7061,17 +7107,17 @@ "ignoreWords": { "shape": "__listOf__string", "locationName": "ignoreWords", - "documentation": "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive.

" + "documentation": "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive.

" }, "keywords": { "shape": "__listOf__string", "locationName": "keywords", - "documentation": "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 UTF-8 characters. Keywords aren't case sensitive.

" + "documentation": "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 3-90 UTF-8 characters. Keywords aren't case sensitive.

" }, "maximumMatchDistance": { "shape": "__integer", "locationName": "maximumMatchDistance", - "documentation": "

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50.

" + "documentation": "

The maximum number of characters that can exist between text that matches the regular expression and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regular expression. The distance can be 1-300 characters. The default value is 50.

" }, "regex": { "shape": "__string", @@ -7095,7 +7141,7 @@ "matchCount": { "shape": "__integer", "locationName": "matchCount", - "documentation": "

The number of instances of sample text that matched the detection criteria specified in the custom data identifier.

" + "documentation": "

The number of occurrences of sample text that matched the criteria specified by the custom data identifier.

" } } }, diff --git a/clients/connectparticipant.d.ts b/clients/connectparticipant.d.ts index 06b61d9cb1..88ae0d5f71 100644 --- a/clients/connectparticipant.d.ts +++ b/clients/connectparticipant.d.ts @@ -105,7 +105,7 @@ declare namespace ConnectParticipant { export type ChatContent = string; export type ChatContentType = string; export type ChatItemId = string; - export type ChatItemType = "TYPING"|"PARTICIPANT_JOINED"|"PARTICIPANT_LEFT"|"CHAT_ENDED"|"TRANSFER_SUCCEEDED"|"TRANSFER_FAILED"|"MESSAGE"|"EVENT"|"ATTACHMENT"|"CONNECTION_ACK"|"PARTICIPANT_ACTIVE"|"PARTICIPANT_INACTIVE"|"PARTICIPANT_ENGAGED"|"PARTICIPANT_DISENGAGED"|string; + export type ChatItemType = "TYPING"|"PARTICIPANT_JOINED"|"PARTICIPANT_LEFT"|"CHAT_ENDED"|"TRANSFER_SUCCEEDED"|"TRANSFER_FAILED"|"MESSAGE"|"EVENT"|"ATTACHMENT"|"CONNECTION_ACK"|string; export type ClientToken = string; export interface CompleteAttachmentUploadRequest { /** diff --git a/clients/datasync.d.ts b/clients/datasync.d.ts index cd2921a40e..d8d616afb4 100644 --- a/clients/datasync.d.ts +++ b/clients/datasync.d.ts @@ -43,6 +43,14 @@ declare class DataSync extends Service { * Creates an endpoint for an Amazon FSx for Windows File Server file system. */ createLocationFsxWindows(callback?: (err: AWSError, data: DataSync.Types.CreateLocationFsxWindowsResponse) => void): Request; + /** + * Creates an endpoint for a Hadoop Distributed File System (HDFS). + */ + createLocationHdfs(params: DataSync.Types.CreateLocationHdfsRequest, callback?: (err: AWSError, data: DataSync.Types.CreateLocationHdfsResponse) => void): Request; + /** + * Creates an endpoint for a Hadoop Distributed File System (HDFS). + */ + createLocationHdfs(callback?: (err: AWSError, data: DataSync.Types.CreateLocationHdfsResponse) => void): Request; /** * Defines a file system on a Network File System (NFS) server that can be read from or written to. */ @@ -131,6 +139,14 @@ declare class DataSync extends Service { * Returns metadata, such as the path information about an Amazon FSx for Windows File Server location. */ describeLocationFsxWindows(callback?: (err: AWSError, data: DataSync.Types.DescribeLocationFsxWindowsResponse) => void): Request; + /** + * Returns metadata, such as the authentication information about the Hadoop Distributed File System (HDFS) location. + */ + describeLocationHdfs(params: DataSync.Types.DescribeLocationHdfsRequest, callback?: (err: AWSError, data: DataSync.Types.DescribeLocationHdfsResponse) => void): Request; + /** + * Returns metadata, such as the authentication information about the Hadoop Distributed File System (HDFS) location. + */ + describeLocationHdfs(callback?: (err: AWSError, data: DataSync.Types.DescribeLocationHdfsResponse) => void): Request; /** * Returns metadata, such as the path information, about an NFS location. */ @@ -251,6 +267,14 @@ declare class DataSync extends Service { * Updates the name of an agent. */ updateAgent(callback?: (err: AWSError, data: DataSync.Types.UpdateAgentResponse) => void): Request; + /** + * Updates some parameters of a previously created location for a Hadoop Distributed File System cluster. + */ + updateLocationHdfs(params: DataSync.Types.UpdateLocationHdfsRequest, callback?: (err: AWSError, data: DataSync.Types.UpdateLocationHdfsResponse) => void): Request; + /** + * Updates some parameters of a previously created location for a Hadoop Distributed File System cluster. + */ + updateLocationHdfs(callback?: (err: AWSError, data: DataSync.Types.UpdateLocationHdfsResponse) => void): Request; /** * Updates some of the parameters of a previously created location for Network File System (NFS) access. For information about creating an NFS location, see Creating a location for NFS. */ @@ -414,6 +438,66 @@ declare namespace DataSync { */ LocationArn?: LocationArn; } + export interface CreateLocationHdfsRequest { + /** + * A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /. + */ + Subdirectory?: HdfsSubdirectory; + /** + * The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode. + */ + NameNodes: HdfsNameNodeList; + /** + * The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB). + */ + BlockSize?: HdfsBlockSize; + /** + * The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes. + */ + ReplicationFactor?: HdfsReplicationFactor; + /** + * The URI of the HDFS cluster's Key Management Server (KMS). + */ + KmsKeyProviderUri?: KmsKeyProviderUri; + /** + * 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. If QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to PRIVACY. If you set RpcProtection or DataTransferProtection, the other parameter assumes the same value. + */ + QopConfiguration?: QopConfiguration; + /** + * The type of authentication used to determine the identity of the user. + */ + AuthenticationType: HdfsAuthenticationType; + /** + * The user name used to identify the client on the host operating system. If SIMPLE is specified for AuthenticationType, this parameter is required. + */ + SimpleUser?: HdfsUser; + /** + * The Kerberos principal with access to the files and folders on the HDFS cluster. If KERBEROS is specified for AuthenticationType, this parameter is required. + */ + KerberosPrincipal?: KerberosPrincipal; + /** + * The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. You can load the keytab from a file by providing the file's address. If you're using the CLI, it performs base64 encoding for you. Otherwise, provide the base64-encoded text. If KERBEROS is specified for AuthenticationType, this parameter is required. + */ + KerberosKeytab?: KerberosKeytabFile; + /** + * The krb5.conf file that contains the Kerberos configuration information. You can load the krb5.conf file by providing the file's address. If you're using the CLI, it performs the base64 encoding for you. Otherwise, provide the base64-encoded text. If KERBEROS is specified for AuthenticationType, this parameter is required. + */ + KerberosKrb5Conf?: KerberosKrb5ConfFile; + /** + * The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster. + */ + AgentArns: AgentArnList; + /** + * 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. + */ + Tags?: InputTagList; + } + export interface CreateLocationHdfsResponse { + /** + * The ARN of the source HDFS cluster location that's created. + */ + LocationArn?: LocationArn; + } export interface CreateLocationNfsRequest { /** * The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network. To see all the paths exported by your NFS server, run "showmount -e nfs-server-name" from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication. To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access. If you are copying data to or from your Snowcone device, see NFS Server on Snowcone for more information. For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation. @@ -589,7 +673,7 @@ declare namespace DataSync { */ Tags?: InputTagList; /** - * A list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe). For example: "/folder1|/folder2" + * A list of filter rules that determines which files to include when running a task. The pattern contains a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2". */ Includes?: FilterList; } @@ -712,6 +796,62 @@ declare namespace DataSync { */ Domain?: SmbDomain; } + export interface DescribeLocationHdfsRequest { + /** + * The Amazon Resource Name (ARN) of the HDFS cluster location to describe. + */ + LocationArn: LocationArn; + } + export interface DescribeLocationHdfsResponse { + /** + * The ARN of the HDFS cluster location. + */ + LocationArn?: LocationArn; + /** + * The URI of the HDFS cluster location. + */ + LocationUri?: LocationUri; + /** + * The NameNode that manage the HDFS namespace. + */ + NameNodes?: HdfsNameNodeList; + /** + * The size of the data blocks to write into the HDFS cluster. + */ + BlockSize?: HdfsBlockSize; + /** + * The number of DataNodes to replicate the data to when writing to the HDFS cluster. + */ + ReplicationFactor?: HdfsReplicationFactor; + /** + * The URI of the HDFS cluster's Key Management Server (KMS). + */ + KmsKeyProviderUri?: KmsKeyProviderUri; + /** + * 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. + */ + QopConfiguration?: QopConfiguration; + /** + * The type of authentication used to determine the identity of the user. + */ + AuthenticationType?: HdfsAuthenticationType; + /** + * The user name used to identify the client on the host operating system. This parameter is used if the AuthenticationType is defined as SIMPLE. + */ + SimpleUser?: HdfsUser; + /** + * The Kerberos principal with access to the files and folders on the HDFS cluster. This parameter is used if the AuthenticationType is defined as KERBEROS. + */ + KerberosPrincipal?: KerberosPrincipal; + /** + * The ARNs of the agents that are used to connect to the HDFS cluster. + */ + AgentArns?: AgentArnList; + /** + * The time that the HDFS location was created. + */ + CreationTime?: Time; + } export interface DescribeLocationNfsRequest { /** * The Amazon Resource Name (ARN) of the NFS location to describe. @@ -927,11 +1067,11 @@ declare namespace DataSync { */ CloudWatchLogGroupArn?: LogGroupArn; /** - * The Amazon Resource Name (ARN) of the source ENIs (Elastic Network Interface) that was created for your subnet. + * The Amazon Resource Names (ARNs) of the source elastic network interfaces (ENIs) that were created for your subnet. */ SourceNetworkInterfaceArns?: SourceNetworkInterfaceArns; /** - * The Amazon Resource Name (ARN) of the destination ENIs (Elastic Network Interface) that was created for your subnet. + * The Amazon Resource Names (ARNs) of the destination elastic network interfaces (ENIs) that were created for your subnet. */ DestinationNetworkInterfaceArns?: DestinationNetworkInterfaceArns; /** @@ -939,7 +1079,7 @@ declare namespace DataSync { */ Options?: Options; /** - * A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example: "/folder1|/folder2" + * A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2". */ Excludes?: FilterList; /** @@ -959,7 +1099,7 @@ declare namespace DataSync { */ CreationTime?: Time; /** - * A list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe). For example: "/folder1|/folder2" + * A list of filter rules that determines which files to include when running a task. The pattern contains a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2". */ Includes?: FilterList; } @@ -1000,8 +1140,32 @@ declare namespace DataSync { export type FsxFilesystemArn = string; export type FsxWindowsSubdirectory = string; export type Gid = "NONE"|"INT_VALUE"|"NAME"|"BOTH"|string; + export type HdfsAuthenticationType = "SIMPLE"|"KERBEROS"|string; + export type HdfsBlockSize = number; + export type HdfsDataTransferProtection = "DISABLED"|"AUTHENTICATION"|"INTEGRITY"|"PRIVACY"|string; + export interface HdfsNameNode { + /** + * The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that's installed on-premises uses this hostname to communicate with the NameNode in the network. + */ + Hostname: HdfsServerHostname; + /** + * The port that the NameNode uses to listen to client requests. + */ + Port: HdfsServerPort; + } + export type HdfsNameNodeList = HdfsNameNode[]; + export type HdfsReplicationFactor = number; + export type HdfsRpcProtection = "DISABLED"|"AUTHENTICATION"|"INTEGRITY"|"PRIVACY"|string; + export type HdfsServerHostname = string; + export type HdfsServerPort = number; + export type HdfsSubdirectory = string; + export type HdfsUser = string; export type IamRoleArn = string; export type InputTagList = TagListEntry[]; + export type KerberosKeytabFile = Buffer|Uint8Array|Blob|string; + export type KerberosKrb5ConfFile = Buffer|Uint8Array|Blob|string; + export type KerberosPrincipal = string; + export type KmsKeyProviderUri = string; export interface ListAgentsRequest { /** * The maximum number of agents to list. @@ -1155,7 +1319,7 @@ declare namespace DataSync { export type NextToken = string; export interface NfsMountOptions { /** - * The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to use the version specified, the sync will fail. If you don't specify a version, DataSync defaults to AUTOMATIC. That is, DataSync automatically selects a version based on negotiation with the NFS server. You can specify the following NFS versions: NFSv3 - stateless protocol version that allows for asynchronous writes on the server. NFSv4.0 - stateful, firewall-friendly protocol version that supports delegations and pseudo filesystems. NFSv4.1 - stateful protocol version that supports sessions, directory delegations, and parallel data processing. Version 4.1 also includes all features available in version 4.0. + * The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to use the version specified, the sync will fail. If you don't specify a version, DataSync defaults to AUTOMATIC. That is, DataSync automatically selects a version based on negotiation with the NFS server. You can specify the following NFS versions: NFSv3 - stateless protocol version that allows for asynchronous writes on the server. NFSv4.0 - stateful, firewall-friendly protocol version that supports delegations and pseudo file systems. NFSv4.1 - stateful protocol version that supports sessions, directory delegations, and parallel data processing. Version 4.1 also includes all features available in version 4.0. */ Version?: NfsVersion; } @@ -1257,6 +1421,16 @@ declare namespace DataSync { */ SecurityGroupArns?: PLSecurityGroupArnList; } + export interface QopConfiguration { + /** + * The RPC protection setting configured on the HDFS cluster. This setting corresponds to your hadoop.rpc.protection setting in your core-site.xml file on your Hadoop cluster. + */ + RpcProtection?: HdfsRpcProtection; + /** + * The data transfer protection setting configured on the HDFS cluster. This setting corresponds to your dfs.data.transfer.protection setting in the hdfs-site.xml file on your Hadoop cluster. + */ + DataTransferProtection?: HdfsDataTransferProtection; + } export type S3BucketArn = string; export interface S3Config { /** @@ -1288,11 +1462,11 @@ declare namespace DataSync { TaskArn: TaskArn; OverrideOptions?: Options; /** - * A list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe). For example: "/folder1|/folder2" + * A list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2". */ Includes?: FilterList; /** - * A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2". + * 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". */ Excludes?: FilterList; } @@ -1446,6 +1620,62 @@ declare namespace DataSync { } export interface UpdateAgentResponse { } + export interface UpdateLocationHdfsRequest { + /** + * The Amazon Resource Name (ARN) of the source HDFS cluster location. + */ + LocationArn: LocationArn; + /** + * A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. + */ + Subdirectory?: HdfsSubdirectory; + /** + * The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode. + */ + NameNodes?: HdfsNameNodeList; + /** + * The size of the data blocks to write into the HDFS cluster. + */ + BlockSize?: HdfsBlockSize; + /** + * The number of DataNodes to replicate the data to when writing to the HDFS cluster. + */ + ReplicationFactor?: HdfsReplicationFactor; + /** + * The URI of the HDFS cluster's Key Management Server (KMS). + */ + KmsKeyProviderUri?: KmsKeyProviderUri; + /** + * The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy settings configured on the Hadoop Distributed File System (HDFS) cluster. + */ + QopConfiguration?: QopConfiguration; + /** + * The type of authentication used to determine the identity of the user. + */ + AuthenticationType?: HdfsAuthenticationType; + /** + * The user name used to identify the client on the host operating system. + */ + SimpleUser?: HdfsUser; + /** + * The Kerberos principal with access to the files and folders on the HDFS cluster. + */ + KerberosPrincipal?: KerberosPrincipal; + /** + * The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. You can load the keytab from a file by providing the file's address. If you use the AWS CLI, it performs base64 encoding for you. Otherwise, provide the base64-encoded text. + */ + KerberosKeytab?: KerberosKeytabFile; + /** + * The krb5.conf file that contains the Kerberos configuration information. You can load the krb5.conf file by providing the file's address. If you're using the AWS CLI, it performs the base64 encoding for you. Otherwise, provide the base64-encoded text. + */ + KerberosKrb5Conf?: KerberosKrb5ConfFile; + /** + * The ARNs of the agents that are used to connect to the HDFS cluster. + */ + AgentArns?: AgentArnList; + } + export interface UpdateLocationHdfsResponse { + } export interface UpdateLocationNfsRequest { /** * The Amazon Resource Name (ARN) of the NFS location to update. @@ -1537,7 +1767,7 @@ declare namespace DataSync { TaskArn: TaskArn; Options?: Options; /** - * A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example: "/folder1|/folder2" + * A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2". */ Excludes?: FilterList; /** @@ -1549,11 +1779,11 @@ declare namespace DataSync { */ Name?: TagValue; /** - * The Amazon Resource Name (ARN) of the resource name of the CloudWatch LogGroup. + * The Amazon Resource Name (ARN) of the resource name of the Amazon CloudWatch log group. */ CloudWatchLogGroupArn?: LogGroupArn; /** - * A list of filter rules that determines which files to include when running a task. The pattern should contain a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe). For example: "/folder1|/folder2" + * A list of filter rules that determines which files to include when running a task. The pattern contains a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a pipe), for example, "/folder1|/folder2". */ Includes?: FilterList; } diff --git a/clients/finspace.d.ts b/clients/finspace.d.ts index 0a1ad38a63..44206c2ed5 100644 --- a/clients/finspace.d.ts +++ b/clients/finspace.d.ts @@ -103,6 +103,14 @@ declare namespace Finspace { * Configuration information when authentication mode is FEDERATED. */ federationParameters?: FederationParameters; + /** + * Configuration information for the superuser. + */ + superuserParameters?: SuperuserParameters; + /** + * The list of Amazon Resource Names (ARN) of the data bundles to install. Currently supported data bundle ARNs: arn:aws:finspace:${Region}::data-bundle/capital-markets-sample - Contains sample Capital Markets datasets, categories and controlled vocabularies. arn:aws:finspace:${Region}::data-bundle/taq (default) - Contains trades and quotes data in addition to sample Capital Markets data. + */ + dataBundles?: DataBundleArns; } export interface CreateEnvironmentResponse { /** @@ -118,6 +126,8 @@ declare namespace Finspace { */ environmentUrl?: url; } + export type DataBundleArn = string; + export type DataBundleArns = DataBundleArn[]; export interface DeleteEnvironmentRequest { /** * The identifier for the FinSpace environment. @@ -127,6 +137,7 @@ declare namespace Finspace { export interface DeleteEnvironmentResponse { } export type Description = string; + export type EmailId = string; export interface Environment { /** * The name of the FinSpace environment. @@ -256,10 +267,25 @@ declare namespace Finspace { */ tags?: TagMap; } + export type NameString = string; export type PaginationToken = string; export type ResultLimit = number; export type SamlMetadataDocument = string; export type SmsDomainUrl = string; + export interface SuperuserParameters { + /** + * The email address of the superuser. + */ + emailAddress: EmailId; + /** + * The first name of the superuser. + */ + firstName: NameString; + /** + * The last name of the superuser. + */ + lastName: NameString; + } export type TagKey = string; export type TagKeyList = TagKey[]; export type TagMap = {[key: string]: TagValue}; diff --git a/clients/macie2.d.ts b/clients/macie2.d.ts index 822134ddab..4f1164b53f 100644 --- a/clients/macie2.d.ts +++ b/clients/macie2.d.ts @@ -28,11 +28,11 @@ declare class Macie2 extends Service { */ batchGetCustomDataIdentifiers(callback?: (err: AWSError, data: Macie2.Types.BatchGetCustomDataIdentifiersResponse) => void): Request; /** - * Creates and defines the settings for a classification job. + * Creates and defines the settings for a classification job. */ createClassificationJob(params: Macie2.Types.CreateClassificationJobRequest, callback?: (err: AWSError, data: Macie2.Types.CreateClassificationJobResponse) => void): Request; /** - * Creates and defines the settings for a classification job. + * Creates and defines the settings for a classification job. */ createClassificationJob(callback?: (err: AWSError, data: Macie2.Types.CreateClassificationJobResponse) => void): Request; /** @@ -452,11 +452,11 @@ declare class Macie2 extends Service { */ updateMacieSession(callback?: (err: AWSError, data: Macie2.Types.UpdateMacieSessionResponse) => void): Request; /** - * Enables an Amazon Macie administrator to suspend or re-enable a member account. + * Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account. */ updateMemberSession(params: Macie2.Types.UpdateMemberSessionRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateMemberSessionResponse) => void): Request; /** - * Enables an Amazon Macie administrator to suspend or re-enable a member account. + * Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account. */ updateMemberSession(callback?: (err: AWSError, data: Macie2.Types.UpdateMemberSessionResponse) => void): Request; /** @@ -972,11 +972,11 @@ declare namespace Macie2 { } export interface ClassificationResultStatus { /** - * The status of the finding. Possible values are: COMPLETE - Amazon Macie successfully completed its analysis of the S3 object that the finding applies to. PARTIAL - Macie analyzed only a subset of the data in the S3 object that the finding applies to. For example, the object is an archive file that contains files in an unsupported format. SKIPPED - Macie wasn't able to analyze the S3 object that the finding applies to. For example, the object is a file in an unsupported format. + * The status of the finding. Possible values are: COMPLETE - Amazon Macie successfully completed its analysis of the S3 object that the finding applies to. PARTIAL - Macie analyzed only a subset of the data in the S3 object that the finding applies to. For example, the object is an archive file that contains files in an unsupported format. SKIPPED - Macie wasn't able to analyze the S3 object that the finding applies to. For example, the object is a file that uses an unsupported format. */ code?: __string; /** - * A brief description of the status of the finding. Amazon Macie uses this value to notify you of any errors, warnings, or considerations that might impact your analysis of the finding. + * A brief description of the status of the finding. This value is null if the status (code) of the finding is COMPLETE. Amazon Macie uses this value to notify you of any errors, warnings, or considerations that might impact your analysis of the finding and the affected S3 object. Possible values are: ARCHIVE_CONTAINS_UNPROCESSED_FILES - The object is an archive file and Macie extracted and analyzed only some or none of the files in the archive. To determine which files Macie analyzed, if any, you can refer to the corresponding sensitive data discovery result for the finding (ClassificationDetails.detailedResultsLocation). ARCHIVE_EXCEEDS_SIZE_LIMIT - The object is an archive file whose total storage size exceeds the size quota for this type of archive. ARCHIVE_NESTING_LEVEL_OVER_LIMIT - The object is an archive file whose nested depth exceeds the quota for the maximum number of nested levels that Macie analyzes for this type of archive. ARCHIVE_TOTAL_BYTES_EXTRACTED_OVER_LIMIT - The object is an archive file that exceeds the quota for the maximum amount of data that Macie extracts and analyzes for this type of archive. ARCHIVE_TOTAL_DOCUMENTS_PROCESSED_OVER_LIMIT - The object is an archive file that contains more than the maximum number of files that Macie extracts and analyzes for this type of archive. FILE_EXCEEDS_SIZE_LIMIT - The storage size of the object exceeds the size quota for this type of file. INVALID_ENCRYPTION - The object is encrypted using server-side encryption but Macie isn’t allowed to use the key. Macie can’t decrypt and analyze the object. INVALID_KMS_KEY - The object is encrypted with an KMS key that was disabled or is being deleted. Macie can’t decrypt and analyze the object. INVALID_OBJECT_STATE - The object doesn’t use a supported Amazon S3 storage class. For more information, see Discovering sensitive data in the Amazon Macie User Guide. JSON_NESTING_LEVEL_OVER_LIMIT - The object contains JSON data and the nested depth of the data exceeds the quota for the number of nested levels that Macie analyzes for this type of file. MALFORMED_FILE - The object is a malformed or corrupted file. An error occurred when Macie attempted to detect the file’s type or extract data from the file. OBJECT_VERSION_MISMATCH - The object was changed while Macie was analyzing it. NO_SUCH_BUCKET_AVAILABLE - The object was in a bucket that was deleted shortly before or when Macie attempted to analyze the object. MALFORMED_OR_FILE_SIZE_EXCEEDS_LIMIT - The object is a Microsoft Office file that is malformed or exceeds the size quota for this type of file. If the file is malformed, an error occurred when Macie attempted to extract data from the file. OOXML_UNCOMPRESSED_SIZE_EXCEEDS_LIMIT - The object is an Office Open XML file that exceeds the size quota for this type of file. OOXML_UNCOMPRESSED_RATIO_EXCEEDS_LIMIT - The object is an Office Open XML file whose compression ratio exceeds the compression quota for this type of file. PERMISSION_DENIED - Macie isn’t allowed to access the object. The object’s permissions settings prevent Macie from analyzing the object. SOURCE_OBJECT_NO_LONGER_AVAILABLE - The object was deleted shortly before or when Macie attempted to analyze it. UNABLE_TO_PARSE_FILE - The object is a file that contains structured data and an error occurred when Macie attempted to parse the data. UNSUPPORTED_FILE_TYPE_EXCEPTION - The object is a file that uses an unsupported file or storage format. For more information, see Supported file and storage formats in the Amazon Macie User Guide. For information about sensitive data discovery quotas for files, see Amazon Macie quotas in the Amazon Macie User Guide. */ reason?: __string; } @@ -1050,7 +1050,7 @@ declare namespace Macie2 { */ description?: __string; /** - * An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive. + * An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive. */ ignoreWords?: __listOf__string; /** @@ -1058,7 +1058,7 @@ declare namespace Macie2 { */ keywords?: __listOf__string; /** - * The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50. + * The maximum number of characters that can exist between text that matches the regular expression and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regular expression. The distance can be 1-300 characters. The default value is 50. */ maximumMatchDistance?: __integer; /** @@ -1069,6 +1069,10 @@ declare namespace Macie2 { * The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters. */ regex?: __string; + /** + * The severity to assign to findings that the custom data identifier produces, based on the number of occurrences of text that matches the custom data identifier's detection criteria. You can specify as many as three SeverityLevel objects in this array, one for each severity: LOW, MEDIUM, or HIGH. If you specify more than one, the occurrences thresholds must be in ascending order by severity, moving from LOW to HIGH. For example, 1 for LOW, 50 for MEDIUM, and 100 for HIGH. If an S3 object contains fewer occurrences than the lowest specified threshold, Amazon Macie doesn't create a finding. If you don't specify any values for this array, Macie creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, and Macie assigns the MEDIUM severity to those findings. + */ + severityLevels?: SeverityLevelList; /** * A map of key-value pairs that specifies the tags to associate with the custom data identifier. A custom data identifier can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters. */ @@ -1158,7 +1162,7 @@ declare namespace Macie2 { } export interface CreateSampleFindingsRequest { /** - * An array that lists one or more types of findings to include in the set of sample findings. Currently, the only supported value is Policy:IAMUser/S3BucketEncryptionDisabled. + * An array of finding types, one for each type of sample finding to create. To create a sample of every type of finding that Amazon Macie supports, don't include this array in your request. */ findingTypes?: __listOfFindingType; } @@ -1265,6 +1269,7 @@ declare namespace Macie2 { export type CustomDetections = CustomDetection[]; export interface DailySchedule { } + export type DataIdentifierSeverity = "LOW"|"MEDIUM"|"HIGH"|string; export type DayOfWeek = "SUNDAY"|"MONDAY"|"TUESDAY"|"WEDNESDAY"|"THURSDAY"|"FRIDAY"|"SATURDAY"|string; export interface DeclineInvitationsRequest { /** @@ -1790,7 +1795,7 @@ declare namespace Macie2 { */ id?: __string; /** - * An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. Ignore words are case sensitive. + * An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. Ignore words are case sensitive. */ ignoreWords?: __listOf__string; /** @@ -1798,7 +1803,7 @@ declare namespace Macie2 { */ keywords?: __listOf__string; /** - * The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. + * The maximum number of characters that can exist between text that matches the regular expression and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regular expression. */ maximumMatchDistance?: __integer; /** @@ -1809,6 +1814,10 @@ declare namespace Macie2 { * The regular expression (regex) that defines the pattern to match. */ regex?: __string; + /** + * Specifies the severity that's assigned to findings that the custom data identifier produces, based on the number of occurrences of text that matches the custom data identifier's detection criteria. By default, Amazon Macie creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, and Macie assigns the MEDIUM severity to those findings. + */ + severityLevels?: SeverityLevelList; /** * A map of key-value pairs that identifies the tags (keys and values) that are associated with the custom data identifier. */ @@ -2488,7 +2497,7 @@ declare namespace Macie2 { export type ManagedDataIdentifierSelector = "ALL"|"EXCLUDE"|"INCLUDE"|"NONE"|string; export interface ManagedDataIdentifierSummary { /** - * The category of sensitive data that the managed data identifier detects: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers. + * The category of sensitive data that the managed data identifier detects: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers. */ category?: SensitiveDataItemCategory; /** @@ -3027,7 +3036,7 @@ declare namespace Macie2 { export type SensitiveData = SensitiveDataItem[]; export interface SensitiveDataItem { /** - * The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers. + * The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers. */ category?: SensitiveDataItemCategory; /** @@ -3117,6 +3126,17 @@ declare namespace Macie2 { score?: __long; } export type SeverityDescription = "Low"|"Medium"|"High"|string; + export interface SeverityLevel { + /** + * The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity). + */ + occurrencesThreshold: __long; + /** + * The severity to assign to a finding if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold) and, if applicable, is less than the threshold for the next consecutive severity level for the custom data identifier. + */ + severity: DataIdentifierSeverity; + } + export type SeverityLevelList = SeverityLevel[]; export type SharedAccess = "EXTERNAL"|"INTERNAL"|"NOT_SHARED"|"UNKNOWN"|string; export interface SimpleCriterionForJob { /** @@ -3232,7 +3252,7 @@ declare namespace Macie2 { } export interface TestCustomDataIdentifierRequest { /** - * An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive. + * An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression contains any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4-90 UTF-8 characters. Ignore words are case sensitive. */ ignoreWords?: __listOf__string; /** @@ -3240,7 +3260,7 @@ declare namespace Macie2 { */ keywords?: __listOf__string; /** - * The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1-300 characters. The default value is 50. + * The maximum number of characters that can exist between text that matches the regular expression and the character sequences specified by the keywords array. Amazon Macie includes or excludes a result based on the proximity of a keyword to text that matches the regular expression. The distance can be 1-300 characters. The default value is 50. */ maximumMatchDistance?: __integer; /** @@ -3254,7 +3274,7 @@ declare namespace Macie2 { } export interface TestCustomDataIdentifierResponse { /** - * The number of instances of sample text that matched the detection criteria specified in the custom data identifier. + * The number of occurrences of sample text that matched the criteria specified by the custom data identifier. */ matchCount?: __integer; } diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index e4523a9af1..32354c015a 100644 --- a/dist/aws-sdk-core-react-native.js +++ b/dist/aws-sdk-core-react-native.js @@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap /** * @constant */ - VERSION: '2.1020.0', + VERSION: '2.1021.0', /** * @api private diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index 126c5997ea..f209a2a21f 100644 --- a/dist/aws-sdk-react-native.js +++ b/dist/aws-sdk-react-native.js @@ -395,7 +395,7 @@ return /******/ (function(modules) { // webpackBootstrap /** * @constant */ - VERSION: '2.1020.0', + VERSION: '2.1021.0', /** * @api private @@ -50316,7 +50316,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 671 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-11-09","endpointPrefix":"datasync","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"DataSync","serviceFullName":"AWS DataSync","serviceId":"DataSync","signatureVersion":"v4","signingName":"datasync","targetPrefix":"FmrsService","uid":"datasync-2018-11-09"},"operations":{"CancelTaskExecution":{"input":{"type":"structure","required":["TaskExecutionArn"],"members":{"TaskExecutionArn":{}}},"output":{"type":"structure","members":{}}},"CreateAgent":{"input":{"type":"structure","required":["ActivationKey"],"members":{"ActivationKey":{},"AgentName":{},"Tags":{"shape":"S7"},"VpcEndpointId":{},"SubnetArns":{"shape":"Sb"},"SecurityGroupArns":{"shape":"Sd"}}},"output":{"type":"structure","members":{"AgentArn":{}}}},"CreateLocationEfs":{"input":{"type":"structure","required":["EfsFilesystemArn","Ec2Config"],"members":{"Subdirectory":{},"EfsFilesystemArn":{},"Ec2Config":{"shape":"Sk"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"LocationArn":{}}}},"CreateLocationFsxWindows":{"input":{"type":"structure","required":["FsxFilesystemArn","SecurityGroupArns","User","Password"],"members":{"Subdirectory":{},"FsxFilesystemArn":{},"SecurityGroupArns":{"shape":"Sl"},"Tags":{"shape":"S7"},"User":{},"Domain":{},"Password":{"shape":"St"}}},"output":{"type":"structure","members":{"LocationArn":{}}}},"CreateLocationNfs":{"input":{"type":"structure","required":["Subdirectory","ServerHostname","OnPremConfig"],"members":{"Subdirectory":{},"ServerHostname":{},"OnPremConfig":{"shape":"Sy"},"MountOptions":{"shape":"S10"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"LocationArn":{}}}},"CreateLocationObjectStorage":{"input":{"type":"structure","required":["ServerHostname","BucketName","AgentArns"],"members":{"ServerHostname":{},"ServerPort":{"type":"integer"},"ServerProtocol":{},"Subdirectory":{},"BucketName":{},"AccessKey":{},"SecretKey":{"shape":"S19"},"AgentArns":{"shape":"Sz"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"LocationArn":{}}}},"CreateLocationS3":{"input":{"type":"structure","required":["S3BucketArn","S3Config"],"members":{"Subdirectory":{},"S3BucketArn":{},"S3StorageClass":{},"S3Config":{"shape":"S1e"},"AgentArns":{"shape":"Sz"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"LocationArn":{}}}},"CreateLocationSmb":{"input":{"type":"structure","required":["Subdirectory","ServerHostname","User","Password","AgentArns"],"members":{"Subdirectory":{},"ServerHostname":{},"User":{},"Domain":{},"Password":{"shape":"St"},"AgentArns":{"shape":"Sz"},"MountOptions":{"shape":"S1j"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"LocationArn":{}}}},"CreateTask":{"input":{"type":"structure","required":["SourceLocationArn","DestinationLocationArn"],"members":{"SourceLocationArn":{},"DestinationLocationArn":{},"CloudWatchLogGroupArn":{},"Name":{},"Options":{"shape":"S1o"},"Excludes":{"shape":"S23"},"Schedule":{"shape":"S27"},"Tags":{"shape":"S7"},"Includes":{"shape":"S23"}}},"output":{"type":"structure","members":{"TaskArn":{}}}},"DeleteAgent":{"input":{"type":"structure","required":["AgentArn"],"members":{"AgentArn":{}}},"output":{"type":"structure","members":{}}},"DeleteLocation":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{}}},"DeleteTask":{"input":{"type":"structure","required":["TaskArn"],"members":{"TaskArn":{}}},"output":{"type":"structure","members":{}}},"DescribeAgent":{"input":{"type":"structure","required":["AgentArn"],"members":{"AgentArn":{}}},"output":{"type":"structure","members":{"AgentArn":{},"Name":{},"Status":{},"LastConnectionTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"EndpointType":{},"PrivateLinkConfig":{"type":"structure","members":{"VpcEndpointId":{},"PrivateLinkEndpoint":{},"SubnetArns":{"shape":"Sb"},"SecurityGroupArns":{"shape":"Sd"}}}}}},"DescribeLocationEfs":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{"LocationArn":{},"LocationUri":{},"Ec2Config":{"shape":"Sk"},"CreationTime":{"type":"timestamp"}}}},"DescribeLocationFsxWindows":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{"LocationArn":{},"LocationUri":{},"SecurityGroupArns":{"shape":"Sl"},"CreationTime":{"type":"timestamp"},"User":{},"Domain":{}}}},"DescribeLocationNfs":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{"LocationArn":{},"LocationUri":{},"OnPremConfig":{"shape":"Sy"},"MountOptions":{"shape":"S10"},"CreationTime":{"type":"timestamp"}}}},"DescribeLocationObjectStorage":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{"LocationArn":{},"LocationUri":{},"AccessKey":{},"ServerPort":{"type":"integer"},"ServerProtocol":{},"AgentArns":{"shape":"Sz"},"CreationTime":{"type":"timestamp"}}}},"DescribeLocationS3":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{"LocationArn":{},"LocationUri":{},"S3StorageClass":{},"S3Config":{"shape":"S1e"},"AgentArns":{"shape":"Sz"},"CreationTime":{"type":"timestamp"}}}},"DescribeLocationSmb":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{"LocationArn":{},"LocationUri":{},"AgentArns":{"shape":"Sz"},"User":{},"Domain":{},"MountOptions":{"shape":"S1j"},"CreationTime":{"type":"timestamp"}}}},"DescribeTask":{"input":{"type":"structure","required":["TaskArn"],"members":{"TaskArn":{}}},"output":{"type":"structure","members":{"TaskArn":{},"Status":{},"Name":{},"CurrentTaskExecutionArn":{},"SourceLocationArn":{},"DestinationLocationArn":{},"CloudWatchLogGroupArn":{},"SourceNetworkInterfaceArns":{"type":"list","member":{}},"DestinationNetworkInterfaceArns":{"type":"list","member":{}},"Options":{"shape":"S1o"},"Excludes":{"shape":"S23"},"Schedule":{"shape":"S27"},"ErrorCode":{},"ErrorDetail":{},"CreationTime":{"type":"timestamp"},"Includes":{"shape":"S23"}}}},"DescribeTaskExecution":{"input":{"type":"structure","required":["TaskExecutionArn"],"members":{"TaskExecutionArn":{}}},"output":{"type":"structure","members":{"TaskExecutionArn":{},"Status":{},"Options":{"shape":"S1o"},"Excludes":{"shape":"S23"},"Includes":{"shape":"S23"},"StartTime":{"type":"timestamp"},"EstimatedFilesToTransfer":{"type":"long"},"EstimatedBytesToTransfer":{"type":"long"},"FilesTransferred":{"type":"long"},"BytesWritten":{"type":"long"},"BytesTransferred":{"type":"long"},"Result":{"type":"structure","members":{"PrepareDuration":{"type":"long"},"PrepareStatus":{},"TotalDuration":{"type":"long"},"TransferDuration":{"type":"long"},"TransferStatus":{},"VerifyDuration":{"type":"long"},"VerifyStatus":{},"ErrorCode":{},"ErrorDetail":{}}}}}},"ListAgents":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Agents":{"type":"list","member":{"type":"structure","members":{"AgentArn":{},"Name":{},"Status":{}}}},"NextToken":{}}}},"ListLocations":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"list","member":{"type":"structure","required":["Name","Values","Operator"],"members":{"Name":{},"Values":{"shape":"S3p"},"Operator":{}}}}}},"output":{"type":"structure","members":{"Locations":{"type":"list","member":{"type":"structure","members":{"LocationArn":{},"LocationUri":{}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Tags":{"type":"list","member":{"shape":"S8"}},"NextToken":{}}}},"ListTaskExecutions":{"input":{"type":"structure","members":{"TaskArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"TaskExecutions":{"type":"list","member":{"type":"structure","members":{"TaskExecutionArn":{},"Status":{}}}},"NextToken":{}}}},"ListTasks":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"list","member":{"type":"structure","required":["Name","Values","Operator"],"members":{"Name":{},"Values":{"shape":"S3p"},"Operator":{}}}}}},"output":{"type":"structure","members":{"Tasks":{"type":"list","member":{"type":"structure","members":{"TaskArn":{},"Status":{},"Name":{}}}},"NextToken":{}}}},"StartTaskExecution":{"input":{"type":"structure","required":["TaskArn"],"members":{"TaskArn":{},"OverrideOptions":{"shape":"S1o"},"Includes":{"shape":"S23"},"Excludes":{"shape":"S23"}}},"output":{"type":"structure","members":{"TaskExecutionArn":{}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","Keys"],"members":{"ResourceArn":{},"Keys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateAgent":{"input":{"type":"structure","required":["AgentArn"],"members":{"AgentArn":{},"Name":{}}},"output":{"type":"structure","members":{}}},"UpdateLocationNfs":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{},"Subdirectory":{},"OnPremConfig":{"shape":"Sy"},"MountOptions":{"shape":"S10"}}},"output":{"type":"structure","members":{}}},"UpdateLocationObjectStorage":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{},"ServerPort":{"type":"integer"},"ServerProtocol":{},"Subdirectory":{},"AccessKey":{},"SecretKey":{"shape":"S19"},"AgentArns":{"shape":"Sz"}}},"output":{"type":"structure","members":{}}},"UpdateLocationSmb":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{},"Subdirectory":{},"User":{},"Domain":{},"Password":{"shape":"St"},"AgentArns":{"shape":"Sz"},"MountOptions":{"shape":"S1j"}}},"output":{"type":"structure","members":{}}},"UpdateTask":{"input":{"type":"structure","required":["TaskArn"],"members":{"TaskArn":{},"Options":{"shape":"S1o"},"Excludes":{"shape":"S23"},"Schedule":{"shape":"S27"},"Name":{},"CloudWatchLogGroupArn":{},"Includes":{"shape":"S23"}}},"output":{"type":"structure","members":{}}},"UpdateTaskExecution":{"input":{"type":"structure","required":["TaskExecutionArn","Options"],"members":{"TaskExecutionArn":{},"Options":{"shape":"S1o"}}},"output":{"type":"structure","members":{}}}},"shapes":{"S7":{"type":"list","member":{"shape":"S8"}},"S8":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}},"Sb":{"type":"list","member":{}},"Sd":{"type":"list","member":{}},"Sk":{"type":"structure","required":["SubnetArn","SecurityGroupArns"],"members":{"SubnetArn":{},"SecurityGroupArns":{"shape":"Sl"}}},"Sl":{"type":"list","member":{}},"St":{"type":"string","sensitive":true},"Sy":{"type":"structure","required":["AgentArns"],"members":{"AgentArns":{"shape":"Sz"}}},"Sz":{"type":"list","member":{}},"S10":{"type":"structure","members":{"Version":{}}},"S19":{"type":"string","sensitive":true},"S1e":{"type":"structure","required":["BucketAccessRoleArn"],"members":{"BucketAccessRoleArn":{}}},"S1j":{"type":"structure","members":{"Version":{}}},"S1o":{"type":"structure","members":{"VerifyMode":{},"OverwriteMode":{},"Atime":{},"Mtime":{},"Uid":{},"Gid":{},"PreserveDeletedFiles":{},"PreserveDevices":{},"PosixPermissions":{},"BytesPerSecond":{"type":"long"},"TaskQueueing":{},"LogLevel":{},"TransferMode":{},"SecurityDescriptorCopyFlags":{}}},"S23":{"type":"list","member":{"type":"structure","members":{"FilterType":{},"Value":{}}}},"S27":{"type":"structure","required":["ScheduleExpression"],"members":{"ScheduleExpression":{}}},"S3p":{"type":"list","member":{}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2018-11-09","endpointPrefix":"datasync","jsonVersion":"1.1","protocol":"json","serviceAbbreviation":"DataSync","serviceFullName":"AWS DataSync","serviceId":"DataSync","signatureVersion":"v4","signingName":"datasync","targetPrefix":"FmrsService","uid":"datasync-2018-11-09"},"operations":{"CancelTaskExecution":{"input":{"type":"structure","required":["TaskExecutionArn"],"members":{"TaskExecutionArn":{}}},"output":{"type":"structure","members":{}}},"CreateAgent":{"input":{"type":"structure","required":["ActivationKey"],"members":{"ActivationKey":{},"AgentName":{},"Tags":{"shape":"S7"},"VpcEndpointId":{},"SubnetArns":{"shape":"Sb"},"SecurityGroupArns":{"shape":"Sd"}}},"output":{"type":"structure","members":{"AgentArn":{}}}},"CreateLocationEfs":{"input":{"type":"structure","required":["EfsFilesystemArn","Ec2Config"],"members":{"Subdirectory":{},"EfsFilesystemArn":{},"Ec2Config":{"shape":"Sk"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"LocationArn":{}}}},"CreateLocationFsxWindows":{"input":{"type":"structure","required":["FsxFilesystemArn","SecurityGroupArns","User","Password"],"members":{"Subdirectory":{},"FsxFilesystemArn":{},"SecurityGroupArns":{"shape":"Sl"},"Tags":{"shape":"S7"},"User":{},"Domain":{},"Password":{"shape":"St"}}},"output":{"type":"structure","members":{"LocationArn":{}}}},"CreateLocationHdfs":{"input":{"type":"structure","required":["NameNodes","AuthenticationType","AgentArns"],"members":{"Subdirectory":{},"NameNodes":{"shape":"Sx"},"BlockSize":{"type":"integer"},"ReplicationFactor":{"type":"integer"},"KmsKeyProviderUri":{},"QopConfiguration":{"shape":"S14"},"AuthenticationType":{},"SimpleUser":{},"KerberosPrincipal":{},"KerberosKeytab":{"type":"blob"},"KerberosKrb5Conf":{"type":"blob"},"AgentArns":{"shape":"S1c"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"LocationArn":{}}}},"CreateLocationNfs":{"input":{"type":"structure","required":["Subdirectory","ServerHostname","OnPremConfig"],"members":{"Subdirectory":{},"ServerHostname":{},"OnPremConfig":{"shape":"S1h"},"MountOptions":{"shape":"S1i"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"LocationArn":{}}}},"CreateLocationObjectStorage":{"input":{"type":"structure","required":["ServerHostname","BucketName","AgentArns"],"members":{"ServerHostname":{},"ServerPort":{"type":"integer"},"ServerProtocol":{},"Subdirectory":{},"BucketName":{},"AccessKey":{},"SecretKey":{"shape":"S1r"},"AgentArns":{"shape":"S1c"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"LocationArn":{}}}},"CreateLocationS3":{"input":{"type":"structure","required":["S3BucketArn","S3Config"],"members":{"Subdirectory":{},"S3BucketArn":{},"S3StorageClass":{},"S3Config":{"shape":"S1w"},"AgentArns":{"shape":"S1c"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"LocationArn":{}}}},"CreateLocationSmb":{"input":{"type":"structure","required":["Subdirectory","ServerHostname","User","Password","AgentArns"],"members":{"Subdirectory":{},"ServerHostname":{},"User":{},"Domain":{},"Password":{"shape":"St"},"AgentArns":{"shape":"S1c"},"MountOptions":{"shape":"S21"},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{"LocationArn":{}}}},"CreateTask":{"input":{"type":"structure","required":["SourceLocationArn","DestinationLocationArn"],"members":{"SourceLocationArn":{},"DestinationLocationArn":{},"CloudWatchLogGroupArn":{},"Name":{},"Options":{"shape":"S26"},"Excludes":{"shape":"S2l"},"Schedule":{"shape":"S2p"},"Tags":{"shape":"S7"},"Includes":{"shape":"S2l"}}},"output":{"type":"structure","members":{"TaskArn":{}}}},"DeleteAgent":{"input":{"type":"structure","required":["AgentArn"],"members":{"AgentArn":{}}},"output":{"type":"structure","members":{}}},"DeleteLocation":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{}}},"DeleteTask":{"input":{"type":"structure","required":["TaskArn"],"members":{"TaskArn":{}}},"output":{"type":"structure","members":{}}},"DescribeAgent":{"input":{"type":"structure","required":["AgentArn"],"members":{"AgentArn":{}}},"output":{"type":"structure","members":{"AgentArn":{},"Name":{},"Status":{},"LastConnectionTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"EndpointType":{},"PrivateLinkConfig":{"type":"structure","members":{"VpcEndpointId":{},"PrivateLinkEndpoint":{},"SubnetArns":{"shape":"Sb"},"SecurityGroupArns":{"shape":"Sd"}}}}}},"DescribeLocationEfs":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{"LocationArn":{},"LocationUri":{},"Ec2Config":{"shape":"Sk"},"CreationTime":{"type":"timestamp"}}}},"DescribeLocationFsxWindows":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{"LocationArn":{},"LocationUri":{},"SecurityGroupArns":{"shape":"Sl"},"CreationTime":{"type":"timestamp"},"User":{},"Domain":{}}}},"DescribeLocationHdfs":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{"LocationArn":{},"LocationUri":{},"NameNodes":{"shape":"Sx"},"BlockSize":{"type":"integer"},"ReplicationFactor":{"type":"integer"},"KmsKeyProviderUri":{},"QopConfiguration":{"shape":"S14"},"AuthenticationType":{},"SimpleUser":{},"KerberosPrincipal":{},"AgentArns":{"shape":"S1c"},"CreationTime":{"type":"timestamp"}}}},"DescribeLocationNfs":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{"LocationArn":{},"LocationUri":{},"OnPremConfig":{"shape":"S1h"},"MountOptions":{"shape":"S1i"},"CreationTime":{"type":"timestamp"}}}},"DescribeLocationObjectStorage":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{"LocationArn":{},"LocationUri":{},"AccessKey":{},"ServerPort":{"type":"integer"},"ServerProtocol":{},"AgentArns":{"shape":"S1c"},"CreationTime":{"type":"timestamp"}}}},"DescribeLocationS3":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{"LocationArn":{},"LocationUri":{},"S3StorageClass":{},"S3Config":{"shape":"S1w"},"AgentArns":{"shape":"S1c"},"CreationTime":{"type":"timestamp"}}}},"DescribeLocationSmb":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{}}},"output":{"type":"structure","members":{"LocationArn":{},"LocationUri":{},"AgentArns":{"shape":"S1c"},"User":{},"Domain":{},"MountOptions":{"shape":"S21"},"CreationTime":{"type":"timestamp"}}}},"DescribeTask":{"input":{"type":"structure","required":["TaskArn"],"members":{"TaskArn":{}}},"output":{"type":"structure","members":{"TaskArn":{},"Status":{},"Name":{},"CurrentTaskExecutionArn":{},"SourceLocationArn":{},"DestinationLocationArn":{},"CloudWatchLogGroupArn":{},"SourceNetworkInterfaceArns":{"type":"list","member":{}},"DestinationNetworkInterfaceArns":{"type":"list","member":{}},"Options":{"shape":"S26"},"Excludes":{"shape":"S2l"},"Schedule":{"shape":"S2p"},"ErrorCode":{},"ErrorDetail":{},"CreationTime":{"type":"timestamp"},"Includes":{"shape":"S2l"}}}},"DescribeTaskExecution":{"input":{"type":"structure","required":["TaskExecutionArn"],"members":{"TaskExecutionArn":{}}},"output":{"type":"structure","members":{"TaskExecutionArn":{},"Status":{},"Options":{"shape":"S26"},"Excludes":{"shape":"S2l"},"Includes":{"shape":"S2l"},"StartTime":{"type":"timestamp"},"EstimatedFilesToTransfer":{"type":"long"},"EstimatedBytesToTransfer":{"type":"long"},"FilesTransferred":{"type":"long"},"BytesWritten":{"type":"long"},"BytesTransferred":{"type":"long"},"Result":{"type":"structure","members":{"PrepareDuration":{"type":"long"},"PrepareStatus":{},"TotalDuration":{"type":"long"},"TransferDuration":{"type":"long"},"TransferStatus":{},"VerifyDuration":{"type":"long"},"VerifyStatus":{},"ErrorCode":{},"ErrorDetail":{}}}}}},"ListAgents":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Agents":{"type":"list","member":{"type":"structure","members":{"AgentArn":{},"Name":{},"Status":{}}}},"NextToken":{}}}},"ListLocations":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"list","member":{"type":"structure","required":["Name","Values","Operator"],"members":{"Name":{},"Values":{"shape":"S49"},"Operator":{}}}}}},"output":{"type":"structure","members":{"Locations":{"type":"list","member":{"type":"structure","members":{"LocationArn":{},"LocationUri":{}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"Tags":{"type":"list","member":{"shape":"S8"}},"NextToken":{}}}},"ListTaskExecutions":{"input":{"type":"structure","members":{"TaskArn":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"TaskExecutions":{"type":"list","member":{"type":"structure","members":{"TaskExecutionArn":{},"Status":{}}}},"NextToken":{}}}},"ListTasks":{"input":{"type":"structure","members":{"MaxResults":{"type":"integer"},"NextToken":{},"Filters":{"type":"list","member":{"type":"structure","required":["Name","Values","Operator"],"members":{"Name":{},"Values":{"shape":"S49"},"Operator":{}}}}}},"output":{"type":"structure","members":{"Tasks":{"type":"list","member":{"type":"structure","members":{"TaskArn":{},"Status":{},"Name":{}}}},"NextToken":{}}}},"StartTaskExecution":{"input":{"type":"structure","required":["TaskArn"],"members":{"TaskArn":{},"OverrideOptions":{"shape":"S26"},"Includes":{"shape":"S2l"},"Excludes":{"shape":"S2l"}}},"output":{"type":"structure","members":{"TaskExecutionArn":{}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"S7"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","Keys"],"members":{"ResourceArn":{},"Keys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateAgent":{"input":{"type":"structure","required":["AgentArn"],"members":{"AgentArn":{},"Name":{}}},"output":{"type":"structure","members":{}}},"UpdateLocationHdfs":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{},"Subdirectory":{},"NameNodes":{"shape":"Sx"},"BlockSize":{"type":"integer"},"ReplicationFactor":{"type":"integer"},"KmsKeyProviderUri":{},"QopConfiguration":{"shape":"S14"},"AuthenticationType":{},"SimpleUser":{},"KerberosPrincipal":{},"KerberosKeytab":{"type":"blob"},"KerberosKrb5Conf":{"type":"blob"},"AgentArns":{"shape":"S1c"}}},"output":{"type":"structure","members":{}}},"UpdateLocationNfs":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{},"Subdirectory":{},"OnPremConfig":{"shape":"S1h"},"MountOptions":{"shape":"S1i"}}},"output":{"type":"structure","members":{}}},"UpdateLocationObjectStorage":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{},"ServerPort":{"type":"integer"},"ServerProtocol":{},"Subdirectory":{},"AccessKey":{},"SecretKey":{"shape":"S1r"},"AgentArns":{"shape":"S1c"}}},"output":{"type":"structure","members":{}}},"UpdateLocationSmb":{"input":{"type":"structure","required":["LocationArn"],"members":{"LocationArn":{},"Subdirectory":{},"User":{},"Domain":{},"Password":{"shape":"St"},"AgentArns":{"shape":"S1c"},"MountOptions":{"shape":"S21"}}},"output":{"type":"structure","members":{}}},"UpdateTask":{"input":{"type":"structure","required":["TaskArn"],"members":{"TaskArn":{},"Options":{"shape":"S26"},"Excludes":{"shape":"S2l"},"Schedule":{"shape":"S2p"},"Name":{},"CloudWatchLogGroupArn":{},"Includes":{"shape":"S2l"}}},"output":{"type":"structure","members":{}}},"UpdateTaskExecution":{"input":{"type":"structure","required":["TaskExecutionArn","Options"],"members":{"TaskExecutionArn":{},"Options":{"shape":"S26"}}},"output":{"type":"structure","members":{}}}},"shapes":{"S7":{"type":"list","member":{"shape":"S8"}},"S8":{"type":"structure","required":["Key"],"members":{"Key":{},"Value":{}}},"Sb":{"type":"list","member":{}},"Sd":{"type":"list","member":{}},"Sk":{"type":"structure","required":["SubnetArn","SecurityGroupArns"],"members":{"SubnetArn":{},"SecurityGroupArns":{"shape":"Sl"}}},"Sl":{"type":"list","member":{}},"St":{"type":"string","sensitive":true},"Sx":{"type":"list","member":{"type":"structure","required":["Hostname","Port"],"members":{"Hostname":{},"Port":{"type":"integer"}}}},"S14":{"type":"structure","members":{"RpcProtection":{},"DataTransferProtection":{}}},"S1c":{"type":"list","member":{}},"S1h":{"type":"structure","required":["AgentArns"],"members":{"AgentArns":{"shape":"S1c"}}},"S1i":{"type":"structure","members":{"Version":{}}},"S1r":{"type":"string","sensitive":true},"S1w":{"type":"structure","required":["BucketAccessRoleArn"],"members":{"BucketAccessRoleArn":{}}},"S21":{"type":"structure","members":{"Version":{}}},"S26":{"type":"structure","members":{"VerifyMode":{},"OverwriteMode":{},"Atime":{},"Mtime":{},"Uid":{},"Gid":{},"PreserveDeletedFiles":{},"PreserveDevices":{},"PosixPermissions":{},"BytesPerSecond":{"type":"long"},"TaskQueueing":{},"LogLevel":{},"TransferMode":{},"SecurityDescriptorCopyFlags":{}}},"S2l":{"type":"list","member":{"type":"structure","members":{"FilterType":{},"Value":{}}}},"S2p":{"type":"structure","required":["ScheduleExpression"],"members":{"ScheduleExpression":{}}},"S49":{"type":"list","member":{}}}} /***/ }), /* 672 */ @@ -52816,7 +52816,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 880 */ /***/ (function(module, exports) { - module.exports = {"metadata":{"apiVersion":"2020-01-01","endpointPrefix":"macie2","signingName":"macie2","serviceFullName":"Amazon Macie 2","serviceId":"Macie2","protocol":"rest-json","jsonVersion":"1.1","uid":"macie2-2020-01-01","signatureVersion":"v4"},"operations":{"AcceptInvitation":{"http":{"requestUri":"/invitations/accept","responseCode":200},"input":{"type":"structure","members":{"administratorAccountId":{"locationName":"administratorAccountId"},"invitationId":{"locationName":"invitationId"},"masterAccount":{"locationName":"masterAccount"}},"required":["invitationId"]},"output":{"type":"structure","members":{}}},"BatchGetCustomDataIdentifiers":{"http":{"requestUri":"/custom-data-identifiers/get","responseCode":200},"input":{"type":"structure","members":{"ids":{"shape":"S5","locationName":"ids"}}},"output":{"type":"structure","members":{"customDataIdentifiers":{"locationName":"customDataIdentifiers","type":"list","member":{"type":"structure","members":{"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"deleted":{"locationName":"deleted","type":"boolean"},"description":{"locationName":"description"},"id":{"locationName":"id"},"name":{"locationName":"name"}}}},"notFoundIdentifierIds":{"shape":"S5","locationName":"notFoundIdentifierIds"}}}},"CreateClassificationJob":{"http":{"requestUri":"/jobs","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"customDataIdentifierIds":{"shape":"S5","locationName":"customDataIdentifierIds"},"description":{"locationName":"description"},"initialRun":{"locationName":"initialRun","type":"boolean"},"jobType":{"locationName":"jobType"},"managedDataIdentifierIds":{"shape":"S5","locationName":"managedDataIdentifierIds"},"managedDataIdentifierSelector":{"locationName":"managedDataIdentifierSelector"},"name":{"locationName":"name"},"s3JobDefinition":{"shape":"Se","locationName":"s3JobDefinition"},"samplingPercentage":{"locationName":"samplingPercentage","type":"integer"},"scheduleFrequency":{"shape":"S12","locationName":"scheduleFrequency"},"tags":{"shape":"S17","locationName":"tags"}},"required":["s3JobDefinition","jobType","clientToken","name"]},"output":{"type":"structure","members":{"jobArn":{"locationName":"jobArn"},"jobId":{"locationName":"jobId"}}}},"CreateCustomDataIdentifier":{"http":{"requestUri":"/custom-data-identifiers","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"description":{"locationName":"description"},"ignoreWords":{"shape":"S5","locationName":"ignoreWords"},"keywords":{"shape":"S5","locationName":"keywords"},"maximumMatchDistance":{"locationName":"maximumMatchDistance","type":"integer"},"name":{"locationName":"name"},"regex":{"locationName":"regex"},"tags":{"shape":"S17","locationName":"tags"}}},"output":{"type":"structure","members":{"customDataIdentifierId":{"locationName":"customDataIdentifierId"}}}},"CreateFindingsFilter":{"http":{"requestUri":"/findingsfilters","responseCode":200},"input":{"type":"structure","members":{"action":{"locationName":"action"},"clientToken":{"locationName":"clientToken","idempotencyToken":true},"description":{"locationName":"description"},"findingCriteria":{"shape":"S1d","locationName":"findingCriteria"},"name":{"locationName":"name"},"position":{"locationName":"position","type":"integer"},"tags":{"shape":"S17","locationName":"tags"}},"required":["action","findingCriteria","name"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"},"id":{"locationName":"id"}}}},"CreateInvitations":{"http":{"requestUri":"/invitations","responseCode":200},"input":{"type":"structure","members":{"accountIds":{"shape":"S5","locationName":"accountIds"},"disableEmailNotification":{"locationName":"disableEmailNotification","type":"boolean"},"message":{"locationName":"message"}},"required":["accountIds"]},"output":{"type":"structure","members":{"unprocessedAccounts":{"shape":"S1k","locationName":"unprocessedAccounts"}}}},"CreateMember":{"http":{"requestUri":"/members","responseCode":200},"input":{"type":"structure","members":{"account":{"locationName":"account","type":"structure","members":{"accountId":{"locationName":"accountId"},"email":{"locationName":"email"}},"required":["email","accountId"]},"tags":{"shape":"S17","locationName":"tags"}},"required":["account"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"}}}},"CreateSampleFindings":{"http":{"requestUri":"/findings/sample","responseCode":200},"input":{"type":"structure","members":{"findingTypes":{"locationName":"findingTypes","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DeclineInvitations":{"http":{"requestUri":"/invitations/decline","responseCode":200},"input":{"type":"structure","members":{"accountIds":{"shape":"S5","locationName":"accountIds"}},"required":["accountIds"]},"output":{"type":"structure","members":{"unprocessedAccounts":{"shape":"S1k","locationName":"unprocessedAccounts"}}}},"DeleteCustomDataIdentifier":{"http":{"method":"DELETE","requestUri":"/custom-data-identifiers/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"DeleteFindingsFilter":{"http":{"method":"DELETE","requestUri":"/findingsfilters/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"DeleteInvitations":{"http":{"requestUri":"/invitations/delete","responseCode":200},"input":{"type":"structure","members":{"accountIds":{"shape":"S5","locationName":"accountIds"}},"required":["accountIds"]},"output":{"type":"structure","members":{"unprocessedAccounts":{"shape":"S1k","locationName":"unprocessedAccounts"}}}},"DeleteMember":{"http":{"method":"DELETE","requestUri":"/members/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"DescribeBuckets":{"http":{"requestUri":"/datasources/s3","responseCode":200},"input":{"type":"structure","members":{"criteria":{"locationName":"criteria","type":"map","key":{},"value":{"type":"structure","members":{"eq":{"shape":"S5","locationName":"eq"},"gt":{"locationName":"gt","type":"long"},"gte":{"locationName":"gte","type":"long"},"lt":{"locationName":"lt","type":"long"},"lte":{"locationName":"lte","type":"long"},"neq":{"shape":"S5","locationName":"neq"},"prefix":{"locationName":"prefix"}}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}}},"output":{"type":"structure","members":{"buckets":{"locationName":"buckets","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"allowsUnencryptedObjectUploads":{"locationName":"allowsUnencryptedObjectUploads"},"bucketArn":{"locationName":"bucketArn"},"bucketCreatedAt":{"shape":"S9","locationName":"bucketCreatedAt"},"bucketName":{"locationName":"bucketName"},"classifiableObjectCount":{"locationName":"classifiableObjectCount","type":"long"},"classifiableSizeInBytes":{"locationName":"classifiableSizeInBytes","type":"long"},"errorCode":{"locationName":"errorCode"},"errorMessage":{"locationName":"errorMessage"},"jobDetails":{"shape":"S2e","locationName":"jobDetails"},"lastUpdated":{"shape":"S9","locationName":"lastUpdated"},"objectCount":{"locationName":"objectCount","type":"long"},"objectCountByEncryptionType":{"shape":"S2h","locationName":"objectCountByEncryptionType"},"publicAccess":{"shape":"S2i","locationName":"publicAccess"},"region":{"locationName":"region"},"replicationDetails":{"locationName":"replicationDetails","type":"structure","members":{"replicated":{"locationName":"replicated","type":"boolean"},"replicatedExternally":{"locationName":"replicatedExternally","type":"boolean"},"replicationAccounts":{"shape":"S5","locationName":"replicationAccounts"}}},"serverSideEncryption":{"locationName":"serverSideEncryption","type":"structure","members":{"kmsMasterKeyId":{"locationName":"kmsMasterKeyId"},"type":{"locationName":"type"}}},"sharedAccess":{"locationName":"sharedAccess"},"sizeInBytes":{"locationName":"sizeInBytes","type":"long"},"sizeInBytesCompressed":{"locationName":"sizeInBytesCompressed","type":"long"},"tags":{"locationName":"tags","type":"list","member":{"shape":"S2v"}},"unclassifiableObjectCount":{"shape":"S2w","locationName":"unclassifiableObjectCount"},"unclassifiableObjectSizeInBytes":{"shape":"S2w","locationName":"unclassifiableObjectSizeInBytes"},"versioning":{"locationName":"versioning","type":"boolean"}}}},"nextToken":{"locationName":"nextToken"}}}},"DescribeClassificationJob":{"http":{"method":"GET","requestUri":"/jobs/{jobId}","responseCode":200},"input":{"type":"structure","members":{"jobId":{"location":"uri","locationName":"jobId"}},"required":["jobId"]},"output":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"createdAt":{"shape":"S9","locationName":"createdAt"},"customDataIdentifierIds":{"shape":"S5","locationName":"customDataIdentifierIds"},"description":{"locationName":"description"},"initialRun":{"locationName":"initialRun","type":"boolean"},"jobArn":{"locationName":"jobArn"},"jobId":{"locationName":"jobId"},"jobStatus":{"locationName":"jobStatus"},"jobType":{"locationName":"jobType"},"lastRunErrorStatus":{"shape":"S30","locationName":"lastRunErrorStatus"},"lastRunTime":{"shape":"S9","locationName":"lastRunTime"},"managedDataIdentifierIds":{"shape":"S5","locationName":"managedDataIdentifierIds"},"managedDataIdentifierSelector":{"locationName":"managedDataIdentifierSelector"},"name":{"locationName":"name"},"s3JobDefinition":{"shape":"Se","locationName":"s3JobDefinition"},"samplingPercentage":{"locationName":"samplingPercentage","type":"integer"},"scheduleFrequency":{"shape":"S12","locationName":"scheduleFrequency"},"statistics":{"locationName":"statistics","type":"structure","members":{"approximateNumberOfObjectsToProcess":{"locationName":"approximateNumberOfObjectsToProcess","type":"double"},"numberOfRuns":{"locationName":"numberOfRuns","type":"double"}}},"tags":{"shape":"S17","locationName":"tags"},"userPausedDetails":{"shape":"S34","locationName":"userPausedDetails"}}}},"DescribeOrganizationConfiguration":{"http":{"method":"GET","requestUri":"/admin/configuration","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"autoEnable":{"locationName":"autoEnable","type":"boolean"},"maxAccountLimitReached":{"locationName":"maxAccountLimitReached","type":"boolean"}}}},"DisableMacie":{"http":{"method":"DELETE","requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisableOrganizationAdminAccount":{"http":{"method":"DELETE","requestUri":"/admin","responseCode":200},"input":{"type":"structure","members":{"adminAccountId":{"location":"querystring","locationName":"adminAccountId"}},"required":["adminAccountId"]},"output":{"type":"structure","members":{}}},"DisassociateFromAdministratorAccount":{"http":{"requestUri":"/administrator/disassociate","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateFromMasterAccount":{"http":{"requestUri":"/master/disassociate","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateMember":{"http":{"requestUri":"/members/disassociate/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"EnableMacie":{"http":{"requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"findingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"status":{"locationName":"status"}}},"output":{"type":"structure","members":{}}},"EnableOrganizationAdminAccount":{"http":{"requestUri":"/admin","responseCode":200},"input":{"type":"structure","members":{"adminAccountId":{"locationName":"adminAccountId"},"clientToken":{"locationName":"clientToken","idempotencyToken":true}},"required":["adminAccountId"]},"output":{"type":"structure","members":{}}},"GetAdministratorAccount":{"http":{"method":"GET","requestUri":"/administrator","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"administrator":{"shape":"S3p","locationName":"administrator"}}}},"GetBucketStatistics":{"http":{"requestUri":"/datasources/s3/statistics","responseCode":200},"input":{"type":"structure","members":{"accountId":{"locationName":"accountId"}}},"output":{"type":"structure","members":{"bucketCount":{"locationName":"bucketCount","type":"long"},"bucketCountByEffectivePermission":{"locationName":"bucketCountByEffectivePermission","type":"structure","members":{"publiclyAccessible":{"locationName":"publiclyAccessible","type":"long"},"publiclyReadable":{"locationName":"publiclyReadable","type":"long"},"publiclyWritable":{"locationName":"publiclyWritable","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"bucketCountByEncryptionType":{"locationName":"bucketCountByEncryptionType","type":"structure","members":{"kmsManaged":{"locationName":"kmsManaged","type":"long"},"s3Managed":{"locationName":"s3Managed","type":"long"},"unencrypted":{"locationName":"unencrypted","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"bucketCountByObjectEncryptionRequirement":{"locationName":"bucketCountByObjectEncryptionRequirement","type":"structure","members":{"allowsUnencryptedObjectUploads":{"locationName":"allowsUnencryptedObjectUploads","type":"long"},"deniesUnencryptedObjectUploads":{"locationName":"deniesUnencryptedObjectUploads","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"bucketCountBySharedAccessType":{"locationName":"bucketCountBySharedAccessType","type":"structure","members":{"external":{"locationName":"external","type":"long"},"internal":{"locationName":"internal","type":"long"},"notShared":{"locationName":"notShared","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"classifiableObjectCount":{"locationName":"classifiableObjectCount","type":"long"},"classifiableSizeInBytes":{"locationName":"classifiableSizeInBytes","type":"long"},"lastUpdated":{"shape":"S9","locationName":"lastUpdated"},"objectCount":{"locationName":"objectCount","type":"long"},"sizeInBytes":{"locationName":"sizeInBytes","type":"long"},"sizeInBytesCompressed":{"locationName":"sizeInBytesCompressed","type":"long"},"unclassifiableObjectCount":{"shape":"S2w","locationName":"unclassifiableObjectCount"},"unclassifiableObjectSizeInBytes":{"shape":"S2w","locationName":"unclassifiableObjectSizeInBytes"}}}},"GetClassificationExportConfiguration":{"http":{"method":"GET","requestUri":"/classification-export-configuration","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"configuration":{"shape":"S3z","locationName":"configuration"}}}},"GetCustomDataIdentifier":{"http":{"method":"GET","requestUri":"/custom-data-identifiers/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"deleted":{"locationName":"deleted","type":"boolean"},"description":{"locationName":"description"},"id":{"locationName":"id"},"ignoreWords":{"shape":"S5","locationName":"ignoreWords"},"keywords":{"shape":"S5","locationName":"keywords"},"maximumMatchDistance":{"locationName":"maximumMatchDistance","type":"integer"},"name":{"locationName":"name"},"regex":{"locationName":"regex"},"tags":{"shape":"S17","locationName":"tags"}}}},"GetFindingStatistics":{"http":{"requestUri":"/findings/statistics","responseCode":200},"input":{"type":"structure","members":{"findingCriteria":{"shape":"S1d","locationName":"findingCriteria"},"groupBy":{"locationName":"groupBy"},"size":{"locationName":"size","type":"integer"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}},"required":["groupBy"]},"output":{"type":"structure","members":{"countsByGroup":{"locationName":"countsByGroup","type":"list","member":{"type":"structure","members":{"count":{"locationName":"count","type":"long"},"groupKey":{"locationName":"groupKey"}}}}}}},"GetFindings":{"http":{"requestUri":"/findings/describe","responseCode":200},"input":{"type":"structure","members":{"findingIds":{"shape":"S5","locationName":"findingIds"},"sortCriteria":{"shape":"S4b","locationName":"sortCriteria"}},"required":["findingIds"]},"output":{"type":"structure","members":{"findings":{"locationName":"findings","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"archived":{"locationName":"archived","type":"boolean"},"category":{"locationName":"category"},"classificationDetails":{"locationName":"classificationDetails","type":"structure","members":{"detailedResultsLocation":{"locationName":"detailedResultsLocation"},"jobArn":{"locationName":"jobArn"},"jobId":{"locationName":"jobId"},"result":{"locationName":"result","type":"structure","members":{"additionalOccurrences":{"locationName":"additionalOccurrences","type":"boolean"},"customDataIdentifiers":{"locationName":"customDataIdentifiers","type":"structure","members":{"detections":{"locationName":"detections","type":"list","member":{"type":"structure","members":{"arn":{"locationName":"arn"},"count":{"locationName":"count","type":"long"},"name":{"locationName":"name"},"occurrences":{"shape":"S4l","locationName":"occurrences"}}}},"totalCount":{"locationName":"totalCount","type":"long"}}},"mimeType":{"locationName":"mimeType"},"sensitiveData":{"locationName":"sensitiveData","type":"list","member":{"type":"structure","members":{"category":{"locationName":"category"},"detections":{"locationName":"detections","type":"list","member":{"type":"structure","members":{"count":{"locationName":"count","type":"long"},"occurrences":{"shape":"S4l","locationName":"occurrences"},"type":{"locationName":"type"}}}},"totalCount":{"locationName":"totalCount","type":"long"}}}},"sizeClassified":{"locationName":"sizeClassified","type":"long"},"status":{"locationName":"status","type":"structure","members":{"code":{"locationName":"code"},"reason":{"locationName":"reason"}}}}}}},"count":{"locationName":"count","type":"long"},"createdAt":{"shape":"S9","locationName":"createdAt"},"description":{"locationName":"description"},"id":{"locationName":"id"},"partition":{"locationName":"partition"},"policyDetails":{"locationName":"policyDetails","type":"structure","members":{"action":{"locationName":"action","type":"structure","members":{"actionType":{"locationName":"actionType"},"apiCallDetails":{"locationName":"apiCallDetails","type":"structure","members":{"api":{"locationName":"api"},"apiServiceName":{"locationName":"apiServiceName"},"firstSeen":{"shape":"S9","locationName":"firstSeen"},"lastSeen":{"shape":"S9","locationName":"lastSeen"}}}}},"actor":{"locationName":"actor","type":"structure","members":{"domainDetails":{"locationName":"domainDetails","type":"structure","members":{"domainName":{"locationName":"domainName"}}},"ipAddressDetails":{"locationName":"ipAddressDetails","type":"structure","members":{"ipAddressV4":{"locationName":"ipAddressV4"},"ipCity":{"locationName":"ipCity","type":"structure","members":{"name":{"locationName":"name"}}},"ipCountry":{"locationName":"ipCountry","type":"structure","members":{"code":{"locationName":"code"},"name":{"locationName":"name"}}},"ipGeoLocation":{"locationName":"ipGeoLocation","type":"structure","members":{"lat":{"locationName":"lat","type":"double"},"lon":{"locationName":"lon","type":"double"}}},"ipOwner":{"locationName":"ipOwner","type":"structure","members":{"asn":{"locationName":"asn"},"asnOrg":{"locationName":"asnOrg"},"isp":{"locationName":"isp"},"org":{"locationName":"org"}}}}},"userIdentity":{"locationName":"userIdentity","type":"structure","members":{"assumedRole":{"locationName":"assumedRole","type":"structure","members":{"accessKeyId":{"locationName":"accessKeyId"},"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"sessionContext":{"shape":"S5d","locationName":"sessionContext"}}},"awsAccount":{"locationName":"awsAccount","type":"structure","members":{"accountId":{"locationName":"accountId"},"principalId":{"locationName":"principalId"}}},"awsService":{"locationName":"awsService","type":"structure","members":{"invokedBy":{"locationName":"invokedBy"}}},"federatedUser":{"locationName":"federatedUser","type":"structure","members":{"accessKeyId":{"locationName":"accessKeyId"},"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"sessionContext":{"shape":"S5d","locationName":"sessionContext"}}},"iamUser":{"locationName":"iamUser","type":"structure","members":{"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"userName":{"locationName":"userName"}}},"root":{"locationName":"root","type":"structure","members":{"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"}}},"type":{"locationName":"type"}}}}}}},"region":{"locationName":"region"},"resourcesAffected":{"locationName":"resourcesAffected","type":"structure","members":{"s3Bucket":{"locationName":"s3Bucket","type":"structure","members":{"allowsUnencryptedObjectUploads":{"locationName":"allowsUnencryptedObjectUploads"},"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"defaultServerSideEncryption":{"shape":"S5o","locationName":"defaultServerSideEncryption"},"name":{"locationName":"name"},"owner":{"locationName":"owner","type":"structure","members":{"displayName":{"locationName":"displayName"},"id":{"locationName":"id"}}},"publicAccess":{"shape":"S2i","locationName":"publicAccess"},"tags":{"shape":"S5r","locationName":"tags"}}},"s3Object":{"locationName":"s3Object","type":"structure","members":{"bucketArn":{"locationName":"bucketArn"},"eTag":{"locationName":"eTag"},"extension":{"locationName":"extension"},"key":{"locationName":"key"},"lastModified":{"shape":"S9","locationName":"lastModified"},"path":{"locationName":"path"},"publicAccess":{"locationName":"publicAccess","type":"boolean"},"serverSideEncryption":{"shape":"S5o","locationName":"serverSideEncryption"},"size":{"locationName":"size","type":"long"},"storageClass":{"locationName":"storageClass"},"tags":{"shape":"S5r","locationName":"tags"},"versionId":{"locationName":"versionId"}}}}},"sample":{"locationName":"sample","type":"boolean"},"schemaVersion":{"locationName":"schemaVersion"},"severity":{"locationName":"severity","type":"structure","members":{"description":{"locationName":"description"},"score":{"locationName":"score","type":"long"}}},"title":{"locationName":"title"},"type":{"locationName":"type"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}}}}},"GetFindingsFilter":{"http":{"method":"GET","requestUri":"/findingsfilters/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{"action":{"locationName":"action"},"arn":{"locationName":"arn"},"description":{"locationName":"description"},"findingCriteria":{"shape":"S1d","locationName":"findingCriteria"},"id":{"locationName":"id"},"name":{"locationName":"name"},"position":{"locationName":"position","type":"integer"},"tags":{"shape":"S17","locationName":"tags"}}}},"GetFindingsPublicationConfiguration":{"http":{"method":"GET","requestUri":"/findings-publication-configuration","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"securityHubConfiguration":{"shape":"S60","locationName":"securityHubConfiguration"}}}},"GetInvitationsCount":{"http":{"method":"GET","requestUri":"/invitations/count","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"invitationsCount":{"locationName":"invitationsCount","type":"long"}}}},"GetMacieSession":{"http":{"method":"GET","requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"createdAt":{"shape":"S9","locationName":"createdAt"},"findingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"serviceRole":{"locationName":"serviceRole"},"status":{"locationName":"status"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}},"GetMasterAccount":{"http":{"method":"GET","requestUri":"/master","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"master":{"shape":"S3p","locationName":"master"}}}},"GetMember":{"http":{"method":"GET","requestUri":"/members/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"administratorAccountId":{"locationName":"administratorAccountId"},"arn":{"locationName":"arn"},"email":{"locationName":"email"},"invitedAt":{"shape":"S9","locationName":"invitedAt"},"masterAccountId":{"locationName":"masterAccountId"},"relationshipStatus":{"locationName":"relationshipStatus"},"tags":{"shape":"S17","locationName":"tags"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}},"GetUsageStatistics":{"http":{"requestUri":"/usage/statistics","responseCode":200},"input":{"type":"structure","members":{"filterBy":{"locationName":"filterBy","type":"list","member":{"type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortBy":{"locationName":"sortBy","type":"structure","members":{"key":{"locationName":"key"},"orderBy":{"locationName":"orderBy"}}},"timeRange":{"locationName":"timeRange"}}},"output":{"type":"structure","members":{"nextToken":{"locationName":"nextToken"},"records":{"locationName":"records","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"freeTrialStartDate":{"shape":"S9","locationName":"freeTrialStartDate"},"usage":{"locationName":"usage","type":"list","member":{"type":"structure","members":{"currency":{"locationName":"currency"},"estimatedCost":{"locationName":"estimatedCost"},"serviceLimit":{"locationName":"serviceLimit","type":"structure","members":{"isServiceLimited":{"locationName":"isServiceLimited","type":"boolean"},"unit":{"locationName":"unit"},"value":{"locationName":"value","type":"long"}}},"type":{"locationName":"type"}}}}}}},"timeRange":{"locationName":"timeRange"}}}},"GetUsageTotals":{"http":{"method":"GET","requestUri":"/usage","responseCode":200},"input":{"type":"structure","members":{"timeRange":{"location":"querystring","locationName":"timeRange"}}},"output":{"type":"structure","members":{"timeRange":{"locationName":"timeRange"},"usageTotals":{"locationName":"usageTotals","type":"list","member":{"type":"structure","members":{"currency":{"locationName":"currency"},"estimatedCost":{"locationName":"estimatedCost"},"type":{"locationName":"type"}}}}}}},"ListClassificationJobs":{"http":{"requestUri":"/jobs/list","responseCode":200},"input":{"type":"structure","members":{"filterCriteria":{"locationName":"filterCriteria","type":"structure","members":{"excludes":{"shape":"S6w","locationName":"excludes"},"includes":{"shape":"S6w","locationName":"includes"}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}}},"output":{"type":"structure","members":{"items":{"locationName":"items","type":"list","member":{"type":"structure","members":{"bucketDefinitions":{"shape":"Sf","locationName":"bucketDefinitions"},"createdAt":{"shape":"S9","locationName":"createdAt"},"jobId":{"locationName":"jobId"},"jobStatus":{"locationName":"jobStatus"},"jobType":{"locationName":"jobType"},"lastRunErrorStatus":{"shape":"S30","locationName":"lastRunErrorStatus"},"name":{"locationName":"name"},"userPausedDetails":{"shape":"S34","locationName":"userPausedDetails"},"bucketCriteria":{"shape":"Ss","locationName":"bucketCriteria"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListCustomDataIdentifiers":{"http":{"requestUri":"/custom-data-identifiers/list","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"items":{"locationName":"items","type":"list","member":{"type":"structure","members":{"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"description":{"locationName":"description"},"id":{"locationName":"id"},"name":{"locationName":"name"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListFindings":{"http":{"requestUri":"/findings","responseCode":200},"input":{"type":"structure","members":{"findingCriteria":{"shape":"S1d","locationName":"findingCriteria"},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"shape":"S4b","locationName":"sortCriteria"}}},"output":{"type":"structure","members":{"findingIds":{"shape":"S5","locationName":"findingIds"},"nextToken":{"locationName":"nextToken"}}}},"ListFindingsFilters":{"http":{"method":"GET","requestUri":"/findingsfilters","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"findingsFilterListItems":{"locationName":"findingsFilterListItems","type":"list","member":{"type":"structure","members":{"action":{"locationName":"action"},"arn":{"locationName":"arn"},"id":{"locationName":"id"},"name":{"locationName":"name"},"tags":{"shape":"S17","locationName":"tags"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListInvitations":{"http":{"method":"GET","requestUri":"/invitations","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"invitations":{"locationName":"invitations","type":"list","member":{"shape":"S3p"}},"nextToken":{"locationName":"nextToken"}}}},"ListManagedDataIdentifiers":{"http":{"requestUri":"/managed-data-identifiers/list","responseCode":200},"input":{"type":"structure","members":{"nextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"items":{"locationName":"items","type":"list","member":{"type":"structure","members":{"category":{"locationName":"category"},"id":{"locationName":"id"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListMembers":{"http":{"method":"GET","requestUri":"/members","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"onlyAssociated":{"location":"querystring","locationName":"onlyAssociated"}}},"output":{"type":"structure","members":{"members":{"locationName":"members","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"administratorAccountId":{"locationName":"administratorAccountId"},"arn":{"locationName":"arn"},"email":{"locationName":"email"},"invitedAt":{"shape":"S9","locationName":"invitedAt"},"masterAccountId":{"locationName":"masterAccountId"},"relationshipStatus":{"locationName":"relationshipStatus"},"tags":{"shape":"S17","locationName":"tags"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListOrganizationAdminAccounts":{"http":{"method":"GET","requestUri":"/admin","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"adminAccounts":{"locationName":"adminAccounts","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"status":{"locationName":"status"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}},"required":["resourceArn"]},"output":{"type":"structure","members":{"tags":{"shape":"S17","locationName":"tags"}}}},"PutClassificationExportConfiguration":{"http":{"method":"PUT","requestUri":"/classification-export-configuration","responseCode":200},"input":{"type":"structure","members":{"configuration":{"shape":"S3z","locationName":"configuration"}},"required":["configuration"]},"output":{"type":"structure","members":{"configuration":{"shape":"S3z","locationName":"configuration"}}}},"PutFindingsPublicationConfiguration":{"http":{"method":"PUT","requestUri":"/findings-publication-configuration","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"securityHubConfiguration":{"shape":"S60","locationName":"securityHubConfiguration"}}},"output":{"type":"structure","members":{}}},"SearchResources":{"http":{"requestUri":"/datasources/search-resources","responseCode":200},"input":{"type":"structure","members":{"bucketCriteria":{"locationName":"bucketCriteria","type":"structure","members":{"excludes":{"shape":"S83","locationName":"excludes"},"includes":{"shape":"S83","locationName":"includes"}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}}},"output":{"type":"structure","members":{"matchingResources":{"locationName":"matchingResources","type":"list","member":{"type":"structure","members":{"matchingBucket":{"locationName":"matchingBucket","type":"structure","members":{"accountId":{"locationName":"accountId"},"bucketName":{"locationName":"bucketName"},"classifiableObjectCount":{"locationName":"classifiableObjectCount","type":"long"},"classifiableSizeInBytes":{"locationName":"classifiableSizeInBytes","type":"long"},"errorCode":{"locationName":"errorCode"},"errorMessage":{"locationName":"errorMessage"},"jobDetails":{"shape":"S2e","locationName":"jobDetails"},"objectCount":{"locationName":"objectCount","type":"long"},"objectCountByEncryptionType":{"shape":"S2h","locationName":"objectCountByEncryptionType"},"sizeInBytes":{"locationName":"sizeInBytes","type":"long"},"sizeInBytesCompressed":{"locationName":"sizeInBytesCompressed","type":"long"},"unclassifiableObjectCount":{"shape":"S2w","locationName":"unclassifiableObjectCount"},"unclassifiableObjectSizeInBytes":{"shape":"S2w","locationName":"unclassifiableObjectSizeInBytes"}}}}}},"nextToken":{"locationName":"nextToken"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S17","locationName":"tags"}},"required":["resourceArn","tags"]},"output":{"type":"structure","members":{}}},"TestCustomDataIdentifier":{"http":{"requestUri":"/custom-data-identifiers/test","responseCode":200},"input":{"type":"structure","members":{"ignoreWords":{"shape":"S5","locationName":"ignoreWords"},"keywords":{"shape":"S5","locationName":"keywords"},"maximumMatchDistance":{"locationName":"maximumMatchDistance","type":"integer"},"regex":{"locationName":"regex"},"sampleText":{"locationName":"sampleText"}},"required":["regex","sampleText"]},"output":{"type":"structure","members":{"matchCount":{"locationName":"matchCount","type":"integer"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"shape":"S5","location":"querystring","locationName":"tagKeys"}},"required":["tagKeys","resourceArn"]},"output":{"type":"structure","members":{}}},"UpdateClassificationJob":{"http":{"method":"PATCH","requestUri":"/jobs/{jobId}","responseCode":200},"input":{"type":"structure","members":{"jobId":{"location":"uri","locationName":"jobId"},"jobStatus":{"locationName":"jobStatus"}},"required":["jobId","jobStatus"]},"output":{"type":"structure","members":{}}},"UpdateFindingsFilter":{"http":{"method":"PATCH","requestUri":"/findingsfilters/{id}","responseCode":200},"input":{"type":"structure","members":{"action":{"locationName":"action"},"description":{"locationName":"description"},"findingCriteria":{"shape":"S1d","locationName":"findingCriteria"},"id":{"location":"uri","locationName":"id"},"name":{"locationName":"name"},"position":{"locationName":"position","type":"integer"},"clientToken":{"locationName":"clientToken","idempotencyToken":true}},"required":["id"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"},"id":{"locationName":"id"}}}},"UpdateMacieSession":{"http":{"method":"PATCH","requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{"findingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"status":{"locationName":"status"}}},"output":{"type":"structure","members":{}}},"UpdateMemberSession":{"http":{"method":"PATCH","requestUri":"/macie/members/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"},"status":{"locationName":"status"}},"required":["id","status"]},"output":{"type":"structure","members":{}}},"UpdateOrganizationConfiguration":{"http":{"method":"PATCH","requestUri":"/admin/configuration","responseCode":200},"input":{"type":"structure","members":{"autoEnable":{"locationName":"autoEnable","type":"boolean"}},"required":["autoEnable"]},"output":{"type":"structure","members":{}}}},"shapes":{"S5":{"type":"list","member":{}},"S9":{"type":"timestamp","timestampFormat":"iso8601"},"Se":{"type":"structure","members":{"bucketDefinitions":{"shape":"Sf","locationName":"bucketDefinitions"},"scoping":{"locationName":"scoping","type":"structure","members":{"excludes":{"shape":"Si","locationName":"excludes"},"includes":{"shape":"Si","locationName":"includes"}}},"bucketCriteria":{"shape":"Ss","locationName":"bucketCriteria"}}},"Sf":{"type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"buckets":{"shape":"S5","locationName":"buckets"}},"required":["accountId","buckets"]}},"Si":{"type":"structure","members":{"and":{"locationName":"and","type":"list","member":{"type":"structure","members":{"simpleScopeTerm":{"locationName":"simpleScopeTerm","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}},"tagScopeTerm":{"locationName":"tagScopeTerm","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"tagValues":{"locationName":"tagValues","type":"list","member":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}}},"target":{"locationName":"target"}}}}}}}},"Ss":{"type":"structure","members":{"excludes":{"shape":"St","locationName":"excludes"},"includes":{"shape":"St","locationName":"includes"}}},"St":{"type":"structure","members":{"and":{"locationName":"and","type":"list","member":{"type":"structure","members":{"simpleCriterion":{"locationName":"simpleCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}},"tagCriterion":{"locationName":"tagCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"tagValues":{"locationName":"tagValues","type":"list","member":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}}}}}}}}}},"S12":{"type":"structure","members":{"dailySchedule":{"locationName":"dailySchedule","type":"structure","members":{}},"monthlySchedule":{"locationName":"monthlySchedule","type":"structure","members":{"dayOfMonth":{"locationName":"dayOfMonth","type":"integer"}}},"weeklySchedule":{"locationName":"weeklySchedule","type":"structure","members":{"dayOfWeek":{"locationName":"dayOfWeek"}}}}},"S17":{"type":"map","key":{},"value":{}},"S1d":{"type":"structure","members":{"criterion":{"locationName":"criterion","type":"map","key":{},"value":{"type":"structure","members":{"eq":{"shape":"S5","locationName":"eq"},"eqExactMatch":{"shape":"S5","locationName":"eqExactMatch"},"gt":{"locationName":"gt","type":"long"},"gte":{"locationName":"gte","type":"long"},"lt":{"locationName":"lt","type":"long"},"lte":{"locationName":"lte","type":"long"},"neq":{"shape":"S5","locationName":"neq"}}}}}},"S1k":{"type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"errorCode":{"locationName":"errorCode"},"errorMessage":{"locationName":"errorMessage"}}}},"S2e":{"type":"structure","members":{"isDefinedInJob":{"locationName":"isDefinedInJob"},"isMonitoredByJob":{"locationName":"isMonitoredByJob"},"lastJobId":{"locationName":"lastJobId"},"lastJobRunTime":{"shape":"S9","locationName":"lastJobRunTime"}}},"S2h":{"type":"structure","members":{"customerManaged":{"locationName":"customerManaged","type":"long"},"kmsManaged":{"locationName":"kmsManaged","type":"long"},"s3Managed":{"locationName":"s3Managed","type":"long"},"unencrypted":{"locationName":"unencrypted","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"S2i":{"type":"structure","members":{"effectivePermission":{"locationName":"effectivePermission"},"permissionConfiguration":{"locationName":"permissionConfiguration","type":"structure","members":{"accountLevelPermissions":{"locationName":"accountLevelPermissions","type":"structure","members":{"blockPublicAccess":{"shape":"S2m","locationName":"blockPublicAccess"}}},"bucketLevelPermissions":{"locationName":"bucketLevelPermissions","type":"structure","members":{"accessControlList":{"locationName":"accessControlList","type":"structure","members":{"allowsPublicReadAccess":{"locationName":"allowsPublicReadAccess","type":"boolean"},"allowsPublicWriteAccess":{"locationName":"allowsPublicWriteAccess","type":"boolean"}}},"blockPublicAccess":{"shape":"S2m","locationName":"blockPublicAccess"},"bucketPolicy":{"locationName":"bucketPolicy","type":"structure","members":{"allowsPublicReadAccess":{"locationName":"allowsPublicReadAccess","type":"boolean"},"allowsPublicWriteAccess":{"locationName":"allowsPublicWriteAccess","type":"boolean"}}}}}}}}},"S2m":{"type":"structure","members":{"blockPublicAcls":{"locationName":"blockPublicAcls","type":"boolean"},"blockPublicPolicy":{"locationName":"blockPublicPolicy","type":"boolean"},"ignorePublicAcls":{"locationName":"ignorePublicAcls","type":"boolean"},"restrictPublicBuckets":{"locationName":"restrictPublicBuckets","type":"boolean"}}},"S2v":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}},"S2w":{"type":"structure","members":{"fileType":{"locationName":"fileType","type":"long"},"storageClass":{"locationName":"storageClass","type":"long"},"total":{"locationName":"total","type":"long"}}},"S30":{"type":"structure","members":{"code":{"locationName":"code"}}},"S34":{"type":"structure","members":{"jobExpiresAt":{"shape":"S9","locationName":"jobExpiresAt"},"jobImminentExpirationHealthEventArn":{"locationName":"jobImminentExpirationHealthEventArn"},"jobPausedAt":{"shape":"S9","locationName":"jobPausedAt"}}},"S3p":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"invitationId":{"locationName":"invitationId"},"invitedAt":{"shape":"S9","locationName":"invitedAt"},"relationshipStatus":{"locationName":"relationshipStatus"}}},"S3z":{"type":"structure","members":{"s3Destination":{"locationName":"s3Destination","type":"structure","members":{"bucketName":{"locationName":"bucketName"},"keyPrefix":{"locationName":"keyPrefix"},"kmsKeyArn":{"locationName":"kmsKeyArn"}},"required":["bucketName","kmsKeyArn"]}}},"S4b":{"type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}},"S4l":{"type":"structure","members":{"cells":{"locationName":"cells","type":"list","member":{"type":"structure","members":{"cellReference":{"locationName":"cellReference"},"column":{"locationName":"column","type":"long"},"columnName":{"locationName":"columnName"},"row":{"locationName":"row","type":"long"}}}},"lineRanges":{"shape":"S4o","locationName":"lineRanges"},"offsetRanges":{"shape":"S4o","locationName":"offsetRanges"},"pages":{"locationName":"pages","type":"list","member":{"type":"structure","members":{"lineRange":{"shape":"S4p","locationName":"lineRange"},"offsetRange":{"shape":"S4p","locationName":"offsetRange"},"pageNumber":{"locationName":"pageNumber","type":"long"}}}},"records":{"locationName":"records","type":"list","member":{"type":"structure","members":{"jsonPath":{"locationName":"jsonPath"},"recordIndex":{"locationName":"recordIndex","type":"long"}}}}}},"S4o":{"type":"list","member":{"shape":"S4p"}},"S4p":{"type":"structure","members":{"end":{"locationName":"end","type":"long"},"start":{"locationName":"start","type":"long"},"startColumn":{"locationName":"startColumn","type":"long"}}},"S5d":{"type":"structure","members":{"attributes":{"locationName":"attributes","type":"structure","members":{"creationDate":{"shape":"S9","locationName":"creationDate"},"mfaAuthenticated":{"locationName":"mfaAuthenticated","type":"boolean"}}},"sessionIssuer":{"locationName":"sessionIssuer","type":"structure","members":{"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"type":{"locationName":"type"},"userName":{"locationName":"userName"}}}}},"S5o":{"type":"structure","members":{"encryptionType":{"locationName":"encryptionType"},"kmsMasterKeyId":{"locationName":"kmsMasterKeyId"}}},"S5r":{"type":"list","member":{"shape":"S2v"}},"S60":{"type":"structure","members":{"publishClassificationFindings":{"locationName":"publishClassificationFindings","type":"boolean"},"publishPolicyFindings":{"locationName":"publishPolicyFindings","type":"boolean"}},"required":["publishPolicyFindings","publishClassificationFindings"]},"S6w":{"type":"list","member":{"type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}}},"S83":{"type":"structure","members":{"and":{"locationName":"and","type":"list","member":{"type":"structure","members":{"simpleCriterion":{"locationName":"simpleCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}},"tagCriterion":{"locationName":"tagCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"tagValues":{"locationName":"tagValues","type":"list","member":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}}}}}}}}}}}} + module.exports = {"metadata":{"apiVersion":"2020-01-01","endpointPrefix":"macie2","signingName":"macie2","serviceFullName":"Amazon Macie 2","serviceId":"Macie2","protocol":"rest-json","jsonVersion":"1.1","uid":"macie2-2020-01-01","signatureVersion":"v4"},"operations":{"AcceptInvitation":{"http":{"requestUri":"/invitations/accept","responseCode":200},"input":{"type":"structure","members":{"administratorAccountId":{"locationName":"administratorAccountId"},"invitationId":{"locationName":"invitationId"},"masterAccount":{"locationName":"masterAccount"}},"required":["invitationId"]},"output":{"type":"structure","members":{}}},"BatchGetCustomDataIdentifiers":{"http":{"requestUri":"/custom-data-identifiers/get","responseCode":200},"input":{"type":"structure","members":{"ids":{"shape":"S5","locationName":"ids"}}},"output":{"type":"structure","members":{"customDataIdentifiers":{"locationName":"customDataIdentifiers","type":"list","member":{"type":"structure","members":{"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"deleted":{"locationName":"deleted","type":"boolean"},"description":{"locationName":"description"},"id":{"locationName":"id"},"name":{"locationName":"name"}}}},"notFoundIdentifierIds":{"shape":"S5","locationName":"notFoundIdentifierIds"}}}},"CreateClassificationJob":{"http":{"requestUri":"/jobs","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"customDataIdentifierIds":{"shape":"S5","locationName":"customDataIdentifierIds"},"description":{"locationName":"description"},"initialRun":{"locationName":"initialRun","type":"boolean"},"jobType":{"locationName":"jobType"},"managedDataIdentifierIds":{"shape":"S5","locationName":"managedDataIdentifierIds"},"managedDataIdentifierSelector":{"locationName":"managedDataIdentifierSelector"},"name":{"locationName":"name"},"s3JobDefinition":{"shape":"Se","locationName":"s3JobDefinition"},"samplingPercentage":{"locationName":"samplingPercentage","type":"integer"},"scheduleFrequency":{"shape":"S12","locationName":"scheduleFrequency"},"tags":{"shape":"S17","locationName":"tags"}},"required":["s3JobDefinition","jobType","clientToken","name"]},"output":{"type":"structure","members":{"jobArn":{"locationName":"jobArn"},"jobId":{"locationName":"jobId"}}}},"CreateCustomDataIdentifier":{"http":{"requestUri":"/custom-data-identifiers","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"description":{"locationName":"description"},"ignoreWords":{"shape":"S5","locationName":"ignoreWords"},"keywords":{"shape":"S5","locationName":"keywords"},"maximumMatchDistance":{"locationName":"maximumMatchDistance","type":"integer"},"name":{"locationName":"name"},"regex":{"locationName":"regex"},"severityLevels":{"shape":"S1a","locationName":"severityLevels"},"tags":{"shape":"S17","locationName":"tags"}}},"output":{"type":"structure","members":{"customDataIdentifierId":{"locationName":"customDataIdentifierId"}}}},"CreateFindingsFilter":{"http":{"requestUri":"/findingsfilters","responseCode":200},"input":{"type":"structure","members":{"action":{"locationName":"action"},"clientToken":{"locationName":"clientToken","idempotencyToken":true},"description":{"locationName":"description"},"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"name":{"locationName":"name"},"position":{"locationName":"position","type":"integer"},"tags":{"shape":"S17","locationName":"tags"}},"required":["action","findingCriteria","name"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"},"id":{"locationName":"id"}}}},"CreateInvitations":{"http":{"requestUri":"/invitations","responseCode":200},"input":{"type":"structure","members":{"accountIds":{"shape":"S5","locationName":"accountIds"},"disableEmailNotification":{"locationName":"disableEmailNotification","type":"boolean"},"message":{"locationName":"message"}},"required":["accountIds"]},"output":{"type":"structure","members":{"unprocessedAccounts":{"shape":"S1n","locationName":"unprocessedAccounts"}}}},"CreateMember":{"http":{"requestUri":"/members","responseCode":200},"input":{"type":"structure","members":{"account":{"locationName":"account","type":"structure","members":{"accountId":{"locationName":"accountId"},"email":{"locationName":"email"}},"required":["email","accountId"]},"tags":{"shape":"S17","locationName":"tags"}},"required":["account"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"}}}},"CreateSampleFindings":{"http":{"requestUri":"/findings/sample","responseCode":200},"input":{"type":"structure","members":{"findingTypes":{"locationName":"findingTypes","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"DeclineInvitations":{"http":{"requestUri":"/invitations/decline","responseCode":200},"input":{"type":"structure","members":{"accountIds":{"shape":"S5","locationName":"accountIds"}},"required":["accountIds"]},"output":{"type":"structure","members":{"unprocessedAccounts":{"shape":"S1n","locationName":"unprocessedAccounts"}}}},"DeleteCustomDataIdentifier":{"http":{"method":"DELETE","requestUri":"/custom-data-identifiers/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"DeleteFindingsFilter":{"http":{"method":"DELETE","requestUri":"/findingsfilters/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"DeleteInvitations":{"http":{"requestUri":"/invitations/delete","responseCode":200},"input":{"type":"structure","members":{"accountIds":{"shape":"S5","locationName":"accountIds"}},"required":["accountIds"]},"output":{"type":"structure","members":{"unprocessedAccounts":{"shape":"S1n","locationName":"unprocessedAccounts"}}}},"DeleteMember":{"http":{"method":"DELETE","requestUri":"/members/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"DescribeBuckets":{"http":{"requestUri":"/datasources/s3","responseCode":200},"input":{"type":"structure","members":{"criteria":{"locationName":"criteria","type":"map","key":{},"value":{"type":"structure","members":{"eq":{"shape":"S5","locationName":"eq"},"gt":{"locationName":"gt","type":"long"},"gte":{"locationName":"gte","type":"long"},"lt":{"locationName":"lt","type":"long"},"lte":{"locationName":"lte","type":"long"},"neq":{"shape":"S5","locationName":"neq"},"prefix":{"locationName":"prefix"}}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}}},"output":{"type":"structure","members":{"buckets":{"locationName":"buckets","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"allowsUnencryptedObjectUploads":{"locationName":"allowsUnencryptedObjectUploads"},"bucketArn":{"locationName":"bucketArn"},"bucketCreatedAt":{"shape":"S9","locationName":"bucketCreatedAt"},"bucketName":{"locationName":"bucketName"},"classifiableObjectCount":{"locationName":"classifiableObjectCount","type":"long"},"classifiableSizeInBytes":{"locationName":"classifiableSizeInBytes","type":"long"},"errorCode":{"locationName":"errorCode"},"errorMessage":{"locationName":"errorMessage"},"jobDetails":{"shape":"S2h","locationName":"jobDetails"},"lastUpdated":{"shape":"S9","locationName":"lastUpdated"},"objectCount":{"locationName":"objectCount","type":"long"},"objectCountByEncryptionType":{"shape":"S2k","locationName":"objectCountByEncryptionType"},"publicAccess":{"shape":"S2l","locationName":"publicAccess"},"region":{"locationName":"region"},"replicationDetails":{"locationName":"replicationDetails","type":"structure","members":{"replicated":{"locationName":"replicated","type":"boolean"},"replicatedExternally":{"locationName":"replicatedExternally","type":"boolean"},"replicationAccounts":{"shape":"S5","locationName":"replicationAccounts"}}},"serverSideEncryption":{"locationName":"serverSideEncryption","type":"structure","members":{"kmsMasterKeyId":{"locationName":"kmsMasterKeyId"},"type":{"locationName":"type"}}},"sharedAccess":{"locationName":"sharedAccess"},"sizeInBytes":{"locationName":"sizeInBytes","type":"long"},"sizeInBytesCompressed":{"locationName":"sizeInBytesCompressed","type":"long"},"tags":{"locationName":"tags","type":"list","member":{"shape":"S2y"}},"unclassifiableObjectCount":{"shape":"S2z","locationName":"unclassifiableObjectCount"},"unclassifiableObjectSizeInBytes":{"shape":"S2z","locationName":"unclassifiableObjectSizeInBytes"},"versioning":{"locationName":"versioning","type":"boolean"}}}},"nextToken":{"locationName":"nextToken"}}}},"DescribeClassificationJob":{"http":{"method":"GET","requestUri":"/jobs/{jobId}","responseCode":200},"input":{"type":"structure","members":{"jobId":{"location":"uri","locationName":"jobId"}},"required":["jobId"]},"output":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"createdAt":{"shape":"S9","locationName":"createdAt"},"customDataIdentifierIds":{"shape":"S5","locationName":"customDataIdentifierIds"},"description":{"locationName":"description"},"initialRun":{"locationName":"initialRun","type":"boolean"},"jobArn":{"locationName":"jobArn"},"jobId":{"locationName":"jobId"},"jobStatus":{"locationName":"jobStatus"},"jobType":{"locationName":"jobType"},"lastRunErrorStatus":{"shape":"S33","locationName":"lastRunErrorStatus"},"lastRunTime":{"shape":"S9","locationName":"lastRunTime"},"managedDataIdentifierIds":{"shape":"S5","locationName":"managedDataIdentifierIds"},"managedDataIdentifierSelector":{"locationName":"managedDataIdentifierSelector"},"name":{"locationName":"name"},"s3JobDefinition":{"shape":"Se","locationName":"s3JobDefinition"},"samplingPercentage":{"locationName":"samplingPercentage","type":"integer"},"scheduleFrequency":{"shape":"S12","locationName":"scheduleFrequency"},"statistics":{"locationName":"statistics","type":"structure","members":{"approximateNumberOfObjectsToProcess":{"locationName":"approximateNumberOfObjectsToProcess","type":"double"},"numberOfRuns":{"locationName":"numberOfRuns","type":"double"}}},"tags":{"shape":"S17","locationName":"tags"},"userPausedDetails":{"shape":"S37","locationName":"userPausedDetails"}}}},"DescribeOrganizationConfiguration":{"http":{"method":"GET","requestUri":"/admin/configuration","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"autoEnable":{"locationName":"autoEnable","type":"boolean"},"maxAccountLimitReached":{"locationName":"maxAccountLimitReached","type":"boolean"}}}},"DisableMacie":{"http":{"method":"DELETE","requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisableOrganizationAdminAccount":{"http":{"method":"DELETE","requestUri":"/admin","responseCode":200},"input":{"type":"structure","members":{"adminAccountId":{"location":"querystring","locationName":"adminAccountId"}},"required":["adminAccountId"]},"output":{"type":"structure","members":{}}},"DisassociateFromAdministratorAccount":{"http":{"requestUri":"/administrator/disassociate","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateFromMasterAccount":{"http":{"requestUri":"/master/disassociate","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"DisassociateMember":{"http":{"requestUri":"/members/disassociate/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{}}},"EnableMacie":{"http":{"requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"findingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"status":{"locationName":"status"}}},"output":{"type":"structure","members":{}}},"EnableOrganizationAdminAccount":{"http":{"requestUri":"/admin","responseCode":200},"input":{"type":"structure","members":{"adminAccountId":{"locationName":"adminAccountId"},"clientToken":{"locationName":"clientToken","idempotencyToken":true}},"required":["adminAccountId"]},"output":{"type":"structure","members":{}}},"GetAdministratorAccount":{"http":{"method":"GET","requestUri":"/administrator","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"administrator":{"shape":"S3s","locationName":"administrator"}}}},"GetBucketStatistics":{"http":{"requestUri":"/datasources/s3/statistics","responseCode":200},"input":{"type":"structure","members":{"accountId":{"locationName":"accountId"}}},"output":{"type":"structure","members":{"bucketCount":{"locationName":"bucketCount","type":"long"},"bucketCountByEffectivePermission":{"locationName":"bucketCountByEffectivePermission","type":"structure","members":{"publiclyAccessible":{"locationName":"publiclyAccessible","type":"long"},"publiclyReadable":{"locationName":"publiclyReadable","type":"long"},"publiclyWritable":{"locationName":"publiclyWritable","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"bucketCountByEncryptionType":{"locationName":"bucketCountByEncryptionType","type":"structure","members":{"kmsManaged":{"locationName":"kmsManaged","type":"long"},"s3Managed":{"locationName":"s3Managed","type":"long"},"unencrypted":{"locationName":"unencrypted","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"bucketCountByObjectEncryptionRequirement":{"locationName":"bucketCountByObjectEncryptionRequirement","type":"structure","members":{"allowsUnencryptedObjectUploads":{"locationName":"allowsUnencryptedObjectUploads","type":"long"},"deniesUnencryptedObjectUploads":{"locationName":"deniesUnencryptedObjectUploads","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"bucketCountBySharedAccessType":{"locationName":"bucketCountBySharedAccessType","type":"structure","members":{"external":{"locationName":"external","type":"long"},"internal":{"locationName":"internal","type":"long"},"notShared":{"locationName":"notShared","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"classifiableObjectCount":{"locationName":"classifiableObjectCount","type":"long"},"classifiableSizeInBytes":{"locationName":"classifiableSizeInBytes","type":"long"},"lastUpdated":{"shape":"S9","locationName":"lastUpdated"},"objectCount":{"locationName":"objectCount","type":"long"},"sizeInBytes":{"locationName":"sizeInBytes","type":"long"},"sizeInBytesCompressed":{"locationName":"sizeInBytesCompressed","type":"long"},"unclassifiableObjectCount":{"shape":"S2z","locationName":"unclassifiableObjectCount"},"unclassifiableObjectSizeInBytes":{"shape":"S2z","locationName":"unclassifiableObjectSizeInBytes"}}}},"GetClassificationExportConfiguration":{"http":{"method":"GET","requestUri":"/classification-export-configuration","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"configuration":{"shape":"S42","locationName":"configuration"}}}},"GetCustomDataIdentifier":{"http":{"method":"GET","requestUri":"/custom-data-identifiers/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"deleted":{"locationName":"deleted","type":"boolean"},"description":{"locationName":"description"},"id":{"locationName":"id"},"ignoreWords":{"shape":"S5","locationName":"ignoreWords"},"keywords":{"shape":"S5","locationName":"keywords"},"maximumMatchDistance":{"locationName":"maximumMatchDistance","type":"integer"},"name":{"locationName":"name"},"regex":{"locationName":"regex"},"severityLevels":{"shape":"S1a","locationName":"severityLevels"},"tags":{"shape":"S17","locationName":"tags"}}}},"GetFindingStatistics":{"http":{"requestUri":"/findings/statistics","responseCode":200},"input":{"type":"structure","members":{"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"groupBy":{"locationName":"groupBy"},"size":{"locationName":"size","type":"integer"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}},"required":["groupBy"]},"output":{"type":"structure","members":{"countsByGroup":{"locationName":"countsByGroup","type":"list","member":{"type":"structure","members":{"count":{"locationName":"count","type":"long"},"groupKey":{"locationName":"groupKey"}}}}}}},"GetFindings":{"http":{"requestUri":"/findings/describe","responseCode":200},"input":{"type":"structure","members":{"findingIds":{"shape":"S5","locationName":"findingIds"},"sortCriteria":{"shape":"S4e","locationName":"sortCriteria"}},"required":["findingIds"]},"output":{"type":"structure","members":{"findings":{"locationName":"findings","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"archived":{"locationName":"archived","type":"boolean"},"category":{"locationName":"category"},"classificationDetails":{"locationName":"classificationDetails","type":"structure","members":{"detailedResultsLocation":{"locationName":"detailedResultsLocation"},"jobArn":{"locationName":"jobArn"},"jobId":{"locationName":"jobId"},"result":{"locationName":"result","type":"structure","members":{"additionalOccurrences":{"locationName":"additionalOccurrences","type":"boolean"},"customDataIdentifiers":{"locationName":"customDataIdentifiers","type":"structure","members":{"detections":{"locationName":"detections","type":"list","member":{"type":"structure","members":{"arn":{"locationName":"arn"},"count":{"locationName":"count","type":"long"},"name":{"locationName":"name"},"occurrences":{"shape":"S4o","locationName":"occurrences"}}}},"totalCount":{"locationName":"totalCount","type":"long"}}},"mimeType":{"locationName":"mimeType"},"sensitiveData":{"locationName":"sensitiveData","type":"list","member":{"type":"structure","members":{"category":{"locationName":"category"},"detections":{"locationName":"detections","type":"list","member":{"type":"structure","members":{"count":{"locationName":"count","type":"long"},"occurrences":{"shape":"S4o","locationName":"occurrences"},"type":{"locationName":"type"}}}},"totalCount":{"locationName":"totalCount","type":"long"}}}},"sizeClassified":{"locationName":"sizeClassified","type":"long"},"status":{"locationName":"status","type":"structure","members":{"code":{"locationName":"code"},"reason":{"locationName":"reason"}}}}}}},"count":{"locationName":"count","type":"long"},"createdAt":{"shape":"S9","locationName":"createdAt"},"description":{"locationName":"description"},"id":{"locationName":"id"},"partition":{"locationName":"partition"},"policyDetails":{"locationName":"policyDetails","type":"structure","members":{"action":{"locationName":"action","type":"structure","members":{"actionType":{"locationName":"actionType"},"apiCallDetails":{"locationName":"apiCallDetails","type":"structure","members":{"api":{"locationName":"api"},"apiServiceName":{"locationName":"apiServiceName"},"firstSeen":{"shape":"S9","locationName":"firstSeen"},"lastSeen":{"shape":"S9","locationName":"lastSeen"}}}}},"actor":{"locationName":"actor","type":"structure","members":{"domainDetails":{"locationName":"domainDetails","type":"structure","members":{"domainName":{"locationName":"domainName"}}},"ipAddressDetails":{"locationName":"ipAddressDetails","type":"structure","members":{"ipAddressV4":{"locationName":"ipAddressV4"},"ipCity":{"locationName":"ipCity","type":"structure","members":{"name":{"locationName":"name"}}},"ipCountry":{"locationName":"ipCountry","type":"structure","members":{"code":{"locationName":"code"},"name":{"locationName":"name"}}},"ipGeoLocation":{"locationName":"ipGeoLocation","type":"structure","members":{"lat":{"locationName":"lat","type":"double"},"lon":{"locationName":"lon","type":"double"}}},"ipOwner":{"locationName":"ipOwner","type":"structure","members":{"asn":{"locationName":"asn"},"asnOrg":{"locationName":"asnOrg"},"isp":{"locationName":"isp"},"org":{"locationName":"org"}}}}},"userIdentity":{"locationName":"userIdentity","type":"structure","members":{"assumedRole":{"locationName":"assumedRole","type":"structure","members":{"accessKeyId":{"locationName":"accessKeyId"},"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"sessionContext":{"shape":"S5g","locationName":"sessionContext"}}},"awsAccount":{"locationName":"awsAccount","type":"structure","members":{"accountId":{"locationName":"accountId"},"principalId":{"locationName":"principalId"}}},"awsService":{"locationName":"awsService","type":"structure","members":{"invokedBy":{"locationName":"invokedBy"}}},"federatedUser":{"locationName":"federatedUser","type":"structure","members":{"accessKeyId":{"locationName":"accessKeyId"},"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"sessionContext":{"shape":"S5g","locationName":"sessionContext"}}},"iamUser":{"locationName":"iamUser","type":"structure","members":{"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"userName":{"locationName":"userName"}}},"root":{"locationName":"root","type":"structure","members":{"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"}}},"type":{"locationName":"type"}}}}}}},"region":{"locationName":"region"},"resourcesAffected":{"locationName":"resourcesAffected","type":"structure","members":{"s3Bucket":{"locationName":"s3Bucket","type":"structure","members":{"allowsUnencryptedObjectUploads":{"locationName":"allowsUnencryptedObjectUploads"},"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"defaultServerSideEncryption":{"shape":"S5r","locationName":"defaultServerSideEncryption"},"name":{"locationName":"name"},"owner":{"locationName":"owner","type":"structure","members":{"displayName":{"locationName":"displayName"},"id":{"locationName":"id"}}},"publicAccess":{"shape":"S2l","locationName":"publicAccess"},"tags":{"shape":"S5u","locationName":"tags"}}},"s3Object":{"locationName":"s3Object","type":"structure","members":{"bucketArn":{"locationName":"bucketArn"},"eTag":{"locationName":"eTag"},"extension":{"locationName":"extension"},"key":{"locationName":"key"},"lastModified":{"shape":"S9","locationName":"lastModified"},"path":{"locationName":"path"},"publicAccess":{"locationName":"publicAccess","type":"boolean"},"serverSideEncryption":{"shape":"S5r","locationName":"serverSideEncryption"},"size":{"locationName":"size","type":"long"},"storageClass":{"locationName":"storageClass"},"tags":{"shape":"S5u","locationName":"tags"},"versionId":{"locationName":"versionId"}}}}},"sample":{"locationName":"sample","type":"boolean"},"schemaVersion":{"locationName":"schemaVersion"},"severity":{"locationName":"severity","type":"structure","members":{"description":{"locationName":"description"},"score":{"locationName":"score","type":"long"}}},"title":{"locationName":"title"},"type":{"locationName":"type"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}}}}},"GetFindingsFilter":{"http":{"method":"GET","requestUri":"/findingsfilters/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{"action":{"locationName":"action"},"arn":{"locationName":"arn"},"description":{"locationName":"description"},"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"id":{"locationName":"id"},"name":{"locationName":"name"},"position":{"locationName":"position","type":"integer"},"tags":{"shape":"S17","locationName":"tags"}}}},"GetFindingsPublicationConfiguration":{"http":{"method":"GET","requestUri":"/findings-publication-configuration","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"securityHubConfiguration":{"shape":"S63","locationName":"securityHubConfiguration"}}}},"GetInvitationsCount":{"http":{"method":"GET","requestUri":"/invitations/count","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"invitationsCount":{"locationName":"invitationsCount","type":"long"}}}},"GetMacieSession":{"http":{"method":"GET","requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"createdAt":{"shape":"S9","locationName":"createdAt"},"findingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"serviceRole":{"locationName":"serviceRole"},"status":{"locationName":"status"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}},"GetMasterAccount":{"http":{"method":"GET","requestUri":"/master","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"master":{"shape":"S3s","locationName":"master"}}}},"GetMember":{"http":{"method":"GET","requestUri":"/members/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"}},"required":["id"]},"output":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"administratorAccountId":{"locationName":"administratorAccountId"},"arn":{"locationName":"arn"},"email":{"locationName":"email"},"invitedAt":{"shape":"S9","locationName":"invitedAt"},"masterAccountId":{"locationName":"masterAccountId"},"relationshipStatus":{"locationName":"relationshipStatus"},"tags":{"shape":"S17","locationName":"tags"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}},"GetUsageStatistics":{"http":{"requestUri":"/usage/statistics","responseCode":200},"input":{"type":"structure","members":{"filterBy":{"locationName":"filterBy","type":"list","member":{"type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortBy":{"locationName":"sortBy","type":"structure","members":{"key":{"locationName":"key"},"orderBy":{"locationName":"orderBy"}}},"timeRange":{"locationName":"timeRange"}}},"output":{"type":"structure","members":{"nextToken":{"locationName":"nextToken"},"records":{"locationName":"records","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"freeTrialStartDate":{"shape":"S9","locationName":"freeTrialStartDate"},"usage":{"locationName":"usage","type":"list","member":{"type":"structure","members":{"currency":{"locationName":"currency"},"estimatedCost":{"locationName":"estimatedCost"},"serviceLimit":{"locationName":"serviceLimit","type":"structure","members":{"isServiceLimited":{"locationName":"isServiceLimited","type":"boolean"},"unit":{"locationName":"unit"},"value":{"locationName":"value","type":"long"}}},"type":{"locationName":"type"}}}}}}},"timeRange":{"locationName":"timeRange"}}}},"GetUsageTotals":{"http":{"method":"GET","requestUri":"/usage","responseCode":200},"input":{"type":"structure","members":{"timeRange":{"location":"querystring","locationName":"timeRange"}}},"output":{"type":"structure","members":{"timeRange":{"locationName":"timeRange"},"usageTotals":{"locationName":"usageTotals","type":"list","member":{"type":"structure","members":{"currency":{"locationName":"currency"},"estimatedCost":{"locationName":"estimatedCost"},"type":{"locationName":"type"}}}}}}},"ListClassificationJobs":{"http":{"requestUri":"/jobs/list","responseCode":200},"input":{"type":"structure","members":{"filterCriteria":{"locationName":"filterCriteria","type":"structure","members":{"excludes":{"shape":"S6z","locationName":"excludes"},"includes":{"shape":"S6z","locationName":"includes"}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}}},"output":{"type":"structure","members":{"items":{"locationName":"items","type":"list","member":{"type":"structure","members":{"bucketDefinitions":{"shape":"Sf","locationName":"bucketDefinitions"},"createdAt":{"shape":"S9","locationName":"createdAt"},"jobId":{"locationName":"jobId"},"jobStatus":{"locationName":"jobStatus"},"jobType":{"locationName":"jobType"},"lastRunErrorStatus":{"shape":"S33","locationName":"lastRunErrorStatus"},"name":{"locationName":"name"},"userPausedDetails":{"shape":"S37","locationName":"userPausedDetails"},"bucketCriteria":{"shape":"Ss","locationName":"bucketCriteria"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListCustomDataIdentifiers":{"http":{"requestUri":"/custom-data-identifiers/list","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"items":{"locationName":"items","type":"list","member":{"type":"structure","members":{"arn":{"locationName":"arn"},"createdAt":{"shape":"S9","locationName":"createdAt"},"description":{"locationName":"description"},"id":{"locationName":"id"},"name":{"locationName":"name"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListFindings":{"http":{"requestUri":"/findings","responseCode":200},"input":{"type":"structure","members":{"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"shape":"S4e","locationName":"sortCriteria"}}},"output":{"type":"structure","members":{"findingIds":{"shape":"S5","locationName":"findingIds"},"nextToken":{"locationName":"nextToken"}}}},"ListFindingsFilters":{"http":{"method":"GET","requestUri":"/findingsfilters","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"findingsFilterListItems":{"locationName":"findingsFilterListItems","type":"list","member":{"type":"structure","members":{"action":{"locationName":"action"},"arn":{"locationName":"arn"},"id":{"locationName":"id"},"name":{"locationName":"name"},"tags":{"shape":"S17","locationName":"tags"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListInvitations":{"http":{"method":"GET","requestUri":"/invitations","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"invitations":{"locationName":"invitations","type":"list","member":{"shape":"S3s"}},"nextToken":{"locationName":"nextToken"}}}},"ListManagedDataIdentifiers":{"http":{"requestUri":"/managed-data-identifiers/list","responseCode":200},"input":{"type":"structure","members":{"nextToken":{"locationName":"nextToken"}}},"output":{"type":"structure","members":{"items":{"locationName":"items","type":"list","member":{"type":"structure","members":{"category":{"locationName":"category"},"id":{"locationName":"id"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListMembers":{"http":{"method":"GET","requestUri":"/members","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"},"onlyAssociated":{"location":"querystring","locationName":"onlyAssociated"}}},"output":{"type":"structure","members":{"members":{"locationName":"members","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"administratorAccountId":{"locationName":"administratorAccountId"},"arn":{"locationName":"arn"},"email":{"locationName":"email"},"invitedAt":{"shape":"S9","locationName":"invitedAt"},"masterAccountId":{"locationName":"masterAccountId"},"relationshipStatus":{"locationName":"relationshipStatus"},"tags":{"shape":"S17","locationName":"tags"},"updatedAt":{"shape":"S9","locationName":"updatedAt"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListOrganizationAdminAccounts":{"http":{"method":"GET","requestUri":"/admin","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"adminAccounts":{"locationName":"adminAccounts","type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"status":{"locationName":"status"}}}},"nextToken":{"locationName":"nextToken"}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}},"required":["resourceArn"]},"output":{"type":"structure","members":{"tags":{"shape":"S17","locationName":"tags"}}}},"PutClassificationExportConfiguration":{"http":{"method":"PUT","requestUri":"/classification-export-configuration","responseCode":200},"input":{"type":"structure","members":{"configuration":{"shape":"S42","locationName":"configuration"}},"required":["configuration"]},"output":{"type":"structure","members":{"configuration":{"shape":"S42","locationName":"configuration"}}}},"PutFindingsPublicationConfiguration":{"http":{"method":"PUT","requestUri":"/findings-publication-configuration","responseCode":200},"input":{"type":"structure","members":{"clientToken":{"locationName":"clientToken","idempotencyToken":true},"securityHubConfiguration":{"shape":"S63","locationName":"securityHubConfiguration"}}},"output":{"type":"structure","members":{}}},"SearchResources":{"http":{"requestUri":"/datasources/search-resources","responseCode":200},"input":{"type":"structure","members":{"bucketCriteria":{"locationName":"bucketCriteria","type":"structure","members":{"excludes":{"shape":"S86","locationName":"excludes"},"includes":{"shape":"S86","locationName":"includes"}}},"maxResults":{"locationName":"maxResults","type":"integer"},"nextToken":{"locationName":"nextToken"},"sortCriteria":{"locationName":"sortCriteria","type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}}}},"output":{"type":"structure","members":{"matchingResources":{"locationName":"matchingResources","type":"list","member":{"type":"structure","members":{"matchingBucket":{"locationName":"matchingBucket","type":"structure","members":{"accountId":{"locationName":"accountId"},"bucketName":{"locationName":"bucketName"},"classifiableObjectCount":{"locationName":"classifiableObjectCount","type":"long"},"classifiableSizeInBytes":{"locationName":"classifiableSizeInBytes","type":"long"},"errorCode":{"locationName":"errorCode"},"errorMessage":{"locationName":"errorMessage"},"jobDetails":{"shape":"S2h","locationName":"jobDetails"},"objectCount":{"locationName":"objectCount","type":"long"},"objectCountByEncryptionType":{"shape":"S2k","locationName":"objectCountByEncryptionType"},"sizeInBytes":{"locationName":"sizeInBytes","type":"long"},"sizeInBytesCompressed":{"locationName":"sizeInBytesCompressed","type":"long"},"unclassifiableObjectCount":{"shape":"S2z","locationName":"unclassifiableObjectCount"},"unclassifiableObjectSizeInBytes":{"shape":"S2z","locationName":"unclassifiableObjectSizeInBytes"}}}}}},"nextToken":{"locationName":"nextToken"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S17","locationName":"tags"}},"required":["resourceArn","tags"]},"output":{"type":"structure","members":{}}},"TestCustomDataIdentifier":{"http":{"requestUri":"/custom-data-identifiers/test","responseCode":200},"input":{"type":"structure","members":{"ignoreWords":{"shape":"S5","locationName":"ignoreWords"},"keywords":{"shape":"S5","locationName":"keywords"},"maximumMatchDistance":{"locationName":"maximumMatchDistance","type":"integer"},"regex":{"locationName":"regex"},"sampleText":{"locationName":"sampleText"}},"required":["regex","sampleText"]},"output":{"type":"structure","members":{"matchCount":{"locationName":"matchCount","type":"integer"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":204},"input":{"type":"structure","members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"shape":"S5","location":"querystring","locationName":"tagKeys"}},"required":["tagKeys","resourceArn"]},"output":{"type":"structure","members":{}}},"UpdateClassificationJob":{"http":{"method":"PATCH","requestUri":"/jobs/{jobId}","responseCode":200},"input":{"type":"structure","members":{"jobId":{"location":"uri","locationName":"jobId"},"jobStatus":{"locationName":"jobStatus"}},"required":["jobId","jobStatus"]},"output":{"type":"structure","members":{}}},"UpdateFindingsFilter":{"http":{"method":"PATCH","requestUri":"/findingsfilters/{id}","responseCode":200},"input":{"type":"structure","members":{"action":{"locationName":"action"},"description":{"locationName":"description"},"findingCriteria":{"shape":"S1h","locationName":"findingCriteria"},"id":{"location":"uri","locationName":"id"},"name":{"locationName":"name"},"position":{"locationName":"position","type":"integer"},"clientToken":{"locationName":"clientToken","idempotencyToken":true}},"required":["id"]},"output":{"type":"structure","members":{"arn":{"locationName":"arn"},"id":{"locationName":"id"}}}},"UpdateMacieSession":{"http":{"method":"PATCH","requestUri":"/macie","responseCode":200},"input":{"type":"structure","members":{"findingPublishingFrequency":{"locationName":"findingPublishingFrequency"},"status":{"locationName":"status"}}},"output":{"type":"structure","members":{}}},"UpdateMemberSession":{"http":{"method":"PATCH","requestUri":"/macie/members/{id}","responseCode":200},"input":{"type":"structure","members":{"id":{"location":"uri","locationName":"id"},"status":{"locationName":"status"}},"required":["id","status"]},"output":{"type":"structure","members":{}}},"UpdateOrganizationConfiguration":{"http":{"method":"PATCH","requestUri":"/admin/configuration","responseCode":200},"input":{"type":"structure","members":{"autoEnable":{"locationName":"autoEnable","type":"boolean"}},"required":["autoEnable"]},"output":{"type":"structure","members":{}}}},"shapes":{"S5":{"type":"list","member":{}},"S9":{"type":"timestamp","timestampFormat":"iso8601"},"Se":{"type":"structure","members":{"bucketDefinitions":{"shape":"Sf","locationName":"bucketDefinitions"},"scoping":{"locationName":"scoping","type":"structure","members":{"excludes":{"shape":"Si","locationName":"excludes"},"includes":{"shape":"Si","locationName":"includes"}}},"bucketCriteria":{"shape":"Ss","locationName":"bucketCriteria"}}},"Sf":{"type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"buckets":{"shape":"S5","locationName":"buckets"}},"required":["accountId","buckets"]}},"Si":{"type":"structure","members":{"and":{"locationName":"and","type":"list","member":{"type":"structure","members":{"simpleScopeTerm":{"locationName":"simpleScopeTerm","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}},"tagScopeTerm":{"locationName":"tagScopeTerm","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"tagValues":{"locationName":"tagValues","type":"list","member":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}}},"target":{"locationName":"target"}}}}}}}},"Ss":{"type":"structure","members":{"excludes":{"shape":"St","locationName":"excludes"},"includes":{"shape":"St","locationName":"includes"}}},"St":{"type":"structure","members":{"and":{"locationName":"and","type":"list","member":{"type":"structure","members":{"simpleCriterion":{"locationName":"simpleCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}},"tagCriterion":{"locationName":"tagCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"tagValues":{"locationName":"tagValues","type":"list","member":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}}}}}}}}}},"S12":{"type":"structure","members":{"dailySchedule":{"locationName":"dailySchedule","type":"structure","members":{}},"monthlySchedule":{"locationName":"monthlySchedule","type":"structure","members":{"dayOfMonth":{"locationName":"dayOfMonth","type":"integer"}}},"weeklySchedule":{"locationName":"weeklySchedule","type":"structure","members":{"dayOfWeek":{"locationName":"dayOfWeek"}}}}},"S17":{"type":"map","key":{},"value":{}},"S1a":{"type":"list","member":{"type":"structure","members":{"occurrencesThreshold":{"locationName":"occurrencesThreshold","type":"long"},"severity":{"locationName":"severity"}},"required":["occurrencesThreshold","severity"]}},"S1h":{"type":"structure","members":{"criterion":{"locationName":"criterion","type":"map","key":{},"value":{"type":"structure","members":{"eq":{"shape":"S5","locationName":"eq"},"eqExactMatch":{"shape":"S5","locationName":"eqExactMatch"},"gt":{"locationName":"gt","type":"long"},"gte":{"locationName":"gte","type":"long"},"lt":{"locationName":"lt","type":"long"},"lte":{"locationName":"lte","type":"long"},"neq":{"shape":"S5","locationName":"neq"}}}}}},"S1n":{"type":"list","member":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"errorCode":{"locationName":"errorCode"},"errorMessage":{"locationName":"errorMessage"}}}},"S2h":{"type":"structure","members":{"isDefinedInJob":{"locationName":"isDefinedInJob"},"isMonitoredByJob":{"locationName":"isMonitoredByJob"},"lastJobId":{"locationName":"lastJobId"},"lastJobRunTime":{"shape":"S9","locationName":"lastJobRunTime"}}},"S2k":{"type":"structure","members":{"customerManaged":{"locationName":"customerManaged","type":"long"},"kmsManaged":{"locationName":"kmsManaged","type":"long"},"s3Managed":{"locationName":"s3Managed","type":"long"},"unencrypted":{"locationName":"unencrypted","type":"long"},"unknown":{"locationName":"unknown","type":"long"}}},"S2l":{"type":"structure","members":{"effectivePermission":{"locationName":"effectivePermission"},"permissionConfiguration":{"locationName":"permissionConfiguration","type":"structure","members":{"accountLevelPermissions":{"locationName":"accountLevelPermissions","type":"structure","members":{"blockPublicAccess":{"shape":"S2p","locationName":"blockPublicAccess"}}},"bucketLevelPermissions":{"locationName":"bucketLevelPermissions","type":"structure","members":{"accessControlList":{"locationName":"accessControlList","type":"structure","members":{"allowsPublicReadAccess":{"locationName":"allowsPublicReadAccess","type":"boolean"},"allowsPublicWriteAccess":{"locationName":"allowsPublicWriteAccess","type":"boolean"}}},"blockPublicAccess":{"shape":"S2p","locationName":"blockPublicAccess"},"bucketPolicy":{"locationName":"bucketPolicy","type":"structure","members":{"allowsPublicReadAccess":{"locationName":"allowsPublicReadAccess","type":"boolean"},"allowsPublicWriteAccess":{"locationName":"allowsPublicWriteAccess","type":"boolean"}}}}}}}}},"S2p":{"type":"structure","members":{"blockPublicAcls":{"locationName":"blockPublicAcls","type":"boolean"},"blockPublicPolicy":{"locationName":"blockPublicPolicy","type":"boolean"},"ignorePublicAcls":{"locationName":"ignorePublicAcls","type":"boolean"},"restrictPublicBuckets":{"locationName":"restrictPublicBuckets","type":"boolean"}}},"S2y":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}},"S2z":{"type":"structure","members":{"fileType":{"locationName":"fileType","type":"long"},"storageClass":{"locationName":"storageClass","type":"long"},"total":{"locationName":"total","type":"long"}}},"S33":{"type":"structure","members":{"code":{"locationName":"code"}}},"S37":{"type":"structure","members":{"jobExpiresAt":{"shape":"S9","locationName":"jobExpiresAt"},"jobImminentExpirationHealthEventArn":{"locationName":"jobImminentExpirationHealthEventArn"},"jobPausedAt":{"shape":"S9","locationName":"jobPausedAt"}}},"S3s":{"type":"structure","members":{"accountId":{"locationName":"accountId"},"invitationId":{"locationName":"invitationId"},"invitedAt":{"shape":"S9","locationName":"invitedAt"},"relationshipStatus":{"locationName":"relationshipStatus"}}},"S42":{"type":"structure","members":{"s3Destination":{"locationName":"s3Destination","type":"structure","members":{"bucketName":{"locationName":"bucketName"},"keyPrefix":{"locationName":"keyPrefix"},"kmsKeyArn":{"locationName":"kmsKeyArn"}},"required":["bucketName","kmsKeyArn"]}}},"S4e":{"type":"structure","members":{"attributeName":{"locationName":"attributeName"},"orderBy":{"locationName":"orderBy"}}},"S4o":{"type":"structure","members":{"cells":{"locationName":"cells","type":"list","member":{"type":"structure","members":{"cellReference":{"locationName":"cellReference"},"column":{"locationName":"column","type":"long"},"columnName":{"locationName":"columnName"},"row":{"locationName":"row","type":"long"}}}},"lineRanges":{"shape":"S4r","locationName":"lineRanges"},"offsetRanges":{"shape":"S4r","locationName":"offsetRanges"},"pages":{"locationName":"pages","type":"list","member":{"type":"structure","members":{"lineRange":{"shape":"S4s","locationName":"lineRange"},"offsetRange":{"shape":"S4s","locationName":"offsetRange"},"pageNumber":{"locationName":"pageNumber","type":"long"}}}},"records":{"locationName":"records","type":"list","member":{"type":"structure","members":{"jsonPath":{"locationName":"jsonPath"},"recordIndex":{"locationName":"recordIndex","type":"long"}}}}}},"S4r":{"type":"list","member":{"shape":"S4s"}},"S4s":{"type":"structure","members":{"end":{"locationName":"end","type":"long"},"start":{"locationName":"start","type":"long"},"startColumn":{"locationName":"startColumn","type":"long"}}},"S5g":{"type":"structure","members":{"attributes":{"locationName":"attributes","type":"structure","members":{"creationDate":{"shape":"S9","locationName":"creationDate"},"mfaAuthenticated":{"locationName":"mfaAuthenticated","type":"boolean"}}},"sessionIssuer":{"locationName":"sessionIssuer","type":"structure","members":{"accountId":{"locationName":"accountId"},"arn":{"locationName":"arn"},"principalId":{"locationName":"principalId"},"type":{"locationName":"type"},"userName":{"locationName":"userName"}}}}},"S5r":{"type":"structure","members":{"encryptionType":{"locationName":"encryptionType"},"kmsMasterKeyId":{"locationName":"kmsMasterKeyId"}}},"S5u":{"type":"list","member":{"shape":"S2y"}},"S63":{"type":"structure","members":{"publishClassificationFindings":{"locationName":"publishClassificationFindings","type":"boolean"},"publishPolicyFindings":{"locationName":"publishPolicyFindings","type":"boolean"}},"required":["publishPolicyFindings","publishClassificationFindings"]},"S6z":{"type":"list","member":{"type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}}},"S86":{"type":"structure","members":{"and":{"locationName":"and","type":"list","member":{"type":"structure","members":{"simpleCriterion":{"locationName":"simpleCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"key":{"locationName":"key"},"values":{"shape":"S5","locationName":"values"}}},"tagCriterion":{"locationName":"tagCriterion","type":"structure","members":{"comparator":{"locationName":"comparator"},"tagValues":{"locationName":"tagValues","type":"list","member":{"type":"structure","members":{"key":{"locationName":"key"},"value":{"locationName":"value"}}}}}}}}}}}}} /***/ }), /* 881 */ @@ -54349,7 +54349,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 1009 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2021-03-12","endpointPrefix":"finspace","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"finspace","serviceFullName":"FinSpace User Environment Management service","serviceId":"finspace","signatureVersion":"v4","signingName":"finspace","uid":"finspace-2021-03-12"},"operations":{"CreateEnvironment":{"http":{"requestUri":"/environment"},"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"kmsKeyId":{},"tags":{"shape":"S5"},"federationMode":{},"federationParameters":{"shape":"S9"}}},"output":{"type":"structure","members":{"environmentId":{},"environmentArn":{},"environmentUrl":{}}}},"DeleteEnvironment":{"http":{"method":"DELETE","requestUri":"/environment/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"}}},"output":{"type":"structure","members":{}}},"GetEnvironment":{"http":{"method":"GET","requestUri":"/environment/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"}}},"output":{"type":"structure","members":{"environment":{"shape":"Sn"}}}},"ListEnvironments":{"http":{"method":"GET","requestUri":"/environment"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"environments":{"type":"list","member":{"shape":"Sn"}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S5"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateEnvironment":{"http":{"method":"PUT","requestUri":"/environment/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"name":{},"description":{},"federationMode":{},"federationParameters":{"shape":"S9"}}},"output":{"type":"structure","members":{"environment":{"shape":"Sn"}}}}},"shapes":{"S5":{"type":"map","key":{},"value":{}},"S9":{"type":"structure","members":{"samlMetadataDocument":{},"samlMetadataURL":{},"applicationCallBackURL":{},"federationURN":{},"federationProviderName":{},"attributeMap":{"type":"map","key":{},"value":{}}}},"Sn":{"type":"structure","members":{"name":{},"environmentId":{},"awsAccountId":{},"status":{},"environmentUrl":{},"description":{},"environmentArn":{},"sageMakerStudioDomainUrl":{},"kmsKeyId":{},"dedicatedServiceAccountId":{},"federationMode":{},"federationParameters":{"shape":"S9"}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2021-03-12","endpointPrefix":"finspace","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"finspace","serviceFullName":"FinSpace User Environment Management service","serviceId":"finspace","signatureVersion":"v4","signingName":"finspace","uid":"finspace-2021-03-12"},"operations":{"CreateEnvironment":{"http":{"requestUri":"/environment"},"input":{"type":"structure","required":["name"],"members":{"name":{},"description":{},"kmsKeyId":{},"tags":{"shape":"S5"},"federationMode":{},"federationParameters":{"shape":"S9"},"superuserParameters":{"type":"structure","required":["emailAddress","firstName","lastName"],"members":{"emailAddress":{"type":"string","sensitive":true},"firstName":{},"lastName":{}}},"dataBundles":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"environmentId":{},"environmentArn":{},"environmentUrl":{}}}},"DeleteEnvironment":{"http":{"method":"DELETE","requestUri":"/environment/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"}}},"output":{"type":"structure","members":{}}},"GetEnvironment":{"http":{"method":"GET","requestUri":"/environment/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"}}},"output":{"type":"structure","members":{"environment":{"shape":"Ss"}}}},"ListEnvironments":{"http":{"method":"GET","requestUri":"/environment"},"input":{"type":"structure","members":{"nextToken":{"location":"querystring","locationName":"nextToken"},"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"}}},"output":{"type":"structure","members":{"environments":{"type":"list","member":{"shape":"Ss"}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S5"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S5"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}"},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateEnvironment":{"http":{"method":"PUT","requestUri":"/environment/{environmentId}"},"input":{"type":"structure","required":["environmentId"],"members":{"environmentId":{"location":"uri","locationName":"environmentId"},"name":{},"description":{},"federationMode":{},"federationParameters":{"shape":"S9"}}},"output":{"type":"structure","members":{"environment":{"shape":"Ss"}}}}},"shapes":{"S5":{"type":"map","key":{},"value":{}},"S9":{"type":"structure","members":{"samlMetadataDocument":{},"samlMetadataURL":{},"applicationCallBackURL":{},"federationURN":{},"federationProviderName":{},"attributeMap":{"type":"map","key":{},"value":{}}}},"Ss":{"type":"structure","members":{"name":{},"environmentId":{},"awsAccountId":{},"status":{},"environmentUrl":{},"description":{},"environmentArn":{},"sageMakerStudioDomainUrl":{},"kmsKeyId":{},"dedicatedServiceAccountId":{},"federationMode":{},"federationParameters":{"shape":"S9"}}}}} /***/ }), /* 1010 */ diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index 04850672e2..cb23cdc2f3 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.1020.0 +// AWS SDK for JavaScript v2.1021.0 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i-1});var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:i,convertToBuffer:a}},{"buffer/":426}],334:[function(e,t,r){function i(e,t){this.hash=new e,this.outer=new e;var r=a(e,t),i=new Uint8Array(e.BLOCK_SIZE);i.set(r);for(var s=0;se.BLOCK_SIZE){var i=new e;i.update(r),r=i.digest()}var a=new Uint8Array(e.BLOCK_SIZE);return a.set(r),a}var s=e("./browserHashUtils");t.exports=i,i.prototype.update=function(e){if(s.isEmptyData(e)||this.error)return this;try{this.hash.update(s.convertToBuffer(e))}catch(e){this.error=e}return this},i.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":333}],335:[function(e,t,r){function i(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function a(e,t,r,i,a,s){return((t=(t+e&4294967295)+(i+s&4294967295)&4294967295)<>>32-a)+r&4294967295}function s(e,t,r,i,s,o,n){return a(t&r|~t&i,e,t,s,o,n)}function o(e,t,r,i,s,o,n){return a(t&i|r&~i,e,t,s,o,n)}function n(e,t,r,i,s,o,n){return a(t^r^i,e,t,s,o,n)}function u(e,t,r,i,s,o,n){return a(r^(t|~i),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=i,i.BLOCK_SIZE=c,i.prototype.update=function(e){if(p.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=p.convertToBuffer(e),r=0,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),i--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,i=t.bufferLength,a=t.bytesHashed,s=8*a;if(r.setUint8(this.bufferLength++,128),i%c>=c-8){for(var o=this.bufferLength;o>>0,!0),r.setUint32(c-4,Math.floor(s/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var n=new DataView(new ArrayBuffer(16)),o=0;o<4;o++)n.setUint32(4*o,this.state[o],!0);var u=new m(n.buffer,n.byteOffset,n.byteLength);return e?u.toString(e):u},i.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],p=r[2],m=r[3];i=s(i,a,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,i,a,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,i,a,t.getUint32(8,!0),17,606105819),a=s(a,p,m,i,t.getUint32(12,!0),22,3250441966),i=s(i,a,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,i,a,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,i,a,t.getUint32(24,!0),17,2821735955),a=s(a,p,m,i,t.getUint32(28,!0),22,4249261313),i=s(i,a,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,i,a,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,i,a,t.getUint32(40,!0),17,4294925233),a=s(a,p,m,i,t.getUint32(44,!0),22,2304563134),i=s(i,a,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,i,a,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,i,a,t.getUint32(56,!0),17,2792965006),a=s(a,p,m,i,t.getUint32(60,!0),22,1236535329),i=o(i,a,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,i,a,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,i,a,t.getUint32(44,!0),14,643717713),a=o(a,p,m,i,t.getUint32(0,!0),20,3921069994),i=o(i,a,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,i,a,p,t.getUint32(40,!0),9,38016083),p=o(p,m,i,a,t.getUint32(60,!0),14,3634488961),a=o(a,p,m,i,t.getUint32(16,!0),20,3889429448),i=o(i,a,p,m,t.getUint32(36,!0),5,568446438),m=o(m,i,a,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,i,a,t.getUint32(12,!0),14,4107603335),a=o(a,p,m,i,t.getUint32(32,!0),20,1163531501),i=o(i,a,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,i,a,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,i,a,t.getUint32(28,!0),14,1735328473),a=o(a,p,m,i,t.getUint32(48,!0),20,2368359562),i=n(i,a,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,i,a,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,i,a,t.getUint32(44,!0),16,1839030562),a=n(a,p,m,i,t.getUint32(56,!0),23,4259657740),i=n(i,a,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,i,a,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,i,a,t.getUint32(28,!0),16,4139469664),a=n(a,p,m,i,t.getUint32(40,!0),23,3200236656),i=n(i,a,p,m,t.getUint32(52,!0),4,681279174),m=n(m,i,a,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,i,a,t.getUint32(12,!0),16,3572445317),a=n(a,p,m,i,t.getUint32(24,!0),23,76029189),i=n(i,a,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,i,a,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,i,a,t.getUint32(60,!0),16,530742520),a=n(a,p,m,i,t.getUint32(8,!0),23,3299628645),i=u(i,a,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,i,a,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,i,a,t.getUint32(56,!0),15,2878612391),a=u(a,p,m,i,t.getUint32(20,!0),21,4237533241),i=u(i,a,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,i,a,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,i,a,t.getUint32(40,!0),15,4293915773),a=u(a,p,m,i,t.getUint32(4,!0),21,2240044497),i=u(i,a,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,i,a,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,i,a,t.getUint32(24,!0),15,2734768916),a=u(a,p,m,i,t.getUint32(52,!0),21,1309151649),i=u(i,a,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,i,a,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,i,a,t.getUint32(8,!0),15,718787259),a=u(a,p,m,i,t.getUint32(36,!0),21,3951481745),r[0]=i+r[0]&4294967295,r[1]=a+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":333,"buffer/":426}],336:[function(e,t,r){function i(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var a=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new a(20),i=new DataView(r.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?r.toString(e):r},i.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,i,a=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),i=1518500249):e<40?(r=s^o^n,i=1859775393):e<60?(r=s&o|n&(s|o),i=2400959708):(r=s^o^n,i=3395469782);var p=(a<<5|a>>>27)+r+u+i+(0|this.block[e]) -;u=n,n=o,o=s<<30|s>>>2,s=a,a=p}for(this.h0=this.h0+a|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":333,"buffer/":426}],337:[function(e,t,r){function i(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var a=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new a(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},i.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var S=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)|0)+(c+(o[l]+this.temp[l]|0)|0)|0,g=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&a^i&s^a&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=a,a=i,i=S+g|0}r[0]+=i,r[1]+=a,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":333,"buffer/":426}],338:[function(e,t,r){(function(r){(function(){var r=e("./util");r.crypto.lib=e("./browserCryptoLib"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/"),r.realClock=e("./realclock/browserClock"),r.environment="js",r.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var i=e("./core");if(t.exports=i,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),i.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===a)var a={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":332,"./core":342,"./credentials":343,"./credentials/chainable_temporary_credentials":344,"./credentials/cognito_identity_credentials":345,"./credentials/credential_provider_chain":346,"./credentials/saml_credentials":347,"./credentials/temporary_credentials":348,"./credentials/web_identity_credentials":349,"./event-stream/buffered-create-event-stream":357,"./http/xhr":365,"./realclock/browserClock":384,"./util":417,"./xml/browser_parser":418,_process:431,"buffer/":426,"querystring/":438,"url/":440}],339:[function(e,t,r){var i=e("../core"),a=i.util.url,s=i.util.crypto.lib,o=i.util.base64.encode,n=i.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,i){var a=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(a.toString(),i)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=a.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};i.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i["CloudFront-"+a]=r[a]);return S(i,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var i=a.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);i.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(i.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(a.format(i)):a.format(i)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=i.CloudFront.Signer},{"../core":342}],340:[function(e,t,r){var i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var a;i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:a.credentials)}function r(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var a=this;a.credentials?"function"==typeof a.credentials.get?function(){a.credentials.get(function(e){e&&(e=r("Could not load credentials from "+a.credentials.constructor.name,e)),t(e)})}():function(){var e=null;a.credentials.accessKeyId&&a.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():a.credentialProvider?a.credentialProvider.resolve(function(e,i){e&&(e=r("Could not load credentials from any providers",e)),a.credentials=i,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy"},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=i.util.copy(e),e.credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){a=e,null===e&&"function"==typeof Promise&&(a=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,a)},getPromisesDependency:function(){return a}}),i.config=new i.Config},{"./core":342,"./credentials":343,"./credentials/credential_provider_chain":346}],341:[function(e,t,r){(function(r){(function(){function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function a(e,t){e=e||{};var a;if(e[t.clientConfig]&&(a=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return a;if(!s.util.isNode())return a;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(a=i(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return a}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(a=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return a}return a}var s=e("./core");t.exports=a}).call(this)}).call(this,e("_process"))},{"./core":342,_process:431}],342:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.1020.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),i.events=new i.SequentialExecutor,i.util.memoizedProperty(i,"endpointCache",function(){return new i.EndpointCache(i.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":449,"./api_loader":331,"./config":340,"./event_listeners":363,"./http":364,"./json/builder":366,"./json/parser":367,"./model/api":368,"./model/operation":370,"./model/paginator":371,"./model/resource_waiter":372,"./model/shape":373,"./param_validator":374,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./request":387,"./resource_waiter":388,"./response":389,"./sequential_executor":391,"./service":392,"./signers/request_signer":409,"./util":417,"./xml/builder":419}],343:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=i.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){i.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):i.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),i.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=i.util.promisifyMethod("get",e),this.prototype.refreshPromise=i.util.promisifyMethod("refresh",e)},i.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},i.util.addPromises(i.Credentials)},{"./core":342}],344:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.ChainableTemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=i.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new i.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=i.util.merge({params:t,credentials:e.masterCredentials||i.config.credentials},e.stsConfig||{});this.service=new a(r)},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(i,a){var s={};if(i)return void e(i);a&&(s.TokenCode=a),t.service[r](s,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,a){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(i.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,a)}):e(null)}})},{"../../clients/sts":326,"../core":342}],345:[function(e,t,r){var i=e("../core"),a=e("../../clients/cognitoidentity"),s=e("../../clients/sts");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=i.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(i.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new i.WebIdentityCredentials(this.params,e),!this.cognito){var t=i.util.merge({},e);t.params=this.params,this.cognito=new a(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,i.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=i.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":258,"../../clients/sts":326,"../core":342}],346:[function(e,t,r){var i=e("../core");i.CredentialProviderChain=i.util.inherit(i.Credentials,{constructor:function(e){this.providers=e||i.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||a===s.length)return i.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[a++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var a=0,s=r.providers.slice(0);t()}return r}}),i.CredentialProviderChain.defaultProviders=[],i.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=i.util.promisifyMethod("resolve",e)},i.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},i.util.addPromises(i.CredentialProviderChain)},{"../core":342}],347:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.SAMLCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],348:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.TemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||i.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new i.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],349:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.WebIdentityCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=i.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,i){t.data=null,r||(t.data=i,t.service.credentialsFrom(i,t)),e(r)})},createClients:function(){if(!this.service){var e=i.util.merge({},this._clientConfig);e.params=this.params,this.service=new a(e)}}})},{"../../clients/sts":326,"../core":342}],350:[function(e,t,r){(function(r){(function(){function i(e){var t=e.service,r=t.api||{},i={};return t.config.region&&(i.region=t.config.region),r.serviceId&&(i.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(i.accessKeyId=t.config.credentials.accessKeyId),i}function a(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(i){var s=r.members[i];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:i;e[o]=String(t[i])}else a(e,t[i],s)})}function s(e,t){var r={};return a(r,e.params,t),r}function o(e){var t=e.service,r=t.api,a=r.operations?r.operations[e.operation]:void 0,o=a?a.input:void 0,n=s(e,o),p=i(e);Object.keys(n).length>0&&(p=b.update(p,n),a&&(p.operation=a.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:a.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,a=r.api,o=a.operations?a.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=i(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return g[c]||(g[c]=[]),void g[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(a.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,i){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var a=g[c];b.arrayEach(a,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(i&&(y.endpointCache.put(c,i.Endpoints),e.httpRequest.updateEndpoint(i.Endpoints[0].Address),g[c])){var a=g[c];b.arrayEach(a,function(e){e.request.httpRequest.updateEndpoint(i.Endpoints[0].Address),e.callback()}),delete g[c]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=r)}function p(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var a=e.request,o=a.service.api.operations||{},n=o[a.operation]?o[a.operation].input:void 0,u=s(a,n),p=i(a);Object.keys(u).length>0&&(p=b.update(p,u),o[a.operation]&&(p.operation=o[a.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var i=0;i>>2,s=a,a=p}for(this.h0=this.h0+a|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":333,"buffer/":426}],337:[function(e,t,r){function i(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var a=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new a(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},i.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var S=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)|0)+(c+(o[l]+this.temp[l]|0)|0)|0,g=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&a^i&s^a&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=a,a=i,i=S+g|0}r[0]+=i,r[1]+=a,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":333,"buffer/":426}],338:[function(e,t,r){(function(r){(function(){var r=e("./util");r.crypto.lib=e("./browserCryptoLib"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/"),r.realClock=e("./realclock/browserClock"),r.environment="js",r.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var i=e("./core");if(t.exports=i,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),i.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===a)var a={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":332,"./core":342,"./credentials":343,"./credentials/chainable_temporary_credentials":344,"./credentials/cognito_identity_credentials":345,"./credentials/credential_provider_chain":346,"./credentials/saml_credentials":347,"./credentials/temporary_credentials":348,"./credentials/web_identity_credentials":349,"./event-stream/buffered-create-event-stream":357,"./http/xhr":365,"./realclock/browserClock":384,"./util":417,"./xml/browser_parser":418,_process:431,"buffer/":426,"querystring/":438,"url/":440}],339:[function(e,t,r){var i=e("../core"),a=i.util.url,s=i.util.crypto.lib,o=i.util.base64.encode,n=i.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,i){var a=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(a.toString(),i)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=a.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};i.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i["CloudFront-"+a]=r[a]);return S(i,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var i=a.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);i.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(i.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(a.format(i)):a.format(i)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=i.CloudFront.Signer},{"../core":342}],340:[function(e,t,r){var i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var a;i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:a.credentials)}function r(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var a=this;a.credentials?"function"==typeof a.credentials.get?function(){a.credentials.get(function(e){e&&(e=r("Could not load credentials from "+a.credentials.constructor.name,e)),t(e)})}():function(){var e=null;a.credentials.accessKeyId&&a.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():a.credentialProvider?a.credentialProvider.resolve(function(e,i){e&&(e=r("Could not load credentials from any providers",e)),a.credentials=i,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy"},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=i.util.copy(e),e.credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){a=e,null===e&&"function"==typeof Promise&&(a=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,a)},getPromisesDependency:function(){return a}}),i.config=new i.Config},{"./core":342,"./credentials":343,"./credentials/credential_provider_chain":346}],341:[function(e,t,r){(function(r){(function(){function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function a(e,t){e=e||{};var a;if(e[t.clientConfig]&&(a=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return a;if(!s.util.isNode())return a;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(a=i(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return a}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(a=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return a}return a}var s=e("./core");t.exports=a}).call(this)}).call(this,e("_process"))},{"./core":342,_process:431}],342:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.1021.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),i.events=new i.SequentialExecutor,i.util.memoizedProperty(i,"endpointCache",function(){return new i.EndpointCache(i.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":449,"./api_loader":331,"./config":340,"./event_listeners":363,"./http":364,"./json/builder":366,"./json/parser":367,"./model/api":368,"./model/operation":370,"./model/paginator":371,"./model/resource_waiter":372,"./model/shape":373,"./param_validator":374,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./request":387,"./resource_waiter":388,"./response":389,"./sequential_executor":391,"./service":392,"./signers/request_signer":409,"./util":417,"./xml/builder":419}],343:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=i.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){i.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):i.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),i.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=i.util.promisifyMethod("get",e),this.prototype.refreshPromise=i.util.promisifyMethod("refresh",e)},i.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},i.util.addPromises(i.Credentials)},{"./core":342}],344:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.ChainableTemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=i.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new i.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=i.util.merge({params:t,credentials:e.masterCredentials||i.config.credentials},e.stsConfig||{});this.service=new a(r)},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(i,a){var s={};if(i)return void e(i);a&&(s.TokenCode=a),t.service[r](s,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,a){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(i.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,a)}):e(null)}})},{"../../clients/sts":326,"../core":342}],345:[function(e,t,r){var i=e("../core"),a=e("../../clients/cognitoidentity"),s=e("../../clients/sts");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=i.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(i.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new i.WebIdentityCredentials(this.params,e),!this.cognito){var t=i.util.merge({},e);t.params=this.params,this.cognito=new a(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,i.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=i.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":258,"../../clients/sts":326,"../core":342}],346:[function(e,t,r){var i=e("../core");i.CredentialProviderChain=i.util.inherit(i.Credentials,{constructor:function(e){this.providers=e||i.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||a===s.length)return i.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[a++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var a=0,s=r.providers.slice(0);t()}return r}}),i.CredentialProviderChain.defaultProviders=[],i.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=i.util.promisifyMethod("resolve",e)},i.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},i.util.addPromises(i.CredentialProviderChain)},{"../core":342}],347:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.SAMLCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],348:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.TemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||i.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new i.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],349:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.WebIdentityCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=i.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,i){t.data=null,r||(t.data=i,t.service.credentialsFrom(i,t)),e(r)})},createClients:function(){if(!this.service){var e=i.util.merge({},this._clientConfig);e.params=this.params,this.service=new a(e)}}})},{"../../clients/sts":326,"../core":342}],350:[function(e,t,r){(function(r){(function(){function i(e){var t=e.service,r=t.api||{},i={};return t.config.region&&(i.region=t.config.region),r.serviceId&&(i.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(i.accessKeyId=t.config.credentials.accessKeyId),i}function a(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(i){var s=r.members[i];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:i;e[o]=String(t[i])}else a(e,t[i],s)})}function s(e,t){var r={};return a(r,e.params,t),r}function o(e){var t=e.service,r=t.api,a=r.operations?r.operations[e.operation]:void 0,o=a?a.input:void 0,n=s(e,o),p=i(e);Object.keys(n).length>0&&(p=b.update(p,n),a&&(p.operation=a.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:a.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,a=r.api,o=a.operations?a.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=i(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return g[c]||(g[c]=[]),void g[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(a.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,i){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var a=g[c];b.arrayEach(a,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(i&&(y.endpointCache.put(c,i.Endpoints),e.httpRequest.updateEndpoint(i.Endpoints[0].Address),g[c])){var a=g[c];b.arrayEach(a,function(e){e.request.httpRequest.updateEndpoint(i.Endpoints[0].Address),e.callback()}),delete g[c]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=r)}function p(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var a=e.request,o=a.service.api.operations||{},n=o[a.operation]?o[a.operation].input:void 0,u=s(a,n),p=i(a);Object.keys(u).length>0&&(p=b.update(p,u),o[a.operation]&&(p.operation=o[a.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var i=0;i-1&&0===++e[t];t--);}var s=e("../core").util,o=s.buffer.toBuffer;i.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),r=7,s=Math.abs(Math.round(e));r>-1&&s>0;r--,s/=256)t[r]=s;return e<0&&a(t),new i(t)},i.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&a(e),parseInt(e.toString("hex"),16)*(t?-1:1)},i.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:i}},{"../core":342}],360:[function(e,t,r){function i(e,t,r){var i=s(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw a(i);if("event"!==o.value)return}var n=i.headers[":event-type"],u=r.members[n.value];if(u){var p={},m=u.eventPayloadMemberName;if(m){var c=u.members[m];"binary"===c.type?p[m]=i.body:p[m]=e.parse(i.body.toString(),c)}for(var l=u.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();a.util.computeSha256(s,function(r,i){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=i,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=i(e),r=a.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var s=a.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=s}catch(i){if(r&&r.isStreaming){if(r.requiresLength)throw i;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw i}throw i}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new a.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit("sign",[this],function(e){e?t(e):o()}):o()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r,i){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=i,r.httpResponse.headers=t,r.httpResponse.body=a.util.buffer.toBuffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var s=t.date||t.Date,o=r.request.service;if(s){var n=Date.parse(s);o.config.correctClockSkew&&o.isClockSkewed(n)&&o.applyClockOffset(n)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(a.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],i={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[i,t])}t.httpResponse.buffers.push(a.util.buffer.toBuffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=a.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new a.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new s).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",a.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",a.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof a.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(a.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"' at port `"+e.port+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=a.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}})}),Logger:(new s).addNamedListeners(function(t){t("LOG_REQUEST","complete",function(t){function r(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var i={};return a.util.each(t,function(t,a){Object.prototype.hasOwnProperty.call(e.members,t)?i[t]=r(e.members[t],a):i[t]=a}),i;case"list":var s=[];return a.util.arrayEach(t,function(t,i){s.push(r(e.member,t))}),s;case"map":var o={};return a.util.each(t,function(t,i){o[t]=r(e.value,i)}),o;default:return t}}var i=t.request,s=i.service.config.logger;if(s){var o=function(){var o=t.request.service.getSkewCorrectedDate().getTime(),n=(o-i.startTime.getTime())/1e3,u=!!s.isTTY,p=t.httpResponse.statusCode,m=i.params;if(i.service.api.operations&&i.service.api.operations[i.operation]&&i.service.api.operations[i.operation].input){m=r(i.service.api.operations[i.operation].input,i.params)}var c=e("util").inspect(m,!0,null),l="";return u&&(l+=""),l+="[AWS "+i.service.serviceIdentifier+" "+p,l+=" "+n.toString()+"s "+t.retryCount+" retries]",u&&(l+=""),l+=" "+a.util.string.lowerFirst(i.operation),l+="("+c+")",u&&(l+=""),l}();"function"==typeof s.log?s.log(o):"function"==typeof s.write&&s.write(o+"\n")}})}),Json:(new s).addNamedListeners(function(t){var r=e("./protocol/json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Rest:(new s).addNamedListeners(function(t){var r=e("./protocol/rest");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestJson:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestXml:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_xml");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Query:(new s).addNamedListeners(function(t){var r=e("./protocol/query");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)})}},{"./core":342,"./discover_endpoint":350,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./sequential_executor":391,util:443}],364:[function(e,t,r){var i=e("./core"),a=i.util.inherit;i.Endpoint=a({constructor:function(e,t){if(i.util.hideProperties(this,["slashes","auth","hash","search","query"]),void 0===e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return i.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:i.config.sslEnabled)?"https":"http")+"://"+e}i.util.update(this,i.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),i.HttpRequest=a({constructor:function(e,t){e=new i.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=i.util.userAgent()},getUserAgentHeaderName:function(){return(i.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=i.util.queryStringParse(e),i.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new i.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),i.HttpResponse=a({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),i.HttpClient=a({}),i.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":342}],365:[function(e,t,r){var i=e("../core"),a=e("events").EventEmitter;e("../http"),i.XHRClient=i.util.inherit({handleRequest:function(e,t,r,s){var o=this,n=e.endpoint,u=new a,p=n.protocol+"//"+n.hostname;80!==n.port&&443!==n.port&&(p+=":"+n.port),p+=e.path;var m=new XMLHttpRequest,c=!1;e.stream=m,m.addEventListener("readystatechange",function(){try{if(0===m.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!c&&(u.statusCode=m.status,u.headers=o.parseHeaders(m.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers,m.statusText),c=!0),this.readyState===this.DONE&&o.finishRequest(m,u)},!1),m.upload.addEventListener("progress",function(e){u.emit("sendProgress",e)}),m.addEventListener("progress",function(e){u.emit("receiveProgress",e)},!1),m.addEventListener("timeout",function(){s(i.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),m.addEventListener("error",function(){s(i.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),m.addEventListener("abort",function(){s(i.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),m.open(e.method,p,!1!==t.xhrAsync),i.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&m.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(m.timeout=t.timeout),t.xhrWithCredentials&&(m.withCredentials=!0);try{m.responseType="arraybuffer"}catch(e){}try{e.body?m.send(e.body):m.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;m.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return i.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],i=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=i)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var a=e.response;r=new i.util.Buffer(a.byteLength);for(var s=new Uint8Array(a),o=0;o-1?t||"":t,this.isJsonValue?JSON.parse(t):t&&"function"==typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function l(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseFloat(e)},this.toWireFormat=this.toType}function d(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseInt(e,10)},this.toWireFormat=this.toType}function y(){s.apply(this,arguments),this.toType=function(e){var t=h.base64.decode(e);if(this.isSensitive&&h.isNode()&&"function"==typeof h.Buffer.alloc){var r=h.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=h.base64.encode}function b(){y.apply(this,arguments)}function S(){s.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null===e||void 0===e?null:"true"===e}}var g=e("./collection"),h=e("../util");s.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},s.types={structure:n,list:u,map:p,boolean:S,timestamp:m,float:l,integer:d,string:c,base64:b,binary:y},s.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error("Cannot find shape reference: "+e.shape);return r}return null},s.create=function(e,t,r){if(e.isShape)return e;var i=s.resolve(e,t);if(i){var a=Object.keys(e);t.documentation||(a=a.filter(function(e){return!e.match(/documentation/)}));var o=function(){i.constructor.call(this,e,t,r)};return o.prototype=i,new o}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var n=e.type;if(s.normalizedTypes[e.type]&&(e.type=s.normalizedTypes[e.type]),s.types[e.type])return new s.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+n)},s.shapes={StructureShape:n,ListShape:u,MapShape:p,StringShape:c,BooleanShape:S,Base64Shape:b},t.exports=s},{"../util":417,"./collection":369}],374:[function(e,t,r){var i=e("./core");i.ParamValidator=i.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||"params"),this.errors.length>1){var a=this.errors.join("\n* ");throw a="There were "+this.errors.length+" validation errors:\n* "+a,i.util.error(new Error(a),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(i.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){this.validateType(t,r,["object"],"structure");for(var i,a=0;e.required&&a= 1, but found "'+t+'" for '+r)},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+r))},validateRange:function(e,t,r,i){this.validation.min&&void 0!==e.min&&t= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+i+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+r)},validateType:function(e,t,r,a){if(null===e||void 0===e)return!1;for(var s=!1,o=0;o63)throw u.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!r.test(e))throw p.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})})}var u=e("../util"),p=e("../core");t.exports={populateHostPrefix:i}},{"../core":342,"../util":417}],377:[function(e,t,r){function i(e){var t=e.httpRequest,r=e.service.api,i=r.targetPrefix+"."+r.operations[e.operation].name,a=r.jsonVersion||"1.0",s=r.operations[e.operation].input,o=new n;1===a&&(a="1.0"),t.body=o.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+a,t.headers["X-Amz-Target"]=i,p(e)}function a(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0)try{var i=JSON.parse(r.body.toString()),a=i.__type||i.code||i.Code;a&&(t.code=a.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=i.message||i.Message||null}catch(i){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=o.error(new Error,t)}function s(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],i=r.output||{},a=new u;e.data=a.parse(t,i)}}var o=e("../util"),n=e("../json/builder"),u=e("../json/parser"),p=e("./helpers").populateHostPrefix;t.exports={buildRequest:i,extractError:a,extractData:s}},{"../json/builder":366,"../json/parser":367,"../util":417,"./helpers":376}],378:[function(e,t,r){function i(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name},(new u).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=n.queryParamsToString(r.params),m(e)}function a(e){var t,r=e.httpResponse.body.toString();if(r.match("=0?"&":"?";var n=[];m.arrayEach(Object.keys(s).sort(),function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t0){t=new n.XML.Parser;var c=t.parse(i.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:a,extractError:s,extractData:o}},{"../core":342,"../util":417,"./rest":379}],382:[function(e,t,r){function i(){}function a(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,i){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=a(s);n=e?e+"."+n:n,u(n,o,s,i)}})}function o(e,t,r,i){var a=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+a+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,i),u(e+m,s,r.value,i)})}function n(e,t,r,i){var s=r.member||{};if(0===t.length)return void i.call(this,e,null);p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(a(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,i)})}function u(e,t,r,i){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,i):"list"===r.type?n(e,t,r,i):"map"===r.type?o(e,t,r,i):i(e,r.toWireFormat(t).toString()))}var p=e("../util");i.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=i},{"../util":417}],383:[function(e,t,r){var i=e("../core"),a=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};i.RDS.Signer=i.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=i.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new i.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),a=new i.Service(u),a.api=s;var p=a.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,i){i&&(i=r.convertUrlToAuthToken(i)),t(e,i)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=i.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||i.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":342}],384:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],385:[function(e,t,r){function i(e){if(!e)return null;if(u(e))return m(e)?"fips-cn-*":p(e)?"fips-us-gov-*":e.startsWith("fips-accesspoint-")?"fips-accesspoint-*":"fips-*";var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function a(e){var t=e.config.region,r=i(t),a=e.api.endpointPrefix;return[[t,a],[r,a],[t,"*"],[r,"*"],["*",a],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){l.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=a(e),r=0;r=0){u=!0;var p=0}var m=function(){u&&p!==n?a.emit("error",i.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===i.HttpClient.streamsApiVersion?a.end():a.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===i.HttpClient.streamsApiVersion)if(u){var l=new e.PassThrough;l._write=function(t){return t&&t.length&&(p+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},l.on("end",m),a.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(a,{end:!1}) }else c.pipe(a);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){a.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,a.emit("error",e)})}}),a},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),i.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new i.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",i.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",i.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),i.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e(function(e,r){t.on("complete",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))}),t.runTo()})}},i.Request.deletePromisesFromClass=function(){delete this.prototype.promise},i.util.addPromises(i.Request),i.util.mixin(i.Request,i.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":342,"./state_machine":416,_process:431,jmespath:430}],388:[function(e,t,r){function i(e){var t=e.request._waiter,r=t.config.acceptors,i=!1,a="retry";r.forEach(function(r){if(!i){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(i=!0,a=r.state)}}),!i&&e.error&&(a="failure"),"success"===a?t.setSuccess(e):t.setError(e,"retry"===a)}var a=e("./core"),s=a.util.inherit,o=e("jmespath");a.ResourceWaiter=s({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(i,t)},pathAll:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}Array.isArray(i)||(i=[i]);var a=i.length;if(!a)return!1;for(var s=0;s=1&&t.doneParts===t.numParts&&t.finishMultiPart()}))}r&&t.fillQueue.call(t)},abort:function(){var e=this;!0===e.isDoneChunking&&1===e.totalPartNumbers&&e.singlePart?e.singlePart.abort():e.cleanup(i.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1}))},validateBody:function(){var e=this;if(e.body=e.service.config.params.Body,"string"==typeof e.body)e.body=i.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=i.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,a=i.util.copy(r.config);a.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(a),t.service.config.params=i.util.merge(t.service.config.params||{},e),Object.defineProperty(t.service,"_originalConfig",{get:function(){return r._originalConfig},enumerable:!1,configurable:!0})}else t.service=new i.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=a(e.body)}catch(e){}if(e.totalBytes){var t=Math.ceil(e.totalBytes/e.maxTotalParts);t>e.partSize&&(e.partSize=t)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=a(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,r.length>e.partSize){var i=r.slice(e.partSize);e.partBuffers.push(i),e.partBufferLength+=i.length,r=r.slice(0,e.partSize)}e.nextChunk(r)}e.isDoneChunking&&!e.isDoneSending&&(r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||r.length>0)&&(e.numParts++,e.nextChunk(r))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var a={Body:e};this.tags&&(a.Tagging=this.getTaggingHeader());var s=t.service.putObject(a);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=i.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(o),null}if(t.completeInfo[r]&&null!==t.completeInfo[r].ETag)return null;t.activeParts++,t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null}),t.queueChunks(e,r),t.multipartReq.on("error",function(e){t.cleanup(e)}),t.multipartReq.send())},getTaggingHeader:function(){for(var e=[],t=0;t-1&&r.splice(a,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var i=this.listeners(e),a=i.length;return this.callListeners(i,t,r),a>0},callListeners:function(e,t,r,a){function s(a){if(a&&(n=i.util.error(n||new Error,a),o._haltHandlersOnError))return r.call(o,n);o.callListeners(e,t,r,n)}for(var o=this,n=a||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(o,t.concat([s]));try{u.apply(o,t)}catch(e){n=i.util.error(n||new Error,e)}if(n&&o._haltHandlersOnError)return void r.call(o,n)}r.call(o,n)},addListeners:function(e){var t=this;return e._events&&(e=e._events),i.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),i.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,i){return this[e]=r,this.addListener(t,r,i),this},addNamedAsyncListener:function(e,t,r,i){return r._isAsync=!0,this.addNamedListener(e,t,r,i)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),i.SequentialExecutor.prototype.addListener=i.SequentialExecutor.prototype.on,t.exports=i.SequentialExecutor},{"./core":342}],392:[function(e,t,r){(function(r){(function(){var i=e("./core"),a=e("./model/api"),s=e("./region_config"),o=i.util.inherit,n=0;i.Service=o({constructor:function(e){if(!this.loadServiceClass)throw i.util.error(new Error,"Service must be constructed with `new' operator");var t=this.loadServiceClass(e||{});if(t){var r=i.util.copy(e),a=new t(e);return Object.defineProperty(a,"_originalConfig",{get:function(){return r},enumerable:!1,configurable:!0}),a._clientId=++n,a}this.initialize(e)},initialize:function(e){var t=i.config[this.serviceIdentifier];if(this.config=new i.Config(i.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||s.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),i.SequentialExecutor.call(this),i.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||i.Service._clientSideMonitoring)&&this.publisher){var a=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",function(e){r.nextTick(function(){a.eventHandler(e)})}),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",function(e){r.nextTick(function(){a.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(i.util.isEmpty(this.api)){if(t.apiConfig)return i.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new i.Config(i.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&i.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?i.util.isType(e,Date)&&(e=i.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,a=t.length-1;a>=0;a--)if("*"!==t[a][t[a].length-1]&&(r=t[a]),t[a].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var a=this.api.operations[e];a&&(t=i.util.copy(t),i.util.each(this.config.params,function(e,r){a.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var s=new i.Request(this,e,t);return this.addAllRequestListeners(s),this.attachMonitoringEmitter(s),r&&s.send(r),s},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var i=this.makeRequest(e,t).toUnauthenticated();return r?i.send(r):i},waitFor:function(e,t,r){return new i.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[i.events,i.EventListeners.Core,this.serviceInterface(),i.EventListeners.CorePost],r=0;r299?(a.code&&(r.FinalAwsException=a.code),a.message&&(r.FinalAwsExceptionMessage=a.message)):((a.code||a.name)&&(r.FinalSdkException=a.code||a.name),a.message&&(r.FinalSdkExceptionMessage=a.message))}return r},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},i=e.response;return i.httpResponse.statusCode&&(r.HttpStatusCode=i.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),i.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),i.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=i.httpResponse.headers["x-amzn-requestid"]),i.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=i.httpResponse.headers["x-amz-request-id"]),i.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=i.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,i=r.error;return r.httpResponse.statusCode>299?(i.code&&(t.AwsException=i.code),i.message&&(t.AwsExceptionMessage=i.message)):((i.code||i.name)&&(t.SdkException=i.code||i.name),i.message&&(t.SdkExceptionMessage=i.message)),t},attachMonitoringEmitter:function(e){var t,r,a,s,o,n,u=0,p=this;e.on("validate",function(){s=i.util.realClock.now(),n=Date.now()},!0),e.on("sign",function(){r=i.util.realClock.now(),t=Date.now(),o=e.httpRequest.region,u++},!0),e.on("validateResponse",function(){a=Math.round(i.util.realClock.now()-r)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=p.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=a>=0?a:0,r.Region=o,p.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var s=p.attemptFailEvent(e);s.Timestamp=t,a=a||Math.round(i.util.realClock.now()-r),s.AttemptLatency=a>=0?a:0,s.Region=o,p.emit("apiCallAttempt",[s])}),e.addNamedListener("API_CALL","complete",function(){var t=p.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=n;var r=Math.round(i.util.realClock.now()-s);t.Latency=r>=0?r:0;var a=e.response;a.error&&a.error.retryable&&"number"==typeof a.retryCount&&"number"==typeof a.maxRetries&&a.retryCount>=a.maxRetries&&(t.MaxRetriesExceeded=1),p.emit("apiCall",[t])}})},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,r=null,a="";if(e){r=(e.service.api.operations||{})[e.operation]||null,a=r?r.authtype:""}return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===a||"v4-unsigned-body"===a?"v4":this.api.signatureVersion,i.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return i.EventListeners.Query;case"json":return i.EventListeners.Json;case"rest-json":return i.EventListeners.RestJson;case"rest-xml":return i.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return i.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":case"EC2ThrottledException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,s.getRealRegion(this.config.region)),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new i.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var a=new Error;throw i.util.error(a,"No pagination configuration for "+e)}return null}return r}}),i.util.update(i.Service,{defineMethods:function(e){i.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){"none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){i.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var a=o(i.Service,r||{});if("string"==typeof e){i.Service.addVersions(a,t);var s=a.serviceIdentifier||e;a.serviceIdentifier=s}else a.prototype.api=e,i.Service.defineMethods(a);if(i.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&i.util.clientSideMonitoring){var n=i.util.clientSideMonitoring.Publisher,u=i.util.clientSideMonitoring.configProvider,p=u();this.prototype.publisher=new n(p),p.enabled&&(i.Service._clientSideMonitoring=!0)}return i.SequentialExecutor.call(a.prototype),i.Service.addDefaultMonitoringListeners(a.prototype),a},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r=0){throw i.util.error(new Error,{name:"InvalidEndpoint",message:"AWS.IotData requires an explicit `endpoint' configuration option."})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody),a.indexOf(e.operation)>-1&&e.addListener("extractData",i.util.convertPayloadToString)},validateResponseBody:function(e){var t=e.httpResponse.body.toString()||"{}",r=t.trim();r&&"{"===r.charAt(0)||(e.httpResponse.body="")}})},{"../core":342}],398:[function(e,t,r){var i=e("../core");i.util.update(i.Lambda.prototype,{setupRequestListeners:function(e){"invoke"===e.operation&&e.addListener("extractData",i.util.convertPayloadToString)}})},{"../core":342}],399:[function(e,t,r){var i=e("../core");i.util.update(i.MachineLearning.prototype,{setupRequestListeners:function(e){"predict"===e.operation&&e.addListener("build",this.buildEndpoint)},buildEndpoint:function(e){var t=e.params.PredictEndpoint;t&&(e.httpRequest.endpoint=new i.Endpoint(t))}})},{"../core":342}],400:[function(e,t,r){e("../polly/presigner")},{"../polly/presigner":375}],401:[function(e,t,r){var i=e("../core"),a=e("./rdsutil");e("../rds/signer");var s=["copyDBSnapshot","createDBInstanceReadReplica","createDBCluster","copyDBClusterSnapshot","startDBInstanceAutomatedBackupsReplication"];i.util.update(i.RDS.prototype,{setupRequestListeners:function(e){a.setupRequestListeners(this,e,s)}})},{"../core":342,"../rds/signer":383,"./rdsutil":402}],402:[function(e,t,r){var i=e("../core"),a={setupRequestListeners:function(e,t,r){ diff --git a/lib/core.js b/lib/core.js index 788e01e6a0..1fc8e35b80 100644 --- a/lib/core.js +++ b/lib/core.js @@ -20,7 +20,7 @@ AWS.util.update(AWS, { /** * @constant */ - VERSION: '2.1020.0', + VERSION: '2.1021.0', /** * @api private diff --git a/package.json b/package.json index e8ab842667..148936e627 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "aws-sdk", "description": "AWS SDK for JavaScript", - "version": "2.1020.0", + "version": "2.1021.0", "author": { "name": "Amazon Web Services", "email": "",