aws-sdk 2.658.0 → 2.662.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -1
- package/README.md +1 -1
- package/apis/apigatewayv2-2018-11-29.min.json +51 -0
- package/apis/application-autoscaling-2016-02-06.examples.json +6 -169
- package/apis/ce-2017-10-25.min.json +123 -88
- package/apis/ce-2017-10-25.paginators.json +5 -0
- package/apis/codeguru-reviewer-2019-09-19.min.json +341 -3
- package/apis/codeguru-reviewer-2019-09-19.paginators.json +15 -0
- package/apis/elasticmapreduce-2009-03-31.min.json +98 -17
- package/apis/es-2015-01-01.min.json +3 -0
- package/apis/firehose-2015-08-04.min.json +74 -30
- package/apis/guardduty-2017-11-28.min.json +165 -16
- package/apis/guardduty-2017-11-28.paginators.json +6 -0
- package/apis/iotevents-2018-07-27.min.json +102 -20
- package/apis/mediapackage-vod-2018-11-07.min.json +173 -36
- package/apis/metadata.json +3 -0
- package/apis/pinpoint-2016-12-01.min.json +363 -335
- package/apis/ram-2018-01-04.min.json +30 -0
- package/apis/rds-2014-10-31.min.json +2 -0
- package/apis/redshift-2012-12-01.min.json +154 -46
- package/apis/redshift-2012-12-01.paginators.json +6 -0
- package/apis/route53domains-2014-05-15.min.json +97 -24
- package/apis/storagegateway-2013-06-30.min.json +99 -14
- package/apis/synthetics-2017-10-11.examples.json +5 -0
- package/apis/synthetics-2017-10-11.min.json +578 -0
- package/apis/synthetics-2017-10-11.paginators.json +24 -0
- package/apis/transfer-2018-11-05.min.json +41 -24
- package/clients/all.d.ts +1 -0
- package/clients/all.js +2 -1
- package/clients/apigatewayv2.d.ts +40 -2
- package/clients/applicationautoscaling.d.ts +83 -83
- package/clients/codegurureviewer.d.ts +417 -10
- package/clients/costexplorer.d.ts +66 -28
- package/clients/emr.d.ts +91 -6
- package/clients/es.d.ts +4 -0
- package/clients/firehose.d.ts +50 -8
- package/clients/fms.d.ts +6 -6
- package/clients/glue.d.ts +4 -4
- package/clients/guardduty.d.ts +340 -224
- package/clients/iotevents.d.ts +106 -0
- package/clients/mediapackagevod.d.ts +55 -0
- package/clients/pinpoint.d.ts +115 -77
- package/clients/ram.d.ts +41 -2
- package/clients/rds.d.ts +13 -5
- package/clients/redshift.d.ts +162 -1
- package/clients/route53domains.d.ts +140 -47
- package/clients/storagegateway.d.ts +137 -60
- package/clients/synthetics.d.ts +656 -0
- package/clients/synthetics.js +18 -0
- package/clients/transfer.d.ts +154 -123
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +61 -24
- package/dist/aws-sdk.js +664 -222
- package/dist/aws-sdk.min.js +74 -74
- package/lib/config_service_placeholders.d.ts +2 -0
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/ram.d.ts
CHANGED
|
@@ -147,6 +147,14 @@ declare class RAM extends Service {
|
|
|
147
147
|
* Lists the AWS RAM permissions that are associated with a resource share.
|
|
148
148
|
*/
|
|
149
149
|
listResourceSharePermissions(callback?: (err: AWSError, data: RAM.Types.ListResourceSharePermissionsResponse) => void): Request<RAM.Types.ListResourceSharePermissionsResponse, AWSError>;
|
|
150
|
+
/**
|
|
151
|
+
* Lists the shareable resource types supported by AWS RAM.
|
|
152
|
+
*/
|
|
153
|
+
listResourceTypes(params: RAM.Types.ListResourceTypesRequest, callback?: (err: AWSError, data: RAM.Types.ListResourceTypesResponse) => void): Request<RAM.Types.ListResourceTypesResponse, AWSError>;
|
|
154
|
+
/**
|
|
155
|
+
* Lists the shareable resource types supported by AWS RAM.
|
|
156
|
+
*/
|
|
157
|
+
listResourceTypes(callback?: (err: AWSError, data: RAM.Types.ListResourceTypesResponse) => void): Request<RAM.Types.ListResourceTypesResponse, AWSError>;
|
|
150
158
|
/**
|
|
151
159
|
* Lists the resources that you added to a resource shares or the resources that are shared with you.
|
|
152
160
|
*/
|
|
@@ -610,7 +618,7 @@ declare namespace RAM {
|
|
|
610
618
|
*/
|
|
611
619
|
principals?: PrincipalArnOrIdList;
|
|
612
620
|
/**
|
|
613
|
-
* The resource type. Valid values: ec2:CapacityReservation | ec2:Subnet | ec2:TrafficMirrorTarget | ec2:TransitGateway | license-manager:LicenseConfiguration | rds:Cluster | route53resolver:ResolverRule
|
|
621
|
+
* The resource type. Valid values: codebuild:Project | codebuild:ReportGroup | ec2:CapacityReservation | ec2:DedicatedHost | ec2:Subnet | ec2:TrafficMirrorTarget | ec2:TransitGateway | imagebuilder:Component | imagebuilder:Image | imagebuilder:ImageRecipe | license-manager:LicenseConfiguration I resource-groups:Group | rds:Cluster | route53resolver:ResolverRule
|
|
614
622
|
*/
|
|
615
623
|
resourceType?: String;
|
|
616
624
|
/**
|
|
@@ -660,6 +668,26 @@ declare namespace RAM {
|
|
|
660
668
|
*/
|
|
661
669
|
nextToken?: String;
|
|
662
670
|
}
|
|
671
|
+
export interface ListResourceTypesRequest {
|
|
672
|
+
/**
|
|
673
|
+
* The token for the next page of results.
|
|
674
|
+
*/
|
|
675
|
+
nextToken?: String;
|
|
676
|
+
/**
|
|
677
|
+
* The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
|
|
678
|
+
*/
|
|
679
|
+
maxResults?: MaxResults;
|
|
680
|
+
}
|
|
681
|
+
export interface ListResourceTypesResponse {
|
|
682
|
+
/**
|
|
683
|
+
* The shareable resource types supported by AWS RAM.
|
|
684
|
+
*/
|
|
685
|
+
resourceTypes?: ServiceNameAndResourceTypeList;
|
|
686
|
+
/**
|
|
687
|
+
* The token to use to retrieve the next page of results. This value is null when there are no more results to return.
|
|
688
|
+
*/
|
|
689
|
+
nextToken?: String;
|
|
690
|
+
}
|
|
663
691
|
export interface ListResourcesRequest {
|
|
664
692
|
/**
|
|
665
693
|
* The type of owner.
|
|
@@ -670,7 +698,7 @@ declare namespace RAM {
|
|
|
670
698
|
*/
|
|
671
699
|
principal?: String;
|
|
672
700
|
/**
|
|
673
|
-
* The resource type. Valid values: ec2:CapacityReservation | ec2:Subnet | ec2:TrafficMirrorTarget | ec2:TransitGateway | license-manager:LicenseConfiguration | rds:Cluster | route53resolver:ResolverRule
|
|
701
|
+
* The resource type. Valid values: codebuild:Project | codebuild:ReportGroup | ec2:CapacityReservation | ec2:DedicatedHost | ec2:Subnet | ec2:TrafficMirrorTarget | ec2:TransitGateway | imagebuilder:Component | imagebuilder:Image | imagebuilder:ImageRecipe | license-manager:LicenseConfiguration I resource-groups:Group | rds:Cluster | route53resolver:ResolverRule
|
|
674
702
|
*/
|
|
675
703
|
resourceType?: String;
|
|
676
704
|
/**
|
|
@@ -991,6 +1019,17 @@ declare namespace RAM {
|
|
|
991
1019
|
}
|
|
992
1020
|
export type ResourceShareStatus = "PENDING"|"ACTIVE"|"FAILED"|"DELETING"|"DELETED"|string;
|
|
993
1021
|
export type ResourceStatus = "AVAILABLE"|"ZONAL_RESOURCE_INACCESSIBLE"|"LIMIT_EXCEEDED"|"UNAVAILABLE"|"PENDING"|string;
|
|
1022
|
+
export interface ServiceNameAndResourceType {
|
|
1023
|
+
/**
|
|
1024
|
+
* The shareable resource types.
|
|
1025
|
+
*/
|
|
1026
|
+
resourceType?: String;
|
|
1027
|
+
/**
|
|
1028
|
+
* The name of the AWS services to which the resources belong.
|
|
1029
|
+
*/
|
|
1030
|
+
serviceName?: String;
|
|
1031
|
+
}
|
|
1032
|
+
export type ServiceNameAndResourceTypeList = ServiceNameAndResourceType[];
|
|
994
1033
|
export type String = string;
|
|
995
1034
|
export interface Tag {
|
|
996
1035
|
/**
|
package/clients/rds.d.ts
CHANGED
|
@@ -942,19 +942,19 @@ declare class RDS extends Service {
|
|
|
942
942
|
*/
|
|
943
943
|
resetDBParameterGroup(callback?: (err: AWSError, data: RDS.Types.DBParameterGroupNameMessage) => void): Request<RDS.Types.DBParameterGroupNameMessage, AWSError>;
|
|
944
944
|
/**
|
|
945
|
-
* Creates an Amazon Aurora DB cluster from data stored in an Amazon S3 bucket. Amazon RDS must be authorized to access the Amazon S3 bucket and the data must be created using the Percona XtraBackup utility as described in Migrating Data to an Amazon Aurora MySQL DB Cluster in the Amazon Aurora User Guide. This action only applies to Aurora DB clusters.
|
|
945
|
+
* Creates an Amazon Aurora DB cluster from data stored in an Amazon S3 bucket. Amazon RDS must be authorized to access the Amazon S3 bucket and the data must be created using the Percona XtraBackup utility as described in Migrating Data to an Amazon Aurora MySQL DB Cluster in the Amazon Aurora User Guide. This action only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance action to create DB instances for the restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier. You can create DB instances only after the RestoreDBClusterFromS3 action has completed and the DB cluster is available. For more information on Amazon Aurora, see What Is Amazon Aurora? in the Amazon Aurora User Guide. This action only applies to Aurora DB clusters.
|
|
946
946
|
*/
|
|
947
947
|
restoreDBClusterFromS3(params: RDS.Types.RestoreDBClusterFromS3Message, callback?: (err: AWSError, data: RDS.Types.RestoreDBClusterFromS3Result) => void): Request<RDS.Types.RestoreDBClusterFromS3Result, AWSError>;
|
|
948
948
|
/**
|
|
949
|
-
* Creates an Amazon Aurora DB cluster from data stored in an Amazon S3 bucket. Amazon RDS must be authorized to access the Amazon S3 bucket and the data must be created using the Percona XtraBackup utility as described in Migrating Data to an Amazon Aurora MySQL DB Cluster in the Amazon Aurora User Guide. This action only applies to Aurora DB clusters.
|
|
949
|
+
* Creates an Amazon Aurora DB cluster from data stored in an Amazon S3 bucket. Amazon RDS must be authorized to access the Amazon S3 bucket and the data must be created using the Percona XtraBackup utility as described in Migrating Data to an Amazon Aurora MySQL DB Cluster in the Amazon Aurora User Guide. This action only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance action to create DB instances for the restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier. You can create DB instances only after the RestoreDBClusterFromS3 action has completed and the DB cluster is available. For more information on Amazon Aurora, see What Is Amazon Aurora? in the Amazon Aurora User Guide. This action only applies to Aurora DB clusters.
|
|
950
950
|
*/
|
|
951
951
|
restoreDBClusterFromS3(callback?: (err: AWSError, data: RDS.Types.RestoreDBClusterFromS3Result) => void): Request<RDS.Types.RestoreDBClusterFromS3Result, AWSError>;
|
|
952
952
|
/**
|
|
953
|
-
* Creates a new DB cluster from a DB snapshot or DB cluster snapshot. This action only applies to Aurora DB clusters. The target DB cluster is created from the source snapshot with a default configuration. If you don't specify a security group, the new DB cluster is associated with the default security group. This action only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance action to create DB instances for the restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier. You can create DB instances only after the RestoreDBClusterFromSnapshot action has completed and the DB cluster is available. For more information on Amazon Aurora, see What Is Amazon Aurora? in the Amazon Aurora User Guide.
|
|
953
|
+
* Creates a new DB cluster from a DB snapshot or DB cluster snapshot. This action only applies to Aurora DB clusters. The target DB cluster is created from the source snapshot with a default configuration. If you don't specify a security group, the new DB cluster is associated with the default security group. This action only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance action to create DB instances for the restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier. You can create DB instances only after the RestoreDBClusterFromSnapshot action has completed and the DB cluster is available. For more information on Amazon Aurora, see What Is Amazon Aurora? in the Amazon Aurora User Guide. This action only applies to Aurora DB clusters.
|
|
954
954
|
*/
|
|
955
955
|
restoreDBClusterFromSnapshot(params: RDS.Types.RestoreDBClusterFromSnapshotMessage, callback?: (err: AWSError, data: RDS.Types.RestoreDBClusterFromSnapshotResult) => void): Request<RDS.Types.RestoreDBClusterFromSnapshotResult, AWSError>;
|
|
956
956
|
/**
|
|
957
|
-
* Creates a new DB cluster from a DB snapshot or DB cluster snapshot. This action only applies to Aurora DB clusters. The target DB cluster is created from the source snapshot with a default configuration. If you don't specify a security group, the new DB cluster is associated with the default security group. This action only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance action to create DB instances for the restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier. You can create DB instances only after the RestoreDBClusterFromSnapshot action has completed and the DB cluster is available. For more information on Amazon Aurora, see What Is Amazon Aurora? in the Amazon Aurora User Guide.
|
|
957
|
+
* Creates a new DB cluster from a DB snapshot or DB cluster snapshot. This action only applies to Aurora DB clusters. The target DB cluster is created from the source snapshot with a default configuration. If you don't specify a security group, the new DB cluster is associated with the default security group. This action only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance action to create DB instances for the restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier. You can create DB instances only after the RestoreDBClusterFromSnapshot action has completed and the DB cluster is available. For more information on Amazon Aurora, see What Is Amazon Aurora? in the Amazon Aurora User Guide. This action only applies to Aurora DB clusters.
|
|
958
958
|
*/
|
|
959
959
|
restoreDBClusterFromSnapshot(callback?: (err: AWSError, data: RDS.Types.RestoreDBClusterFromSnapshotResult) => void): Request<RDS.Types.RestoreDBClusterFromSnapshotResult, AWSError>;
|
|
960
960
|
/**
|
|
@@ -4619,6 +4619,10 @@ declare namespace RDS {
|
|
|
4619
4619
|
* The license model filter value. Specify this parameter to show only the available offerings matching the specified license model.
|
|
4620
4620
|
*/
|
|
4621
4621
|
LicenseModel?: String;
|
|
4622
|
+
/**
|
|
4623
|
+
* The Availability Zone group associated with a Local Zone. Specify this parameter to retrieve available offerings for the Local Zones in the group. Omit this parameter to show the available offerings in the specified AWS Region.
|
|
4624
|
+
*/
|
|
4625
|
+
AvailabilityZoneGroup?: String;
|
|
4622
4626
|
/**
|
|
4623
4627
|
* A value that indicates whether to show only VPC or non-VPC offerings.
|
|
4624
4628
|
*/
|
|
@@ -6110,6 +6114,10 @@ declare namespace RDS {
|
|
|
6110
6114
|
* The license model for a DB instance.
|
|
6111
6115
|
*/
|
|
6112
6116
|
LicenseModel?: String;
|
|
6117
|
+
/**
|
|
6118
|
+
* The Availability Zone group for a DB instance.
|
|
6119
|
+
*/
|
|
6120
|
+
AvailabilityZoneGroup?: String;
|
|
6113
6121
|
/**
|
|
6114
6122
|
* A list of Availability Zones for a DB instance.
|
|
6115
6123
|
*/
|
|
@@ -6183,7 +6191,7 @@ declare namespace RDS {
|
|
|
6183
6191
|
*/
|
|
6184
6192
|
SupportedEngineModes?: EngineModeList;
|
|
6185
6193
|
/**
|
|
6186
|
-
* Whether
|
|
6194
|
+
* Whether Amazon RDS can automatically scale storage for DB instances that use the specified DB instance class.
|
|
6187
6195
|
*/
|
|
6188
6196
|
SupportsStorageAutoscaling?: BooleanOptional;
|
|
6189
6197
|
/**
|
package/clients/redshift.d.ts
CHANGED
|
@@ -164,6 +164,14 @@ declare class Redshift extends Service {
|
|
|
164
164
|
* Adds tags to a cluster. A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, you will receive an error and the attempt will fail. If you specify a key that already exists for the resource, the value for that key will be updated with the new value.
|
|
165
165
|
*/
|
|
166
166
|
createTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
167
|
+
/**
|
|
168
|
+
* Creates a usage limit for a specified Amazon Redshift feature on a cluster. The usage limit is identified by the returned usage limit identifier.
|
|
169
|
+
*/
|
|
170
|
+
createUsageLimit(params: Redshift.Types.CreateUsageLimitMessage, callback?: (err: AWSError, data: Redshift.Types.UsageLimit) => void): Request<Redshift.Types.UsageLimit, AWSError>;
|
|
171
|
+
/**
|
|
172
|
+
* Creates a usage limit for a specified Amazon Redshift feature on a cluster. The usage limit is identified by the returned usage limit identifier.
|
|
173
|
+
*/
|
|
174
|
+
createUsageLimit(callback?: (err: AWSError, data: Redshift.Types.UsageLimit) => void): Request<Redshift.Types.UsageLimit, AWSError>;
|
|
167
175
|
/**
|
|
168
176
|
* Deletes a previously provisioned cluster without its final snapshot being created. A successful response from the web service indicates that the request was received correctly. Use DescribeClusters to monitor the status of the deletion. The delete operation cannot be canceled or reverted once submitted. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide. If you want to shut down the cluster and retain it for future use, set SkipFinalClusterSnapshot to false and specify a name for FinalClusterSnapshotIdentifier. You can later restore this snapshot to resume using the cluster. If a final cluster snapshot is requested, the status of the cluster will be "final-snapshot" while the snapshot is being taken, then it's "deleting" once Amazon Redshift begins deleting the cluster. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.
|
|
169
177
|
*/
|
|
@@ -260,6 +268,14 @@ declare class Redshift extends Service {
|
|
|
260
268
|
* Deletes tags from a resource. You must provide the ARN of the resource from which you want to delete the tag or tags.
|
|
261
269
|
*/
|
|
262
270
|
deleteTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
271
|
+
/**
|
|
272
|
+
* Deletes a usage limit from a cluster.
|
|
273
|
+
*/
|
|
274
|
+
deleteUsageLimit(params: Redshift.Types.DeleteUsageLimitMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
275
|
+
/**
|
|
276
|
+
* Deletes a usage limit from a cluster.
|
|
277
|
+
*/
|
|
278
|
+
deleteUsageLimit(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
263
279
|
/**
|
|
264
280
|
* Returns a list of attributes attached to an account
|
|
265
281
|
*/
|
|
@@ -480,6 +496,14 @@ declare class Redshift extends Service {
|
|
|
480
496
|
* Returns a list of tags. You can return tags from a specific resource by specifying an ARN, or you can return all tags for a given type of resource, such as clusters, snapshots, and so on. The following are limitations for DescribeTags: You cannot specify an ARN and a resource-type value together in the same request. You cannot use the MaxRecords and Marker parameters together with the ARN parameter. The MaxRecords parameter can be a range from 10 to 50 results to return in a request. If you specify both tag keys and tag values in the same request, Amazon Redshift returns all resources that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all resources that have any combination of those values are returned. If both tag keys and values are omitted from the request, resources are returned regardless of whether they have tag keys or values associated with them.
|
|
481
497
|
*/
|
|
482
498
|
describeTags(callback?: (err: AWSError, data: Redshift.Types.TaggedResourceListMessage) => void): Request<Redshift.Types.TaggedResourceListMessage, AWSError>;
|
|
499
|
+
/**
|
|
500
|
+
* Shows usage limits on a cluster. Results are filtered based on the combination of input usage limit identifier, cluster identifier, and feature type parameters: If usage limit identifier, cluster identifier, and feature type are not provided, then all usage limit objects for the current account in the current region are returned. If usage limit identifier is provided, then the corresponding usage limit object is returned. If cluster identifier is provided, then all usage limit objects for the specified cluster are returned. If cluster identifier and feature type are provided, then all usage limit objects for the combination of cluster and feature are returned.
|
|
501
|
+
*/
|
|
502
|
+
describeUsageLimits(params: Redshift.Types.DescribeUsageLimitsMessage, callback?: (err: AWSError, data: Redshift.Types.UsageLimitList) => void): Request<Redshift.Types.UsageLimitList, AWSError>;
|
|
503
|
+
/**
|
|
504
|
+
* Shows usage limits on a cluster. Results are filtered based on the combination of input usage limit identifier, cluster identifier, and feature type parameters: If usage limit identifier, cluster identifier, and feature type are not provided, then all usage limit objects for the current account in the current region are returned. If usage limit identifier is provided, then the corresponding usage limit object is returned. If cluster identifier is provided, then all usage limit objects for the specified cluster are returned. If cluster identifier and feature type are provided, then all usage limit objects for the combination of cluster and feature are returned.
|
|
505
|
+
*/
|
|
506
|
+
describeUsageLimits(callback?: (err: AWSError, data: Redshift.Types.UsageLimitList) => void): Request<Redshift.Types.UsageLimitList, AWSError>;
|
|
483
507
|
/**
|
|
484
508
|
* Stops logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
|
|
485
509
|
*/
|
|
@@ -624,6 +648,14 @@ declare class Redshift extends Service {
|
|
|
624
648
|
* Modifies a snapshot schedule. Any schedule associated with a cluster is modified asynchronously.
|
|
625
649
|
*/
|
|
626
650
|
modifySnapshotSchedule(callback?: (err: AWSError, data: Redshift.Types.SnapshotSchedule) => void): Request<Redshift.Types.SnapshotSchedule, AWSError>;
|
|
651
|
+
/**
|
|
652
|
+
* Modifies a usage limit in a cluster. You can't modify the feature type or period of a usage limit.
|
|
653
|
+
*/
|
|
654
|
+
modifyUsageLimit(params: Redshift.Types.ModifyUsageLimitMessage, callback?: (err: AWSError, data: Redshift.Types.UsageLimit) => void): Request<Redshift.Types.UsageLimit, AWSError>;
|
|
655
|
+
/**
|
|
656
|
+
* Modifies a usage limit in a cluster. You can't modify the feature type or period of a usage limit.
|
|
657
|
+
*/
|
|
658
|
+
modifyUsageLimit(callback?: (err: AWSError, data: Redshift.Types.UsageLimit) => void): Request<Redshift.Types.UsageLimit, AWSError>;
|
|
627
659
|
/**
|
|
628
660
|
* Pauses a cluster.
|
|
629
661
|
*/
|
|
@@ -1774,6 +1806,36 @@ declare namespace Redshift {
|
|
|
1774
1806
|
*/
|
|
1775
1807
|
Tags: TagList;
|
|
1776
1808
|
}
|
|
1809
|
+
export interface CreateUsageLimitMessage {
|
|
1810
|
+
/**
|
|
1811
|
+
* The identifier of the cluster that you want to limit usage.
|
|
1812
|
+
*/
|
|
1813
|
+
ClusterIdentifier: String;
|
|
1814
|
+
/**
|
|
1815
|
+
* The Amazon Redshift feature that you want to limit.
|
|
1816
|
+
*/
|
|
1817
|
+
FeatureType: UsageLimitFeatureType;
|
|
1818
|
+
/**
|
|
1819
|
+
* The type of limit. Depending on the feature type, this can be based on a time duration or data size. If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType must be time.
|
|
1820
|
+
*/
|
|
1821
|
+
LimitType: UsageLimitLimitType;
|
|
1822
|
+
/**
|
|
1823
|
+
* The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.
|
|
1824
|
+
*/
|
|
1825
|
+
Amount: Long;
|
|
1826
|
+
/**
|
|
1827
|
+
* The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
|
|
1828
|
+
*/
|
|
1829
|
+
Period?: UsageLimitPeriod;
|
|
1830
|
+
/**
|
|
1831
|
+
* The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit.
|
|
1832
|
+
*/
|
|
1833
|
+
BreachAction?: UsageLimitBreachAction;
|
|
1834
|
+
/**
|
|
1835
|
+
* A list of tag instances.
|
|
1836
|
+
*/
|
|
1837
|
+
Tags?: TagList;
|
|
1838
|
+
}
|
|
1777
1839
|
export interface CustomerStorageMessage {
|
|
1778
1840
|
/**
|
|
1779
1841
|
* The total amount of storage currently used for snapshots.
|
|
@@ -1939,6 +2001,12 @@ declare namespace Redshift {
|
|
|
1939
2001
|
*/
|
|
1940
2002
|
TagKeys: TagKeyList;
|
|
1941
2003
|
}
|
|
2004
|
+
export interface DeleteUsageLimitMessage {
|
|
2005
|
+
/**
|
|
2006
|
+
* The identifier of the usage limit to delete.
|
|
2007
|
+
*/
|
|
2008
|
+
UsageLimitId: String;
|
|
2009
|
+
}
|
|
1942
2010
|
export interface DescribeAccountAttributesMessage {
|
|
1943
2011
|
/**
|
|
1944
2012
|
* A list of attribute names.
|
|
@@ -2490,6 +2558,36 @@ declare namespace Redshift {
|
|
|
2490
2558
|
*/
|
|
2491
2559
|
TagValues?: TagValueList;
|
|
2492
2560
|
}
|
|
2561
|
+
export interface DescribeUsageLimitsMessage {
|
|
2562
|
+
/**
|
|
2563
|
+
* The identifier of the usage limit to describe.
|
|
2564
|
+
*/
|
|
2565
|
+
UsageLimitId?: String;
|
|
2566
|
+
/**
|
|
2567
|
+
* The identifier of the cluster for which you want to describe usage limits.
|
|
2568
|
+
*/
|
|
2569
|
+
ClusterIdentifier?: String;
|
|
2570
|
+
/**
|
|
2571
|
+
* The feature type for which you want to describe usage limits.
|
|
2572
|
+
*/
|
|
2573
|
+
FeatureType?: UsageLimitFeatureType;
|
|
2574
|
+
/**
|
|
2575
|
+
* The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints: minimum 20, maximum 100.
|
|
2576
|
+
*/
|
|
2577
|
+
MaxRecords?: IntegerOptional;
|
|
2578
|
+
/**
|
|
2579
|
+
* An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeUsageLimits request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.
|
|
2580
|
+
*/
|
|
2581
|
+
Marker?: String;
|
|
2582
|
+
/**
|
|
2583
|
+
* A tag key or keys for which you want to return all matching usage limit objects that are associated with the specified key or keys. For example, suppose that you have parameter groups that are tagged with keys called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a response with the usage limit objects have either or both of these tag keys associated with them.
|
|
2584
|
+
*/
|
|
2585
|
+
TagKeys?: TagKeyList;
|
|
2586
|
+
/**
|
|
2587
|
+
* A tag value or values for which you want to return all matching usage limit objects that are associated with the specified tag value or values. For example, suppose that you have parameter groups that are tagged with values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns a response with the usage limit objects that have either or both of these tag values associated with them.
|
|
2588
|
+
*/
|
|
2589
|
+
TagValues?: TagValueList;
|
|
2590
|
+
}
|
|
2493
2591
|
export interface DisableLoggingMessage {
|
|
2494
2592
|
/**
|
|
2495
2593
|
* The identifier of the cluster on which logging is to be stopped. Example: examplecluster
|
|
@@ -3211,6 +3309,20 @@ declare namespace Redshift {
|
|
|
3211
3309
|
*/
|
|
3212
3310
|
ScheduleDefinitions: ScheduleDefinitionList;
|
|
3213
3311
|
}
|
|
3312
|
+
export interface ModifyUsageLimitMessage {
|
|
3313
|
+
/**
|
|
3314
|
+
* The identifier of the usage limit to modify.
|
|
3315
|
+
*/
|
|
3316
|
+
UsageLimitId: String;
|
|
3317
|
+
/**
|
|
3318
|
+
* The new limit amount. For more information about this parameter, see UsageLimit.
|
|
3319
|
+
*/
|
|
3320
|
+
Amount?: LongOptional;
|
|
3321
|
+
/**
|
|
3322
|
+
* The new action that Amazon Redshift takes when the limit is reached. For more information about this parameter, see UsageLimit.
|
|
3323
|
+
*/
|
|
3324
|
+
BreachAction?: UsageLimitBreachAction;
|
|
3325
|
+
}
|
|
3214
3326
|
export interface NodeConfigurationOption {
|
|
3215
3327
|
/**
|
|
3216
3328
|
* The node type, such as, "ds2.8xlarge".
|
|
@@ -3725,7 +3837,7 @@ declare namespace Redshift {
|
|
|
3725
3837
|
*/
|
|
3726
3838
|
KmsKeyId?: String;
|
|
3727
3839
|
/**
|
|
3728
|
-
* The node type that the restored cluster will be provisioned with. Default: The node type of the cluster from which the snapshot was taken. You can modify this if you are using any DS node type. In that case, you can choose to restore into another DS node type of the same size. For example, you can restore ds1.8xlarge into ds2.8xlarge, or ds1.xlarge into ds2.xlarge. If you have a DC instance type, you must restore into that same instance type and size. In other words, you can only restore a dc1.large instance type into another dc1.large instance type or dc2.large instance type. You can't restore dc1.8xlarge to dc2.8xlarge. First restore to a dc1.
|
|
3840
|
+
* The node type that the restored cluster will be provisioned with. Default: The node type of the cluster from which the snapshot was taken. You can modify this if you are using any DS node type. In that case, you can choose to restore into another DS node type of the same size. For example, you can restore ds1.8xlarge into ds2.8xlarge, or ds1.xlarge into ds2.xlarge. If you have a DC instance type, you must restore into that same instance type and size. In other words, you can only restore a dc1.large instance type into another dc1.large instance type or dc2.large instance type. You can't restore dc1.8xlarge to dc2.8xlarge. First restore to a dc1.8xlarge cluster, then resize to a dc2.8large cluster. For more information about node types, see About Clusters and Nodes in the Amazon Redshift Cluster Management Guide.
|
|
3729
3841
|
*/
|
|
3730
3842
|
NodeType?: String;
|
|
3731
3843
|
/**
|
|
@@ -4372,6 +4484,55 @@ declare namespace Redshift {
|
|
|
4372
4484
|
*/
|
|
4373
4485
|
SupportedOperations?: SupportedOperationList;
|
|
4374
4486
|
}
|
|
4487
|
+
export interface UsageLimit {
|
|
4488
|
+
/**
|
|
4489
|
+
* The identifier of the usage limit.
|
|
4490
|
+
*/
|
|
4491
|
+
UsageLimitId?: String;
|
|
4492
|
+
/**
|
|
4493
|
+
* The identifier of the cluster with a usage limit.
|
|
4494
|
+
*/
|
|
4495
|
+
ClusterIdentifier?: String;
|
|
4496
|
+
/**
|
|
4497
|
+
* The Amazon Redshift feature to which the limit applies.
|
|
4498
|
+
*/
|
|
4499
|
+
FeatureType?: UsageLimitFeatureType;
|
|
4500
|
+
/**
|
|
4501
|
+
* The type of limit. Depending on the feature type, this can be based on a time duration or data size.
|
|
4502
|
+
*/
|
|
4503
|
+
LimitType?: UsageLimitLimitType;
|
|
4504
|
+
/**
|
|
4505
|
+
* The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).
|
|
4506
|
+
*/
|
|
4507
|
+
Amount?: Long;
|
|
4508
|
+
/**
|
|
4509
|
+
* The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
|
|
4510
|
+
*/
|
|
4511
|
+
Period?: UsageLimitPeriod;
|
|
4512
|
+
/**
|
|
4513
|
+
* The action that Amazon Redshift takes when the limit is reached. Possible values are: log - To log an event in a system table. The default is log. emit-metric - To emit CloudWatch metrics. disable - To disable the feature until the next usage period begins.
|
|
4514
|
+
*/
|
|
4515
|
+
BreachAction?: UsageLimitBreachAction;
|
|
4516
|
+
/**
|
|
4517
|
+
* A list of tag instances.
|
|
4518
|
+
*/
|
|
4519
|
+
Tags?: TagList;
|
|
4520
|
+
}
|
|
4521
|
+
export type UsageLimitBreachAction = "log"|"emit-metric"|"disable"|string;
|
|
4522
|
+
export type UsageLimitFeatureType = "spectrum"|"concurrency-scaling"|string;
|
|
4523
|
+
export type UsageLimitLimitType = "time"|"data-scanned"|string;
|
|
4524
|
+
export interface UsageLimitList {
|
|
4525
|
+
/**
|
|
4526
|
+
* Contains the output from the DescribeUsageLimits action.
|
|
4527
|
+
*/
|
|
4528
|
+
UsageLimits?: UsageLimits;
|
|
4529
|
+
/**
|
|
4530
|
+
* A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
|
|
4531
|
+
*/
|
|
4532
|
+
Marker?: String;
|
|
4533
|
+
}
|
|
4534
|
+
export type UsageLimitPeriod = "daily"|"weekly"|"monthly"|string;
|
|
4535
|
+
export type UsageLimits = UsageLimit[];
|
|
4375
4536
|
export type ValueStringList = String[];
|
|
4376
4537
|
export type VpcSecurityGroupIdList = String[];
|
|
4377
4538
|
export interface VpcSecurityGroupMembership {
|