From 1cd36b6707a3a1667739e6aaa9d80662a4296450 Mon Sep 17 00:00:00 2001 From: awstools Date: Mon, 10 Feb 2020 19:27:35 +0000 Subject: [PATCH] Updates SDK to v2.615.0 --- .changes/2.615.0.json | 7 + CHANGELOG.md | 5 +- README.md | 2 +- apis/docdb-2014-10-31.normal.json | 506 ++++++++++++++-------------- apis/kms-2014-11-01.normal.json | 11 +- clients/docdb.d.ts | 536 +++++++++++++++--------------- clients/kms.d.ts | 10 +- dist/aws-sdk-core-react-native.js | 2 +- dist/aws-sdk-react-native.js | 2 +- dist/aws-sdk.js | 6 +- dist/aws-sdk.min.js | 4 +- lib/core.js | 2 +- package.json | 2 +- 13 files changed, 553 insertions(+), 542 deletions(-) create mode 100644 .changes/2.615.0.json diff --git a/.changes/2.615.0.json b/.changes/2.615.0.json new file mode 100644 index 0000000000..2b7d1e4978 --- /dev/null +++ b/.changes/2.615.0.json @@ -0,0 +1,7 @@ +[ + { + "type": "feature", + "category": "KMS", + "description": "The ConnectCustomKeyStore API now provides a new error code (SUBNET_NOT_FOUND) for customers to better troubleshoot if their \"connect-custom-key-store\" operation fails." + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ef0be385d..c3e0bb95c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,10 @@ # Changelog for AWS SDK for JavaScript - + +## 2.615.0 +* feature: KMS: The ConnectCustomKeyStore API now provides a new error code (SUBNET_NOT_FOUND) for customers to better troubleshoot if their "connect-custom-key-store" operation fails. + ## 2.614.0 * feature: Imagebuilder: This version of the SDK includes bug fixes and documentation updates. * feature: RoboMaker: This release adds support for simulation job batches diff --git a/README.md b/README.md index 99cb3331ff..1bab1dcdff 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ version. 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/docdb-2014-10-31.normal.json b/apis/docdb-2014-10-31.normal.json index f32d6de9a1..d4253c0b41 100644 --- a/apis/docdb-2014-10-31.normal.json +++ b/apis/docdb-2014-10-31.normal.json @@ -85,7 +85,7 @@ "shape": "DBParameterGroupAlreadyExistsFault" } ], - "documentation": "

Copies the specified DB cluster parameter group.

" + "documentation": "

Copies the specified cluster parameter group.

" }, "CopyDBClusterSnapshot": { "name": "CopyDBClusterSnapshot", @@ -120,7 +120,7 @@ "shape": "KMSKeyNotAccessibleFault" } ], - "documentation": "

Copies a snapshot of a DB cluster.

To copy a DB cluster snapshot from a shared manual DB cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared DB cluster snapshot.

To cancel the copy operation after it is in progress, delete the target DB cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that DB cluster snapshot is in the copying status.

" + "documentation": "

Copies a snapshot of a cluster.

To copy a cluster snapshot from a shared manual cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared cluster snapshot.

To cancel the copy operation after it is in progress, delete the target cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that DB cluster snapshot is in the copying status.

" }, "CreateDBCluster": { "name": "CreateDBCluster", @@ -182,7 +182,7 @@ "shape": "DBSubnetGroupDoesNotCoverEnoughAZs" } ], - "documentation": "

Creates a new Amazon DocumentDB DB cluster.

" + "documentation": "

Creates a new Amazon DocumentDB cluster.

" }, "CreateDBClusterParameterGroup": { "name": "CreateDBClusterParameterGroup", @@ -205,7 +205,7 @@ "shape": "DBParameterGroupAlreadyExistsFault" } ], - "documentation": "

Creates a new DB cluster parameter group.

Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster.

A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after you create it. After you create a DB cluster parameter group, you must associate it with your DB cluster. For the new DB cluster parameter group and associated settings to take effect, you must then reboot the DB instances in the DB cluster without failover.

After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the DB cluster parameter group is used as the default for a new DB cluster. This step is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter.

" + "documentation": "

Creates a new cluster parameter group.

Parameters in a cluster parameter group apply to all of the instances in a DB cluster.

A cluster parameter group is initially created with the default parameters for the database engine used by instances in the cluster. To provide custom values for any of the parameters, you must modify the group after you create it. After you create a DB cluster parameter group, you must associate it with your cluster. For the new DB cluster parameter group and associated settings to take effect, you must then reboot the instances in the cluster without failover.

After you create a cluster parameter group, you should wait at least 5 minutes before creating your first cluster that uses that cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the cluster parameter group is used as the default for a new cluster. This step is especially important for parameters that are critical when creating the default database for a cluster, such as the character set for the default database defined by the character_set_database parameter.

" }, "CreateDBClusterSnapshot": { "name": "CreateDBClusterSnapshot", @@ -237,7 +237,7 @@ "shape": "InvalidDBClusterSnapshotStateFault" } ], - "documentation": "

Creates a snapshot of a DB cluster.

" + "documentation": "

Creates a snapshot of a cluster.

" }, "CreateDBInstance": { "name": "CreateDBInstance", @@ -299,7 +299,7 @@ "shape": "KMSKeyNotAccessibleFault" } ], - "documentation": "

Creates a new DB instance.

" + "documentation": "

Creates a new instance.

" }, "CreateDBSubnetGroup": { "name": "CreateDBSubnetGroup", @@ -331,7 +331,7 @@ "shape": "InvalidSubnet" } ], - "documentation": "

Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.

" + "documentation": "

Creates a new subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.

" }, "DeleteDBCluster": { "name": "DeleteDBCluster", @@ -363,7 +363,7 @@ "shape": "InvalidDBClusterSnapshotStateFault" } ], - "documentation": "

Deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.

" + "documentation": "

Deletes a previously provisioned cluster. When you delete a cluster, all automated backups for that cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified cluster are not deleted.

" }, "DeleteDBClusterParameterGroup": { "name": "DeleteDBClusterParameterGroup", @@ -382,7 +382,7 @@ "shape": "DBParameterGroupNotFoundFault" } ], - "documentation": "

Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted can't be associated with any DB clusters.

" + "documentation": "

Deletes a specified cluster parameter group. The cluster parameter group to be deleted can't be associated with any clusters.

" }, "DeleteDBClusterSnapshot": { "name": "DeleteDBClusterSnapshot", @@ -405,7 +405,7 @@ "shape": "DBClusterSnapshotNotFoundFault" } ], - "documentation": "

Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated.

The DB cluster snapshot must be in the available state to be deleted.

" + "documentation": "

Deletes a cluster snapshot. If the snapshot is being copied, the copy operation is terminated.

The cluster snapshot must be in the available state to be deleted.

" }, "DeleteDBInstance": { "name": "DeleteDBInstance", @@ -437,7 +437,7 @@ "shape": "InvalidDBClusterStateFault" } ], - "documentation": "

Deletes a previously provisioned DB instance.

" + "documentation": "

Deletes a previously provisioned instance.

" }, "DeleteDBSubnetGroup": { "name": "DeleteDBSubnetGroup", @@ -459,7 +459,7 @@ "shape": "DBSubnetGroupNotFoundFault" } ], - "documentation": "

Deletes a DB subnet group.

The specified database subnet group must not be associated with any DB instances.

" + "documentation": "

Deletes a subnet group.

The specified database subnet group must not be associated with any DB instances.

" }, "DescribeCertificates": { "name": "DescribeCertificates", @@ -479,7 +479,7 @@ "shape": "CertificateNotFoundFault" } ], - "documentation": "

Returns a list of certificate authority (CA) certificates provided by Amazon RDS for this AWS account.

" + "documentation": "

Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this AWS account. For certain management features such as cluster and instance lifecycle management, Amazon DocumentDB leverages operational technology that is shared with Amazon RDS and Amazon Neptune. Use the filterName=engine,Values=docdb filter parameter to return only Amazon DocumentDB clusters.

" }, "DescribeDBClusterParameterGroups": { "name": "DescribeDBClusterParameterGroups", @@ -499,7 +499,7 @@ "shape": "DBParameterGroupNotFoundFault" } ], - "documentation": "

Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list contains only the description of the specified DB cluster parameter group.

" + "documentation": "

Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list contains only the description of the specified cluster parameter group.

" }, "DescribeDBClusterParameters": { "name": "DescribeDBClusterParameters", @@ -519,7 +519,7 @@ "shape": "DBParameterGroupNotFoundFault" } ], - "documentation": "

Returns the detailed parameter list for a particular DB cluster parameter group.

" + "documentation": "

Returns the detailed parameter list for a particular cluster parameter group.

" }, "DescribeDBClusterSnapshotAttributes": { "name": "DescribeDBClusterSnapshotAttributes", @@ -539,7 +539,7 @@ "shape": "DBClusterSnapshotNotFoundFault" } ], - "documentation": "

Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot.

When you share snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If all is included in the list of values for the restore attribute, then the manual DB cluster snapshot is public and can be copied or restored by all AWS accounts.

" + "documentation": "

Returns a list of cluster snapshot attribute names and values for a manual DB cluster snapshot.

When you share snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual cluster snapshot. If all is included in the list of values for the restore attribute, then the manual cluster snapshot is public and can be copied or restored by all AWS accounts.

" }, "DescribeDBClusterSnapshots": { "name": "DescribeDBClusterSnapshots", @@ -559,7 +559,7 @@ "shape": "DBClusterSnapshotNotFoundFault" } ], - "documentation": "

Returns information about DB cluster snapshots. This API operation supports pagination.

" + "documentation": "

Returns information about cluster snapshots. This API operation supports pagination.

" }, "DescribeDBClusters": { "name": "DescribeDBClusters", @@ -579,7 +579,7 @@ "shape": "DBClusterNotFoundFault" } ], - "documentation": "

Returns information about provisioned Amazon DocumentDB DB clusters. This API operation supports pagination.

" + "documentation": "

Returns information about provisioned Amazon DocumentDB clusters. This API operation supports pagination.

" }, "DescribeDBEngineVersions": { "name": "DescribeDBEngineVersions", @@ -594,7 +594,7 @@ "shape": "DBEngineVersionMessage", "resultWrapper": "DescribeDBEngineVersionsResult" }, - "documentation": "

Returns a list of the available DB engines.

" + "documentation": "

Returns a list of the available engines.

" }, "DescribeDBInstances": { "name": "DescribeDBInstances", @@ -679,7 +679,7 @@ "shape": "EventsMessage", "resultWrapper": "DescribeEventsResult" }, - "documentation": "

Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, DB security group, DB snapshot, or DB parameter group by providing the name as a parameter. By default, the events of the past hour are returned.

" + "documentation": "

Returns events related to instances, security groups, snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, security group, snapshot, or parameter group by providing the name as a parameter. By default, the events of the past hour are returned.

" }, "DescribeOrderableDBInstanceOptions": { "name": "DescribeOrderableDBInstanceOptions", @@ -694,7 +694,7 @@ "shape": "OrderableDBInstanceOptionsMessage", "resultWrapper": "DescribeOrderableDBInstanceOptionsResult" }, - "documentation": "

Returns a list of orderable DB instance options for the specified engine.

" + "documentation": "

Returns a list of orderable instance options for the specified engine.

" }, "DescribePendingMaintenanceActions": { "name": "DescribePendingMaintenanceActions", @@ -714,7 +714,7 @@ "shape": "ResourceNotFoundFault" } ], - "documentation": "

Returns a list of resources (for example, DB instances) that have at least one pending maintenance action.

" + "documentation": "

Returns a list of resources (for example, instances) that have at least one pending maintenance action.

" }, "FailoverDBCluster": { "name": "FailoverDBCluster", @@ -740,7 +740,7 @@ "shape": "InvalidDBInstanceStateFault" } ], - "documentation": "

Forces a failover for a DB cluster.

A failover for a DB cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the DB cluster to be the primary instance (the cluster writer).

If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one exists. You can force a failover when you want to simulate a failure of a primary instance for testing.

" + "documentation": "

Forces a failover for a cluster.

A failover for a cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the cluster to be the primary instance (the cluster writer).

If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one exists. You can force a failover when you want to simulate a failure of a primary instance for testing.

" }, "ListTagsForResource": { "name": "ListTagsForResource", @@ -816,7 +816,7 @@ "shape": "DBClusterAlreadyExistsFault" } ], - "documentation": "

Modifies a setting for an Amazon DocumentDB DB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.

" + "documentation": "

Modifies a setting for an Amazon DocumentDB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.

" }, "ModifyDBClusterParameterGroup": { "name": "ModifyDBClusterParameterGroup", @@ -839,7 +839,7 @@ "shape": "InvalidDBParameterGroupStateFault" } ], - "documentation": "

Modifies the parameters of a DB cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request.

Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot or maintenance window before the change can take effect.

After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the parameter group is used as the default for a new DB cluster. This step is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter.

" + "documentation": "

Modifies the parameters of a cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request.

Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot or maintenance window before the change can take effect.

After you create a cluster parameter group, you should wait at least 5 minutes before creating your first cluster that uses that cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the parameter group is used as the default for a new cluster. This step is especially important for parameters that are critical when creating the default database for a cluster, such as the character set for the default database defined by the character_set_database parameter.

" }, "ModifyDBClusterSnapshotAttribute": { "name": "ModifyDBClusterSnapshotAttribute", @@ -865,7 +865,7 @@ "shape": "SharedSnapshotQuotaExceededFault" } ], - "documentation": "

Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot.

To share a manual DB cluster snapshot with other AWS accounts, specify restore as the AttributeName, and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB cluster snapshot. Use the value all to make the manual DB cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. If a manual DB cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case.

" + "documentation": "

Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot.

To share a manual cluster snapshot with other AWS accounts, specify restore as the AttributeName, and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual cluster snapshot. Use the value all to make the manual cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. If a manual cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case.

" }, "ModifyDBInstance": { "name": "ModifyDBInstance", @@ -921,7 +921,7 @@ "shape": "CertificateNotFoundFault" } ], - "documentation": "

Modifies settings for a DB instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.

" + "documentation": "

Modifies settings for an instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.

" }, "ModifyDBSubnetGroup": { "name": "ModifyDBSubnetGroup", @@ -953,7 +953,7 @@ "shape": "InvalidSubnet" } ], - "documentation": "

Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.

" + "documentation": "

Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.

" }, "RebootDBInstance": { "name": "RebootDBInstance", @@ -976,7 +976,7 @@ "shape": "DBInstanceNotFoundFault" } ], - "documentation": "

You might need to reboot your DB instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the DB cluster parameter group that is associated with the DB instance, you must reboot the instance for the changes to take effect.

Rebooting a DB instance restarts the database engine service. Rebooting a DB instance results in a momentary outage, during which the DB instance status is set to rebooting.

" + "documentation": "

You might need to reboot your instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the cluster parameter group that is associated with the instance, you must reboot the instance for the changes to take effect.

Rebooting an instance restarts the database engine service. Rebooting an instance results in a momentary outage, during which the instance status is set to rebooting.

" }, "RemoveTagsFromResource": { "name": "RemoveTagsFromResource", @@ -1021,7 +1021,7 @@ "shape": "DBParameterGroupNotFoundFault" } ], - "documentation": "

Modifies the parameters of a DB cluster parameter group to the default value. To reset specific parameters, submit a list of the following: ParameterName and ApplyMethod. To reset the entire DB cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters.

When you reset the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance reboot.

" + "documentation": "

Modifies the parameters of a cluster parameter group to the default value. To reset specific parameters, submit a list of the following: ParameterName and ApplyMethod. To reset the entire cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters.

When you reset the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance reboot.

" }, "RestoreDBClusterFromSnapshot": { "name": "RestoreDBClusterFromSnapshot", @@ -1086,7 +1086,7 @@ "shape": "KMSKeyNotAccessibleFault" } ], - "documentation": "

Creates a new DB cluster from a DB snapshot or DB cluster snapshot.

If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group.

If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.

" + "documentation": "

Creates a new cluster from a snapshot or cluster snapshot.

If a snapshot is specified, the target cluster is created from the source DB snapshot with a default configuration and default security group.

If a cluster snapshot is specified, the target cluster is created from the source cluster restore point with the same configuration as the original source DB cluster, except that the new cluster is created with the default security group.

" }, "RestoreDBClusterToPointInTime": { "name": "RestoreDBClusterToPointInTime", @@ -1148,7 +1148,7 @@ "shape": "StorageQuotaExceededFault" } ], - "documentation": "

Restores a DB cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target DB cluster is created from the source DB cluster with the same configuration as the original DB cluster, except that the new DB cluster is created with the default DB security group.

" + "documentation": "

Restores a cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target cluster is created from the source cluster with the same configuration as the original cluster, except that the new cluster is created with the default security group.

" }, "StartDBCluster": { "name": "StartDBCluster", @@ -1361,7 +1361,7 @@ "documentation": "

The list of log types to disable.

" } }, - "documentation": "

The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a specific DB instance or DB cluster.

The EnableLogTypes and DisableLogTypes arrays determine which logs are exported (or not exported) to CloudWatch Logs. The values within these arrays depend on the DB engine that is being used.

" + "documentation": "

The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a specific instance or cluster.

The EnableLogTypes and DisableLogTypes arrays determine which logs are exported (or not exported) to CloudWatch Logs. The values within these arrays depend on the engine that is being used.

" }, "CopyDBClusterParameterGroupMessage": { "type": "structure", @@ -1373,15 +1373,15 @@ "members": { "SourceDBClusterParameterGroupIdentifier": { "shape": "String", - "documentation": "

The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group.

Constraints:

" + "documentation": "

The identifier or Amazon Resource Name (ARN) for the source cluster parameter group.

Constraints:

" }, "TargetDBClusterParameterGroupIdentifier": { "shape": "String", - "documentation": "

The identifier for the copied DB cluster parameter group.

Constraints:

Example: my-cluster-param-group1

" + "documentation": "

The identifier for the copied cluster parameter group.

Constraints:

Example: my-cluster-param-group1

" }, "TargetDBClusterParameterGroupDescription": { "shape": "String", - "documentation": "

A description for the copied DB cluster parameter group.

" + "documentation": "

A description for the copied cluster parameter group.

" }, "Tags": { "shape": "TagList", @@ -1407,27 +1407,27 @@ "members": { "SourceDBClusterSnapshotIdentifier": { "shape": "String", - "documentation": "

The identifier of the DB cluster snapshot to copy. This parameter is not case sensitive.

You can't copy an encrypted, shared DB cluster snapshot from one AWS Region to another.

Constraints:

Example: my-cluster-snapshot1

" + "documentation": "

The identifier of the cluster snapshot to copy. This parameter is not case sensitive.

You can't copy an encrypted, shared cluster snapshot from one AWS Region to another.

Constraints:

Example: my-cluster-snapshot1

" }, "TargetDBClusterSnapshotIdentifier": { "shape": "String", - "documentation": "

The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case sensitive.

Constraints:

Example: my-cluster-snapshot2

" + "documentation": "

The identifier of the new cluster snapshot to create from the source cluster snapshot. This parameter is not case sensitive.

Constraints:

Example: my-cluster-snapshot2

" }, "KmsKeyId": { "shape": "String", - "documentation": "

The AWS KMS key ID for an encrypted DB cluster snapshot. The AWS KMS key ID is the Amazon Resource Name (ARN), AWS KMS key identifier, or the AWS KMS key alias for the AWS KMS encryption key.

If you copy an encrypted DB cluster snapshot from your AWS account, you can specify a value for KmsKeyId to encrypt the copy with a new AWS KMS encryption key. If you don't specify a value for KmsKeyId, then the copy of the DB cluster snapshot is encrypted with the same AWS KMS key as the source DB cluster snapshot.

If you copy an encrypted DB cluster snapshot that is shared from another AWS account, then you must specify a value for KmsKeyId.

To copy an encrypted DB cluster snapshot to another AWS Region, set KmsKeyId to the AWS KMS key ID that you want to use to encrypt the copy of the DB cluster snapshot in the destination Region. AWS KMS encryption keys are specific to the AWS Region that they are created in, and you can't use encryption keys from one Region in another Region.

If you copy an unencrypted DB cluster snapshot and specify a value for the KmsKeyId parameter, an error is returned.

" + "documentation": "

The AWS KMS key ID for an encrypted cluster snapshot. The AWS KMS key ID is the Amazon Resource Name (ARN), AWS KMS key identifier, or the AWS KMS key alias for the AWS KMS encryption key.

If you copy an encrypted cluster snapshot from your AWS account, you can specify a value for KmsKeyId to encrypt the copy with a new AWS KMS encryption key. If you don't specify a value for KmsKeyId, then the copy of the cluster snapshot is encrypted with the same AWS KMS key as the source cluster snapshot.

If you copy an encrypted cluster snapshot that is shared from another AWS account, then you must specify a value for KmsKeyId.

To copy an encrypted cluster snapshot to another AWS Region, set KmsKeyId to the AWS KMS key ID that you want to use to encrypt the copy of the cluster snapshot in the destination Region. AWS KMS encryption keys are specific to the AWS Region that they are created in, and you can't use encryption keys from one Region in another Region.

If you copy an unencrypted cluster snapshot and specify a value for the KmsKeyId parameter, an error is returned.

" }, "PreSignedUrl": { "shape": "String", - "documentation": "

The URL that contains a Signature Version 4 signed request for the CopyDBClusterSnapshot API action in the AWS Region that contains the source DB cluster snapshot to copy. You must use the PreSignedUrl parameter when copying an encrypted DB cluster snapshot from another AWS Region.

The presigned URL must be a valid request for the CopyDBSClusterSnapshot API action that can be executed in the source AWS Region that contains the encrypted DB cluster snapshot to be copied. The presigned URL request must contain the following parameter values:

" + "documentation": "

The URL that contains a Signature Version 4 signed request for the CopyDBClusterSnapshot API action in the AWS Region that contains the source cluster snapshot to copy. You must use the PreSignedUrl parameter when copying an encrypted cluster snapshot from another AWS Region.

The presigned URL must be a valid request for the CopyDBSClusterSnapshot API action that can be executed in the source AWS Region that contains the encrypted DB cluster snapshot to be copied. The presigned URL request must contain the following parameter values:

" }, "CopyTags": { "shape": "BooleanOptional", - "documentation": "

Set to true to copy all tags from the source DB cluster snapshot to the target DB cluster snapshot, and otherwise false. The default is false.

" + "documentation": "

Set to true to copy all tags from the source cluster snapshot to the target cluster snapshot, and otherwise false. The default is false.

" }, "Tags": { "shape": "TagList", - "documentation": "

The tags to be assigned to the DB cluster snapshot.

" + "documentation": "

The tags to be assigned to the cluster snapshot.

" } }, "documentation": "

Represents the input to CopyDBClusterSnapshot.

" @@ -1451,7 +1451,7 @@ "members": { "AvailabilityZones": { "shape": "AvailabilityZones", - "documentation": "

A list of Amazon EC2 Availability Zones that instances in the DB cluster can be created in.

" + "documentation": "

A list of Amazon EC2 Availability Zones that instances in the cluster can be created in.

" }, "BackupRetentionPeriod": { "shape": "IntegerOptional", @@ -1459,23 +1459,23 @@ }, "DBClusterIdentifier": { "shape": "String", - "documentation": "

The DB cluster identifier. This parameter is stored as a lowercase string.

Constraints:

Example: my-cluster

" + "documentation": "

The cluster identifier. This parameter is stored as a lowercase string.

Constraints:

Example: my-cluster

" }, "DBClusterParameterGroupName": { "shape": "String", - "documentation": "

The name of the DB cluster parameter group to associate with this DB cluster.

" + "documentation": "

The name of the cluster parameter group to associate with this cluster.

" }, "VpcSecurityGroupIds": { "shape": "VpcSecurityGroupIdList", - "documentation": "

A list of EC2 VPC security groups to associate with this DB cluster.

" + "documentation": "

A list of EC2 VPC security groups to associate with this cluster.

" }, "DBSubnetGroupName": { "shape": "String", - "documentation": "

A DB subnet group to associate with this DB cluster.

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

" + "documentation": "

A subnet group to associate with this cluster.

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

" }, "Engine": { "shape": "String", - "documentation": "

The name of the database engine to be used for this DB cluster.

Valid values: docdb

" + "documentation": "

The name of the database engine to be used for this cluster.

Valid values: docdb

" }, "EngineVersion": { "shape": "String", @@ -1483,11 +1483,11 @@ }, "Port": { "shape": "IntegerOptional", - "documentation": "

The port number on which the instances in the DB cluster accept connections.

" + "documentation": "

The port number on which the instances in the cluster accept connections.

" }, "MasterUsername": { "shape": "String", - "documentation": "

The name of the master user for the DB cluster.

Constraints:

" + "documentation": "

The name of the master user for the cluster.

Constraints:

" }, "MasterUserPassword": { "shape": "String", @@ -1503,15 +1503,15 @@ }, "Tags": { "shape": "TagList", - "documentation": "

The tags to be assigned to the DB cluster.

" + "documentation": "

The tags to be assigned to the cluster.

" }, "StorageEncrypted": { "shape": "BooleanOptional", - "documentation": "

Specifies whether the DB cluster is encrypted.

" + "documentation": "

Specifies whether the cluster is encrypted.

" }, "KmsKeyId": { "shape": "String", - "documentation": "

The AWS KMS key identifier for an encrypted DB cluster.

The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are creating a DB cluster using the same AWS account that owns the AWS KMS encryption key that is used to encrypt the new DB cluster, you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key.

If an encryption key is not specified in KmsKeyId:

AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region.

If you create a replica of an encrypted DB cluster in another AWS Region, you must set KmsKeyId to a KMS key ID that is valid in the destination AWS Region. This key is used to encrypt the replica in that AWS Region.

" + "documentation": "

The AWS KMS key identifier for an encrypted cluster.

The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are creating a cluster using the same AWS account that owns the AWS KMS encryption key that is used to encrypt the new cluster, you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key.

If an encryption key is not specified in KmsKeyId:

AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region.

If you create a replica of an encrypted cluster in another AWS Region, you must set KmsKeyId to a KMS key ID that is valid in the destination AWS Region. This key is used to encrypt the replica in that AWS Region.

" }, "EnableCloudwatchLogsExports": { "shape": "LogTypeList", @@ -1534,19 +1534,19 @@ "members": { "DBClusterParameterGroupName": { "shape": "String", - "documentation": "

The name of the DB cluster parameter group.

Constraints:

This value is stored as a lowercase string.

" + "documentation": "

The name of the cluster parameter group.

Constraints:

This value is stored as a lowercase string.

" }, "DBParameterGroupFamily": { "shape": "String", - "documentation": "

The DB cluster parameter group family name.

" + "documentation": "

The cluster parameter group family name.

" }, "Description": { "shape": "String", - "documentation": "

The description for the DB cluster parameter group.

" + "documentation": "

The description for the cluster parameter group.

" }, "Tags": { "shape": "TagList", - "documentation": "

The tags to be assigned to the DB cluster parameter group.

" + "documentation": "

The tags to be assigned to the cluster parameter group.

" } }, "documentation": "

Represents the input of CreateDBClusterParameterGroup.

" @@ -1576,15 +1576,15 @@ "members": { "DBClusterSnapshotIdentifier": { "shape": "String", - "documentation": "

The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

Constraints:

Example: my-cluster-snapshot1

" + "documentation": "

The identifier of the cluster snapshot. This parameter is stored as a lowercase string.

Constraints:

Example: my-cluster-snapshot1

" }, "DBClusterIdentifier": { "shape": "String", - "documentation": "

The identifier of the DB cluster to create a snapshot for. This parameter is not case sensitive.

Constraints:

Example: my-cluster

" + "documentation": "

The identifier of the cluster to create a snapshot for. This parameter is not case sensitive.

Constraints:

Example: my-cluster

" }, "Tags": { "shape": "TagList", - "documentation": "

The tags to be assigned to the DB cluster snapshot.

" + "documentation": "

The tags to be assigned to the cluster snapshot.

" } }, "documentation": "

Represents the input of CreateDBClusterSnapshot.

" @@ -1608,11 +1608,11 @@ "members": { "DBInstanceIdentifier": { "shape": "String", - "documentation": "

The DB instance identifier. This parameter is stored as a lowercase string.

Constraints:

Example: mydbinstance

" + "documentation": "

The instance identifier. This parameter is stored as a lowercase string.

Constraints:

Example: mydbinstance

" }, "DBInstanceClass": { "shape": "String", - "documentation": "

The compute and memory capacity of the DB instance; for example, db.r5.large.

" + "documentation": "

The compute and memory capacity of the instance; for example, db.r5.large.

" }, "Engine": { "shape": "String", @@ -1620,7 +1620,7 @@ }, "AvailabilityZone": { "shape": "String", - "documentation": "

The Amazon EC2 Availability Zone that the DB instance is created in.

Default: A random, system-chosen Availability Zone in the endpoint's AWS Region.

Example: us-east-1d

Constraint: The AvailabilityZone parameter can't be specified if the MultiAZ parameter is set to true. The specified Availability Zone must be in the same AWS Region as the current endpoint.

" + "documentation": "

The Amazon EC2 Availability Zone that the instance is created in.

Default: A random, system-chosen Availability Zone in the endpoint's AWS Region.

Example: us-east-1d

Constraint: The AvailabilityZone parameter can't be specified if the MultiAZ parameter is set to true. The specified Availability Zone must be in the same AWS Region as the current endpoint.

" }, "PreferredMaintenanceWindow": { "shape": "String", @@ -1628,15 +1628,15 @@ }, "AutoMinorVersionUpgrade": { "shape": "BooleanOptional", - "documentation": "

Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window.

Default: true

" + "documentation": "

Indicates that minor engine upgrades are applied automatically to the instance during the maintenance window.

Default: true

" }, "Tags": { "shape": "TagList", - "documentation": "

The tags to be assigned to the DB instance. You can assign up to 10 tags to an instance.

" + "documentation": "

The tags to be assigned to the instance. You can assign up to 10 tags to an instance.

" }, "DBClusterIdentifier": { "shape": "String", - "documentation": "

The identifier of the DB cluster that the instance will belong to.

" + "documentation": "

The identifier of the cluster that the instance will belong to.

" }, "PromotionTier": { "shape": "IntegerOptional", @@ -1663,19 +1663,19 @@ "members": { "DBSubnetGroupName": { "shape": "String", - "documentation": "

The name for the DB subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.

Example: mySubnetgroup

" + "documentation": "

The name for the subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.

Example: mySubnetgroup

" }, "DBSubnetGroupDescription": { "shape": "String", - "documentation": "

The description for the DB subnet group.

" + "documentation": "

The description for the subnet group.

" }, "SubnetIds": { "shape": "SubnetIdentifierList", - "documentation": "

The Amazon EC2 subnet IDs for the DB subnet group.

" + "documentation": "

The Amazon EC2 subnet IDs for the subnet group.

" }, "Tags": { "shape": "TagList", - "documentation": "

The tags to be assigned to the DB subnet group.

" + "documentation": "

The tags to be assigned to the subnet group.

" } }, "documentation": "

Represents the input to CreateDBSubnetGroup.

" @@ -1693,27 +1693,27 @@ "members": { "AvailabilityZones": { "shape": "AvailabilityZones", - "documentation": "

Provides the list of Amazon EC2 Availability Zones that instances in the DB cluster can be created in.

" + "documentation": "

Provides the list of Amazon EC2 Availability Zones that instances in the cluster can be created in.

" }, "BackupRetentionPeriod": { "shape": "IntegerOptional", - "documentation": "

Specifies the number of days for which automatic DB snapshots are retained.

" + "documentation": "

Specifies the number of days for which automatic snapshots are retained.

" }, "DBClusterIdentifier": { "shape": "String", - "documentation": "

Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.

" + "documentation": "

Contains a user-supplied cluster identifier. This identifier is the unique key that identifies a cluster.

" }, "DBClusterParameterGroup": { "shape": "String", - "documentation": "

Specifies the name of the DB cluster parameter group for the DB cluster.

" + "documentation": "

Specifies the name of the cluster parameter group for the cluster.

" }, "DBSubnetGroup": { "shape": "String", - "documentation": "

Specifies information on the subnet group that is associated with the DB cluster, including the name, description, and subnets in the subnet group.

" + "documentation": "

Specifies information on the subnet group that is associated with the cluster, including the name, description, and subnets in the subnet group.

" }, "Status": { "shape": "String", - "documentation": "

Specifies the current state of this DB cluster.

" + "documentation": "

Specifies the current state of this cluster.

" }, "PercentProgress": { "shape": "String", @@ -1725,19 +1725,19 @@ }, "Endpoint": { "shape": "String", - "documentation": "

Specifies the connection endpoint for the primary instance of the DB cluster.

" + "documentation": "

Specifies the connection endpoint for the primary instance of the cluster.

" }, "ReaderEndpoint": { "shape": "String", - "documentation": "

The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load balances connections across the Amazon DocumentDB replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Amazon DocumentDB distributes the connection requests among the Amazon DocumentDB replicas in the DB cluster. This functionality can help balance your read workload across multiple Amazon DocumentDB replicas in your DB cluster.

If a failover occurs, and the Amazon DocumentDB replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Amazon DocumentDB replicas in the cluster, you can then reconnect to the reader endpoint.

" + "documentation": "

The reader endpoint for the cluster. The reader endpoint for a cluster load balances connections across the Amazon DocumentDB replicas that are available in a cluster. As clients request new connections to the reader endpoint, Amazon DocumentDB distributes the connection requests among the Amazon DocumentDB replicas in the cluster. This functionality can help balance your read workload across multiple Amazon DocumentDB replicas in your cluster.

If a failover occurs, and the Amazon DocumentDB replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Amazon DocumentDB replicas in the cluster, you can then reconnect to the reader endpoint.

" }, "MultiAZ": { "shape": "Boolean", - "documentation": "

Specifies whether the DB cluster has instances in multiple Availability Zones.

" + "documentation": "

Specifies whether the cluster has instances in multiple Availability Zones.

" }, "Engine": { "shape": "String", - "documentation": "

Provides the name of the database engine to be used for this DB cluster.

" + "documentation": "

Provides the name of the database engine to be used for this cluster.

" }, "EngineVersion": { "shape": "String", @@ -1753,7 +1753,7 @@ }, "MasterUsername": { "shape": "String", - "documentation": "

Contains the master user name for the DB cluster.

" + "documentation": "

Contains the master user name for the cluster.

" }, "PreferredBackupWindow": { "shape": "String", @@ -1765,11 +1765,11 @@ }, "DBClusterMembers": { "shape": "DBClusterMemberList", - "documentation": "

Provides the list of instances that make up the DB cluster.

" + "documentation": "

Provides the list of instances that make up the cluster.

" }, "VpcSecurityGroups": { "shape": "VpcSecurityGroupMembershipList", - "documentation": "

Provides a list of virtual private cloud (VPC) security groups that the DB cluster belongs to.

" + "documentation": "

Provides a list of virtual private cloud (VPC) security groups that the cluster belongs to.

" }, "HostedZoneId": { "shape": "String", @@ -1777,38 +1777,38 @@ }, "StorageEncrypted": { "shape": "Boolean", - "documentation": "

Specifies whether the DB cluster is encrypted.

" + "documentation": "

Specifies whether the cluster is encrypted.

" }, "KmsKeyId": { "shape": "String", - "documentation": "

If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster.

" + "documentation": "

If StorageEncrypted is true, the AWS KMS key identifier for the encrypted cluster.

" }, "DbClusterResourceId": { "shape": "String", - "documentation": "

The AWS Region-unique, immutable identifier for the DB cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB cluster is accessed.

" + "documentation": "

The AWS Region-unique, immutable identifier for the cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the cluster is accessed.

" }, "DBClusterArn": { "shape": "String", - "documentation": "

The Amazon Resource Name (ARN) for the DB cluster.

" + "documentation": "

The Amazon Resource Name (ARN) for the cluster.

" }, "AssociatedRoles": { "shape": "DBClusterRoles", - "documentation": "

Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf.

" + "documentation": "

Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the cluster. IAM roles that are associated with a cluster grant permission for the cluster to access other AWS services on your behalf.

" }, "ClusterCreateTime": { "shape": "TStamp", - "documentation": "

Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).

" + "documentation": "

Specifies the time when the cluster was created, in Universal Coordinated Time (UTC).

" }, "EnabledCloudwatchLogsExports": { "shape": "LogTypeList", - "documentation": "

A list of log types that this DB cluster is configured to export to Amazon CloudWatch Logs.

" + "documentation": "

A list of log types that this cluster is configured to export to Amazon CloudWatch Logs.

" }, "DeletionProtection": { "shape": "Boolean", "documentation": "

Specifies whether this cluster can be deleted. If DeletionProtection is enabled, the cluster cannot be deleted unless it is modified and DeletionProtection is disabled. DeletionProtection protects clusters from being accidentally deleted.

" } }, - "documentation": "

Detailed information about a DB cluster.

", + "documentation": "

Detailed information about a cluster.

", "wrapper": true }, "DBClusterList": { @@ -1823,22 +1823,22 @@ "members": { "DBInstanceIdentifier": { "shape": "String", - "documentation": "

Specifies the instance identifier for this member of the DB cluster.

" + "documentation": "

Specifies the instance identifier for this member of the cluster.

" }, "IsClusterWriter": { "shape": "Boolean", - "documentation": "

A value that is true if the cluster member is the primary instance for the DB cluster and false otherwise.

" + "documentation": "

A value that is true if the cluster member is the primary instance for the cluster and false otherwise.

" }, "DBClusterParameterGroupStatus": { "shape": "String", - "documentation": "

Specifies the status of the DB cluster parameter group for this member of the DB cluster.

" + "documentation": "

Specifies the status of the cluster parameter group for this member of the DB cluster.

" }, "PromotionTier": { "shape": "IntegerOptional", "documentation": "

A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.

" } }, - "documentation": "

Contains information about an instance that is part of a DB cluster.

", + "documentation": "

Contains information about an instance that is part of a cluster.

", "wrapper": true }, "DBClusterMemberList": { @@ -1857,7 +1857,7 @@ }, "DBClusters": { "shape": "DBClusterList", - "documentation": "

A list of DB clusters.

" + "documentation": "

A list of clusters.

" } }, "documentation": "

Represents the output of DescribeDBClusters.

" @@ -1867,22 +1867,22 @@ "members": { "DBClusterParameterGroupName": { "shape": "String", - "documentation": "

Provides the name of the DB cluster parameter group.

" + "documentation": "

Provides the name of the cluster parameter group.

" }, "DBParameterGroupFamily": { "shape": "String", - "documentation": "

Provides the name of the DB parameter group family that this DB cluster parameter group is compatible with.

" + "documentation": "

Provides the name of the parameter group family that this cluster parameter group is compatible with.

" }, "Description": { "shape": "String", - "documentation": "

Provides the customer-specified description for this DB cluster parameter group.

" + "documentation": "

Provides the customer-specified description for this cluster parameter group.

" }, "DBClusterParameterGroupArn": { "shape": "String", - "documentation": "

The Amazon Resource Name (ARN) for the DB cluster parameter group.

" + "documentation": "

The Amazon Resource Name (ARN) for the cluster parameter group.

" } }, - "documentation": "

Detailed information about a DB cluster parameter group.

", + "documentation": "

Detailed information about a cluster parameter group.

", "wrapper": true }, "DBClusterParameterGroupDetails": { @@ -1890,7 +1890,7 @@ "members": { "Parameters": { "shape": "ParametersList", - "documentation": "

Provides a list of parameters for the DB cluster parameter group.

" + "documentation": "

Provides a list of parameters for the cluster parameter group.

" }, "Marker": { "shape": "String", @@ -1911,10 +1911,10 @@ "members": { "DBClusterParameterGroupName": { "shape": "String", - "documentation": "

The name of a DB cluster parameter group.

Constraints:

This value is stored as a lowercase string.

" + "documentation": "

The name of a cluster parameter group.

Constraints:

This value is stored as a lowercase string.

" } }, - "documentation": "

Contains the name of a DB cluster parameter group.

" + "documentation": "

Contains the name of a cluster parameter group.

" }, "DBClusterParameterGroupsMessage": { "type": "structure", @@ -1925,7 +1925,7 @@ }, "DBClusterParameterGroups": { "shape": "DBClusterParameterGroupList", - "documentation": "

A list of DB cluster parameter groups.

" + "documentation": "

A list of cluster parameter groups.

" } }, "documentation": "

Represents the output of DBClusterParameterGroups.

" @@ -1939,10 +1939,10 @@ }, "Status": { "shape": "String", - "documentation": "

Describes the state of association between the IAM role and the DB cluster. The Status property returns one of the following values:

" + "documentation": "

Describes the state of association between the IAM role and the cluster. The Status property returns one of the following values:

" } }, - "documentation": "

Describes an AWS Identity and Access Management (IAM) role that is associated with a DB cluster.

" + "documentation": "

Describes an AWS Identity and Access Management (IAM) role that is associated with a cluster.

" }, "DBClusterRoles": { "type": "list", @@ -1956,15 +1956,15 @@ "members": { "AvailabilityZones": { "shape": "AvailabilityZones", - "documentation": "

Provides the list of Amazon EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.

" + "documentation": "

Provides the list of Amazon EC2 Availability Zones that instances in the cluster snapshot can be restored in.

" }, "DBClusterSnapshotIdentifier": { "shape": "String", - "documentation": "

Specifies the identifier for the DB cluster snapshot.

" + "documentation": "

Specifies the identifier for the cluster snapshot.

" }, "DBClusterIdentifier": { "shape": "String", - "documentation": "

Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.

" + "documentation": "

Specifies the cluster identifier of the cluster that this cluster snapshot was created from.

" }, "SnapshotCreateTime": { "shape": "TStamp", @@ -1976,31 +1976,31 @@ }, "Status": { "shape": "String", - "documentation": "

Specifies the status of this DB cluster snapshot.

" + "documentation": "

Specifies the status of this cluster snapshot.

" }, "Port": { "shape": "Integer", - "documentation": "

Specifies the port that the DB cluster was listening on at the time of the snapshot.

" + "documentation": "

Specifies the port that the cluster was listening on at the time of the snapshot.

" }, "VpcId": { "shape": "String", - "documentation": "

Provides the virtual private cloud (VPC) ID that is associated with the DB cluster snapshot.

" + "documentation": "

Provides the virtual private cloud (VPC) ID that is associated with the cluster snapshot.

" }, "ClusterCreateTime": { "shape": "TStamp", - "documentation": "

Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).

" + "documentation": "

Specifies the time when the cluster was created, in Universal Coordinated Time (UTC).

" }, "MasterUsername": { "shape": "String", - "documentation": "

Provides the master user name for the DB cluster snapshot.

" + "documentation": "

Provides the master user name for the cluster snapshot.

" }, "EngineVersion": { "shape": "String", - "documentation": "

Provides the version of the database engine for this DB cluster snapshot.

" + "documentation": "

Provides the version of the database engine for this cluster snapshot.

" }, "SnapshotType": { "shape": "String", - "documentation": "

Provides the type of the DB cluster snapshot.

" + "documentation": "

Provides the type of the cluster snapshot.

" }, "PercentProgress": { "shape": "Integer", @@ -2008,22 +2008,22 @@ }, "StorageEncrypted": { "shape": "Boolean", - "documentation": "

Specifies whether the DB cluster snapshot is encrypted.

" + "documentation": "

Specifies whether the cluster snapshot is encrypted.

" }, "KmsKeyId": { "shape": "String", - "documentation": "

If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot.

" + "documentation": "

If StorageEncrypted is true, the AWS KMS key identifier for the encrypted cluster snapshot.

" }, "DBClusterSnapshotArn": { "shape": "String", - "documentation": "

The Amazon Resource Name (ARN) for the DB cluster snapshot.

" + "documentation": "

The Amazon Resource Name (ARN) for the cluster snapshot.

" }, "SourceDBClusterSnapshotArn": { "shape": "String", - "documentation": "

If the DB cluster snapshot was copied from a source DB cluster snapshot, the ARN for the source DB cluster snapshot; otherwise, a null value.

" + "documentation": "

If the cluster snapshot was copied from a source cluster snapshot, the ARN for the source cluster snapshot; otherwise, a null value.

" } }, - "documentation": "

Detailed information about a DB cluster snapshot.

", + "documentation": "

Detailed information about a cluster snapshot.

", "wrapper": true }, "DBClusterSnapshotAttribute": { @@ -2031,14 +2031,14 @@ "members": { "AttributeName": { "shape": "String", - "documentation": "

The name of the manual DB cluster snapshot attribute.

The attribute named restore refers to the list of AWS accounts that have permission to copy or restore the manual DB cluster snapshot.

" + "documentation": "

The name of the manual cluster snapshot attribute.

The attribute named restore refers to the list of AWS accounts that have permission to copy or restore the manual cluster snapshot.

" }, "AttributeValues": { "shape": "AttributeValueList", - "documentation": "

The values for the manual DB cluster snapshot attribute.

If the AttributeName field is set to restore, then this element returns a list of IDs of the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If a value of all is in the list, then the manual DB cluster snapshot is public and available for any AWS account to copy or restore.

" + "documentation": "

The values for the manual cluster snapshot attribute.

If the AttributeName field is set to restore, then this element returns a list of IDs of the AWS accounts that are authorized to copy or restore the manual cluster snapshot. If a value of all is in the list, then the manual cluster snapshot is public and available for any AWS account to copy or restore.

" } }, - "documentation": "

Contains the name and values of a manual DB cluster snapshot attribute.

Manual DB cluster snapshot attributes are used to authorize other AWS accounts to restore a manual DB cluster snapshot.

" + "documentation": "

Contains the name and values of a manual cluster snapshot attribute.

Manual cluster snapshot attributes are used to authorize other AWS accounts to restore a manual cluster snapshot.

" }, "DBClusterSnapshotAttributeList": { "type": "list", @@ -2052,14 +2052,14 @@ "members": { "DBClusterSnapshotIdentifier": { "shape": "String", - "documentation": "

The identifier of the DB cluster snapshot that the attributes apply to.

" + "documentation": "

The identifier of the cluster snapshot that the attributes apply to.

" }, "DBClusterSnapshotAttributes": { "shape": "DBClusterSnapshotAttributeList", - "documentation": "

The list of attributes and values for the DB cluster snapshot.

" + "documentation": "

The list of attributes and values for the cluster snapshot.

" } }, - "documentation": "

Detailed information about the attributes that are associated with a DB cluster snapshot.

", + "documentation": "

Detailed information about the attributes that are associated with a cluster snapshot.

", "wrapper": true }, "DBClusterSnapshotList": { @@ -2078,7 +2078,7 @@ }, "DBClusterSnapshots": { "shape": "DBClusterSnapshotList", - "documentation": "

Provides a list of DB cluster snapshots.

" + "documentation": "

Provides a list of cluster snapshots.

" } }, "documentation": "

Represents the output of DescribeDBClusterSnapshots.

" @@ -2096,7 +2096,7 @@ }, "DBParameterGroupFamily": { "shape": "String", - "documentation": "

The name of the DB parameter group family for the database engine.

" + "documentation": "

The name of the parameter group family for the database engine.

" }, "DBEngineDescription": { "shape": "String", @@ -2119,7 +2119,7 @@ "documentation": "

A value that indicates whether the engine version supports exporting the log types specified by ExportableLogTypes to CloudWatch Logs.

" } }, - "documentation": "

Detailed information about a DB engine version.

" + "documentation": "

Detailed information about an engine version.

" }, "DBEngineVersionList": { "type": "list", @@ -2137,7 +2137,7 @@ }, "DBEngineVersions": { "shape": "DBEngineVersionList", - "documentation": "

Detailed information about one or more DB engine versions.

" + "documentation": "

Detailed information about one or more engine versions.

" } }, "documentation": "

Represents the output of DescribeDBEngineVersions.

" @@ -2147,15 +2147,15 @@ "members": { "DBInstanceIdentifier": { "shape": "String", - "documentation": "

Contains a user-provided database identifier. This identifier is the unique key that identifies a DB instance.

" + "documentation": "

Contains a user-provided database identifier. This identifier is the unique key that identifies an instance.

" }, "DBInstanceClass": { "shape": "String", - "documentation": "

Contains the name of the compute and memory capacity class of the DB instance.

" + "documentation": "

Contains the name of the compute and memory capacity class of the instance.

" }, "Engine": { "shape": "String", - "documentation": "

Provides the name of the database engine to be used for this DB instance.

" + "documentation": "

Provides the name of the database engine to be used for this instance.

" }, "DBInstanceStatus": { "shape": "String", @@ -2167,7 +2167,7 @@ }, "InstanceCreateTime": { "shape": "TStamp", - "documentation": "

Provides the date and time that the DB instance was created.

" + "documentation": "

Provides the date and time that the instance was created.

" }, "PreferredBackupWindow": { "shape": "String", @@ -2175,19 +2175,19 @@ }, "BackupRetentionPeriod": { "shape": "Integer", - "documentation": "

Specifies the number of days for which automatic DB snapshots are retained.

" + "documentation": "

Specifies the number of days for which automatic snapshots are retained.

" }, "VpcSecurityGroups": { "shape": "VpcSecurityGroupMembershipList", - "documentation": "

Provides a list of VPC security group elements that the DB instance belongs to.

" + "documentation": "

Provides a list of VPC security group elements that the instance belongs to.

" }, "AvailabilityZone": { "shape": "String", - "documentation": "

Specifies the name of the Availability Zone that the DB instance is located in.

" + "documentation": "

Specifies the name of the Availability Zone that the instance is located in.

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

Specifies information on the subnet group that is associated with the DB instance, including the name, description, and subnets in the subnet group.

" + "documentation": "

Specifies information on the subnet group that is associated with the instance, including the name, description, and subnets in the subnet group.

" }, "PreferredMaintenanceWindow": { "shape": "String", @@ -2195,7 +2195,7 @@ }, "PendingModifiedValues": { "shape": "PendingModifiedValues", - "documentation": "

Specifies that changes to the DB instance are pending. This element is included only when changes are pending. Specific changes are identified by subelements.

" + "documentation": "

Specifies that changes to the instance are pending. This element is included only when changes are pending. Specific changes are identified by subelements.

" }, "LatestRestorableTime": { "shape": "TStamp", @@ -2219,19 +2219,19 @@ }, "DBClusterIdentifier": { "shape": "String", - "documentation": "

Contains the name of the DB cluster that the DB instance is a member of if the DB instance is a member of a DB cluster.

" + "documentation": "

Contains the name of the cluster that the instance is a member of if the instance is a member of a cluster.

" }, "StorageEncrypted": { "shape": "Boolean", - "documentation": "

Specifies whether or not the DB instance is encrypted.

" + "documentation": "

Specifies whether or not the instance is encrypted.

" }, "KmsKeyId": { "shape": "String", - "documentation": "

If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB instance.

" + "documentation": "

If StorageEncrypted is true, the AWS KMS key identifier for the encrypted instance.

" }, "DbiResourceId": { "shape": "String", - "documentation": "

The AWS Region-unique, immutable identifier for the DB instance. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB instance is accessed.

" + "documentation": "

The AWS Region-unique, immutable identifier for the instance. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the instance is accessed.

" }, "CACertificateIdentifier": { "shape": "String", @@ -2243,14 +2243,14 @@ }, "DBInstanceArn": { "shape": "String", - "documentation": "

The Amazon Resource Name (ARN) for the DB instance.

" + "documentation": "

The Amazon Resource Name (ARN) for the instance.

" }, "EnabledCloudwatchLogsExports": { "shape": "LogTypeList", - "documentation": "

A list of log types that this DB instance is configured to export to Amazon CloudWatch Logs.

" + "documentation": "

A list of log types that this instance is configured to export to Amazon CloudWatch Logs.

" } }, - "documentation": "

Detailed information about a DB instance.

", + "documentation": "

Detailed information about an instance.

", "wrapper": true }, "DBInstanceList": { @@ -2269,7 +2269,7 @@ }, "DBInstances": { "shape": "DBInstanceList", - "documentation": "

Detailed information about one or more DB instances.

" + "documentation": "

Detailed information about one or more instances.

" } }, "documentation": "

Represents the output of DescribeDBInstances.

" @@ -2287,14 +2287,14 @@ }, "Status": { "shape": "String", - "documentation": "

Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.

" + "documentation": "

Status of the instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.

" }, "Message": { "shape": "String", "documentation": "

Details of the error if there is an error for the instance. If the instance is not in an error state, this value is blank.

" } }, - "documentation": "

Provides a list of status information for a DB instance.

" + "documentation": "

Provides a list of status information for an instance.

" }, "DBInstanceStatusInfoList": { "type": "list", @@ -2308,30 +2308,30 @@ "members": { "DBSubnetGroupName": { "shape": "String", - "documentation": "

The name of the DB subnet group.

" + "documentation": "

The name of the subnet group.

" }, "DBSubnetGroupDescription": { "shape": "String", - "documentation": "

Provides the description of the DB subnet group.

" + "documentation": "

Provides the description of the subnet group.

" }, "VpcId": { "shape": "String", - "documentation": "

Provides the virtual private cloud (VPC) ID of the DB subnet group.

" + "documentation": "

Provides the virtual private cloud (VPC) ID of the subnet group.

" }, "SubnetGroupStatus": { "shape": "String", - "documentation": "

Provides the status of the DB subnet group.

" + "documentation": "

Provides the status of the subnet group.

" }, "Subnets": { "shape": "SubnetList", - "documentation": "

Detailed information about one or more subnets within a DB subnet group.

" + "documentation": "

Detailed information about one or more subnets within a subnet group.

" }, "DBSubnetGroupArn": { "shape": "String", "documentation": "

The Amazon Resource Name (ARN) for the DB subnet group.

" } }, - "documentation": "

Detailed information about a DB subnet group.

", + "documentation": "

Detailed information about a subnet group.

", "wrapper": true }, "DBSubnetGroupMessage": { @@ -2343,7 +2343,7 @@ }, "DBSubnetGroups": { "shape": "DBSubnetGroups", - "documentation": "

Detailed information about one or more DB subnet groups.

" + "documentation": "

Detailed information about one or more subnet groups.

" } }, "documentation": "

Represents the output of DescribeDBSubnetGroups.

" @@ -2363,15 +2363,15 @@ "members": { "DBClusterIdentifier": { "shape": "String", - "documentation": "

The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case sensitive.

Constraints:

" + "documentation": "

The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.

Constraints:

" }, "SkipFinalSnapshot": { "shape": "Boolean", - "documentation": "

Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. If true is specified, no DB cluster snapshot is created. If false is specified, a DB cluster snapshot is created before the DB cluster is deleted.

If SkipFinalSnapshot is false, you must specify a FinalDBSnapshotIdentifier parameter.

Default: false

" + "documentation": "

Determines whether a final cluster snapshot is created before the cluster is deleted. If true is specified, no cluster snapshot is created. If false is specified, a cluster snapshot is created before the DB cluster is deleted.

If SkipFinalSnapshot is false, you must specify a FinalDBSnapshotIdentifier parameter.

Default: false

" }, "FinalDBSnapshotIdentifier": { "shape": "String", - "documentation": "

The DB cluster snapshot identifier of the new DB cluster snapshot created when SkipFinalSnapshot is set to false.

Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.

Constraints:

" + "documentation": "

The cluster snapshot identifier of the new cluster snapshot created when SkipFinalSnapshot is set to false.

Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.

Constraints:

" } }, "documentation": "

Represents the input to DeleteDBCluster.

" @@ -2384,7 +2384,7 @@ "members": { "DBClusterParameterGroupName": { "shape": "String", - "documentation": "

The name of the DB cluster parameter group.

Constraints:

" + "documentation": "

The name of the cluster parameter group.

Constraints:

" } }, "documentation": "

Represents the input to DeleteDBClusterParameterGroup.

" @@ -2405,7 +2405,7 @@ "members": { "DBClusterSnapshotIdentifier": { "shape": "String", - "documentation": "

The identifier of the DB cluster snapshot to delete.

Constraints: Must be the name of an existing DB cluster snapshot in the available state.

" + "documentation": "

The identifier of the cluster snapshot to delete.

Constraints: Must be the name of an existing cluster snapshot in the available state.

" } }, "documentation": "

Represents the input to DeleteDBClusterSnapshot.

" @@ -2426,7 +2426,7 @@ "members": { "DBInstanceIdentifier": { "shape": "String", - "documentation": "

The DB instance identifier for the DB instance to be deleted. This parameter isn't case sensitive.

Constraints:

" + "documentation": "

The instance identifier for the instance to be deleted. This parameter isn't case sensitive.

Constraints:

" } }, "documentation": "

Represents the input to DeleteDBInstance.

" @@ -2478,7 +2478,7 @@ "members": { "DBClusterParameterGroupName": { "shape": "String", - "documentation": "

The name of a specific DB cluster parameter group to return details for.

Constraints:

" + "documentation": "

The name of a specific cluster parameter group to return details for.

Constraints:

" }, "Filters": { "shape": "FilterList", @@ -2503,7 +2503,7 @@ "members": { "DBClusterParameterGroupName": { "shape": "String", - "documentation": "

The name of a specific DB cluster parameter group to return parameter details for.

Constraints:

" + "documentation": "

The name of a specific cluster parameter group to return parameter details for.

Constraints:

" }, "Source": { "shape": "String", @@ -2532,7 +2532,7 @@ "members": { "DBClusterSnapshotIdentifier": { "shape": "String", - "documentation": "

The identifier for the DB cluster snapshot to describe the attributes for.

" + "documentation": "

The identifier for the cluster snapshot to describe the attributes for.

" } }, "documentation": "

Represents the input to DescribeDBClusterSnapshotAttributes.

" @@ -2550,15 +2550,15 @@ "members": { "DBClusterIdentifier": { "shape": "String", - "documentation": "

The ID of the DB cluster to retrieve the list of DB cluster snapshots for. This parameter can't be used with the DBClusterSnapshotIdentifier parameter. This parameter is not case sensitive.

Constraints:

" + "documentation": "

The ID of the cluster to retrieve the list of cluster snapshots for. This parameter can't be used with the DBClusterSnapshotIdentifier parameter. This parameter is not case sensitive.

Constraints:

" }, "DBClusterSnapshotIdentifier": { "shape": "String", - "documentation": "

A specific DB cluster snapshot identifier to describe. This parameter can't be used with the DBClusterIdentifier parameter. This value is stored as a lowercase string.

Constraints:

" + "documentation": "

A specific cluster snapshot identifier to describe. This parameter can't be used with the DBClusterIdentifier parameter. This value is stored as a lowercase string.

Constraints:

" }, "SnapshotType": { "shape": "String", - "documentation": "

The type of DB cluster snapshots to be returned. You can specify one of the following values:

If you don't specify a SnapshotType value, then both automated and manual DB cluster snapshots are returned. You can include shared DB cluster snapshots with these results by setting the IncludeShared parameter to true. You can include public DB cluster snapshots with these results by setting the IncludePublic parameter to true.

The IncludeShared and IncludePublic parameters don't apply for SnapshotType values of manual or automated. The IncludePublic parameter doesn't apply when SnapshotType is set to shared. The IncludeShared parameter doesn't apply when SnapshotType is set to public.

" + "documentation": "

The type of cluster snapshots to be returned. You can specify one of the following values:

If you don't specify a SnapshotType value, then both automated and manual cluster snapshots are returned. You can include shared cluster snapshots with these results by setting the IncludeShared parameter to true. You can include public cluster snapshots with these results by setting the IncludePublic parameter to true.

The IncludeShared and IncludePublic parameters don't apply for SnapshotType values of manual or automated. The IncludePublic parameter doesn't apply when SnapshotType is set to shared. The IncludeShared parameter doesn't apply when SnapshotType is set to public.

" }, "Filters": { "shape": "FilterList", @@ -2574,11 +2574,11 @@ }, "IncludeShared": { "shape": "Boolean", - "documentation": "

Set to true to include shared manual DB cluster snapshots from other AWS accounts that this AWS account has been given permission to copy or restore, and otherwise false. The default is false.

" + "documentation": "

Set to true to include shared manual cluster snapshots from other AWS accounts that this AWS account has been given permission to copy or restore, and otherwise false. The default is false.

" }, "IncludePublic": { "shape": "Boolean", - "documentation": "

Set to true to include manual DB cluster snapshots that are public and can be copied or restored by any AWS account, and otherwise false. The default is false.

" + "documentation": "

Set to true to include manual cluster snapshots that are public and can be copied or restored by any AWS account, and otherwise false. The default is false.

" } }, "documentation": "

Represents the input to DescribeDBClusterSnapshots.

" @@ -2588,11 +2588,11 @@ "members": { "DBClusterIdentifier": { "shape": "String", - "documentation": "

The user-provided DB cluster identifier. If this parameter is specified, information from only the specific DB cluster is returned. This parameter isn't case sensitive.

Constraints:

" + "documentation": "

The user-provided cluster identifier. If this parameter is specified, information from only the specific cluster is returned. This parameter isn't case sensitive.

Constraints:

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

A filter that specifies one or more DB clusters to describe.

Supported filters:

" + "documentation": "

A filter that specifies one or more clusters to describe.

Supported filters:

" }, "MaxRecords": { "shape": "IntegerOptional", @@ -2618,7 +2618,7 @@ }, "DBParameterGroupFamily": { "shape": "String", - "documentation": "

The name of a specific DB parameter group family to return details for.

Constraints:

" + "documentation": "

The name of a specific parameter group family to return details for.

Constraints:

" }, "Filters": { "shape": "FilterList", @@ -2652,11 +2652,11 @@ "members": { "DBInstanceIdentifier": { "shape": "String", - "documentation": "

The user-provided instance identifier. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case sensitive.

Constraints:

" + "documentation": "

The user-provided instance identifier. If this parameter is specified, information from only the specific instance is returned. This parameter isn't case sensitive.

Constraints:

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

A filter that specifies one or more DB instances to describe.

Supported filters:

" + "documentation": "

A filter that specifies one or more instances to describe.

Supported filters:

" }, "MaxRecords": { "shape": "IntegerOptional", @@ -2674,7 +2674,7 @@ "members": { "DBSubnetGroupName": { "shape": "String", - "documentation": "

The name of the DB subnet group to return details for.

" + "documentation": "

The name of the subnet group to return details for.

" }, "Filters": { "shape": "FilterList", @@ -2699,7 +2699,7 @@ "members": { "DBParameterGroupFamily": { "shape": "String", - "documentation": "

The name of the DB cluster parameter group family to return the engine parameter information for.

" + "documentation": "

The name of the cluster parameter group family to return the engine parameter information for.

" }, "Filters": { "shape": "FilterList", @@ -2788,7 +2788,7 @@ "members": { "Engine": { "shape": "String", - "documentation": "

The name of the engine to retrieve DB instance options for.

" + "documentation": "

The name of the engine to retrieve instance options for.

" }, "EngineVersion": { "shape": "String", @@ -2796,7 +2796,7 @@ }, "DBInstanceClass": { "shape": "String", - "documentation": "

The DB instance class filter value. Specify this parameter to show only the available offerings that match the specified DB instance class.

" + "documentation": "

The instance class filter value. Specify this parameter to show only the available offerings that match the specified instance class.

" }, "LicenseModel": { "shape": "String", @@ -2830,7 +2830,7 @@ }, "Filters": { "shape": "FilterList", - "documentation": "

A filter that specifies one or more resources to return pending maintenance actions for.

Supported filters:

" + "documentation": "

A filter that specifies one or more resources to return pending maintenance actions for.

Supported filters:

" }, "Marker": { "shape": "String", @@ -2848,7 +2848,7 @@ "members": { "Address": { "shape": "String", - "documentation": "

Specifies the DNS address of the DB instance.

" + "documentation": "

Specifies the DNS address of the instance.

" }, "Port": { "shape": "Integer", @@ -2859,14 +2859,14 @@ "documentation": "

Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

" } }, - "documentation": "

Network information for accessing a DB cluster or DB instance. Client programs must specify a valid endpoint to access these Amazon DocumentDB resources.

" + "documentation": "

Network information for accessing a cluster or instance. Client programs must specify a valid endpoint to access these Amazon DocumentDB resources.

" }, "EngineDefaults": { "type": "structure", "members": { "DBParameterGroupFamily": { "shape": "String", - "documentation": "

The name of the DB cluster parameter group family to return the engine parameter information for.

" + "documentation": "

The name of the cluster parameter group family to return the engine parameter information for.

" }, "Marker": { "shape": "String", @@ -2874,7 +2874,7 @@ }, "Parameters": { "shape": "ParametersList", - "documentation": "

The parameters of a particular DB cluster parameter group family.

" + "documentation": "

The parameters of a particular cluster parameter group family.

" } }, "documentation": "

Contains the result of a successful invocation of the DescribeEngineDefaultClusterParameters operation.

", @@ -2975,11 +2975,11 @@ "members": { "DBClusterIdentifier": { "shape": "String", - "documentation": "

A DB cluster identifier to force a failover for. This parameter is not case sensitive.

Constraints:

" + "documentation": "

A cluster identifier to force a failover for. This parameter is not case sensitive.

Constraints:

" }, "TargetDBInstanceIdentifier": { "shape": "String", - "documentation": "

The name of the instance to promote to the primary instance.

You must specify the instance identifier for an Amazon DocumentDB replica in the DB cluster. For example, mydbcluster-replica1.

" + "documentation": "

The name of the instance to promote to the primary instance.

You must specify the instance identifier for an Amazon DocumentDB replica in the cluster. For example, mydbcluster-replica1.

" } }, "documentation": "

Represents the input to FailoverDBCluster.

" @@ -3067,15 +3067,15 @@ "members": { "DBClusterIdentifier": { "shape": "String", - "documentation": "

The DB cluster identifier for the cluster that is being modified. This parameter is not case sensitive.

Constraints:

" + "documentation": "

The cluster identifier for the cluster that is being modified. This parameter is not case sensitive.

Constraints:

" }, "NewDBClusterIdentifier": { "shape": "String", - "documentation": "

The new DB cluster identifier for the DB cluster when renaming a DB cluster. This value is stored as a lowercase string.

Constraints:

Example: my-cluster2

" + "documentation": "

The new cluster identifier for the cluster when renaming a cluster. This value is stored as a lowercase string.

Constraints:

Example: my-cluster2

" }, "ApplyImmediately": { "shape": "Boolean", - "documentation": "

A value that specifies whether the changes in this request and any pending changes are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB cluster. If this parameter is set to false, changes to the DB cluster are applied during the next maintenance window.

The ApplyImmediately parameter affects only the NewDBClusterIdentifier and MasterUserPassword values. If you set this parameter value to false, the changes to the NewDBClusterIdentifier and MasterUserPassword values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of the ApplyImmediately parameter.

Default: false

" + "documentation": "

A value that specifies whether the changes in this request and any pending changes are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the cluster. If this parameter is set to false, changes to the cluster are applied during the next maintenance window.

The ApplyImmediately parameter affects only the NewDBClusterIdentifier and MasterUserPassword values. If you set this parameter value to false, the changes to the NewDBClusterIdentifier and MasterUserPassword values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of the ApplyImmediately parameter.

Default: false

" }, "BackupRetentionPeriod": { "shape": "IntegerOptional", @@ -3083,15 +3083,15 @@ }, "DBClusterParameterGroupName": { "shape": "String", - "documentation": "

The name of the DB cluster parameter group to use for the DB cluster.

" + "documentation": "

The name of the cluster parameter group to use for the cluster.

" }, "VpcSecurityGroupIds": { "shape": "VpcSecurityGroupIdList", - "documentation": "

A list of virtual private cloud (VPC) security groups that the DB cluster will belong to.

" + "documentation": "

A list of virtual private cloud (VPC) security groups that the cluster will belong to.

" }, "Port": { "shape": "IntegerOptional", - "documentation": "

The port number on which the DB cluster accepts connections.

Constraints: Must be a value from 1150 to 65535.

Default: The same port as the original DB cluster.

" + "documentation": "

The port number on which the cluster accepts connections.

Constraints: Must be a value from 1150 to 65535.

Default: The same port as the original cluster.

" }, "MasterUserPassword": { "shape": "String", @@ -3107,7 +3107,7 @@ }, "CloudwatchLogsExportConfiguration": { "shape": "CloudwatchLogsExportConfiguration", - "documentation": "

The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a specific DB instance or DB cluster. The EnableLogTypes and DisableLogTypes arrays determine which logs are exported (or not exported) to CloudWatch Logs.

" + "documentation": "

The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a specific instance or cluster. The EnableLogTypes and DisableLogTypes arrays determine which logs are exported (or not exported) to CloudWatch Logs.

" }, "EngineVersion": { "shape": "String", @@ -3129,11 +3129,11 @@ "members": { "DBClusterParameterGroupName": { "shape": "String", - "documentation": "

The name of the DB cluster parameter group to modify.

" + "documentation": "

The name of the cluster parameter group to modify.

" }, "Parameters": { "shape": "ParametersList", - "documentation": "

A list of parameters in the DB cluster parameter group to modify.

" + "documentation": "

A list of parameters in the cluster parameter group to modify.

" } }, "documentation": "

Represents the input to ModifyDBClusterParameterGroup.

" @@ -3155,19 +3155,19 @@ "members": { "DBClusterSnapshotIdentifier": { "shape": "String", - "documentation": "

The identifier for the DB cluster snapshot to modify the attributes for.

" + "documentation": "

The identifier for the cluster snapshot to modify the attributes for.

" }, "AttributeName": { "shape": "String", - "documentation": "

The name of the DB cluster snapshot attribute to modify.

To manage authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this value to restore.

" + "documentation": "

The name of the cluster snapshot attribute to modify.

To manage authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this value to restore.

" }, "ValuesToAdd": { "shape": "AttributeValueList", - "documentation": "

A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName.

To authorize other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more AWS account IDs. To make the manual DB cluster snapshot restorable by any AWS account, set it to all. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want to be available to all AWS accounts.

" + "documentation": "

A list of cluster snapshot attributes to add to the attribute specified by AttributeName.

To authorize other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one or more AWS account IDs. To make the manual cluster snapshot restorable by any AWS account, set it to all. Do not add the all value for any manual cluster snapshots that contain private information that you don't want to be available to all AWS accounts.

" }, "ValuesToRemove": { "shape": "AttributeValueList", - "documentation": "

A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName.

To remove authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more AWS account identifiers. To remove authorization for any AWS account to copy or restore the DB cluster snapshot, set it to all . If you specify all, an AWS account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot.

" + "documentation": "

A list of cluster snapshot attributes to remove from the attribute specified by AttributeName.

To remove authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one or more AWS account identifiers. To remove authorization for any AWS account to copy or restore the cluster snapshot, set it to all . If you specify all, an AWS account whose account ID is explicitly added to the restore attribute can still copy or restore a manual cluster snapshot.

" } }, "documentation": "

Represents the input to ModifyDBClusterSnapshotAttribute.

" @@ -3188,27 +3188,27 @@ "members": { "DBInstanceIdentifier": { "shape": "String", - "documentation": "

The DB instance identifier. This value is stored as a lowercase string.

Constraints:

" + "documentation": "

The instance identifier. This value is stored as a lowercase string.

Constraints:

" }, "DBInstanceClass": { "shape": "String", - "documentation": "

The new compute and memory capacity of the DB instance; for example, db.r5.large. Not all DB instance classes are available in all AWS Regions.

If you modify the DB instance class, an outage occurs during the change. The change is applied during the next maintenance window, unless ApplyImmediately is specified as true for this request.

Default: Uses existing setting.

" + "documentation": "

The new compute and memory capacity of the instance; for example, db.r5.large. Not all instance classes are available in all AWS Regions.

If you modify the instance class, an outage occurs during the change. The change is applied during the next maintenance window, unless ApplyImmediately is specified as true for this request.

Default: Uses existing setting.

" }, "ApplyImmediately": { "shape": "Boolean", - "documentation": "

Specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB instance.

If this parameter is set to false, changes to the DB instance are applied during the next maintenance window. Some parameter changes can cause an outage and are applied on the next reboot.

Default: false

" + "documentation": "

Specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the instance.

If this parameter is set to false, changes to the instance are applied during the next maintenance window. Some parameter changes can cause an outage and are applied on the next reboot.

Default: false

" }, "PreferredMaintenanceWindow": { "shape": "String", - "documentation": "

The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter doesn't result in an outage except in the following situation, and the change is asynchronously applied as soon as possible. If there are pending actions that cause a reboot, and the maintenance window is changed to include the current time, changing this parameter causes a reboot of the DB instance. If you are moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure that pending changes are applied.

Default: Uses existing setting.

Format: ddd:hh24:mi-ddd:hh24:mi

Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

Constraints: Must be at least 30 minutes.

" + "documentation": "

The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter doesn't result in an outage except in the following situation, and the change is asynchronously applied as soon as possible. If there are pending actions that cause a reboot, and the maintenance window is changed to include the current time, changing this parameter causes a reboot of the instance. If you are moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure that pending changes are applied.

Default: Uses existing setting.

Format: ddd:hh24:mi-ddd:hh24:mi

Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

Constraints: Must be at least 30 minutes.

" }, "AutoMinorVersionUpgrade": { "shape": "BooleanOptional", - "documentation": "

Indicates that minor version upgrades are applied automatically to the DB instance during the maintenance window. Changing this parameter doesn't result in an outage except in the following case, and the change is asynchronously applied as soon as possible. An outage results if this parameter is set to true during the maintenance window, and a newer minor version is available, and Amazon DocumentDB has enabled automatic patching for that engine version.

" + "documentation": "

Indicates that minor version upgrades are applied automatically to the instance during the maintenance window. Changing this parameter doesn't result in an outage except in the following case, and the change is asynchronously applied as soon as possible. An outage results if this parameter is set to true during the maintenance window, and a newer minor version is available, and Amazon DocumentDB has enabled automatic patching for that engine version.

" }, "NewDBInstanceIdentifier": { "shape": "String", - "documentation": "

The new DB instance identifier for the DB instance when renaming a DB instance. When you change the DB instance identifier, an instance reboot occurs immediately if you set Apply Immediately to true. It occurs during the next maintenance window if you set Apply Immediately to false. This value is stored as a lowercase string.

Constraints:

Example: mydbinstance

" + "documentation": "

The new instance identifier for the instance when renaming an instance. When you change the instance identifier, an instance reboot occurs immediately if you set Apply Immediately to true. It occurs during the next maintenance window if you set Apply Immediately to false. This value is stored as a lowercase string.

Constraints:

Example: mydbinstance

" }, "CACertificateIdentifier": { "shape": "String", @@ -3238,15 +3238,15 @@ "members": { "DBSubnetGroupName": { "shape": "String", - "documentation": "

The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

" + "documentation": "

The name for the subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

" }, "DBSubnetGroupDescription": { "shape": "String", - "documentation": "

The description for the DB subnet group.

" + "documentation": "

The description for the subnet group.

" }, "SubnetIds": { "shape": "SubnetIdentifierList", - "documentation": "

The Amazon EC2 subnet IDs for the DB subnet group.

" + "documentation": "

The Amazon EC2 subnet IDs for the subnet group.

" } }, "documentation": "

Represents the input to ModifyDBSubnetGroup.

" @@ -3264,30 +3264,30 @@ "members": { "Engine": { "shape": "String", - "documentation": "

The engine type of a DB instance.

" + "documentation": "

The engine type of an instance.

" }, "EngineVersion": { "shape": "String", - "documentation": "

The engine version of a DB instance.

" + "documentation": "

The engine version of an instance.

" }, "DBInstanceClass": { "shape": "String", - "documentation": "

The DB instance class for a DB instance.

" + "documentation": "

The instance class for an instance.

" }, "LicenseModel": { "shape": "String", - "documentation": "

The license model for a DB instance.

" + "documentation": "

The license model for an instance.

" }, "AvailabilityZones": { "shape": "AvailabilityZoneList", - "documentation": "

A list of Availability Zones for a DB instance.

" + "documentation": "

A list of Availability Zones for an instance.

" }, "Vpc": { "shape": "Boolean", - "documentation": "

Indicates whether a DB instance is in a virtual private cloud (VPC).

" + "documentation": "

Indicates whether an instance is in a virtual private cloud (VPC).

" } }, - "documentation": "

The options that are available for a DB instance.

", + "documentation": "

The options that are available for an instance.

", "wrapper": true }, "OrderableDBInstanceOptionsList": { @@ -3302,7 +3302,7 @@ "members": { "OrderableDBInstanceOptions": { "shape": "OrderableDBInstanceOptionsList", - "documentation": "

The options that are available for a particular orderable DB instance.

" + "documentation": "

The options that are available for a particular orderable instance.

" }, "Marker": { "shape": "String", @@ -3441,19 +3441,19 @@ "members": { "DBInstanceClass": { "shape": "String", - "documentation": "

Contains the new DBInstanceClass for the DB instance that will be applied or is currently being applied.

" + "documentation": "

Contains the new DBInstanceClass for the instance that will be applied or is currently being applied.

" }, "AllocatedStorage": { "shape": "IntegerOptional", - "documentation": "

Contains the new AllocatedStorage size for the DB instance that will be applied or is currently being applied.

" + "documentation": "

Contains the new AllocatedStorage size for then instance that will be applied or is currently being applied.

" }, "MasterUserPassword": { "shape": "String", - "documentation": "

Contains the pending or currently in-progress change of the master credentials for the DB instance.

" + "documentation": "

Contains the pending or currently in-progress change of the master credentials for the instance.

" }, "Port": { "shape": "IntegerOptional", - "documentation": "

Specifies the pending port for the DB instance.

" + "documentation": "

Specifies the pending port for the instance.

" }, "BackupRetentionPeriod": { "shape": "IntegerOptional", @@ -3461,7 +3461,7 @@ }, "MultiAZ": { "shape": "BooleanOptional", - "documentation": "

Indicates that the Single-AZ DB instance is to change to a Multi-AZ deployment.

" + "documentation": "

Indicates that the Single-AZ instance is to change to a Multi-AZ deployment.

" }, "EngineVersion": { "shape": "String", @@ -3469,19 +3469,19 @@ }, "LicenseModel": { "shape": "String", - "documentation": "

The license model for the DB instance.

Valid values: license-included, bring-your-own-license, general-public-license

" + "documentation": "

The license model for the instance.

Valid values: license-included, bring-your-own-license, general-public-license

" }, "Iops": { "shape": "IntegerOptional", - "documentation": "

Specifies the new Provisioned IOPS value for the DB instance that will be applied or is currently being applied.

" + "documentation": "

Specifies the new Provisioned IOPS value for the instance that will be applied or is currently being applied.

" }, "DBInstanceIdentifier": { "shape": "String", - "documentation": "

Contains the new DBInstanceIdentifier for the DB instance that will be applied or is currently being applied.

" + "documentation": "

Contains the new DBInstanceIdentifier for the instance that will be applied or is currently being applied.

" }, "StorageType": { "shape": "String", - "documentation": "

Specifies the storage type to be associated with the DB instance.

" + "documentation": "

Specifies the storage type to be associated with the instance.

" }, "CACertificateIdentifier": { "shape": "String", @@ -3489,14 +3489,14 @@ }, "DBSubnetGroupName": { "shape": "String", - "documentation": "

The new DB subnet group for the DB instance.

" + "documentation": "

The new subnet group for the instance.

" }, "PendingCloudwatchLogsExports": { "shape": "PendingCloudwatchLogsExports", "documentation": "

A list of the log types whose configuration is still pending. These log types are in the process of being activated or deactivated.

" } }, - "documentation": "

One or more modified settings for a DB instance. These modified settings have been requested, but haven't been applied yet.

" + "documentation": "

One or more modified settings for an instance. These modified settings have been requested, but haven't been applied yet.

" }, "RebootDBInstanceMessage": { "type": "structure", @@ -3506,7 +3506,7 @@ "members": { "DBInstanceIdentifier": { "shape": "String", - "documentation": "

The DB instance identifier. This parameter is stored as a lowercase string.

Constraints:

" + "documentation": "

The instance identifier. This parameter is stored as a lowercase string.

Constraints:

" }, "ForceFailover": { "shape": "BooleanOptional", @@ -3549,15 +3549,15 @@ "members": { "DBClusterParameterGroupName": { "shape": "String", - "documentation": "

The name of the DB cluster parameter group to reset.

" + "documentation": "

The name of the cluster parameter group to reset.

" }, "ResetAllParameters": { "shape": "Boolean", - "documentation": "

A value that is set to true to reset all parameters in the DB cluster parameter group to their default values, and false otherwise. You can't use this parameter if there is a list of parameter names specified for the Parameters parameter.

" + "documentation": "

A value that is set to true to reset all parameters in the cluster parameter group to their default values, and false otherwise. You can't use this parameter if there is a list of parameter names specified for the Parameters parameter.

" }, "Parameters": { "shape": "ParametersList", - "documentation": "

A list of parameter names in the DB cluster parameter group to reset to the default values. You can't use this parameter if the ResetAllParameters parameter is set to true.

" + "documentation": "

A list of parameter names in the cluster parameter group to reset to the default values. You can't use this parameter if the ResetAllParameters parameter is set to true.

" } }, "documentation": "

Represents the input to ResetDBClusterParameterGroup.

" @@ -3591,39 +3591,39 @@ }, "DBClusterIdentifier": { "shape": "String", - "documentation": "

The name of the DB cluster to create from the DB snapshot or DB cluster snapshot. This parameter isn't case sensitive.

Constraints:

Example: my-snapshot-id

" + "documentation": "

The name of the cluster to create from the snapshot or cluster snapshot. This parameter isn't case sensitive.

Constraints:

Example: my-snapshot-id

" }, "SnapshotIdentifier": { "shape": "String", - "documentation": "

The identifier for the DB snapshot or DB cluster snapshot to restore from.

You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB snapshot.

Constraints:

" + "documentation": "

The identifier for the snapshot or cluster snapshot to restore from.

You can use either the name or the Amazon Resource Name (ARN) to specify a cluster snapshot. However, you can use only the ARN to specify a snapshot.

Constraints:

" }, "Engine": { "shape": "String", - "documentation": "

The database engine to use for the new DB cluster.

Default: The same as source.

Constraint: Must be compatible with the engine of the source.

" + "documentation": "

The database engine to use for the new cluster.

Default: The same as source.

Constraint: Must be compatible with the engine of the source.

" }, "EngineVersion": { "shape": "String", - "documentation": "

The version of the database engine to use for the new DB cluster.

" + "documentation": "

The version of the database engine to use for the new cluster.

" }, "Port": { "shape": "IntegerOptional", - "documentation": "

The port number on which the new DB cluster accepts connections.

Constraints: Must be a value from 1150 to 65535.

Default: The same port as the original DB cluster.

" + "documentation": "

The port number on which the new cluster accepts connections.

Constraints: Must be a value from 1150 to 65535.

Default: The same port as the original cluster.

" }, "DBSubnetGroupName": { "shape": "String", - "documentation": "

The name of the DB subnet group to use for the new DB cluster.

Constraints: If provided, must match the name of an existing DBSubnetGroup.

Example: mySubnetgroup

" + "documentation": "

The name of the subnet group to use for the new cluster.

Constraints: If provided, must match the name of an existing DBSubnetGroup.

Example: mySubnetgroup

" }, "VpcSecurityGroupIds": { "shape": "VpcSecurityGroupIdList", - "documentation": "

A list of virtual private cloud (VPC) security groups that the new DB cluster will belong to.

" + "documentation": "

A list of virtual private cloud (VPC) security groups that the new cluster will belong to.

" }, "Tags": { "shape": "TagList", - "documentation": "

The tags to be assigned to the restored DB cluster.

" + "documentation": "

The tags to be assigned to the restored cluster.

" }, "KmsKeyId": { "shape": "String", - "documentation": "

The AWS KMS key identifier to use when restoring an encrypted DB cluster from a DB snapshot or DB cluster snapshot.

The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a DB cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new DB cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key.

If you do not specify a value for the KmsKeyId parameter, then the following occurs:

" + "documentation": "

The AWS KMS key identifier to use when restoring an encrypted cluster from a DB snapshot or cluster snapshot.

The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key.

If you do not specify a value for the KmsKeyId parameter, then the following occurs:

" }, "EnableCloudwatchLogsExports": { "shape": "LogTypeList", @@ -3653,39 +3653,39 @@ "members": { "DBClusterIdentifier": { "shape": "String", - "documentation": "

The name of the new DB cluster to be created.

Constraints:

" + "documentation": "

The name of the new cluster to be created.

Constraints:

" }, "SourceDBClusterIdentifier": { "shape": "String", - "documentation": "

The identifier of the source DB cluster from which to restore.

Constraints:

" + "documentation": "

The identifier of the source cluster from which to restore.

Constraints:

" }, "RestoreToTime": { "shape": "TStamp", - "documentation": "

The date and time to restore the DB cluster to.

Valid values: A time in Universal Coordinated Time (UTC) format.

Constraints:

Example: 2015-03-07T23:45:00Z

" + "documentation": "

The date and time to restore the cluster to.

Valid values: A time in Universal Coordinated Time (UTC) format.

Constraints:

Example: 2015-03-07T23:45:00Z

" }, "UseLatestRestorableTime": { "shape": "Boolean", - "documentation": "

A value that is set to true to restore the DB cluster to the latest restorable backup time, and false otherwise.

Default: false

Constraints: Cannot be specified if the RestoreToTime parameter is provided.

" + "documentation": "

A value that is set to true to restore the cluster to the latest restorable backup time, and false otherwise.

Default: false

Constraints: Cannot be specified if the RestoreToTime parameter is provided.

" }, "Port": { "shape": "IntegerOptional", - "documentation": "

The port number on which the new DB cluster accepts connections.

Constraints: Must be a value from 1150 to 65535.

Default: The default port for the engine.

" + "documentation": "

The port number on which the new cluster accepts connections.

Constraints: Must be a value from 1150 to 65535.

Default: The default port for the engine.

" }, "DBSubnetGroupName": { "shape": "String", - "documentation": "

The DB subnet group name to use for the new DB cluster.

Constraints: If provided, must match the name of an existing DBSubnetGroup.

Example: mySubnetgroup

" + "documentation": "

The subnet group name to use for the new cluster.

Constraints: If provided, must match the name of an existing DBSubnetGroup.

Example: mySubnetgroup

" }, "VpcSecurityGroupIds": { "shape": "VpcSecurityGroupIdList", - "documentation": "

A list of VPC security groups that the new DB cluster belongs to.

" + "documentation": "

A list of VPC security groups that the new cluster belongs to.

" }, "Tags": { "shape": "TagList", - "documentation": "

The tags to be assigned to the restored DB cluster.

" + "documentation": "

The tags to be assigned to the restored cluster.

" }, "KmsKeyId": { "shape": "String", - "documentation": "

The AWS KMS key identifier to use when restoring an encrypted DB cluster from an encrypted DB cluster.

The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a DB cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new DB cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key.

You can restore to a new DB cluster and encrypt the new DB cluster with an AWS KMS key that is different from the AWS KMS key used to encrypt the source DB cluster. The new DB cluster is encrypted with the AWS KMS key identified by the KmsKeyId parameter.

If you do not specify a value for the KmsKeyId parameter, then the following occurs:

If DBClusterIdentifier refers to a DB cluster that is not encrypted, then the restore request is rejected.

" + "documentation": "

The AWS KMS key identifier to use when restoring an encrypted cluster from an encrypted cluster.

The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key.

You can restore to a new cluster and encrypt the new cluster with an AWS KMS key that is different from the AWS KMS key used to encrypt the source cluster. The new DB cluster is encrypted with the AWS KMS key identified by the KmsKeyId parameter.

If you do not specify a value for the KmsKeyId parameter, then the following occurs:

If DBClusterIdentifier refers to a cluster that is not encrypted, then the restore request is rejected.

" }, "EnableCloudwatchLogsExports": { "shape": "LogTypeList", @@ -3839,7 +3839,7 @@ }, "Description": { "shape": "String", - "documentation": "

The version of the database engine that a DB instance can be upgraded to.

" + "documentation": "

The version of the database engine that an instance can be upgraded to.

" }, "AutoUpgrade": { "shape": "Boolean", @@ -3850,7 +3850,7 @@ "documentation": "

A value that indicates whether a database engine is upgraded to a major version.

" } }, - "documentation": "

The version of the database engine that a DB instance can be upgraded to.

" + "documentation": "

The version of the database engine that an instance can be upgraded to.

" }, "ValidUpgradeTargetList": { "type": "list", diff --git a/apis/kms-2014-11-01.normal.json b/apis/kms-2014-11-01.normal.json index b275baff4b..3c186fca2d 100644 --- a/apis/kms-2014-11-01.normal.json +++ b/apis/kms-2014-11-01.normal.json @@ -1685,7 +1685,8 @@ "INSUFFICIENT_CLOUDHSM_HSMS", "USER_LOCKED_OUT", "USER_NOT_FOUND", - "USER_LOGGED_IN" + "USER_LOGGED_IN", + "SUBNET_NOT_FOUND" ] }, "ConnectionStateType": { @@ -1889,7 +1890,7 @@ }, "ConnectionErrorCode": { "shape": "ConnectionErrorCodeType", - "documentation": "

Describes the connection error. This field appears in the response only when the ConnectionState is FAILED. For help resolving these errors, see How to Fix a Connection Failure in AWS Key Management Service Developer Guide.

Valid values are:

" + "documentation": "

Describes the connection error. This field appears in the response only when the ConnectionState is FAILED. For help resolving these errors, see How to Fix a Connection Failure in AWS Key Management Service Developer Guide.

Valid values are:

" }, "CreationDate": { "shape": "DateType", @@ -2551,7 +2552,7 @@ }, "PublicKey": { "shape": "PublicKeyType", - "documentation": "

The exported public key.

This value is returned as a binary Distinguished Encoding Rules (DER)-encoded object. To decode it, use an ASN.1 parsing tool, such as OpenSSL asn1parse.

" + "documentation": "

The exported public key.

The value is a DER-encoded X.509 public key, also known as SubjectPublicKeyInfo (SPKI), as defined in RFC 5280. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

" }, "CustomerMasterKeySpec": { "shape": "CustomerMasterKeySpec", @@ -3291,7 +3292,7 @@ }, "MessageType": { "shape": "MessageType", - "documentation": "

Tells AWS KMS whether the value of the Message parameter is a message or message digest. To indicate a message, enter RAW. To indicate a message digest, enter DIGEST.

" + "documentation": "

Tells AWS KMS whether the value of the Message parameter is a message or message digest. The default value, RAW, indicates a message. To indicate a message digest, enter DIGEST.

" }, "GrantTokens": { "shape": "GrantTokenList", @@ -3312,7 +3313,7 @@ }, "Signature": { "shape": "CiphertextType", - "documentation": "

The cryptographic signature that was generated for the message.

" + "documentation": "

The cryptographic signature that was generated for the message.

When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.

" }, "SigningAlgorithm": { "shape": "SigningAlgorithmSpec", diff --git a/clients/docdb.d.ts b/clients/docdb.d.ts index 60f87ad1c0..34472ea0fd 100644 --- a/clients/docdb.d.ts +++ b/clients/docdb.d.ts @@ -29,155 +29,155 @@ declare class DocDB extends Service { */ applyPendingMaintenanceAction(callback?: (err: AWSError, data: DocDB.Types.ApplyPendingMaintenanceActionResult) => void): Request; /** - * Copies the specified DB cluster parameter group. + * Copies the specified cluster parameter group. */ copyDBClusterParameterGroup(params: DocDB.Types.CopyDBClusterParameterGroupMessage, callback?: (err: AWSError, data: DocDB.Types.CopyDBClusterParameterGroupResult) => void): Request; /** - * Copies the specified DB cluster parameter group. + * Copies the specified cluster parameter group. */ copyDBClusterParameterGroup(callback?: (err: AWSError, data: DocDB.Types.CopyDBClusterParameterGroupResult) => void): Request; /** - * Copies a snapshot of a DB cluster. To copy a DB cluster snapshot from a shared manual DB cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared DB cluster snapshot. To cancel the copy operation after it is in progress, delete the target DB cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that DB cluster snapshot is in the copying status. + * Copies a snapshot of a cluster. To copy a cluster snapshot from a shared manual cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared cluster snapshot. To cancel the copy operation after it is in progress, delete the target cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that DB cluster snapshot is in the copying status. */ copyDBClusterSnapshot(params: DocDB.Types.CopyDBClusterSnapshotMessage, callback?: (err: AWSError, data: DocDB.Types.CopyDBClusterSnapshotResult) => void): Request; /** - * Copies a snapshot of a DB cluster. To copy a DB cluster snapshot from a shared manual DB cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared DB cluster snapshot. To cancel the copy operation after it is in progress, delete the target DB cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that DB cluster snapshot is in the copying status. + * Copies a snapshot of a cluster. To copy a cluster snapshot from a shared manual cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared cluster snapshot. To cancel the copy operation after it is in progress, delete the target cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that DB cluster snapshot is in the copying status. */ copyDBClusterSnapshot(callback?: (err: AWSError, data: DocDB.Types.CopyDBClusterSnapshotResult) => void): Request; /** - * Creates a new Amazon DocumentDB DB cluster. + * Creates a new Amazon DocumentDB cluster. */ createDBCluster(params: DocDB.Types.CreateDBClusterMessage, callback?: (err: AWSError, data: DocDB.Types.CreateDBClusterResult) => void): Request; /** - * Creates a new Amazon DocumentDB DB cluster. + * Creates a new Amazon DocumentDB cluster. */ createDBCluster(callback?: (err: AWSError, data: DocDB.Types.CreateDBClusterResult) => void): Request; /** - * Creates a new DB cluster parameter group. Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster. A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after you create it. After you create a DB cluster parameter group, you must associate it with your DB cluster. For the new DB cluster parameter group and associated settings to take effect, you must then reboot the DB instances in the DB cluster without failover. After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the DB cluster parameter group is used as the default for a new DB cluster. This step is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. + * Creates a new cluster parameter group. Parameters in a cluster parameter group apply to all of the instances in a DB cluster. A cluster parameter group is initially created with the default parameters for the database engine used by instances in the cluster. To provide custom values for any of the parameters, you must modify the group after you create it. After you create a DB cluster parameter group, you must associate it with your cluster. For the new DB cluster parameter group and associated settings to take effect, you must then reboot the instances in the cluster without failover. After you create a cluster parameter group, you should wait at least 5 minutes before creating your first cluster that uses that cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the cluster parameter group is used as the default for a new cluster. This step is especially important for parameters that are critical when creating the default database for a cluster, such as the character set for the default database defined by the character_set_database parameter. */ createDBClusterParameterGroup(params: DocDB.Types.CreateDBClusterParameterGroupMessage, callback?: (err: AWSError, data: DocDB.Types.CreateDBClusterParameterGroupResult) => void): Request; /** - * Creates a new DB cluster parameter group. Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster. A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after you create it. After you create a DB cluster parameter group, you must associate it with your DB cluster. For the new DB cluster parameter group and associated settings to take effect, you must then reboot the DB instances in the DB cluster without failover. After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the DB cluster parameter group is used as the default for a new DB cluster. This step is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. + * Creates a new cluster parameter group. Parameters in a cluster parameter group apply to all of the instances in a DB cluster. A cluster parameter group is initially created with the default parameters for the database engine used by instances in the cluster. To provide custom values for any of the parameters, you must modify the group after you create it. After you create a DB cluster parameter group, you must associate it with your cluster. For the new DB cluster parameter group and associated settings to take effect, you must then reboot the instances in the cluster without failover. After you create a cluster parameter group, you should wait at least 5 minutes before creating your first cluster that uses that cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the cluster parameter group is used as the default for a new cluster. This step is especially important for parameters that are critical when creating the default database for a cluster, such as the character set for the default database defined by the character_set_database parameter. */ createDBClusterParameterGroup(callback?: (err: AWSError, data: DocDB.Types.CreateDBClusterParameterGroupResult) => void): Request; /** - * Creates a snapshot of a DB cluster. + * Creates a snapshot of a cluster. */ createDBClusterSnapshot(params: DocDB.Types.CreateDBClusterSnapshotMessage, callback?: (err: AWSError, data: DocDB.Types.CreateDBClusterSnapshotResult) => void): Request; /** - * Creates a snapshot of a DB cluster. + * Creates a snapshot of a cluster. */ createDBClusterSnapshot(callback?: (err: AWSError, data: DocDB.Types.CreateDBClusterSnapshotResult) => void): Request; /** - * Creates a new DB instance. + * Creates a new instance. */ createDBInstance(params: DocDB.Types.CreateDBInstanceMessage, callback?: (err: AWSError, data: DocDB.Types.CreateDBInstanceResult) => void): Request; /** - * Creates a new DB instance. + * Creates a new instance. */ createDBInstance(callback?: (err: AWSError, data: DocDB.Types.CreateDBInstanceResult) => void): Request; /** - * Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region. + * Creates a new subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region. */ createDBSubnetGroup(params: DocDB.Types.CreateDBSubnetGroupMessage, callback?: (err: AWSError, data: DocDB.Types.CreateDBSubnetGroupResult) => void): Request; /** - * Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region. + * Creates a new subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region. */ createDBSubnetGroup(callback?: (err: AWSError, data: DocDB.Types.CreateDBSubnetGroupResult) => void): Request; /** - * Deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted. + * Deletes a previously provisioned cluster. When you delete a cluster, all automated backups for that cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified cluster are not deleted. */ deleteDBCluster(params: DocDB.Types.DeleteDBClusterMessage, callback?: (err: AWSError, data: DocDB.Types.DeleteDBClusterResult) => void): Request; /** - * Deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted. + * Deletes a previously provisioned cluster. When you delete a cluster, all automated backups for that cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified cluster are not deleted. */ deleteDBCluster(callback?: (err: AWSError, data: DocDB.Types.DeleteDBClusterResult) => void): Request; /** - * Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted can't be associated with any DB clusters. + * Deletes a specified cluster parameter group. The cluster parameter group to be deleted can't be associated with any clusters. */ deleteDBClusterParameterGroup(params: DocDB.Types.DeleteDBClusterParameterGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted can't be associated with any DB clusters. + * Deletes a specified cluster parameter group. The cluster parameter group to be deleted can't be associated with any clusters. */ deleteDBClusterParameterGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated. The DB cluster snapshot must be in the available state to be deleted. + * Deletes a cluster snapshot. If the snapshot is being copied, the copy operation is terminated. The cluster snapshot must be in the available state to be deleted. */ deleteDBClusterSnapshot(params: DocDB.Types.DeleteDBClusterSnapshotMessage, callback?: (err: AWSError, data: DocDB.Types.DeleteDBClusterSnapshotResult) => void): Request; /** - * Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated. The DB cluster snapshot must be in the available state to be deleted. + * Deletes a cluster snapshot. If the snapshot is being copied, the copy operation is terminated. The cluster snapshot must be in the available state to be deleted. */ deleteDBClusterSnapshot(callback?: (err: AWSError, data: DocDB.Types.DeleteDBClusterSnapshotResult) => void): Request; /** - * Deletes a previously provisioned DB instance. + * Deletes a previously provisioned instance. */ deleteDBInstance(params: DocDB.Types.DeleteDBInstanceMessage, callback?: (err: AWSError, data: DocDB.Types.DeleteDBInstanceResult) => void): Request; /** - * Deletes a previously provisioned DB instance. + * Deletes a previously provisioned instance. */ deleteDBInstance(callback?: (err: AWSError, data: DocDB.Types.DeleteDBInstanceResult) => void): Request; /** - * Deletes a DB subnet group. The specified database subnet group must not be associated with any DB instances. + * Deletes a subnet group. The specified database subnet group must not be associated with any DB instances. */ deleteDBSubnetGroup(params: DocDB.Types.DeleteDBSubnetGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a DB subnet group. The specified database subnet group must not be associated with any DB instances. + * Deletes a subnet group. The specified database subnet group must not be associated with any DB instances. */ deleteDBSubnetGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Returns a list of certificate authority (CA) certificates provided by Amazon RDS for this AWS account. + * Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this AWS account. For certain management features such as cluster and instance lifecycle management, Amazon DocumentDB leverages operational technology that is shared with Amazon RDS and Amazon Neptune. Use the filterName=engine,Values=docdb filter parameter to return only Amazon DocumentDB clusters. */ describeCertificates(params: DocDB.Types.DescribeCertificatesMessage, callback?: (err: AWSError, data: DocDB.Types.CertificateMessage) => void): Request; /** - * Returns a list of certificate authority (CA) certificates provided by Amazon RDS for this AWS account. + * Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this AWS account. For certain management features such as cluster and instance lifecycle management, Amazon DocumentDB leverages operational technology that is shared with Amazon RDS and Amazon Neptune. Use the filterName=engine,Values=docdb filter parameter to return only Amazon DocumentDB clusters. */ describeCertificates(callback?: (err: AWSError, data: DocDB.Types.CertificateMessage) => void): Request; /** - * Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list contains only the description of the specified DB cluster parameter group. + * Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list contains only the description of the specified cluster parameter group. */ describeDBClusterParameterGroups(params: DocDB.Types.DescribeDBClusterParameterGroupsMessage, callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupsMessage) => void): Request; /** - * Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list contains only the description of the specified DB cluster parameter group. + * Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list contains only the description of the specified cluster parameter group. */ describeDBClusterParameterGroups(callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupsMessage) => void): Request; /** - * Returns the detailed parameter list for a particular DB cluster parameter group. + * Returns the detailed parameter list for a particular cluster parameter group. */ describeDBClusterParameters(params: DocDB.Types.DescribeDBClusterParametersMessage, callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupDetails) => void): Request; /** - * Returns the detailed parameter list for a particular DB cluster parameter group. + * Returns the detailed parameter list for a particular cluster parameter group. */ describeDBClusterParameters(callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupDetails) => void): Request; /** - * Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot. When you share snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If all is included in the list of values for the restore attribute, then the manual DB cluster snapshot is public and can be copied or restored by all AWS accounts. + * Returns a list of cluster snapshot attribute names and values for a manual DB cluster snapshot. When you share snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual cluster snapshot. If all is included in the list of values for the restore attribute, then the manual cluster snapshot is public and can be copied or restored by all AWS accounts. */ describeDBClusterSnapshotAttributes(params: DocDB.Types.DescribeDBClusterSnapshotAttributesMessage, callback?: (err: AWSError, data: DocDB.Types.DescribeDBClusterSnapshotAttributesResult) => void): Request; /** - * Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot. When you share snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If all is included in the list of values for the restore attribute, then the manual DB cluster snapshot is public and can be copied or restored by all AWS accounts. + * Returns a list of cluster snapshot attribute names and values for a manual DB cluster snapshot. When you share snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual cluster snapshot. If all is included in the list of values for the restore attribute, then the manual cluster snapshot is public and can be copied or restored by all AWS accounts. */ describeDBClusterSnapshotAttributes(callback?: (err: AWSError, data: DocDB.Types.DescribeDBClusterSnapshotAttributesResult) => void): Request; /** - * Returns information about DB cluster snapshots. This API operation supports pagination. + * Returns information about cluster snapshots. This API operation supports pagination. */ describeDBClusterSnapshots(params: DocDB.Types.DescribeDBClusterSnapshotsMessage, callback?: (err: AWSError, data: DocDB.Types.DBClusterSnapshotMessage) => void): Request; /** - * Returns information about DB cluster snapshots. This API operation supports pagination. + * Returns information about cluster snapshots. This API operation supports pagination. */ describeDBClusterSnapshots(callback?: (err: AWSError, data: DocDB.Types.DBClusterSnapshotMessage) => void): Request; /** - * Returns information about provisioned Amazon DocumentDB DB clusters. This API operation supports pagination. + * Returns information about provisioned Amazon DocumentDB clusters. This API operation supports pagination. */ describeDBClusters(params: DocDB.Types.DescribeDBClustersMessage, callback?: (err: AWSError, data: DocDB.Types.DBClusterMessage) => void): Request; /** - * Returns information about provisioned Amazon DocumentDB DB clusters. This API operation supports pagination. + * Returns information about provisioned Amazon DocumentDB clusters. This API operation supports pagination. */ describeDBClusters(callback?: (err: AWSError, data: DocDB.Types.DBClusterMessage) => void): Request; /** - * Returns a list of the available DB engines. + * Returns a list of the available engines. */ describeDBEngineVersions(params: DocDB.Types.DescribeDBEngineVersionsMessage, callback?: (err: AWSError, data: DocDB.Types.DBEngineVersionMessage) => void): Request; /** - * Returns a list of the available DB engines. + * Returns a list of the available engines. */ describeDBEngineVersions(callback?: (err: AWSError, data: DocDB.Types.DBEngineVersionMessage) => void): Request; /** @@ -213,35 +213,35 @@ declare class DocDB extends Service { */ describeEventCategories(callback?: (err: AWSError, data: DocDB.Types.EventCategoriesMessage) => void): Request; /** - * Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, DB security group, DB snapshot, or DB parameter group by providing the name as a parameter. By default, the events of the past hour are returned. + * Returns events related to instances, security groups, snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, security group, snapshot, or parameter group by providing the name as a parameter. By default, the events of the past hour are returned. */ describeEvents(params: DocDB.Types.DescribeEventsMessage, callback?: (err: AWSError, data: DocDB.Types.EventsMessage) => void): Request; /** - * Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, DB security group, DB snapshot, or DB parameter group by providing the name as a parameter. By default, the events of the past hour are returned. + * Returns events related to instances, security groups, snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, security group, snapshot, or parameter group by providing the name as a parameter. By default, the events of the past hour are returned. */ describeEvents(callback?: (err: AWSError, data: DocDB.Types.EventsMessage) => void): Request; /** - * Returns a list of orderable DB instance options for the specified engine. + * Returns a list of orderable instance options for the specified engine. */ describeOrderableDBInstanceOptions(params: DocDB.Types.DescribeOrderableDBInstanceOptionsMessage, callback?: (err: AWSError, data: DocDB.Types.OrderableDBInstanceOptionsMessage) => void): Request; /** - * Returns a list of orderable DB instance options for the specified engine. + * Returns a list of orderable instance options for the specified engine. */ describeOrderableDBInstanceOptions(callback?: (err: AWSError, data: DocDB.Types.OrderableDBInstanceOptionsMessage) => void): Request; /** - * Returns a list of resources (for example, DB instances) that have at least one pending maintenance action. + * Returns a list of resources (for example, instances) that have at least one pending maintenance action. */ describePendingMaintenanceActions(params: DocDB.Types.DescribePendingMaintenanceActionsMessage, callback?: (err: AWSError, data: DocDB.Types.PendingMaintenanceActionsMessage) => void): Request; /** - * Returns a list of resources (for example, DB instances) that have at least one pending maintenance action. + * Returns a list of resources (for example, instances) that have at least one pending maintenance action. */ describePendingMaintenanceActions(callback?: (err: AWSError, data: DocDB.Types.PendingMaintenanceActionsMessage) => void): Request; /** - * Forces a failover for a DB cluster. A failover for a DB cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the DB cluster to be the primary instance (the cluster writer). If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one exists. You can force a failover when you want to simulate a failure of a primary instance for testing. + * Forces a failover for a cluster. A failover for a cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the cluster to be the primary instance (the cluster writer). If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one exists. You can force a failover when you want to simulate a failure of a primary instance for testing. */ failoverDBCluster(params: DocDB.Types.FailoverDBClusterMessage, callback?: (err: AWSError, data: DocDB.Types.FailoverDBClusterResult) => void): Request; /** - * Forces a failover for a DB cluster. A failover for a DB cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the DB cluster to be the primary instance (the cluster writer). If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one exists. You can force a failover when you want to simulate a failure of a primary instance for testing. + * Forces a failover for a cluster. A failover for a cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the cluster to be the primary instance (the cluster writer). If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one exists. You can force a failover when you want to simulate a failure of a primary instance for testing. */ failoverDBCluster(callback?: (err: AWSError, data: DocDB.Types.FailoverDBClusterResult) => void): Request; /** @@ -253,51 +253,51 @@ declare class DocDB extends Service { */ listTagsForResource(callback?: (err: AWSError, data: DocDB.Types.TagListMessage) => void): Request; /** - * Modifies a setting for an Amazon DocumentDB DB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. + * Modifies a setting for an Amazon DocumentDB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. */ modifyDBCluster(params: DocDB.Types.ModifyDBClusterMessage, callback?: (err: AWSError, data: DocDB.Types.ModifyDBClusterResult) => void): Request; /** - * Modifies a setting for an Amazon DocumentDB DB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. + * Modifies a setting for an Amazon DocumentDB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. */ modifyDBCluster(callback?: (err: AWSError, data: DocDB.Types.ModifyDBClusterResult) => void): Request; /** - * Modifies the parameters of a DB cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request. Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot or maintenance window before the change can take effect. After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the parameter group is used as the default for a new DB cluster. This step is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. + * Modifies the parameters of a cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request. Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot or maintenance window before the change can take effect. After you create a cluster parameter group, you should wait at least 5 minutes before creating your first cluster that uses that cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the parameter group is used as the default for a new cluster. This step is especially important for parameters that are critical when creating the default database for a cluster, such as the character set for the default database defined by the character_set_database parameter. */ modifyDBClusterParameterGroup(params: DocDB.Types.ModifyDBClusterParameterGroupMessage, callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupNameMessage) => void): Request; /** - * Modifies the parameters of a DB cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request. Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot or maintenance window before the change can take effect. After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the parameter group is used as the default for a new DB cluster. This step is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. + * Modifies the parameters of a cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request. Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot or maintenance window before the change can take effect. After you create a cluster parameter group, you should wait at least 5 minutes before creating your first cluster that uses that cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the parameter group is used as the default for a new cluster. This step is especially important for parameters that are critical when creating the default database for a cluster, such as the character set for the default database defined by the character_set_database parameter. */ modifyDBClusterParameterGroup(callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupNameMessage) => void): Request; /** - * Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot. To share a manual DB cluster snapshot with other AWS accounts, specify restore as the AttributeName, and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB cluster snapshot. Use the value all to make the manual DB cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. If a manual DB cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case. + * Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot. To share a manual cluster snapshot with other AWS accounts, specify restore as the AttributeName, and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual cluster snapshot. Use the value all to make the manual cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. If a manual cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case. */ modifyDBClusterSnapshotAttribute(params: DocDB.Types.ModifyDBClusterSnapshotAttributeMessage, callback?: (err: AWSError, data: DocDB.Types.ModifyDBClusterSnapshotAttributeResult) => void): Request; /** - * Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot. To share a manual DB cluster snapshot with other AWS accounts, specify restore as the AttributeName, and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB cluster snapshot. Use the value all to make the manual DB cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. If a manual DB cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case. + * Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot. To share a manual cluster snapshot with other AWS accounts, specify restore as the AttributeName, and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual cluster snapshot. Use the value all to make the manual cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. If a manual cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case. */ modifyDBClusterSnapshotAttribute(callback?: (err: AWSError, data: DocDB.Types.ModifyDBClusterSnapshotAttributeResult) => void): Request; /** - * Modifies settings for a DB instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. + * Modifies settings for an instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. */ modifyDBInstance(params: DocDB.Types.ModifyDBInstanceMessage, callback?: (err: AWSError, data: DocDB.Types.ModifyDBInstanceResult) => void): Request; /** - * Modifies settings for a DB instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. + * Modifies settings for an instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. */ modifyDBInstance(callback?: (err: AWSError, data: DocDB.Types.ModifyDBInstanceResult) => void): Request; /** - * Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region. + * Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region. */ modifyDBSubnetGroup(params: DocDB.Types.ModifyDBSubnetGroupMessage, callback?: (err: AWSError, data: DocDB.Types.ModifyDBSubnetGroupResult) => void): Request; /** - * Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region. + * Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region. */ modifyDBSubnetGroup(callback?: (err: AWSError, data: DocDB.Types.ModifyDBSubnetGroupResult) => void): Request; /** - * You might need to reboot your DB instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the DB cluster parameter group that is associated with the DB instance, you must reboot the instance for the changes to take effect. Rebooting a DB instance restarts the database engine service. Rebooting a DB instance results in a momentary outage, during which the DB instance status is set to rebooting. + * You might need to reboot your instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the cluster parameter group that is associated with the instance, you must reboot the instance for the changes to take effect. Rebooting an instance restarts the database engine service. Rebooting an instance results in a momentary outage, during which the instance status is set to rebooting. */ rebootDBInstance(params: DocDB.Types.RebootDBInstanceMessage, callback?: (err: AWSError, data: DocDB.Types.RebootDBInstanceResult) => void): Request; /** - * You might need to reboot your DB instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the DB cluster parameter group that is associated with the DB instance, you must reboot the instance for the changes to take effect. Rebooting a DB instance restarts the database engine service. Rebooting a DB instance results in a momentary outage, during which the DB instance status is set to rebooting. + * You might need to reboot your instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the cluster parameter group that is associated with the instance, you must reboot the instance for the changes to take effect. Rebooting an instance restarts the database engine service. Rebooting an instance results in a momentary outage, during which the instance status is set to rebooting. */ rebootDBInstance(callback?: (err: AWSError, data: DocDB.Types.RebootDBInstanceResult) => void): Request; /** @@ -309,27 +309,27 @@ declare class DocDB extends Service { */ removeTagsFromResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Modifies the parameters of a DB cluster parameter group to the default value. To reset specific parameters, submit a list of the following: ParameterName and ApplyMethod. To reset the entire DB cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters. When you reset the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance reboot. + * Modifies the parameters of a cluster parameter group to the default value. To reset specific parameters, submit a list of the following: ParameterName and ApplyMethod. To reset the entire cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters. When you reset the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance reboot. */ resetDBClusterParameterGroup(params: DocDB.Types.ResetDBClusterParameterGroupMessage, callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupNameMessage) => void): Request; /** - * Modifies the parameters of a DB cluster parameter group to the default value. To reset specific parameters, submit a list of the following: ParameterName and ApplyMethod. To reset the entire DB cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters. When you reset the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance reboot. + * Modifies the parameters of a cluster parameter group to the default value. To reset specific parameters, submit a list of the following: ParameterName and ApplyMethod. To reset the entire cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters. When you reset the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance reboot. */ resetDBClusterParameterGroup(callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupNameMessage) => void): Request; /** - * Creates a new DB cluster from a DB snapshot or DB cluster snapshot. If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. + * Creates a new cluster from a snapshot or cluster snapshot. If a snapshot is specified, the target cluster is created from the source DB snapshot with a default configuration and default security group. If a cluster snapshot is specified, the target cluster is created from the source cluster restore point with the same configuration as the original source DB cluster, except that the new cluster is created with the default security group. */ restoreDBClusterFromSnapshot(params: DocDB.Types.RestoreDBClusterFromSnapshotMessage, callback?: (err: AWSError, data: DocDB.Types.RestoreDBClusterFromSnapshotResult) => void): Request; /** - * Creates a new DB cluster from a DB snapshot or DB cluster snapshot. If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. + * Creates a new cluster from a snapshot or cluster snapshot. If a snapshot is specified, the target cluster is created from the source DB snapshot with a default configuration and default security group. If a cluster snapshot is specified, the target cluster is created from the source cluster restore point with the same configuration as the original source DB cluster, except that the new cluster is created with the default security group. */ restoreDBClusterFromSnapshot(callback?: (err: AWSError, data: DocDB.Types.RestoreDBClusterFromSnapshotResult) => void): Request; /** - * Restores a DB cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target DB cluster is created from the source DB cluster with the same configuration as the original DB cluster, except that the new DB cluster is created with the default DB security group. + * Restores a cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target cluster is created from the source cluster with the same configuration as the original cluster, except that the new cluster is created with the default security group. */ restoreDBClusterToPointInTime(params: DocDB.Types.RestoreDBClusterToPointInTimeMessage, callback?: (err: AWSError, data: DocDB.Types.RestoreDBClusterToPointInTimeResult) => void): Request; /** - * Restores a DB cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target DB cluster is created from the source DB cluster with the same configuration as the original DB cluster, except that the new DB cluster is created with the default DB security group. + * Restores a cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target cluster is created from the source cluster with the same configuration as the original cluster, except that the new cluster is created with the default security group. */ restoreDBClusterToPointInTime(callback?: (err: AWSError, data: DocDB.Types.RestoreDBClusterToPointInTimeResult) => void): Request; /** @@ -454,15 +454,15 @@ declare namespace DocDB { } export interface CopyDBClusterParameterGroupMessage { /** - * The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. Constraints: Must specify a valid DB cluster parameter group. If the source DB cluster parameter group is in the same AWS Region as the copy, specify a valid DB parameter group identifier; for example, my-db-cluster-param-group, or a valid ARN. If the source DB parameter group is in a different AWS Region than the copy, specify a valid DB cluster parameter group ARN; for example, arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1. + * The identifier or Amazon Resource Name (ARN) for the source cluster parameter group. Constraints: Must specify a valid cluster parameter group. If the source cluster parameter group is in the same AWS Region as the copy, specify a valid parameter group identifier; for example, my-db-cluster-param-group, or a valid ARN. If the source parameter group is in a different AWS Region than the copy, specify a valid cluster parameter group ARN; for example, arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1. */ SourceDBClusterParameterGroupIdentifier: String; /** - * The identifier for the copied DB cluster parameter group. Constraints: Cannot be null, empty, or blank. Must contain from 1 to 255 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster-param-group1 + * The identifier for the copied cluster parameter group. Constraints: Cannot be null, empty, or blank. Must contain from 1 to 255 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster-param-group1 */ TargetDBClusterParameterGroupIdentifier: String; /** - * A description for the copied DB cluster parameter group. + * A description for the copied cluster parameter group. */ TargetDBClusterParameterGroupDescription: String; /** @@ -475,27 +475,27 @@ declare namespace DocDB { } export interface CopyDBClusterSnapshotMessage { /** - * The identifier of the DB cluster snapshot to copy. This parameter is not case sensitive. You can't copy an encrypted, shared DB cluster snapshot from one AWS Region to another. Constraints: Must specify a valid system snapshot in the "available" state. If the source snapshot is in the same AWS Region as the copy, specify a valid DB snapshot identifier. If the source snapshot is in a different AWS Region than the copy, specify a valid DB cluster snapshot ARN. Example: my-cluster-snapshot1 + * The identifier of the cluster snapshot to copy. This parameter is not case sensitive. You can't copy an encrypted, shared cluster snapshot from one AWS Region to another. Constraints: Must specify a valid system snapshot in the "available" state. If the source snapshot is in the same AWS Region as the copy, specify a valid snapshot identifier. If the source snapshot is in a different AWS Region than the copy, specify a valid cluster snapshot ARN. Example: my-cluster-snapshot1 */ SourceDBClusterSnapshotIdentifier: String; /** - * The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case sensitive. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster-snapshot2 + * The identifier of the new cluster snapshot to create from the source cluster snapshot. This parameter is not case sensitive. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster-snapshot2 */ TargetDBClusterSnapshotIdentifier: String; /** - * The AWS KMS key ID for an encrypted DB cluster snapshot. The AWS KMS key ID is the Amazon Resource Name (ARN), AWS KMS key identifier, or the AWS KMS key alias for the AWS KMS encryption key. If you copy an encrypted DB cluster snapshot from your AWS account, you can specify a value for KmsKeyId to encrypt the copy with a new AWS KMS encryption key. If you don't specify a value for KmsKeyId, then the copy of the DB cluster snapshot is encrypted with the same AWS KMS key as the source DB cluster snapshot. If you copy an encrypted DB cluster snapshot that is shared from another AWS account, then you must specify a value for KmsKeyId. To copy an encrypted DB cluster snapshot to another AWS Region, set KmsKeyId to the AWS KMS key ID that you want to use to encrypt the copy of the DB cluster snapshot in the destination Region. AWS KMS encryption keys are specific to the AWS Region that they are created in, and you can't use encryption keys from one Region in another Region. If you copy an unencrypted DB cluster snapshot and specify a value for the KmsKeyId parameter, an error is returned. + * The AWS KMS key ID for an encrypted cluster snapshot. The AWS KMS key ID is the Amazon Resource Name (ARN), AWS KMS key identifier, or the AWS KMS key alias for the AWS KMS encryption key. If you copy an encrypted cluster snapshot from your AWS account, you can specify a value for KmsKeyId to encrypt the copy with a new AWS KMS encryption key. If you don't specify a value for KmsKeyId, then the copy of the cluster snapshot is encrypted with the same AWS KMS key as the source cluster snapshot. If you copy an encrypted cluster snapshot that is shared from another AWS account, then you must specify a value for KmsKeyId. To copy an encrypted cluster snapshot to another AWS Region, set KmsKeyId to the AWS KMS key ID that you want to use to encrypt the copy of the cluster snapshot in the destination Region. AWS KMS encryption keys are specific to the AWS Region that they are created in, and you can't use encryption keys from one Region in another Region. If you copy an unencrypted cluster snapshot and specify a value for the KmsKeyId parameter, an error is returned. */ KmsKeyId?: String; /** - * The URL that contains a Signature Version 4 signed request for the CopyDBClusterSnapshot API action in the AWS Region that contains the source DB cluster snapshot to copy. You must use the PreSignedUrl parameter when copying an encrypted DB cluster snapshot from another AWS Region. The presigned URL must be a valid request for the CopyDBSClusterSnapshot API action that can be executed in the source AWS Region that contains the encrypted DB cluster snapshot to be copied. The presigned URL request must contain the following parameter values: KmsKeyId - The AWS KMS key identifier for the key to use to encrypt the copy of the DB cluster snapshot in the destination AWS Region. This is the same identifier for both the CopyDBClusterSnapshot action that is called in the destination AWS Region, and the action contained in the presigned URL. DestinationRegion - The name of the AWS Region that the DB cluster snapshot will be created in. SourceDBClusterSnapshotIdentifier - The DB cluster snapshot identifier for the encrypted DB cluster snapshot to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source AWS Region. For example, if you are copying an encrypted DB cluster snapshot from the us-west-2 AWS Region, then your SourceDBClusterSnapshotIdentifier looks like the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:my-cluster-snapshot-20161115. + * The URL that contains a Signature Version 4 signed request for the CopyDBClusterSnapshot API action in the AWS Region that contains the source cluster snapshot to copy. You must use the PreSignedUrl parameter when copying an encrypted cluster snapshot from another AWS Region. The presigned URL must be a valid request for the CopyDBSClusterSnapshot API action that can be executed in the source AWS Region that contains the encrypted DB cluster snapshot to be copied. The presigned URL request must contain the following parameter values: KmsKeyId - The AWS KMS key identifier for the key to use to encrypt the copy of the cluster snapshot in the destination AWS Region. This is the same identifier for both the CopyDBClusterSnapshot action that is called in the destination AWS Region, and the action contained in the presigned URL. DestinationRegion - The name of the AWS Region that the DB cluster snapshot will be created in. SourceDBClusterSnapshotIdentifier - The cluster snapshot identifier for the encrypted cluster snapshot to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source AWS Region. For example, if you are copying an encrypted cluster snapshot from the us-west-2 AWS Region, then your SourceDBClusterSnapshotIdentifier looks like the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:my-cluster-snapshot-20161115. */ PreSignedUrl?: String; /** - * Set to true to copy all tags from the source DB cluster snapshot to the target DB cluster snapshot, and otherwise false. The default is false. + * Set to true to copy all tags from the source cluster snapshot to the target cluster snapshot, and otherwise false. The default is false. */ CopyTags?: BooleanOptional; /** - * The tags to be assigned to the DB cluster snapshot. + * The tags to be assigned to the cluster snapshot. */ Tags?: TagList; } @@ -504,7 +504,7 @@ declare namespace DocDB { } export interface CreateDBClusterMessage { /** - * A list of Amazon EC2 Availability Zones that instances in the DB cluster can be created in. + * A list of Amazon EC2 Availability Zones that instances in the cluster can be created in. */ AvailabilityZones?: AvailabilityZones; /** @@ -512,23 +512,23 @@ declare namespace DocDB { */ BackupRetentionPeriod?: IntegerOptional; /** - * The DB cluster identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster + * The cluster identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster */ DBClusterIdentifier: String; /** - * The name of the DB cluster parameter group to associate with this DB cluster. + * The name of the cluster parameter group to associate with this cluster. */ DBClusterParameterGroupName?: String; /** - * A list of EC2 VPC security groups to associate with this DB cluster. + * A list of EC2 VPC security groups to associate with this cluster. */ VpcSecurityGroupIds?: VpcSecurityGroupIdList; /** - * A DB subnet group to associate with this DB cluster. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup + * A subnet group to associate with this cluster. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup */ DBSubnetGroupName?: String; /** - * The name of the database engine to be used for this DB cluster. Valid values: docdb + * The name of the database engine to be used for this cluster. Valid values: docdb */ Engine: String; /** @@ -536,11 +536,11 @@ declare namespace DocDB { */ EngineVersion?: String; /** - * The port number on which the instances in the DB cluster accept connections. + * The port number on which the instances in the cluster accept connections. */ Port?: IntegerOptional; /** - * The name of the master user for the DB cluster. Constraints: Must be from 1 to 63 letters or numbers. The first character must be a letter. Cannot be a reserved word for the chosen database engine. + * The name of the master user for the cluster. Constraints: Must be from 1 to 63 letters or numbers. The first character must be a letter. Cannot be a reserved word for the chosen database engine. */ MasterUsername: String; /** @@ -556,15 +556,15 @@ declare namespace DocDB { */ PreferredMaintenanceWindow?: String; /** - * The tags to be assigned to the DB cluster. + * The tags to be assigned to the cluster. */ Tags?: TagList; /** - * Specifies whether the DB cluster is encrypted. + * Specifies whether the cluster is encrypted. */ StorageEncrypted?: BooleanOptional; /** - * The AWS KMS key identifier for an encrypted DB cluster. The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are creating a DB cluster using the same AWS account that owns the AWS KMS encryption key that is used to encrypt the new DB cluster, you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key. If an encryption key is not specified in KmsKeyId: If ReplicationSourceIdentifier identifies an encrypted source, then Amazon DocumentDB uses the encryption key that is used to encrypt the source. Otherwise, Amazon DocumentDB uses your default encryption key. If the StorageEncrypted parameter is true and ReplicationSourceIdentifier is not specified, Amazon DocumentDB uses your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region. If you create a replica of an encrypted DB cluster in another AWS Region, you must set KmsKeyId to a KMS key ID that is valid in the destination AWS Region. This key is used to encrypt the replica in that AWS Region. + * The AWS KMS key identifier for an encrypted cluster. The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are creating a cluster using the same AWS account that owns the AWS KMS encryption key that is used to encrypt the new cluster, you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key. If an encryption key is not specified in KmsKeyId: If ReplicationSourceIdentifier identifies an encrypted source, then Amazon DocumentDB uses the encryption key that is used to encrypt the source. Otherwise, Amazon DocumentDB uses your default encryption key. If the StorageEncrypted parameter is true and ReplicationSourceIdentifier is not specified, Amazon DocumentDB uses your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region. If you create a replica of an encrypted cluster in another AWS Region, you must set KmsKeyId to a KMS key ID that is valid in the destination AWS Region. This key is used to encrypt the replica in that AWS Region. */ KmsKeyId?: String; /** @@ -578,19 +578,19 @@ declare namespace DocDB { } export interface CreateDBClusterParameterGroupMessage { /** - * The name of the DB cluster parameter group. Constraints: Must match the name of an existing DBClusterParameterGroup. This value is stored as a lowercase string. + * The name of the cluster parameter group. Constraints: Must match the name of an existing DBClusterParameterGroup. This value is stored as a lowercase string. */ DBClusterParameterGroupName: String; /** - * The DB cluster parameter group family name. + * The cluster parameter group family name. */ DBParameterGroupFamily: String; /** - * The description for the DB cluster parameter group. + * The description for the cluster parameter group. */ Description: String; /** - * The tags to be assigned to the DB cluster parameter group. + * The tags to be assigned to the cluster parameter group. */ Tags?: TagList; } @@ -602,15 +602,15 @@ declare namespace DocDB { } export interface CreateDBClusterSnapshotMessage { /** - * The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster-snapshot1 + * The identifier of the cluster snapshot. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster-snapshot1 */ DBClusterSnapshotIdentifier: String; /** - * The identifier of the DB cluster to create a snapshot for. This parameter is not case sensitive. Constraints: Must match the identifier of an existing DBCluster. Example: my-cluster + * The identifier of the cluster to create a snapshot for. This parameter is not case sensitive. Constraints: Must match the identifier of an existing DBCluster. Example: my-cluster */ DBClusterIdentifier: String; /** - * The tags to be assigned to the DB cluster snapshot. + * The tags to be assigned to the cluster snapshot. */ Tags?: TagList; } @@ -619,11 +619,11 @@ declare namespace DocDB { } export interface CreateDBInstanceMessage { /** - * The DB instance identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: mydbinstance + * The instance identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: mydbinstance */ DBInstanceIdentifier: String; /** - * The compute and memory capacity of the DB instance; for example, db.r5.large. + * The compute and memory capacity of the instance; for example, db.r5.large. */ DBInstanceClass: String; /** @@ -631,7 +631,7 @@ declare namespace DocDB { */ Engine: String; /** - * The Amazon EC2 Availability Zone that the DB instance is created in. Default: A random, system-chosen Availability Zone in the endpoint's AWS Region. Example: us-east-1d Constraint: The AvailabilityZone parameter can't be specified if the MultiAZ parameter is set to true. The specified Availability Zone must be in the same AWS Region as the current endpoint. + * The Amazon EC2 Availability Zone that the instance is created in. Default: A random, system-chosen Availability Zone in the endpoint's AWS Region. Example: us-east-1d Constraint: The AvailabilityZone parameter can't be specified if the MultiAZ parameter is set to true. The specified Availability Zone must be in the same AWS Region as the current endpoint. */ AvailabilityZone?: String; /** @@ -639,15 +639,15 @@ declare namespace DocDB { */ PreferredMaintenanceWindow?: String; /** - * Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. Default: true + * Indicates that minor engine upgrades are applied automatically to the instance during the maintenance window. Default: true */ AutoMinorVersionUpgrade?: BooleanOptional; /** - * The tags to be assigned to the DB instance. You can assign up to 10 tags to an instance. + * The tags to be assigned to the instance. You can assign up to 10 tags to an instance. */ Tags?: TagList; /** - * The identifier of the DB cluster that the instance will belong to. + * The identifier of the cluster that the instance will belong to. */ DBClusterIdentifier: String; /** @@ -660,19 +660,19 @@ declare namespace DocDB { } export interface CreateDBSubnetGroupMessage { /** - * The name for the DB subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup + * The name for the subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup */ DBSubnetGroupName: String; /** - * The description for the DB subnet group. + * The description for the subnet group. */ DBSubnetGroupDescription: String; /** - * The Amazon EC2 subnet IDs for the DB subnet group. + * The Amazon EC2 subnet IDs for the subnet group. */ SubnetIds: SubnetIdentifierList; /** - * The tags to be assigned to the DB subnet group. + * The tags to be assigned to the subnet group. */ Tags?: TagList; } @@ -681,27 +681,27 @@ declare namespace DocDB { } export interface DBCluster { /** - * Provides the list of Amazon EC2 Availability Zones that instances in the DB cluster can be created in. + * Provides the list of Amazon EC2 Availability Zones that instances in the cluster can be created in. */ AvailabilityZones?: AvailabilityZones; /** - * Specifies the number of days for which automatic DB snapshots are retained. + * Specifies the number of days for which automatic snapshots are retained. */ BackupRetentionPeriod?: IntegerOptional; /** - * Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster. + * Contains a user-supplied cluster identifier. This identifier is the unique key that identifies a cluster. */ DBClusterIdentifier?: String; /** - * Specifies the name of the DB cluster parameter group for the DB cluster. + * Specifies the name of the cluster parameter group for the cluster. */ DBClusterParameterGroup?: String; /** - * Specifies information on the subnet group that is associated with the DB cluster, including the name, description, and subnets in the subnet group. + * Specifies information on the subnet group that is associated with the cluster, including the name, description, and subnets in the subnet group. */ DBSubnetGroup?: String; /** - * Specifies the current state of this DB cluster. + * Specifies the current state of this cluster. */ Status?: String; /** @@ -713,19 +713,19 @@ declare namespace DocDB { */ EarliestRestorableTime?: TStamp; /** - * Specifies the connection endpoint for the primary instance of the DB cluster. + * Specifies the connection endpoint for the primary instance of the cluster. */ Endpoint?: String; /** - * The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load balances connections across the Amazon DocumentDB replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Amazon DocumentDB distributes the connection requests among the Amazon DocumentDB replicas in the DB cluster. This functionality can help balance your read workload across multiple Amazon DocumentDB replicas in your DB cluster. If a failover occurs, and the Amazon DocumentDB replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Amazon DocumentDB replicas in the cluster, you can then reconnect to the reader endpoint. + * The reader endpoint for the cluster. The reader endpoint for a cluster load balances connections across the Amazon DocumentDB replicas that are available in a cluster. As clients request new connections to the reader endpoint, Amazon DocumentDB distributes the connection requests among the Amazon DocumentDB replicas in the cluster. This functionality can help balance your read workload across multiple Amazon DocumentDB replicas in your cluster. If a failover occurs, and the Amazon DocumentDB replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Amazon DocumentDB replicas in the cluster, you can then reconnect to the reader endpoint. */ ReaderEndpoint?: String; /** - * Specifies whether the DB cluster has instances in multiple Availability Zones. + * Specifies whether the cluster has instances in multiple Availability Zones. */ MultiAZ?: Boolean; /** - * Provides the name of the database engine to be used for this DB cluster. + * Provides the name of the database engine to be used for this cluster. */ Engine?: String; /** @@ -741,7 +741,7 @@ declare namespace DocDB { */ Port?: IntegerOptional; /** - * Contains the master user name for the DB cluster. + * Contains the master user name for the cluster. */ MasterUsername?: String; /** @@ -753,11 +753,11 @@ declare namespace DocDB { */ PreferredMaintenanceWindow?: String; /** - * Provides the list of instances that make up the DB cluster. + * Provides the list of instances that make up the cluster. */ DBClusterMembers?: DBClusterMemberList; /** - * Provides a list of virtual private cloud (VPC) security groups that the DB cluster belongs to. + * Provides a list of virtual private cloud (VPC) security groups that the cluster belongs to. */ VpcSecurityGroups?: VpcSecurityGroupMembershipList; /** @@ -765,31 +765,31 @@ declare namespace DocDB { */ HostedZoneId?: String; /** - * Specifies whether the DB cluster is encrypted. + * Specifies whether the cluster is encrypted. */ StorageEncrypted?: Boolean; /** - * If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster. + * If StorageEncrypted is true, the AWS KMS key identifier for the encrypted cluster. */ KmsKeyId?: String; /** - * The AWS Region-unique, immutable identifier for the DB cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB cluster is accessed. + * The AWS Region-unique, immutable identifier for the cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the cluster is accessed. */ DbClusterResourceId?: String; /** - * The Amazon Resource Name (ARN) for the DB cluster. + * The Amazon Resource Name (ARN) for the cluster. */ DBClusterArn?: String; /** - * Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf. + * Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the cluster. IAM roles that are associated with a cluster grant permission for the cluster to access other AWS services on your behalf. */ AssociatedRoles?: DBClusterRoles; /** - * Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC). + * Specifies the time when the cluster was created, in Universal Coordinated Time (UTC). */ ClusterCreateTime?: TStamp; /** - * A list of log types that this DB cluster is configured to export to Amazon CloudWatch Logs. + * A list of log types that this cluster is configured to export to Amazon CloudWatch Logs. */ EnabledCloudwatchLogsExports?: LogTypeList; /** @@ -800,15 +800,15 @@ declare namespace DocDB { export type DBClusterList = DBCluster[]; export interface DBClusterMember { /** - * Specifies the instance identifier for this member of the DB cluster. + * Specifies the instance identifier for this member of the cluster. */ DBInstanceIdentifier?: String; /** - * A value that is true if the cluster member is the primary instance for the DB cluster and false otherwise. + * A value that is true if the cluster member is the primary instance for the cluster and false otherwise. */ IsClusterWriter?: Boolean; /** - * Specifies the status of the DB cluster parameter group for this member of the DB cluster. + * Specifies the status of the cluster parameter group for this member of the DB cluster. */ DBClusterParameterGroupStatus?: String; /** @@ -823,31 +823,31 @@ declare namespace DocDB { */ Marker?: String; /** - * A list of DB clusters. + * A list of clusters. */ DBClusters?: DBClusterList; } export interface DBClusterParameterGroup { /** - * Provides the name of the DB cluster parameter group. + * Provides the name of the cluster parameter group. */ DBClusterParameterGroupName?: String; /** - * Provides the name of the DB parameter group family that this DB cluster parameter group is compatible with. + * Provides the name of the parameter group family that this cluster parameter group is compatible with. */ DBParameterGroupFamily?: String; /** - * Provides the customer-specified description for this DB cluster parameter group. + * Provides the customer-specified description for this cluster parameter group. */ Description?: String; /** - * The Amazon Resource Name (ARN) for the DB cluster parameter group. + * The Amazon Resource Name (ARN) for the cluster parameter group. */ DBClusterParameterGroupArn?: String; } export interface DBClusterParameterGroupDetails { /** - * Provides a list of parameters for the DB cluster parameter group. + * Provides a list of parameters for the cluster parameter group. */ Parameters?: ParametersList; /** @@ -858,7 +858,7 @@ declare namespace DocDB { export type DBClusterParameterGroupList = DBClusterParameterGroup[]; export interface DBClusterParameterGroupNameMessage { /** - * The name of a DB cluster parameter group. Constraints: Must be from 1 to 255 letters or numbers. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. This value is stored as a lowercase string. + * The name of a cluster parameter group. Constraints: Must be from 1 to 255 letters or numbers. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. This value is stored as a lowercase string. */ DBClusterParameterGroupName?: String; } @@ -868,7 +868,7 @@ declare namespace DocDB { */ Marker?: String; /** - * A list of DB cluster parameter groups. + * A list of cluster parameter groups. */ DBClusterParameterGroups?: DBClusterParameterGroupList; } @@ -878,22 +878,22 @@ declare namespace DocDB { */ RoleArn?: String; /** - * Describes the state of association between the IAM role and the DB cluster. The Status property returns one of the following values: ACTIVE - The IAM role ARN is associated with the DB cluster and can be used to access other AWS services on your behalf. PENDING - The IAM role ARN is being associated with the DB cluster. INVALID - The IAM role ARN is associated with the DB cluster, but the DB cluster cannot assume the IAM role to access other AWS services on your behalf. + * Describes the state of association between the IAM role and the cluster. The Status property returns one of the following values: ACTIVE - The IAM role ARN is associated with the cluster and can be used to access other AWS services on your behalf. PENDING - The IAM role ARN is being associated with the DB cluster. INVALID - The IAM role ARN is associated with the cluster, but the cluster cannot assume the IAM role to access other AWS services on your behalf. */ Status?: String; } export type DBClusterRoles = DBClusterRole[]; export interface DBClusterSnapshot { /** - * Provides the list of Amazon EC2 Availability Zones that instances in the DB cluster snapshot can be restored in. + * Provides the list of Amazon EC2 Availability Zones that instances in the cluster snapshot can be restored in. */ AvailabilityZones?: AvailabilityZones; /** - * Specifies the identifier for the DB cluster snapshot. + * Specifies the identifier for the cluster snapshot. */ DBClusterSnapshotIdentifier?: String; /** - * Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from. + * Specifies the cluster identifier of the cluster that this cluster snapshot was created from. */ DBClusterIdentifier?: String; /** @@ -905,31 +905,31 @@ declare namespace DocDB { */ Engine?: String; /** - * Specifies the status of this DB cluster snapshot. + * Specifies the status of this cluster snapshot. */ Status?: String; /** - * Specifies the port that the DB cluster was listening on at the time of the snapshot. + * Specifies the port that the cluster was listening on at the time of the snapshot. */ Port?: Integer; /** - * Provides the virtual private cloud (VPC) ID that is associated with the DB cluster snapshot. + * Provides the virtual private cloud (VPC) ID that is associated with the cluster snapshot. */ VpcId?: String; /** - * Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC). + * Specifies the time when the cluster was created, in Universal Coordinated Time (UTC). */ ClusterCreateTime?: TStamp; /** - * Provides the master user name for the DB cluster snapshot. + * Provides the master user name for the cluster snapshot. */ MasterUsername?: String; /** - * Provides the version of the database engine for this DB cluster snapshot. + * Provides the version of the database engine for this cluster snapshot. */ EngineVersion?: String; /** - * Provides the type of the DB cluster snapshot. + * Provides the type of the cluster snapshot. */ SnapshotType?: String; /** @@ -937,40 +937,40 @@ declare namespace DocDB { */ PercentProgress?: Integer; /** - * Specifies whether the DB cluster snapshot is encrypted. + * Specifies whether the cluster snapshot is encrypted. */ StorageEncrypted?: Boolean; /** - * If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot. + * If StorageEncrypted is true, the AWS KMS key identifier for the encrypted cluster snapshot. */ KmsKeyId?: String; /** - * The Amazon Resource Name (ARN) for the DB cluster snapshot. + * The Amazon Resource Name (ARN) for the cluster snapshot. */ DBClusterSnapshotArn?: String; /** - * If the DB cluster snapshot was copied from a source DB cluster snapshot, the ARN for the source DB cluster snapshot; otherwise, a null value. + * If the cluster snapshot was copied from a source cluster snapshot, the ARN for the source cluster snapshot; otherwise, a null value. */ SourceDBClusterSnapshotArn?: String; } export interface DBClusterSnapshotAttribute { /** - * The name of the manual DB cluster snapshot attribute. The attribute named restore refers to the list of AWS accounts that have permission to copy or restore the manual DB cluster snapshot. + * The name of the manual cluster snapshot attribute. The attribute named restore refers to the list of AWS accounts that have permission to copy or restore the manual cluster snapshot. */ AttributeName?: String; /** - * The values for the manual DB cluster snapshot attribute. If the AttributeName field is set to restore, then this element returns a list of IDs of the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If a value of all is in the list, then the manual DB cluster snapshot is public and available for any AWS account to copy or restore. + * The values for the manual cluster snapshot attribute. If the AttributeName field is set to restore, then this element returns a list of IDs of the AWS accounts that are authorized to copy or restore the manual cluster snapshot. If a value of all is in the list, then the manual cluster snapshot is public and available for any AWS account to copy or restore. */ AttributeValues?: AttributeValueList; } export type DBClusterSnapshotAttributeList = DBClusterSnapshotAttribute[]; export interface DBClusterSnapshotAttributesResult { /** - * The identifier of the DB cluster snapshot that the attributes apply to. + * The identifier of the cluster snapshot that the attributes apply to. */ DBClusterSnapshotIdentifier?: String; /** - * The list of attributes and values for the DB cluster snapshot. + * The list of attributes and values for the cluster snapshot. */ DBClusterSnapshotAttributes?: DBClusterSnapshotAttributeList; } @@ -981,7 +981,7 @@ declare namespace DocDB { */ Marker?: String; /** - * Provides a list of DB cluster snapshots. + * Provides a list of cluster snapshots. */ DBClusterSnapshots?: DBClusterSnapshotList; } @@ -995,7 +995,7 @@ declare namespace DocDB { */ EngineVersion?: String; /** - * The name of the DB parameter group family for the database engine. + * The name of the parameter group family for the database engine. */ DBParameterGroupFamily?: String; /** @@ -1026,21 +1026,21 @@ declare namespace DocDB { */ Marker?: String; /** - * Detailed information about one or more DB engine versions. + * Detailed information about one or more engine versions. */ DBEngineVersions?: DBEngineVersionList; } export interface DBInstance { /** - * Contains a user-provided database identifier. This identifier is the unique key that identifies a DB instance. + * Contains a user-provided database identifier. This identifier is the unique key that identifies an instance. */ DBInstanceIdentifier?: String; /** - * Contains the name of the compute and memory capacity class of the DB instance. + * Contains the name of the compute and memory capacity class of the instance. */ DBInstanceClass?: String; /** - * Provides the name of the database engine to be used for this DB instance. + * Provides the name of the database engine to be used for this instance. */ Engine?: String; /** @@ -1052,7 +1052,7 @@ declare namespace DocDB { */ Endpoint?: Endpoint; /** - * Provides the date and time that the DB instance was created. + * Provides the date and time that the instance was created. */ InstanceCreateTime?: TStamp; /** @@ -1060,19 +1060,19 @@ declare namespace DocDB { */ PreferredBackupWindow?: String; /** - * Specifies the number of days for which automatic DB snapshots are retained. + * Specifies the number of days for which automatic snapshots are retained. */ BackupRetentionPeriod?: Integer; /** - * Provides a list of VPC security group elements that the DB instance belongs to. + * Provides a list of VPC security group elements that the instance belongs to. */ VpcSecurityGroups?: VpcSecurityGroupMembershipList; /** - * Specifies the name of the Availability Zone that the DB instance is located in. + * Specifies the name of the Availability Zone that the instance is located in. */ AvailabilityZone?: String; /** - * Specifies information on the subnet group that is associated with the DB instance, including the name, description, and subnets in the subnet group. + * Specifies information on the subnet group that is associated with the instance, including the name, description, and subnets in the subnet group. */ DBSubnetGroup?: DBSubnetGroup; /** @@ -1080,7 +1080,7 @@ declare namespace DocDB { */ PreferredMaintenanceWindow?: String; /** - * Specifies that changes to the DB instance are pending. This element is included only when changes are pending. Specific changes are identified by subelements. + * Specifies that changes to the instance are pending. This element is included only when changes are pending. Specific changes are identified by subelements. */ PendingModifiedValues?: PendingModifiedValues; /** @@ -1104,19 +1104,19 @@ declare namespace DocDB { */ StatusInfos?: DBInstanceStatusInfoList; /** - * Contains the name of the DB cluster that the DB instance is a member of if the DB instance is a member of a DB cluster. + * Contains the name of the cluster that the instance is a member of if the instance is a member of a cluster. */ DBClusterIdentifier?: String; /** - * Specifies whether or not the DB instance is encrypted. + * Specifies whether or not the instance is encrypted. */ StorageEncrypted?: Boolean; /** - * If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB instance. + * If StorageEncrypted is true, the AWS KMS key identifier for the encrypted instance. */ KmsKeyId?: String; /** - * The AWS Region-unique, immutable identifier for the DB instance. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB instance is accessed. + * The AWS Region-unique, immutable identifier for the instance. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the instance is accessed. */ DbiResourceId?: String; /** @@ -1128,11 +1128,11 @@ declare namespace DocDB { */ PromotionTier?: IntegerOptional; /** - * The Amazon Resource Name (ARN) for the DB instance. + * The Amazon Resource Name (ARN) for the instance. */ DBInstanceArn?: String; /** - * A list of log types that this DB instance is configured to export to Amazon CloudWatch Logs. + * A list of log types that this instance is configured to export to Amazon CloudWatch Logs. */ EnabledCloudwatchLogsExports?: LogTypeList; } @@ -1143,7 +1143,7 @@ declare namespace DocDB { */ Marker?: String; /** - * Detailed information about one or more DB instances. + * Detailed information about one or more instances. */ DBInstances?: DBInstanceList; } @@ -1157,7 +1157,7 @@ declare namespace DocDB { */ Normal?: Boolean; /** - * Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated. + * Status of the instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated. */ Status?: String; /** @@ -1168,23 +1168,23 @@ declare namespace DocDB { export type DBInstanceStatusInfoList = DBInstanceStatusInfo[]; export interface DBSubnetGroup { /** - * The name of the DB subnet group. + * The name of the subnet group. */ DBSubnetGroupName?: String; /** - * Provides the description of the DB subnet group. + * Provides the description of the subnet group. */ DBSubnetGroupDescription?: String; /** - * Provides the virtual private cloud (VPC) ID of the DB subnet group. + * Provides the virtual private cloud (VPC) ID of the subnet group. */ VpcId?: String; /** - * Provides the status of the DB subnet group. + * Provides the status of the subnet group. */ SubnetGroupStatus?: String; /** - * Detailed information about one or more subnets within a DB subnet group. + * Detailed information about one or more subnets within a subnet group. */ Subnets?: SubnetList; /** @@ -1198,28 +1198,28 @@ declare namespace DocDB { */ Marker?: String; /** - * Detailed information about one or more DB subnet groups. + * Detailed information about one or more subnet groups. */ DBSubnetGroups?: DBSubnetGroups; } export type DBSubnetGroups = DBSubnetGroup[]; export interface DeleteDBClusterMessage { /** - * The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case sensitive. Constraints: Must match an existing DBClusterIdentifier. + * The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive. Constraints: Must match an existing DBClusterIdentifier. */ DBClusterIdentifier: String; /** - * Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. If true is specified, no DB cluster snapshot is created. If false is specified, a DB cluster snapshot is created before the DB cluster is deleted. If SkipFinalSnapshot is false, you must specify a FinalDBSnapshotIdentifier parameter. Default: false + * Determines whether a final cluster snapshot is created before the cluster is deleted. If true is specified, no cluster snapshot is created. If false is specified, a cluster snapshot is created before the DB cluster is deleted. If SkipFinalSnapshot is false, you must specify a FinalDBSnapshotIdentifier parameter. Default: false */ SkipFinalSnapshot?: Boolean; /** - * The DB cluster snapshot identifier of the new DB cluster snapshot created when SkipFinalSnapshot is set to false. Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error. Constraints: Must be from 1 to 255 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. + * The cluster snapshot identifier of the new cluster snapshot created when SkipFinalSnapshot is set to false. Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error. Constraints: Must be from 1 to 255 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. */ FinalDBSnapshotIdentifier?: String; } export interface DeleteDBClusterParameterGroupMessage { /** - * The name of the DB cluster parameter group. Constraints: Must be the name of an existing DB cluster parameter group. You can't delete a default DB cluster parameter group. Cannot be associated with any DB clusters. + * The name of the cluster parameter group. Constraints: Must be the name of an existing cluster parameter group. You can't delete a default cluster parameter group. Cannot be associated with any clusters. */ DBClusterParameterGroupName: String; } @@ -1228,7 +1228,7 @@ declare namespace DocDB { } export interface DeleteDBClusterSnapshotMessage { /** - * The identifier of the DB cluster snapshot to delete. Constraints: Must be the name of an existing DB cluster snapshot in the available state. + * The identifier of the cluster snapshot to delete. Constraints: Must be the name of an existing cluster snapshot in the available state. */ DBClusterSnapshotIdentifier: String; } @@ -1237,7 +1237,7 @@ declare namespace DocDB { } export interface DeleteDBInstanceMessage { /** - * The DB instance identifier for the DB instance to be deleted. This parameter isn't case sensitive. Constraints: Must match the name of an existing DB instance. + * The instance identifier for the instance to be deleted. This parameter isn't case sensitive. Constraints: Must match the name of an existing instance. */ DBInstanceIdentifier: String; } @@ -1270,7 +1270,7 @@ declare namespace DocDB { } export interface DescribeDBClusterParameterGroupsMessage { /** - * The name of a specific DB cluster parameter group to return details for. Constraints: If provided, must match the name of an existing DBClusterParameterGroup. + * The name of a specific cluster parameter group to return details for. Constraints: If provided, must match the name of an existing DBClusterParameterGroup. */ DBClusterParameterGroupName?: String; /** @@ -1288,7 +1288,7 @@ declare namespace DocDB { } export interface DescribeDBClusterParametersMessage { /** - * The name of a specific DB cluster parameter group to return parameter details for. Constraints: If provided, must match the name of an existing DBClusterParameterGroup. + * The name of a specific cluster parameter group to return parameter details for. Constraints: If provided, must match the name of an existing DBClusterParameterGroup. */ DBClusterParameterGroupName: String; /** @@ -1310,7 +1310,7 @@ declare namespace DocDB { } export interface DescribeDBClusterSnapshotAttributesMessage { /** - * The identifier for the DB cluster snapshot to describe the attributes for. + * The identifier for the cluster snapshot to describe the attributes for. */ DBClusterSnapshotIdentifier: String; } @@ -1319,15 +1319,15 @@ declare namespace DocDB { } export interface DescribeDBClusterSnapshotsMessage { /** - * The ID of the DB cluster to retrieve the list of DB cluster snapshots for. This parameter can't be used with the DBClusterSnapshotIdentifier parameter. This parameter is not case sensitive. Constraints: If provided, must match the identifier of an existing DBCluster. + * The ID of the cluster to retrieve the list of cluster snapshots for. This parameter can't be used with the DBClusterSnapshotIdentifier parameter. This parameter is not case sensitive. Constraints: If provided, must match the identifier of an existing DBCluster. */ DBClusterIdentifier?: String; /** - * A specific DB cluster snapshot identifier to describe. This parameter can't be used with the DBClusterIdentifier parameter. This value is stored as a lowercase string. Constraints: If provided, must match the identifier of an existing DBClusterSnapshot. If this identifier is for an automated snapshot, the SnapshotType parameter must also be specified. + * A specific cluster snapshot identifier to describe. This parameter can't be used with the DBClusterIdentifier parameter. This value is stored as a lowercase string. Constraints: If provided, must match the identifier of an existing DBClusterSnapshot. If this identifier is for an automated snapshot, the SnapshotType parameter must also be specified. */ DBClusterSnapshotIdentifier?: String; /** - * The type of DB cluster snapshots to be returned. You can specify one of the following values: automated - Return all DB cluster snapshots that Amazon DocumentDB has automatically created for your AWS account. manual - Return all DB cluster snapshots that you have manually created for your AWS account. shared - Return all manual DB cluster snapshots that have been shared to your AWS account. public - Return all DB cluster snapshots that have been marked as public. If you don't specify a SnapshotType value, then both automated and manual DB cluster snapshots are returned. You can include shared DB cluster snapshots with these results by setting the IncludeShared parameter to true. You can include public DB cluster snapshots with these results by setting the IncludePublic parameter to true. The IncludeShared and IncludePublic parameters don't apply for SnapshotType values of manual or automated. The IncludePublic parameter doesn't apply when SnapshotType is set to shared. The IncludeShared parameter doesn't apply when SnapshotType is set to public. + * The type of cluster snapshots to be returned. You can specify one of the following values: automated - Return all cluster snapshots that Amazon DocumentDB has automatically created for your AWS account. manual - Return all cluster snapshots that you have manually created for your AWS account. shared - Return all manual cluster snapshots that have been shared to your AWS account. public - Return all cluster snapshots that have been marked as public. If you don't specify a SnapshotType value, then both automated and manual cluster snapshots are returned. You can include shared cluster snapshots with these results by setting the IncludeShared parameter to true. You can include public cluster snapshots with these results by setting the IncludePublic parameter to true. The IncludeShared and IncludePublic parameters don't apply for SnapshotType values of manual or automated. The IncludePublic parameter doesn't apply when SnapshotType is set to shared. The IncludeShared parameter doesn't apply when SnapshotType is set to public. */ SnapshotType?: String; /** @@ -1343,21 +1343,21 @@ declare namespace DocDB { */ Marker?: String; /** - * Set to true to include shared manual DB cluster snapshots from other AWS accounts that this AWS account has been given permission to copy or restore, and otherwise false. The default is false. + * Set to true to include shared manual cluster snapshots from other AWS accounts that this AWS account has been given permission to copy or restore, and otherwise false. The default is false. */ IncludeShared?: Boolean; /** - * Set to true to include manual DB cluster snapshots that are public and can be copied or restored by any AWS account, and otherwise false. The default is false. + * Set to true to include manual cluster snapshots that are public and can be copied or restored by any AWS account, and otherwise false. The default is false. */ IncludePublic?: Boolean; } export interface DescribeDBClustersMessage { /** - * The user-provided DB cluster identifier. If this parameter is specified, information from only the specific DB cluster is returned. This parameter isn't case sensitive. Constraints: If provided, must match an existing DBClusterIdentifier. + * The user-provided cluster identifier. If this parameter is specified, information from only the specific cluster is returned. This parameter isn't case sensitive. Constraints: If provided, must match an existing DBClusterIdentifier. */ DBClusterIdentifier?: String; /** - * A filter that specifies one or more DB clusters to describe. Supported filters: db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes information about the DB clusters identified by these ARNs. + * A filter that specifies one or more clusters to describe. Supported filters: db-cluster-id - Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list only includes information about the clusters identified by these ARNs. */ Filters?: FilterList; /** @@ -1379,7 +1379,7 @@ declare namespace DocDB { */ EngineVersion?: String; /** - * The name of a specific DB parameter group family to return details for. Constraints: If provided, must match an existing DBParameterGroupFamily. + * The name of a specific parameter group family to return details for. Constraints: If provided, must match an existing DBParameterGroupFamily. */ DBParameterGroupFamily?: String; /** @@ -1409,11 +1409,11 @@ declare namespace DocDB { } export interface DescribeDBInstancesMessage { /** - * The user-provided instance identifier. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case sensitive. Constraints: If provided, must match the identifier of an existing DBInstance. + * The user-provided instance identifier. If this parameter is specified, information from only the specific instance is returned. This parameter isn't case sensitive. Constraints: If provided, must match the identifier of an existing DBInstance. */ DBInstanceIdentifier?: String; /** - * A filter that specifies one or more DB instances to describe. Supported filters: db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list includes only the information about the DB instances that are associated with the DB clusters that are identified by these ARNs. db-instance-id - Accepts DB instance identifiers and DB instance ARNs. The results list includes only the information about the DB instances that are identified by these ARNs. + * A filter that specifies one or more instances to describe. Supported filters: db-cluster-id - Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list includes only the information about the instances that are associated with the clusters that are identified by these ARNs. db-instance-id - Accepts instance identifiers and instance ARNs. The results list includes only the information about the instances that are identified by these ARNs. */ Filters?: FilterList; /** @@ -1427,7 +1427,7 @@ declare namespace DocDB { } export interface DescribeDBSubnetGroupsMessage { /** - * The name of the DB subnet group to return details for. + * The name of the subnet group to return details for. */ DBSubnetGroupName?: String; /** @@ -1445,7 +1445,7 @@ declare namespace DocDB { } export interface DescribeEngineDefaultClusterParametersMessage { /** - * The name of the DB cluster parameter group family to return the engine parameter information for. + * The name of the cluster parameter group family to return the engine parameter information for. */ DBParameterGroupFamily: String; /** @@ -1514,7 +1514,7 @@ declare namespace DocDB { } export interface DescribeOrderableDBInstanceOptionsMessage { /** - * The name of the engine to retrieve DB instance options for. + * The name of the engine to retrieve instance options for. */ Engine: String; /** @@ -1522,7 +1522,7 @@ declare namespace DocDB { */ EngineVersion?: String; /** - * The DB instance class filter value. Specify this parameter to show only the available offerings that match the specified DB instance class. + * The instance class filter value. Specify this parameter to show only the available offerings that match the specified instance class. */ DBInstanceClass?: String; /** @@ -1552,7 +1552,7 @@ declare namespace DocDB { */ ResourceIdentifier?: String; /** - * A filter that specifies one or more resources to return pending maintenance actions for. Supported filters: db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list includes only pending maintenance actions for the DB clusters identified by these ARNs. db-instance-id - Accepts DB instance identifiers and DB instance ARNs. The results list includes only pending maintenance actions for the DB instances identified by these ARNs. + * A filter that specifies one or more resources to return pending maintenance actions for. Supported filters: db-cluster-id - Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list includes only pending maintenance actions for the clusters identified by these ARNs. db-instance-id - Accepts instance identifiers and instance ARNs. The results list includes only pending maintenance actions for the DB instances identified by these ARNs. */ Filters?: FilterList; /** @@ -1566,7 +1566,7 @@ declare namespace DocDB { } export interface Endpoint { /** - * Specifies the DNS address of the DB instance. + * Specifies the DNS address of the instance. */ Address?: String; /** @@ -1580,7 +1580,7 @@ declare namespace DocDB { } export interface EngineDefaults { /** - * The name of the DB cluster parameter group family to return the engine parameter information for. + * The name of the cluster parameter group family to return the engine parameter information for. */ DBParameterGroupFamily?: String; /** @@ -1588,7 +1588,7 @@ declare namespace DocDB { */ Marker?: String; /** - * The parameters of a particular DB cluster parameter group family. + * The parameters of a particular cluster parameter group family. */ Parameters?: ParametersList; } @@ -1649,11 +1649,11 @@ declare namespace DocDB { } export interface FailoverDBClusterMessage { /** - * A DB cluster identifier to force a failover for. This parameter is not case sensitive. Constraints: Must match the identifier of an existing DBCluster. + * A cluster identifier to force a failover for. This parameter is not case sensitive. Constraints: Must match the identifier of an existing DBCluster. */ DBClusterIdentifier?: String; /** - * The name of the instance to promote to the primary instance. You must specify the instance identifier for an Amazon DocumentDB replica in the DB cluster. For example, mydbcluster-replica1. + * The name of the instance to promote to the primary instance. You must specify the instance identifier for an Amazon DocumentDB replica in the cluster. For example, mydbcluster-replica1. */ TargetDBInstanceIdentifier?: String; } @@ -1688,15 +1688,15 @@ declare namespace DocDB { export type LogTypeList = String[]; export interface ModifyDBClusterMessage { /** - * The DB cluster identifier for the cluster that is being modified. This parameter is not case sensitive. Constraints: Must match the identifier of an existing DBCluster. + * The cluster identifier for the cluster that is being modified. This parameter is not case sensitive. Constraints: Must match the identifier of an existing DBCluster. */ DBClusterIdentifier: String; /** - * The new DB cluster identifier for the DB cluster when renaming a DB cluster. This value is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster2 + * The new cluster identifier for the cluster when renaming a cluster. This value is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster2 */ NewDBClusterIdentifier?: String; /** - * A value that specifies whether the changes in this request and any pending changes are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB cluster. If this parameter is set to false, changes to the DB cluster are applied during the next maintenance window. The ApplyImmediately parameter affects only the NewDBClusterIdentifier and MasterUserPassword values. If you set this parameter value to false, the changes to the NewDBClusterIdentifier and MasterUserPassword values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of the ApplyImmediately parameter. Default: false + * A value that specifies whether the changes in this request and any pending changes are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the cluster. If this parameter is set to false, changes to the cluster are applied during the next maintenance window. The ApplyImmediately parameter affects only the NewDBClusterIdentifier and MasterUserPassword values. If you set this parameter value to false, the changes to the NewDBClusterIdentifier and MasterUserPassword values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of the ApplyImmediately parameter. Default: false */ ApplyImmediately?: Boolean; /** @@ -1704,15 +1704,15 @@ declare namespace DocDB { */ BackupRetentionPeriod?: IntegerOptional; /** - * The name of the DB cluster parameter group to use for the DB cluster. + * The name of the cluster parameter group to use for the cluster. */ DBClusterParameterGroupName?: String; /** - * A list of virtual private cloud (VPC) security groups that the DB cluster will belong to. + * A list of virtual private cloud (VPC) security groups that the cluster will belong to. */ VpcSecurityGroupIds?: VpcSecurityGroupIdList; /** - * The port number on which the DB cluster accepts connections. Constraints: Must be a value from 1150 to 65535. Default: The same port as the original DB cluster. + * The port number on which the cluster accepts connections. Constraints: Must be a value from 1150 to 65535. Default: The same port as the original cluster. */ Port?: IntegerOptional; /** @@ -1728,7 +1728,7 @@ declare namespace DocDB { */ PreferredMaintenanceWindow?: String; /** - * The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a specific DB instance or DB cluster. The EnableLogTypes and DisableLogTypes arrays determine which logs are exported (or not exported) to CloudWatch Logs. + * The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a specific instance or cluster. The EnableLogTypes and DisableLogTypes arrays determine which logs are exported (or not exported) to CloudWatch Logs. */ CloudwatchLogsExportConfiguration?: CloudwatchLogsExportConfiguration; /** @@ -1742,11 +1742,11 @@ declare namespace DocDB { } export interface ModifyDBClusterParameterGroupMessage { /** - * The name of the DB cluster parameter group to modify. + * The name of the cluster parameter group to modify. */ DBClusterParameterGroupName: String; /** - * A list of parameters in the DB cluster parameter group to modify. + * A list of parameters in the cluster parameter group to modify. */ Parameters: ParametersList; } @@ -1755,19 +1755,19 @@ declare namespace DocDB { } export interface ModifyDBClusterSnapshotAttributeMessage { /** - * The identifier for the DB cluster snapshot to modify the attributes for. + * The identifier for the cluster snapshot to modify the attributes for. */ DBClusterSnapshotIdentifier: String; /** - * The name of the DB cluster snapshot attribute to modify. To manage authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this value to restore. + * The name of the cluster snapshot attribute to modify. To manage authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this value to restore. */ AttributeName: String; /** - * A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName. To authorize other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more AWS account IDs. To make the manual DB cluster snapshot restorable by any AWS account, set it to all. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want to be available to all AWS accounts. + * A list of cluster snapshot attributes to add to the attribute specified by AttributeName. To authorize other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one or more AWS account IDs. To make the manual cluster snapshot restorable by any AWS account, set it to all. Do not add the all value for any manual cluster snapshots that contain private information that you don't want to be available to all AWS accounts. */ ValuesToAdd?: AttributeValueList; /** - * A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName. To remove authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more AWS account identifiers. To remove authorization for any AWS account to copy or restore the DB cluster snapshot, set it to all . If you specify all, an AWS account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot. + * A list of cluster snapshot attributes to remove from the attribute specified by AttributeName. To remove authorization for other AWS accounts to copy or restore a manual cluster snapshot, set this list to include one or more AWS account identifiers. To remove authorization for any AWS account to copy or restore the cluster snapshot, set it to all . If you specify all, an AWS account whose account ID is explicitly added to the restore attribute can still copy or restore a manual cluster snapshot. */ ValuesToRemove?: AttributeValueList; } @@ -1776,27 +1776,27 @@ declare namespace DocDB { } export interface ModifyDBInstanceMessage { /** - * The DB instance identifier. This value is stored as a lowercase string. Constraints: Must match the identifier of an existing DBInstance. + * The instance identifier. This value is stored as a lowercase string. Constraints: Must match the identifier of an existing DBInstance. */ DBInstanceIdentifier: String; /** - * The new compute and memory capacity of the DB instance; for example, db.r5.large. Not all DB instance classes are available in all AWS Regions. If you modify the DB instance class, an outage occurs during the change. The change is applied during the next maintenance window, unless ApplyImmediately is specified as true for this request. Default: Uses existing setting. + * The new compute and memory capacity of the instance; for example, db.r5.large. Not all instance classes are available in all AWS Regions. If you modify the instance class, an outage occurs during the change. The change is applied during the next maintenance window, unless ApplyImmediately is specified as true for this request. Default: Uses existing setting. */ DBInstanceClass?: String; /** - * Specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB instance. If this parameter is set to false, changes to the DB instance are applied during the next maintenance window. Some parameter changes can cause an outage and are applied on the next reboot. Default: false + * Specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the instance. If this parameter is set to false, changes to the instance are applied during the next maintenance window. Some parameter changes can cause an outage and are applied on the next reboot. Default: false */ ApplyImmediately?: Boolean; /** - * The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter doesn't result in an outage except in the following situation, and the change is asynchronously applied as soon as possible. If there are pending actions that cause a reboot, and the maintenance window is changed to include the current time, changing this parameter causes a reboot of the DB instance. If you are moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure that pending changes are applied. Default: Uses existing setting. Format: ddd:hh24:mi-ddd:hh24:mi Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Must be at least 30 minutes. + * The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter doesn't result in an outage except in the following situation, and the change is asynchronously applied as soon as possible. If there are pending actions that cause a reboot, and the maintenance window is changed to include the current time, changing this parameter causes a reboot of the instance. If you are moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure that pending changes are applied. Default: Uses existing setting. Format: ddd:hh24:mi-ddd:hh24:mi Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Must be at least 30 minutes. */ PreferredMaintenanceWindow?: String; /** - * Indicates that minor version upgrades are applied automatically to the DB instance during the maintenance window. Changing this parameter doesn't result in an outage except in the following case, and the change is asynchronously applied as soon as possible. An outage results if this parameter is set to true during the maintenance window, and a newer minor version is available, and Amazon DocumentDB has enabled automatic patching for that engine version. + * Indicates that minor version upgrades are applied automatically to the instance during the maintenance window. Changing this parameter doesn't result in an outage except in the following case, and the change is asynchronously applied as soon as possible. An outage results if this parameter is set to true during the maintenance window, and a newer minor version is available, and Amazon DocumentDB has enabled automatic patching for that engine version. */ AutoMinorVersionUpgrade?: BooleanOptional; /** - * The new DB instance identifier for the DB instance when renaming a DB instance. When you change the DB instance identifier, an instance reboot occurs immediately if you set Apply Immediately to true. It occurs during the next maintenance window if you set Apply Immediately to false. This value is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: mydbinstance + * The new instance identifier for the instance when renaming an instance. When you change the instance identifier, an instance reboot occurs immediately if you set Apply Immediately to true. It occurs during the next maintenance window if you set Apply Immediately to false. This value is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: mydbinstance */ NewDBInstanceIdentifier?: String; /** @@ -1813,15 +1813,15 @@ declare namespace DocDB { } export interface ModifyDBSubnetGroupMessage { /** - * The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup + * The name for the subnet group. This value is stored as a lowercase string. You can't modify the default subnet group. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup */ DBSubnetGroupName: String; /** - * The description for the DB subnet group. + * The description for the subnet group. */ DBSubnetGroupDescription?: String; /** - * The Amazon EC2 subnet IDs for the DB subnet group. + * The Amazon EC2 subnet IDs for the subnet group. */ SubnetIds: SubnetIdentifierList; } @@ -1830,34 +1830,34 @@ declare namespace DocDB { } export interface OrderableDBInstanceOption { /** - * The engine type of a DB instance. + * The engine type of an instance. */ Engine?: String; /** - * The engine version of a DB instance. + * The engine version of an instance. */ EngineVersion?: String; /** - * The DB instance class for a DB instance. + * The instance class for an instance. */ DBInstanceClass?: String; /** - * The license model for a DB instance. + * The license model for an instance. */ LicenseModel?: String; /** - * A list of Availability Zones for a DB instance. + * A list of Availability Zones for an instance. */ AvailabilityZones?: AvailabilityZoneList; /** - * Indicates whether a DB instance is in a virtual private cloud (VPC). + * Indicates whether an instance is in a virtual private cloud (VPC). */ Vpc?: Boolean; } export type OrderableDBInstanceOptionsList = OrderableDBInstanceOption[]; export interface OrderableDBInstanceOptionsMessage { /** - * The options that are available for a particular orderable DB instance. + * The options that are available for a particular orderable instance. */ OrderableDBInstanceOptions?: OrderableDBInstanceOptionsList; /** @@ -1958,19 +1958,19 @@ declare namespace DocDB { } export interface PendingModifiedValues { /** - * Contains the new DBInstanceClass for the DB instance that will be applied or is currently being applied. + * Contains the new DBInstanceClass for the instance that will be applied or is currently being applied. */ DBInstanceClass?: String; /** - * Contains the new AllocatedStorage size for the DB instance that will be applied or is currently being applied. + * Contains the new AllocatedStorage size for then instance that will be applied or is currently being applied. */ AllocatedStorage?: IntegerOptional; /** - * Contains the pending or currently in-progress change of the master credentials for the DB instance. + * Contains the pending or currently in-progress change of the master credentials for the instance. */ MasterUserPassword?: String; /** - * Specifies the pending port for the DB instance. + * Specifies the pending port for the instance. */ Port?: IntegerOptional; /** @@ -1978,7 +1978,7 @@ declare namespace DocDB { */ BackupRetentionPeriod?: IntegerOptional; /** - * Indicates that the Single-AZ DB instance is to change to a Multi-AZ deployment. + * Indicates that the Single-AZ instance is to change to a Multi-AZ deployment. */ MultiAZ?: BooleanOptional; /** @@ -1986,19 +1986,19 @@ declare namespace DocDB { */ EngineVersion?: String; /** - * The license model for the DB instance. Valid values: license-included, bring-your-own-license, general-public-license + * The license model for the instance. Valid values: license-included, bring-your-own-license, general-public-license */ LicenseModel?: String; /** - * Specifies the new Provisioned IOPS value for the DB instance that will be applied or is currently being applied. + * Specifies the new Provisioned IOPS value for the instance that will be applied or is currently being applied. */ Iops?: IntegerOptional; /** - * Contains the new DBInstanceIdentifier for the DB instance that will be applied or is currently being applied. + * Contains the new DBInstanceIdentifier for the instance that will be applied or is currently being applied. */ DBInstanceIdentifier?: String; /** - * Specifies the storage type to be associated with the DB instance. + * Specifies the storage type to be associated with the instance. */ StorageType?: String; /** @@ -2006,7 +2006,7 @@ declare namespace DocDB { */ CACertificateIdentifier?: String; /** - * The new DB subnet group for the DB instance. + * The new subnet group for the instance. */ DBSubnetGroupName?: String; /** @@ -2016,7 +2016,7 @@ declare namespace DocDB { } export interface RebootDBInstanceMessage { /** - * The DB instance identifier. This parameter is stored as a lowercase string. Constraints: Must match the identifier of an existing DBInstance. + * The instance identifier. This parameter is stored as a lowercase string. Constraints: Must match the identifier of an existing DBInstance. */ DBInstanceIdentifier: String; /** @@ -2039,15 +2039,15 @@ declare namespace DocDB { } export interface ResetDBClusterParameterGroupMessage { /** - * The name of the DB cluster parameter group to reset. + * The name of the cluster parameter group to reset. */ DBClusterParameterGroupName: String; /** - * A value that is set to true to reset all parameters in the DB cluster parameter group to their default values, and false otherwise. You can't use this parameter if there is a list of parameter names specified for the Parameters parameter. + * A value that is set to true to reset all parameters in the cluster parameter group to their default values, and false otherwise. You can't use this parameter if there is a list of parameter names specified for the Parameters parameter. */ ResetAllParameters?: Boolean; /** - * A list of parameter names in the DB cluster parameter group to reset to the default values. You can't use this parameter if the ResetAllParameters parameter is set to true. + * A list of parameter names in the cluster parameter group to reset to the default values. You can't use this parameter if the ResetAllParameters parameter is set to true. */ Parameters?: ParametersList; } @@ -2067,39 +2067,39 @@ declare namespace DocDB { */ AvailabilityZones?: AvailabilityZones; /** - * The name of the DB cluster to create from the DB snapshot or DB cluster snapshot. This parameter isn't case sensitive. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-snapshot-id + * The name of the cluster to create from the snapshot or cluster snapshot. This parameter isn't case sensitive. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-snapshot-id */ DBClusterIdentifier: String; /** - * The identifier for the DB snapshot or DB cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB snapshot. Constraints: Must match the identifier of an existing snapshot. + * The identifier for the snapshot or cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a cluster snapshot. However, you can use only the ARN to specify a snapshot. Constraints: Must match the identifier of an existing snapshot. */ SnapshotIdentifier: String; /** - * The database engine to use for the new DB cluster. Default: The same as source. Constraint: Must be compatible with the engine of the source. + * The database engine to use for the new cluster. Default: The same as source. Constraint: Must be compatible with the engine of the source. */ Engine: String; /** - * The version of the database engine to use for the new DB cluster. + * The version of the database engine to use for the new cluster. */ EngineVersion?: String; /** - * The port number on which the new DB cluster accepts connections. Constraints: Must be a value from 1150 to 65535. Default: The same port as the original DB cluster. + * The port number on which the new cluster accepts connections. Constraints: Must be a value from 1150 to 65535. Default: The same port as the original cluster. */ Port?: IntegerOptional; /** - * The name of the DB subnet group to use for the new DB cluster. Constraints: If provided, must match the name of an existing DBSubnetGroup. Example: mySubnetgroup + * The name of the subnet group to use for the new cluster. Constraints: If provided, must match the name of an existing DBSubnetGroup. Example: mySubnetgroup */ DBSubnetGroupName?: String; /** - * A list of virtual private cloud (VPC) security groups that the new DB cluster will belong to. + * A list of virtual private cloud (VPC) security groups that the new cluster will belong to. */ VpcSecurityGroupIds?: VpcSecurityGroupIdList; /** - * The tags to be assigned to the restored DB cluster. + * The tags to be assigned to the restored cluster. */ Tags?: TagList; /** - * The AWS KMS key identifier to use when restoring an encrypted DB cluster from a DB snapshot or DB cluster snapshot. The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a DB cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new DB cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key. If you do not specify a value for the KmsKeyId parameter, then the following occurs: If the DB snapshot or DB cluster snapshot in SnapshotIdentifier is encrypted, then the restored DB cluster is encrypted using the AWS KMS key that was used to encrypt the DB snapshot or the DB cluster snapshot. If the DB snapshot or the DB cluster snapshot in SnapshotIdentifier is not encrypted, then the restored DB cluster is not encrypted. + * The AWS KMS key identifier to use when restoring an encrypted cluster from a DB snapshot or cluster snapshot. The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key. If you do not specify a value for the KmsKeyId parameter, then the following occurs: If the snapshot or cluster snapshot in SnapshotIdentifier is encrypted, then the restored cluster is encrypted using the AWS KMS key that was used to encrypt the snapshot or the cluster snapshot. If the snapshot or the cluster snapshot in SnapshotIdentifier is not encrypted, then the restored DB cluster is not encrypted. */ KmsKeyId?: String; /** @@ -2116,39 +2116,39 @@ declare namespace DocDB { } export interface RestoreDBClusterToPointInTimeMessage { /** - * The name of the new DB cluster to be created. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. + * The name of the new cluster to be created. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. */ DBClusterIdentifier: String; /** - * The identifier of the source DB cluster from which to restore. Constraints: Must match the identifier of an existing DBCluster. + * The identifier of the source cluster from which to restore. Constraints: Must match the identifier of an existing DBCluster. */ SourceDBClusterIdentifier: String; /** - * The date and time to restore the DB cluster to. Valid values: A time in Universal Coordinated Time (UTC) format. Constraints: Must be before the latest restorable time for the DB instance. Must be specified if the UseLatestRestorableTime parameter is not provided. Cannot be specified if the UseLatestRestorableTime parameter is true. Cannot be specified if the RestoreType parameter is copy-on-write. Example: 2015-03-07T23:45:00Z + * The date and time to restore the cluster to. Valid values: A time in Universal Coordinated Time (UTC) format. Constraints: Must be before the latest restorable time for the instance. Must be specified if the UseLatestRestorableTime parameter is not provided. Cannot be specified if the UseLatestRestorableTime parameter is true. Cannot be specified if the RestoreType parameter is copy-on-write. Example: 2015-03-07T23:45:00Z */ RestoreToTime?: TStamp; /** - * A value that is set to true to restore the DB cluster to the latest restorable backup time, and false otherwise. Default: false Constraints: Cannot be specified if the RestoreToTime parameter is provided. + * A value that is set to true to restore the cluster to the latest restorable backup time, and false otherwise. Default: false Constraints: Cannot be specified if the RestoreToTime parameter is provided. */ UseLatestRestorableTime?: Boolean; /** - * The port number on which the new DB cluster accepts connections. Constraints: Must be a value from 1150 to 65535. Default: The default port for the engine. + * The port number on which the new cluster accepts connections. Constraints: Must be a value from 1150 to 65535. Default: The default port for the engine. */ Port?: IntegerOptional; /** - * The DB subnet group name to use for the new DB cluster. Constraints: If provided, must match the name of an existing DBSubnetGroup. Example: mySubnetgroup + * The subnet group name to use for the new cluster. Constraints: If provided, must match the name of an existing DBSubnetGroup. Example: mySubnetgroup */ DBSubnetGroupName?: String; /** - * A list of VPC security groups that the new DB cluster belongs to. + * A list of VPC security groups that the new cluster belongs to. */ VpcSecurityGroupIds?: VpcSecurityGroupIdList; /** - * The tags to be assigned to the restored DB cluster. + * The tags to be assigned to the restored cluster. */ Tags?: TagList; /** - * The AWS KMS key identifier to use when restoring an encrypted DB cluster from an encrypted DB cluster. The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a DB cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new DB cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key. You can restore to a new DB cluster and encrypt the new DB cluster with an AWS KMS key that is different from the AWS KMS key used to encrypt the source DB cluster. The new DB cluster is encrypted with the AWS KMS key identified by the KmsKeyId parameter. If you do not specify a value for the KmsKeyId parameter, then the following occurs: If the DB cluster is encrypted, then the restored DB cluster is encrypted using the AWS KMS key that was used to encrypt the source DB cluster. If the DB cluster is not encrypted, then the restored DB cluster is not encrypted. If DBClusterIdentifier refers to a DB cluster that is not encrypted, then the restore request is rejected. + * The AWS KMS key identifier to use when restoring an encrypted cluster from an encrypted cluster. The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key. You can restore to a new cluster and encrypt the new cluster with an AWS KMS key that is different from the AWS KMS key used to encrypt the source cluster. The new DB cluster is encrypted with the AWS KMS key identified by the KmsKeyId parameter. If you do not specify a value for the KmsKeyId parameter, then the following occurs: If the cluster is encrypted, then the restored cluster is encrypted using the AWS KMS key that was used to encrypt the source cluster. If the cluster is not encrypted, then the restored cluster is not encrypted. If DBClusterIdentifier refers to a cluster that is not encrypted, then the restore request is rejected. */ KmsKeyId?: String; /** @@ -2227,7 +2227,7 @@ declare namespace DocDB { */ EngineVersion?: String; /** - * The version of the database engine that a DB instance can be upgraded to. + * The version of the database engine that an instance can be upgraded to. */ Description?: String; /** diff --git a/clients/kms.d.ts b/clients/kms.d.ts index 729a4a7f63..44519c3278 100644 --- a/clients/kms.d.ts +++ b/clients/kms.d.ts @@ -423,7 +423,7 @@ declare namespace KMS { } export interface ConnectCustomKeyStoreResponse { } - export type ConnectionErrorCodeType = "INVALID_CREDENTIALS"|"CLUSTER_NOT_FOUND"|"NETWORK_ERRORS"|"INTERNAL_ERROR"|"INSUFFICIENT_CLOUDHSM_HSMS"|"USER_LOCKED_OUT"|"USER_NOT_FOUND"|"USER_LOGGED_IN"|string; + export type ConnectionErrorCodeType = "INVALID_CREDENTIALS"|"CLUSTER_NOT_FOUND"|"NETWORK_ERRORS"|"INTERNAL_ERROR"|"INSUFFICIENT_CLOUDHSM_HSMS"|"USER_LOCKED_OUT"|"USER_NOT_FOUND"|"USER_LOGGED_IN"|"SUBNET_NOT_FOUND"|string; export type ConnectionStateType = "CONNECTED"|"CONNECTING"|"FAILED"|"DISCONNECTED"|"DISCONNECTING"|string; export interface CreateAliasRequest { /** @@ -564,7 +564,7 @@ declare namespace KMS { */ ConnectionState?: ConnectionStateType; /** - * Describes the connection error. This field appears in the response only when the ConnectionState is FAILED. For help resolving these errors, see How to Fix a Connection Failure in AWS Key Management Service Developer Guide. Valid values are: CLUSTER_NOT_FOUND - AWS KMS cannot find the AWS CloudHSM cluster with the specified cluster ID. INSUFFICIENT_CLOUDHSM_HSMS - The associated AWS CloudHSM cluster does not contain any active HSMs. To connect a custom key store to its AWS CloudHSM cluster, the cluster must contain at least one active HSM. INTERNAL_ERROR - AWS KMS could not complete the request due to an internal error. Retry the request. For ConnectCustomKeyStore requests, disconnect the custom key store before trying to connect again. INVALID_CREDENTIALS - AWS KMS does not have the correct password for the kmsuser crypto user in the AWS CloudHSM cluster. Before you can connect your custom key store to its AWS CloudHSM cluster, you must change the kmsuser account password and update the key store password value for the custom key store. NETWORK_ERRORS - Network errors are preventing AWS KMS from connecting to the custom key store. USER_LOCKED_OUT - The kmsuser CU account is locked out of the associated AWS CloudHSM cluster due to too many failed password attempts. Before you can connect your custom key store to its AWS CloudHSM cluster, you must change the kmsuser account password and update the key store password value for the custom key store. USER_LOGGED_IN - The kmsuser CU account is logged into the the associated AWS CloudHSM cluster. This prevents AWS KMS from rotating the kmsuser account password and logging into the cluster. Before you can connect your custom key store to its AWS CloudHSM cluster, you must log the kmsuser CU out of the cluster. If you changed the kmsuser password to log into the cluster, you must also and update the key store password value for the custom key store. For help, see How to Log Out and Reconnect in the AWS Key Management Service Developer Guide. USER_NOT_FOUND - AWS KMS cannot find a kmsuser CU account in the associated AWS CloudHSM cluster. Before you can connect your custom key store to its AWS CloudHSM cluster, you must create a kmsuser CU account in the cluster, and then update the key store password value for the custom key store. + * Describes the connection error. This field appears in the response only when the ConnectionState is FAILED. For help resolving these errors, see How to Fix a Connection Failure in AWS Key Management Service Developer Guide. Valid values are: CLUSTER_NOT_FOUND - AWS KMS cannot find the AWS CloudHSM cluster with the specified cluster ID. INSUFFICIENT_CLOUDHSM_HSMS - The associated AWS CloudHSM cluster does not contain any active HSMs. To connect a custom key store to its AWS CloudHSM cluster, the cluster must contain at least one active HSM. INTERNAL_ERROR - AWS KMS could not complete the request due to an internal error. Retry the request. For ConnectCustomKeyStore requests, disconnect the custom key store before trying to connect again. INVALID_CREDENTIALS - AWS KMS does not have the correct password for the kmsuser crypto user in the AWS CloudHSM cluster. Before you can connect your custom key store to its AWS CloudHSM cluster, you must change the kmsuser account password and update the key store password value for the custom key store. NETWORK_ERRORS - Network errors are preventing AWS KMS from connecting to the custom key store. SUBNET_NOT_FOUND - A subnet in the AWS CloudHSM cluster configuration was deleted. If AWS KMS cannot find all of the subnets that were configured for the cluster when the custom key store was created, attempts to connect fail. To fix this error, create a cluster from a backup and associate it with your custom key store. This process includes selecting a VPC and subnets. For details, see How to Fix a Connection Failure in the AWS Key Management Service Developer Guide. USER_LOCKED_OUT - The kmsuser CU account is locked out of the associated AWS CloudHSM cluster due to too many failed password attempts. Before you can connect your custom key store to its AWS CloudHSM cluster, you must change the kmsuser account password and update the key store password value for the custom key store. USER_LOGGED_IN - The kmsuser CU account is logged into the the associated AWS CloudHSM cluster. This prevents AWS KMS from rotating the kmsuser account password and logging into the cluster. Before you can connect your custom key store to its AWS CloudHSM cluster, you must log the kmsuser CU out of the cluster. If you changed the kmsuser password to log into the cluster, you must also and update the key store password value for the custom key store. For help, see How to Log Out and Reconnect in the AWS Key Management Service Developer Guide. USER_NOT_FOUND - AWS KMS cannot find a kmsuser CU account in the associated AWS CloudHSM cluster. Before you can connect your custom key store to its AWS CloudHSM cluster, you must create a kmsuser CU account in the cluster, and then update the key store password value for the custom key store. */ ConnectionErrorCode?: ConnectionErrorCodeType; /** @@ -991,7 +991,7 @@ declare namespace KMS { */ KeyId?: KeyIdType; /** - * The exported public key. This value is returned as a binary Distinguished Encoding Rules (DER)-encoded object. To decode it, use an ASN.1 parsing tool, such as OpenSSL asn1parse. + * The exported public key. The value is a DER-encoded X.509 public key, also known as SubjectPublicKeyInfo (SPKI), as defined in RFC 5280. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded. */ PublicKey?: PublicKeyType; /** @@ -1470,7 +1470,7 @@ declare namespace KMS { */ Message: PlaintextType; /** - * Tells AWS KMS whether the value of the Message parameter is a message or message digest. To indicate a message, enter RAW. To indicate a message digest, enter DIGEST. + * Tells AWS KMS whether the value of the Message parameter is a message or message digest. The default value, RAW, indicates a message. To indicate a message digest, enter DIGEST. */ MessageType?: MessageType; /** @@ -1488,7 +1488,7 @@ declare namespace KMS { */ KeyId?: KeyIdType; /** - * The cryptographic signature that was generated for the message. + * The cryptographic signature that was generated for the message. When used with the supported RSA signing algorithms, the encoding of this value is defined by PKCS #1 in RFC 8017. When used with the ECDSA_SHA_256, ECDSA_SHA_384, or ECDSA_SHA_512 signing algorithms, this value is a DER-encoded object as defined by ANS X9.62–2005 and RFC 3279 Section 2.2.3. This is the most commonly used signature format and is appropriate for most uses. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded. */ Signature?: CiphertextType; /** diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index 687631104a..67fbbb81f2 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.614.0', + VERSION: '2.615.0', /** * @api private diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index 5a15b67608..928ae34919 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.614.0', + VERSION: '2.615.0', /** * @api private diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index be4e39f650..51474e6fa6 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.614.0 +// AWS SDK for JavaScript v2.615.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/":406}],315:[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":314}],316:[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":314,"buffer/":406}],317:[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":314,"buffer/":406}],318:[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,h=((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+h|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":314,"buffer/":406}],319:[function(e,t,r){(function(r){var i=e("./util");i.crypto.lib=e("./browserCryptoLib"),i.Buffer=e("buffer/").Buffer,i.url=e("url/"),i.querystring=e("querystring/"),i.realClock=e("./realclock/browserClock"),i.environment="js",i.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,i.isBrowser=function(){return!0},i.isNode=function(){return!1};var a=e("./core");if(t.exports=a,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),a.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===r)var r={browser:!0}}).call(this,e("_process"))},{"./browserCryptoLib":313,"./core":323,"./credentials":324,"./credentials/chainable_temporary_credentials":325,"./credentials/cognito_identity_credentials":326,"./credentials/credential_provider_chain":327,"./credentials/saml_credentials":328,"./credentials/temporary_credentials":329,"./credentials/web_identity_credentials":330,"./event-stream/buffered-create-event-stream":338,"./http/xhr":346,"./realclock/browserClock":365,"./util":397,"./xml/browser_parser":398,_process:411,"buffer/":406,"querystring/":418,"url/":420}],320:[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":323}],321:[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:!1,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":323,"./credentials":324,"./credentials/credential_provider_chain":327}],322:[function(e,t,r){(function(r){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,e("_process"))},{"./core":323,_process:411}],323:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.614.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":429,"./api_loader":312,"./config":321,"./event_listeners":344,"./http":345,"./json/builder":347,"./json/parser":348,"./model/api":349,"./model/operation":351,"./model/paginator":352,"./model/resource_waiter":353,"./model/shape":354,"./param_validator":355,"./protocol/json":358,"./protocol/query":359,"./protocol/rest":360,"./protocol/rest_json":361,"./protocol/rest_xml":362,"./request":368,"./resource_waiter":369,"./response":370,"./sequential_executor":372,"./service":373,"./signers/request_signer":389,"./util":397,"./xml/builder":399}],324:[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":323}],325:[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":307,"../core":323}],326:[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":241,"../../clients/sts":307,"../core":323}],327:[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":323}],328:[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":307,"../core":323}],329:[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":307,"../core":323}],330:[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":307,"../core":323}],331:[function(e,t,r){(function(r){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), +var t=e("../apis/waf-2015-08-24.min.json");return t.paginators=e("../apis/waf-2015-08-24.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.WAF},{"../apis/waf-2015-08-24.min.json":219,"../apis/waf-2015-08-24.paginators.json":220,"../lib/core":323,"../lib/node_loader":319}],310:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.workdocs={},i.WorkDocs=a.defineService("workdocs",["2016-05-01"]),Object.defineProperty(s.services.workdocs,"2016-05-01",{get:function(){var t=e("../apis/workdocs-2016-05-01.min.json");return t.paginators=e("../apis/workdocs-2016-05-01.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.WorkDocs},{"../apis/workdocs-2016-05-01.min.json":221,"../apis/workdocs-2016-05-01.paginators.json":222,"../lib/core":323,"../lib/node_loader":319}],311:[function(e,t,r){e("../lib/node_loader");var i=e("../lib/core"),a=i.Service,s=i.apiLoader;s.services.xray={},i.XRay=a.defineService("xray",["2016-04-12"]),Object.defineProperty(s.services.xray,"2016-04-12",{get:function(){var t=e("../apis/xray-2016-04-12.min.json");return t.paginators=e("../apis/xray-2016-04-12.paginators.json").pagination,t},enumerable:!0,configurable:!0}),t.exports=i.XRay},{"../apis/xray-2016-04-12.min.json":223,"../apis/xray-2016-04-12.paginators.json":224,"../lib/core":323,"../lib/node_loader":319}],312:[function(e,t,r){function i(e,t){if(!i.services.hasOwnProperty(e))throw new Error("InvalidService: Failed to load api for "+e);return i.services[e][t]}i.services={},t.exports=i},{}],313:[function(e,t,r){var i=e("./browserHmac"),a=e("./browserMd5"),s=e("./browserSha1"),o=e("./browserSha256");t.exports={createHash:function(e){if("md5"===(e=e.toLowerCase()))return new a;if("sha256"===e)return new o;if("sha1"===e)return new s;throw new Error("Hash algorithm "+e+" is not supported in the browser SDK")},createHmac:function(e,t){if("md5"===(e=e.toLowerCase()))return new i(a,t);if("sha256"===e)return new i(o,t);if("sha1"===e)return new i(s,t);throw new Error("HMAC algorithm "+e+" is not supported in the browser SDK")},createSign:function(){throw new Error("createSign is not implemented in the browser")}}},{"./browserHmac":315,"./browserMd5":316,"./browserSha1":317,"./browserSha256":318}],314:[function(e,t,r){function i(e){return"string"==typeof e?0===e.length:0===e.byteLength}function a(e){return"string"==typeof e&&(e=new s(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var s=e("buffer/").Buffer;"undefined"!=typeof ArrayBuffer&&void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(e){return o.indexOf(Object.prototype.toString.call(e))>-1});var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:i,convertToBuffer:a}},{"buffer/":406}],315:[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":314}],316:[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":314,"buffer/":406}],317:[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":314,"buffer/":406}],318:[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,h=((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+h|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":314,"buffer/":406}],319:[function(e,t,r){(function(r){var i=e("./util");i.crypto.lib=e("./browserCryptoLib"),i.Buffer=e("buffer/").Buffer,i.url=e("url/"),i.querystring=e("querystring/"),i.realClock=e("./realclock/browserClock"),i.environment="js",i.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,i.isBrowser=function(){return!0},i.isNode=function(){return!1};var a=e("./core");if(t.exports=a,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),a.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===r)var r={browser:!0}}).call(this,e("_process"))},{"./browserCryptoLib":313,"./core":323,"./credentials":324,"./credentials/chainable_temporary_credentials":325,"./credentials/cognito_identity_credentials":326,"./credentials/credential_provider_chain":327,"./credentials/saml_credentials":328,"./credentials/temporary_credentials":329,"./credentials/web_identity_credentials":330,"./event-stream/buffered-create-event-stream":338,"./http/xhr":346,"./realclock/browserClock":365,"./util":397,"./xml/browser_parser":398,_process:411,"buffer/":406,"querystring/":418,"url/":420}],320:[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":323}],321:[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:!1,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":323,"./credentials":324,"./credentials/credential_provider_chain":327}],322:[function(e,t,r){(function(r){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,e("_process"))},{"./core":323,_process:411}],323:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.615.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":429,"./api_loader":312,"./config":321,"./event_listeners":344,"./http":345,"./json/builder":347,"./json/parser":348,"./model/api":349,"./model/operation":351,"./model/paginator":352,"./model/resource_waiter":353,"./model/shape":354,"./param_validator":355,"./protocol/json":358,"./protocol/query":359,"./protocol/rest":360,"./protocol/rest_json":361,"./protocol/rest_xml":362,"./request":368,"./resource_waiter":369,"./response":370,"./sequential_executor":372,"./service":373,"./signers/request_signer":389,"./util":397,"./xml/builder":399}],324:[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":323}],325:[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":307,"../core":323}],326:[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":241,"../../clients/sts":307,"../core":323}],327:[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":323}],328:[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":307,"../core":323}],329:[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":307,"../core":323}],330:[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":307,"../core":323}],331:[function(e,t,r){(function(r){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 h[c]||(h[c]=[]),void h[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){var a={code:"EndpointDiscoveryException",message:"Request cannot be fulfilled without specifying an endpoint",retryable:!1};if(e.response.error=b.error(r,a),y.endpointCache.remove(m),h[c]){var s=h[c];b.arrayEach(s,function(e){e.request.response.error=b.error(r,a),e.callback()}),delete h[c]}}else if(i&&(y.endpointCache.put(c,i.Endpoints),e.httpRequest.updateEndpoint(i.Endpoints[0].Address),h[c])){var s=h[c];b.arrayEach(s,function(e){e.request.httpRequest.updateEndpoint(i.Endpoints[0].Address),e.callback()}),delete h[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){if(!0===(e.service||{}).config.endpointDiscoveryEnabled)return!0;if(b.isBrowser())return!1;for(var t=0;t-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":323}],341:[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&&"ENOTFOUND"===e.errno){var t="Inaccessible host: `"+e.hostname+"'. 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;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 e.isSensitive?"***SensitiveInformation***":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":323,"./discover_endpoint":331,"./protocol/json":358,"./protocol/query":359,"./protocol/rest":360,"./protocol/rest_json":361,"./protocol/rest_xml":362,"./sequential_executor":372,util:423}],345:[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||"/"}}),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":323}],346:[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=g.base64.decode(e);if(this.isSensitive&&g.isNode()&&"function"==typeof g.Buffer.alloc){var r=g.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=g.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 h=e("./collection"),g=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":397,"./collection":350}],355:[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":323,"../util":397}],358:[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());(i.__type||i.code)&&(t.code=(i.__type||i.code).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":347,"../json/parser":348,"../util":397,"./helpers":357}],359:[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":323,"../util":397,"./rest":360}],363:[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":397}],364:[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":323}],365:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],366:[function(e,t,r){function i(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function a(e){var t=e.config.region,r=i(t),a=e.api.endpointPrefix;return[[t,a],[r,a],[t,"*"],[r,"*"],["*",a],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=a(e),r=0;r=0){u=!0;var p=0}var m=function(){u&&p!==n?a.emit("error",i.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===i.HttpClient.streamsApiVersion?a.end():a.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===i.HttpClient.streamsApiVersion)if(u){var l=new e.PassThrough;l._write=function(t){return t&&t.length&&(p+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},l.on("end",m),a.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(a,{end:!1})}else c.pipe(a);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){a.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,a.emit("error",e)})}}),a},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),i.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new i.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",i.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",i.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),i.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e(function(e,r){t.on("complete",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))}),t.runTo()})}},i.Request.deletePromisesFromClass=function(){delete this.prototype.promise},i.util.addPromises(i.Request),i.util.mixin(i.Request,i.SequentialExecutor)}).call(this,e("_process"))},{"./core":323,"./state_machine":396,_process:411,jmespath:410}],369:[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)}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":323}],373:[function(e,t,r){(function(r){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;"number"==typeof a.retryCount&&"number"==typeof a.maxRetries&&a.retryCount>=a.maxRetries&&(t.MaxRetriesExceeded=1),p.emit("apiCall",[t])}})},setupRequestListeners:function(e){},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":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,this.config.region),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new i.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var a=new Error;throw i.util.error(a,"No pagination configuration for "+e)}return null}return r}}),i.util.update(i.Service,{defineMethods:function(e){i.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){"none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){i.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var a=o(i.Service,r||{});if("string"==typeof e){i.Service.addVersions(a,t);var s=a.serviceIdentifier||e;a.serviceIdentifier=s}else a.prototype.api=e,i.Service.defineMethods(a);if(i.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&i.util.clientSideMonitoring){var n=i.util.clientSideMonitoring.Publisher,u=i.util.clientSideMonitoring.configProvider,p=u();this.prototype.publisher=new n(p),p.enabled&&(i.Service._clientSideMonitoring=!0)}return i.SequentialExecutor.call(a.prototype),i.Service.addDefaultMonitoringListeners(a.prototype),a},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r