aws-sdk 2.767.0 → 2.771.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 +31 -1
- package/README.md +1 -1
- package/apis/amplify-2017-07-25.min.json +58 -46
- package/apis/ce-2017-10-25.min.json +119 -87
- package/apis/dms-2016-01-01.min.json +230 -126
- package/apis/ec2-2016-11-15.min.json +39 -7
- package/apis/elasticache-2015-02-02.min.json +425 -106
- package/apis/elasticache-2015-02-02.paginators.json +12 -0
- package/apis/eventbridge-2015-10-07.min.json +20 -3
- package/apis/events-2015-10-07.min.json +20 -3
- package/apis/kinesisanalyticsv2-2018-05-23.min.json +4 -1
- package/apis/marketplace-catalog-2018-09-17.min.json +12 -10
- package/apis/medialive-2017-10-14.min.json +366 -194
- package/apis/mediapackage-2017-10-12.min.json +214 -93
- package/apis/rds-2014-10-31.min.json +7 -1
- package/apis/rekognition-2016-06-27.min.json +96 -76
- package/apis/servicecatalog-2015-12-10.min.json +60 -30
- package/apis/servicecatalog-2015-12-10.paginators.json +5 -0
- package/apis/snowball-2016-06-30.min.json +61 -9
- package/clients/amplify.d.ts +17 -0
- package/clients/cloudwatchevents.d.ts +27 -0
- package/clients/computeoptimizer.d.ts +15 -15
- package/clients/costexplorer.d.ts +63 -11
- package/clients/dms.d.ts +189 -8
- package/clients/ec2.d.ts +36 -8
- package/clients/eks.d.ts +2 -2
- package/clients/elasticache.d.ts +416 -4
- package/clients/eventbridge.d.ts +27 -0
- package/clients/kinesisanalyticsv2.d.ts +79 -75
- package/clients/marketplacecatalog.d.ts +9 -0
- package/clients/medialive.d.ts +206 -4
- package/clients/mediapackage.d.ts +58 -0
- package/clients/rds.d.ts +13 -5
- package/clients/rekognition.d.ts +32 -14
- package/clients/sagemaker.d.ts +5 -5
- package/clients/servicecatalog.d.ts +66 -21
- package/clients/snowball.d.ts +122 -52
- package/clients/sns.d.ts +1 -1
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +18 -18
- package/dist/aws-sdk.js +808 -335
- package/dist/aws-sdk.min.js +78 -78
- package/lib/config-base.d.ts +3 -0
- package/lib/core.d.ts +1 -1
- package/lib/core.js +1 -1
- package/package.json +1 -1
|
@@ -92,19 +92,19 @@ declare class CostExplorer extends Service {
|
|
|
92
92
|
*/
|
|
93
93
|
getAnomalySubscriptions(callback?: (err: AWSError, data: CostExplorer.Types.GetAnomalySubscriptionsResponse) => void): Request<CostExplorer.Types.GetAnomalySubscriptionsResponse, AWSError>;
|
|
94
94
|
/**
|
|
95
|
-
* Retrieves cost and usage metrics for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Master
|
|
95
|
+
* Retrieves cost and usage metrics for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Master account in an organization in AWS Organizations have access to all member accounts.
|
|
96
96
|
*/
|
|
97
97
|
getCostAndUsage(params: CostExplorer.Types.GetCostAndUsageRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetCostAndUsageResponse) => void): Request<CostExplorer.Types.GetCostAndUsageResponse, AWSError>;
|
|
98
98
|
/**
|
|
99
|
-
* Retrieves cost and usage metrics for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Master
|
|
99
|
+
* Retrieves cost and usage metrics for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Master account in an organization in AWS Organizations have access to all member accounts.
|
|
100
100
|
*/
|
|
101
101
|
getCostAndUsage(callback?: (err: AWSError, data: CostExplorer.Types.GetCostAndUsageResponse) => void): Request<CostExplorer.Types.GetCostAndUsageResponse, AWSError>;
|
|
102
102
|
/**
|
|
103
|
-
* Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Master
|
|
103
|
+
* Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Master account in an organization in AWS Organizations have access to all member accounts. This API is currently available for the Amazon Elastic Compute Cloud – Compute service only. This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information on how to access the Settings page, see Controlling Access for Cost Explorer in the AWS Billing and Cost Management User Guide.
|
|
104
104
|
*/
|
|
105
105
|
getCostAndUsageWithResources(params: CostExplorer.Types.GetCostAndUsageWithResourcesRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetCostAndUsageWithResourcesResponse) => void): Request<CostExplorer.Types.GetCostAndUsageWithResourcesResponse, AWSError>;
|
|
106
106
|
/**
|
|
107
|
-
* Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Master
|
|
107
|
+
* Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Master account in an organization in AWS Organizations have access to all member accounts. This API is currently available for the Amazon Elastic Compute Cloud – Compute service only. This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information on how to access the Settings page, see Controlling Access for Cost Explorer in the AWS Billing and Cost Management User Guide.
|
|
108
108
|
*/
|
|
109
109
|
getCostAndUsageWithResources(callback?: (err: AWSError, data: CostExplorer.Types.GetCostAndUsageWithResourcesResponse) => void): Request<CostExplorer.Types.GetCostAndUsageWithResourcesResponse, AWSError>;
|
|
110
110
|
/**
|
|
@@ -140,11 +140,11 @@ declare class CostExplorer extends Service {
|
|
|
140
140
|
*/
|
|
141
141
|
getReservationPurchaseRecommendation(callback?: (err: AWSError, data: CostExplorer.Types.GetReservationPurchaseRecommendationResponse) => void): Request<CostExplorer.Types.GetReservationPurchaseRecommendationResponse, AWSError>;
|
|
142
142
|
/**
|
|
143
|
-
* Retrieves the reservation utilization for your account. Master
|
|
143
|
+
* Retrieves the reservation utilization for your account. Master account in an organization have access to member accounts. You can filter data by dimensions in a time period. You can use GetDimensionValues to determine the possible dimension values. Currently, you can group only by SUBSCRIPTION_ID.
|
|
144
144
|
*/
|
|
145
145
|
getReservationUtilization(params: CostExplorer.Types.GetReservationUtilizationRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetReservationUtilizationResponse) => void): Request<CostExplorer.Types.GetReservationUtilizationResponse, AWSError>;
|
|
146
146
|
/**
|
|
147
|
-
* Retrieves the reservation utilization for your account. Master
|
|
147
|
+
* Retrieves the reservation utilization for your account. Master account in an organization have access to member accounts. You can filter data by dimensions in a time period. You can use GetDimensionValues to determine the possible dimension values. Currently, you can group only by SUBSCRIPTION_ID.
|
|
148
148
|
*/
|
|
149
149
|
getReservationUtilization(callback?: (err: AWSError, data: CostExplorer.Types.GetReservationUtilizationResponse) => void): Request<CostExplorer.Types.GetReservationUtilizationResponse, AWSError>;
|
|
150
150
|
/**
|
|
@@ -172,11 +172,11 @@ declare class CostExplorer extends Service {
|
|
|
172
172
|
*/
|
|
173
173
|
getSavingsPlansPurchaseRecommendation(callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansPurchaseRecommendationResponse) => void): Request<CostExplorer.Types.GetSavingsPlansPurchaseRecommendationResponse, AWSError>;
|
|
174
174
|
/**
|
|
175
|
-
* Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Master
|
|
175
|
+
* Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Master account in an organization have access to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. You cannot group by any dimension values for GetSavingsPlansUtilization.
|
|
176
176
|
*/
|
|
177
177
|
getSavingsPlansUtilization(params: CostExplorer.Types.GetSavingsPlansUtilizationRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansUtilizationResponse) => void): Request<CostExplorer.Types.GetSavingsPlansUtilizationResponse, AWSError>;
|
|
178
178
|
/**
|
|
179
|
-
* Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Master
|
|
179
|
+
* Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Master account in an organization have access to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. You cannot group by any dimension values for GetSavingsPlansUtilization.
|
|
180
180
|
*/
|
|
181
181
|
getSavingsPlansUtilization(callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansUtilizationResponse) => void): Request<CostExplorer.Types.GetSavingsPlansUtilizationResponse, AWSError>;
|
|
182
182
|
/**
|
|
@@ -400,9 +400,24 @@ declare namespace CostExplorer {
|
|
|
400
400
|
* Rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value.
|
|
401
401
|
*/
|
|
402
402
|
Rules: CostCategoryRulesList;
|
|
403
|
+
/**
|
|
404
|
+
* The list of processing statuses for Cost Management products for a specific cost category.
|
|
405
|
+
*/
|
|
406
|
+
ProcessingStatus?: CostCategoryProcessingStatusList;
|
|
403
407
|
}
|
|
404
408
|
export type CostCategoryMaxResults = number;
|
|
405
409
|
export type CostCategoryName = string;
|
|
410
|
+
export interface CostCategoryProcessingStatus {
|
|
411
|
+
/**
|
|
412
|
+
* The Cost Management product name of the applied status.
|
|
413
|
+
*/
|
|
414
|
+
Component?: CostCategoryStatusComponent;
|
|
415
|
+
/**
|
|
416
|
+
* The process status for a specific cost category.
|
|
417
|
+
*/
|
|
418
|
+
Status?: CostCategoryStatus;
|
|
419
|
+
}
|
|
420
|
+
export type CostCategoryProcessingStatusList = CostCategoryProcessingStatus[];
|
|
406
421
|
export interface CostCategoryReference {
|
|
407
422
|
/**
|
|
408
423
|
* The unique identifier for your Cost Category.
|
|
@@ -421,6 +436,14 @@ declare namespace CostExplorer {
|
|
|
421
436
|
* The number of rules associated with a specific Cost Category.
|
|
422
437
|
*/
|
|
423
438
|
NumberOfRules?: NonNegativeInteger;
|
|
439
|
+
/**
|
|
440
|
+
* The list of processing statuses for Cost Management products for a specific cost category.
|
|
441
|
+
*/
|
|
442
|
+
ProcessingStatus?: CostCategoryProcessingStatusList;
|
|
443
|
+
/**
|
|
444
|
+
* A list of unique cost category values in a specific cost category.
|
|
445
|
+
*/
|
|
446
|
+
Values?: CostCategoryValuesList;
|
|
424
447
|
}
|
|
425
448
|
export type CostCategoryReferencesList = CostCategoryReference[];
|
|
426
449
|
export interface CostCategoryRule {
|
|
@@ -432,6 +455,8 @@ declare namespace CostExplorer {
|
|
|
432
455
|
}
|
|
433
456
|
export type CostCategoryRuleVersion = "CostCategoryExpression.v1"|string;
|
|
434
457
|
export type CostCategoryRulesList = CostCategoryRule[];
|
|
458
|
+
export type CostCategoryStatus = "PROCESSING"|"APPLIED"|string;
|
|
459
|
+
export type CostCategoryStatusComponent = "COST_EXPLORER"|string;
|
|
435
460
|
export type CostCategoryValue = string;
|
|
436
461
|
export interface CostCategoryValues {
|
|
437
462
|
Key?: CostCategoryName;
|
|
@@ -439,7 +464,12 @@ declare namespace CostExplorer {
|
|
|
439
464
|
* The specific value of the Cost Category.
|
|
440
465
|
*/
|
|
441
466
|
Values?: Values;
|
|
467
|
+
/**
|
|
468
|
+
* The match options that you can use to filter your results. MatchOptions is only applicable for only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE.
|
|
469
|
+
*/
|
|
470
|
+
MatchOptions?: MatchOptions;
|
|
442
471
|
}
|
|
472
|
+
export type CostCategoryValuesList = CostCategoryValue[];
|
|
443
473
|
export interface Coverage {
|
|
444
474
|
/**
|
|
445
475
|
* The amount of instance usage that the reservation covered, in hours.
|
|
@@ -682,6 +712,24 @@ declare namespace CostExplorer {
|
|
|
682
712
|
Attributes?: Attributes;
|
|
683
713
|
}
|
|
684
714
|
export type DimensionValuesWithAttributesList = DimensionValuesWithAttributes[];
|
|
715
|
+
export interface EBSResourceUtilization {
|
|
716
|
+
/**
|
|
717
|
+
* The maximum number of read operations per second.
|
|
718
|
+
*/
|
|
719
|
+
EbsReadOpsPerSecond?: GenericString;
|
|
720
|
+
/**
|
|
721
|
+
* The maximum number of write operations per second.
|
|
722
|
+
*/
|
|
723
|
+
EbsWriteOpsPerSecond?: GenericString;
|
|
724
|
+
/**
|
|
725
|
+
* The maximum size of read operations per second
|
|
726
|
+
*/
|
|
727
|
+
EbsReadBytesPerSecond?: GenericString;
|
|
728
|
+
/**
|
|
729
|
+
* The maximum size of write operations per second.
|
|
730
|
+
*/
|
|
731
|
+
EbsWriteBytesPerSecond?: GenericString;
|
|
732
|
+
}
|
|
685
733
|
export interface EC2InstanceDetails {
|
|
686
734
|
/**
|
|
687
735
|
* The instance family of the recommended reservation.
|
|
@@ -767,6 +815,10 @@ declare namespace CostExplorer {
|
|
|
767
815
|
* Maximum observed or expected storage utilization of the instance (does not measure EBS storage).
|
|
768
816
|
*/
|
|
769
817
|
MaxStorageUtilizationPercentage?: GenericString;
|
|
818
|
+
/**
|
|
819
|
+
* The EBS field that contains a list of EBS metrics associated with the current instance.
|
|
820
|
+
*/
|
|
821
|
+
EBSResourceUtilization?: EBSResourceUtilization;
|
|
770
822
|
}
|
|
771
823
|
export interface EC2Specification {
|
|
772
824
|
/**
|
|
@@ -1163,7 +1215,7 @@ declare namespace CostExplorer {
|
|
|
1163
1215
|
*/
|
|
1164
1216
|
Service: GenericString;
|
|
1165
1217
|
/**
|
|
1166
|
-
* The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the
|
|
1218
|
+
* The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the master account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.
|
|
1167
1219
|
*/
|
|
1168
1220
|
AccountScope?: AccountScope;
|
|
1169
1221
|
/**
|
|
@@ -1336,7 +1388,7 @@ declare namespace CostExplorer {
|
|
|
1336
1388
|
*/
|
|
1337
1389
|
PaymentOption: PaymentOption;
|
|
1338
1390
|
/**
|
|
1339
|
-
* The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the
|
|
1391
|
+
* The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the master account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.
|
|
1340
1392
|
*/
|
|
1341
1393
|
AccountScope?: AccountScope;
|
|
1342
1394
|
/**
|
|
@@ -2101,7 +2153,7 @@ declare namespace CostExplorer {
|
|
|
2101
2153
|
}
|
|
2102
2154
|
export interface SavingsPlansPurchaseRecommendation {
|
|
2103
2155
|
/**
|
|
2104
|
-
* The account scope that you want your recommendations for.
|
|
2156
|
+
* The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the master account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.
|
|
2105
2157
|
*/
|
|
2106
2158
|
AccountScope?: AccountScope;
|
|
2107
2159
|
/**
|
package/clients/dms.d.ts
CHANGED
|
@@ -616,6 +616,7 @@ declare namespace DMS {
|
|
|
616
616
|
}
|
|
617
617
|
export type CertificateList = Certificate[];
|
|
618
618
|
export type CertificateWallet = Buffer|Uint8Array|Blob|string;
|
|
619
|
+
export type CharLengthSemantics = "default"|"char"|"byte"|string;
|
|
619
620
|
export type CompressionTypeValue = "none"|"gzip"|string;
|
|
620
621
|
export interface Connection {
|
|
621
622
|
/**
|
|
@@ -950,6 +951,8 @@ declare namespace DMS {
|
|
|
950
951
|
ReplicationTask?: ReplicationTask;
|
|
951
952
|
}
|
|
952
953
|
export type DataFormatValue = "csv"|"parquet"|string;
|
|
954
|
+
export type DatePartitionDelimiterValue = "SLASH"|"UNDERSCORE"|"DASH"|"NONE"|string;
|
|
955
|
+
export type DatePartitionSequenceValue = "YYYYMMDD"|"YYYYMMDDHH"|"YYYYMM"|"MMYYYYDD"|"DDMMYYYY"|string;
|
|
953
956
|
export interface DeleteCertificateMessage {
|
|
954
957
|
/**
|
|
955
958
|
* The Amazon Resource Name (ARN) of the deleted certificate.
|
|
@@ -1605,11 +1608,11 @@ declare namespace DMS {
|
|
|
1605
1608
|
*/
|
|
1606
1609
|
ServiceAccessRoleArn: String;
|
|
1607
1610
|
/**
|
|
1608
|
-
* The endpoint for the Elasticsearch cluster.
|
|
1611
|
+
* The endpoint for the Elasticsearch cluster. AWS DMS uses HTTPS if a transport protocol (http/https) is not specified.
|
|
1609
1612
|
*/
|
|
1610
1613
|
EndpointUri: String;
|
|
1611
1614
|
/**
|
|
1612
|
-
* The maximum percentage of records that can fail to be written before a full load operation stops.
|
|
1615
|
+
* The maximum percentage of records that can fail to be written before a full load operation stops. To avoid early failure, this counter is only effective after 1000 records are transferred. Elasticsearch also has the concept of error monitoring during the last 10 minutes of an Observation Window. If transfer of all records fail in the last 10 minutes, the full load operation stops.
|
|
1613
1616
|
*/
|
|
1614
1617
|
FullLoadErrorPercentage?: IntegerOptional;
|
|
1615
1618
|
/**
|
|
@@ -1854,6 +1857,18 @@ declare namespace DMS {
|
|
|
1854
1857
|
* Fully qualified domain name of the endpoint.
|
|
1855
1858
|
*/
|
|
1856
1859
|
ServerName?: String;
|
|
1860
|
+
/**
|
|
1861
|
+
* Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.
|
|
1862
|
+
*/
|
|
1863
|
+
SetDataCaptureChanges?: BooleanOptional;
|
|
1864
|
+
/**
|
|
1865
|
+
* For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.
|
|
1866
|
+
*/
|
|
1867
|
+
CurrentLsn?: String;
|
|
1868
|
+
/**
|
|
1869
|
+
* Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.
|
|
1870
|
+
*/
|
|
1871
|
+
MaxKBytesPerRead?: IntegerOptional;
|
|
1857
1872
|
/**
|
|
1858
1873
|
* Endpoint connection user name.
|
|
1859
1874
|
*/
|
|
@@ -1987,14 +2002,30 @@ declare namespace DMS {
|
|
|
1987
2002
|
* Endpoint TCP port.
|
|
1988
2003
|
*/
|
|
1989
2004
|
Port?: IntegerOptional;
|
|
2005
|
+
/**
|
|
2006
|
+
* The maximum size of the packets (in bytes) used to transfer data using BCP.
|
|
2007
|
+
*/
|
|
2008
|
+
BcpPacketSize?: IntegerOptional;
|
|
1990
2009
|
/**
|
|
1991
2010
|
* Database name for the endpoint.
|
|
1992
2011
|
*/
|
|
1993
2012
|
DatabaseName?: String;
|
|
2013
|
+
/**
|
|
2014
|
+
* Specify a filegroup for the AWS DMS internal tables. When the replication task starts, all the internal AWS DMS control tables (awsdms_ apply_exception, awsdms_apply, awsdms_changes) are created on the specified filegroup.
|
|
2015
|
+
*/
|
|
2016
|
+
ControlTablesFileGroup?: String;
|
|
1994
2017
|
/**
|
|
1995
2018
|
* Endpoint connection password.
|
|
1996
2019
|
*/
|
|
1997
2020
|
Password?: SecretString;
|
|
2021
|
+
/**
|
|
2022
|
+
* When this attribute is set to Y, AWS DMS only reads changes from transaction log backups and doesn't read from the active transaction log file during ongoing replication. Setting this parameter to Y enables you to control active transaction log file growth during full load and ongoing replication tasks. However, it can add some source latency to ongoing replication.
|
|
2023
|
+
*/
|
|
2024
|
+
ReadBackupOnly?: BooleanOptional;
|
|
2025
|
+
/**
|
|
2026
|
+
* Use this attribute to minimize the need to access the backup log and enable AWS DMS to prevent truncation using one of the following two methods. Start transactions in the database: This is the default method. When this method is used, AWS DMS prevents TLOG truncation by mimicking a transaction in the database. As long as such a transaction is open, changes that appear after the transaction started aren't truncated. If you need Microsoft Replication to be enabled in your database, then you must choose this method. Exclusively use sp_repldone within a single task: When this method is used, AWS DMS reads the changes and then uses sp_repldone to mark the TLOG transactions as ready for truncation. Although this method doesn't involve any transactional activities, it can only be used when Microsoft Replication isn't running. Also, when using this method, only one AWS DMS task can access the database at any given time. Therefore, if you need to run parallel AWS DMS tasks against the same database, use the default method.
|
|
2027
|
+
*/
|
|
2028
|
+
SafeguardPolicy?: SafeguardPolicy;
|
|
1998
2029
|
/**
|
|
1999
2030
|
* Fully qualified domain name of the endpoint.
|
|
2000
2031
|
*/
|
|
@@ -2003,6 +2034,10 @@ declare namespace DMS {
|
|
|
2003
2034
|
* Endpoint connection user name.
|
|
2004
2035
|
*/
|
|
2005
2036
|
Username?: String;
|
|
2037
|
+
/**
|
|
2038
|
+
* Use this to attribute to transfer data for full-load operations using BCP. When the target table contains an identity column that does not exist in the source table, you must disable the use BCP for loading table option.
|
|
2039
|
+
*/
|
|
2040
|
+
UseBcpFullLoad?: BooleanOptional;
|
|
2006
2041
|
}
|
|
2007
2042
|
export type MigrationTypeValue = "full-load"|"cdc"|"full-load-and-cdc"|string;
|
|
2008
2043
|
export interface ModifyEndpointMessage {
|
|
@@ -2321,10 +2356,30 @@ declare namespace DMS {
|
|
|
2321
2356
|
KmsKeyId?: String;
|
|
2322
2357
|
}
|
|
2323
2358
|
export interface MySQLSettings {
|
|
2359
|
+
/**
|
|
2360
|
+
* Specifies a script to run immediately after AWS DMS connects to the endpoint. The migration task continues running regardless if the SQL statement succeeds or fails.
|
|
2361
|
+
*/
|
|
2362
|
+
AfterConnectScript?: String;
|
|
2324
2363
|
/**
|
|
2325
2364
|
* Database name for the endpoint.
|
|
2326
2365
|
*/
|
|
2327
2366
|
DatabaseName?: String;
|
|
2367
|
+
/**
|
|
2368
|
+
* Specifies how often to check the binary log for new changes/events when the database is idle. Example: eventsPollInterval=5; In the example, AWS DMS checks for changes in the binary logs every five seconds.
|
|
2369
|
+
*/
|
|
2370
|
+
EventsPollInterval?: IntegerOptional;
|
|
2371
|
+
/**
|
|
2372
|
+
* Specifies where to migrate source tables on the target, either to a single database or multiple databases. Example: targetDbType=MULTIPLE_DATABASES
|
|
2373
|
+
*/
|
|
2374
|
+
TargetDbType?: TargetDbType;
|
|
2375
|
+
/**
|
|
2376
|
+
* Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database. Example: maxFileSize=512
|
|
2377
|
+
*/
|
|
2378
|
+
MaxFileSize?: IntegerOptional;
|
|
2379
|
+
/**
|
|
2380
|
+
* Improves performance when loading data into the MySQLcompatible target database. Specifies how many threads to use to load the data into the MySQL-compatible target database. Setting a large number of threads can have an adverse effect on database performance, because a separate connection is required for each thread. Example: parallelLoadThreads=1
|
|
2381
|
+
*/
|
|
2382
|
+
ParallelLoadThreads?: IntegerOptional;
|
|
2328
2383
|
/**
|
|
2329
2384
|
* Endpoint connection password.
|
|
2330
2385
|
*/
|
|
@@ -2337,6 +2392,10 @@ declare namespace DMS {
|
|
|
2337
2392
|
* Fully qualified domain name of the endpoint.
|
|
2338
2393
|
*/
|
|
2339
2394
|
ServerName?: String;
|
|
2395
|
+
/**
|
|
2396
|
+
* Specifies the time zone for the source MySQL database. Example: serverTimezone=US/Pacific; Note: Do not enclose time zones in single quotes.
|
|
2397
|
+
*/
|
|
2398
|
+
ServerTimezone?: String;
|
|
2340
2399
|
/**
|
|
2341
2400
|
* Endpoint connection user name.
|
|
2342
2401
|
*/
|
|
@@ -2374,6 +2433,62 @@ declare namespace DMS {
|
|
|
2374
2433
|
}
|
|
2375
2434
|
export type NestingLevelValue = "none"|"one"|string;
|
|
2376
2435
|
export interface OracleSettings {
|
|
2436
|
+
/**
|
|
2437
|
+
* Set this attribute to set up table-level supplemental logging for the Oracle database. This attribute enables PRIMARY KEY supplemental logging on all tables selected for a migration task. If you use this option, you still need to enable database-level supplemental logging.
|
|
2438
|
+
*/
|
|
2439
|
+
AddSupplementalLogging?: BooleanOptional;
|
|
2440
|
+
/**
|
|
2441
|
+
* Specifies the destination of the archived redo logs. The value should be the same as the DEST_ID number in the v$archived_log table. When working with multiple log destinations (DEST_ID), we recommend that you to specify an archived redo logs location identifier. Doing this improves performance by ensuring that the correct logs are accessed from the outset.
|
|
2442
|
+
*/
|
|
2443
|
+
ArchivedLogDestId?: IntegerOptional;
|
|
2444
|
+
/**
|
|
2445
|
+
* Set this attribute with archivedLogDestId in a primary/ standby setup. This attribute is useful in the case of a switchover. In this case, AWS DMS needs to know which destination to get archive redo logs from to read changes. This need arises because the previous primary instance is now a standby instance after switchover.
|
|
2446
|
+
*/
|
|
2447
|
+
AdditionalArchivedLogDestId?: IntegerOptional;
|
|
2448
|
+
/**
|
|
2449
|
+
* Set this attribute to true to enable replication of Oracle tables containing columns that are nested tables or defined types.
|
|
2450
|
+
*/
|
|
2451
|
+
AllowSelectNestedTables?: BooleanOptional;
|
|
2452
|
+
/**
|
|
2453
|
+
* Set this attribute to change the number of threads that DMS configures to perform a Change Data Capture (CDC) load using Oracle Automatic Storage Management (ASM). You can specify an integer value between 2 (the default) and 8 (the maximum). Use this attribute together with the readAheadBlocks attribute.
|
|
2454
|
+
*/
|
|
2455
|
+
ParallelAsmReadThreads?: IntegerOptional;
|
|
2456
|
+
/**
|
|
2457
|
+
* Set this attribute to change the number of read-ahead blocks that DMS configures to perform a Change Data Capture (CDC) load using Oracle Automatic Storage Management (ASM). You can specify an integer value between 1000 (the default) and 200,000 (the maximum).
|
|
2458
|
+
*/
|
|
2459
|
+
ReadAheadBlocks?: IntegerOptional;
|
|
2460
|
+
/**
|
|
2461
|
+
* Set this attribute to false in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This tells the DMS instance to not access redo logs through any specified path prefix replacement using direct file access.
|
|
2462
|
+
*/
|
|
2463
|
+
AccessAlternateDirectly?: BooleanOptional;
|
|
2464
|
+
/**
|
|
2465
|
+
* Set this attribute to true in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This tells the DMS instance to use any specified prefix replacement to access all online redo logs.
|
|
2466
|
+
*/
|
|
2467
|
+
UseAlternateFolderForOnline?: BooleanOptional;
|
|
2468
|
+
/**
|
|
2469
|
+
* Set this string attribute to the required value in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This value specifies the default Oracle root used to access the redo logs.
|
|
2470
|
+
*/
|
|
2471
|
+
OraclePathPrefix?: String;
|
|
2472
|
+
/**
|
|
2473
|
+
* Set this string attribute to the required value in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This value specifies the path prefix used to replace the default Oracle root to access the redo logs.
|
|
2474
|
+
*/
|
|
2475
|
+
UsePathPrefix?: String;
|
|
2476
|
+
/**
|
|
2477
|
+
* Set this attribute to true in order to use the Binary Reader to capture change data for an Amazon RDS for Oracle as the source. This setting tells DMS instance to replace the default Oracle root with the specified usePathPrefix setting to access the redo logs.
|
|
2478
|
+
*/
|
|
2479
|
+
ReplacePathPrefix?: BooleanOptional;
|
|
2480
|
+
/**
|
|
2481
|
+
* Set this attribute to enable homogenous tablespace replication and create existing tables or indexes under the same tablespace on the target.
|
|
2482
|
+
*/
|
|
2483
|
+
EnableHomogenousTablespace?: BooleanOptional;
|
|
2484
|
+
/**
|
|
2485
|
+
* When set to true, this attribute helps to increase the commit rate on the Oracle target database by writing directly to tables and not writing a trail to database logs.
|
|
2486
|
+
*/
|
|
2487
|
+
DirectPathNoLog?: BooleanOptional;
|
|
2488
|
+
/**
|
|
2489
|
+
* When this field is set to Y, AWS DMS only accesses the archived redo logs. If the archived redo logs are stored on Oracle ASM only, the AWS DMS user account needs to be granted ASM privileges.
|
|
2490
|
+
*/
|
|
2491
|
+
ArchivedLogsOnly?: BooleanOptional;
|
|
2377
2492
|
/**
|
|
2378
2493
|
* For an Oracle source endpoint, your Oracle Automatic Storage Management (ASM) password. You can set this value from the asm_user_password value. You set this value as part of the comma-separated value that you set to the Password request parameter when you create the endpoint to access transaction logs using Binary Reader. For more information, see Configuration for change data capture (CDC) on an Oracle source database.
|
|
2379
2494
|
*/
|
|
@@ -2386,10 +2501,26 @@ declare namespace DMS {
|
|
|
2386
2501
|
* For an Oracle source endpoint, your ASM user name. You can set this value from the asm_user value. You set asm_user as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see Configuration for change data capture (CDC) on an Oracle source database.
|
|
2387
2502
|
*/
|
|
2388
2503
|
AsmUser?: String;
|
|
2504
|
+
/**
|
|
2505
|
+
* Specifies whether the length of a character column is in bytes or in characters. To indicate that the character column length is in characters, set this attribute to CHAR. Otherwise, the character column length is in bytes. Example: charLengthSemantics=CHAR;
|
|
2506
|
+
*/
|
|
2507
|
+
CharLengthSemantics?: CharLengthSemantics;
|
|
2389
2508
|
/**
|
|
2390
2509
|
* Database name for the endpoint.
|
|
2391
2510
|
*/
|
|
2392
2511
|
DatabaseName?: String;
|
|
2512
|
+
/**
|
|
2513
|
+
* When set to true, this attribute specifies a parallel load when useDirectPathFullLoad is set to Y. This attribute also only applies when you use the AWS DMS parallel load feature. Note that the target table cannot have any constraints or indexes.
|
|
2514
|
+
*/
|
|
2515
|
+
DirectPathParallelLoad?: BooleanOptional;
|
|
2516
|
+
/**
|
|
2517
|
+
* When set to true, this attribute causes a task to fail if the actual size of an LOB column is greater than the specified LobMaxSize. If a task is set to limited LOB mode and this option is set to true, the task fails instead of truncating the LOB data.
|
|
2518
|
+
*/
|
|
2519
|
+
FailTasksOnLobTruncation?: BooleanOptional;
|
|
2520
|
+
/**
|
|
2521
|
+
* Specifies the number scale. You can select a scale up to 38, or you can select FLOAT. By default, the NUMBER data type is converted to precision 38, scale 10. Example: numberDataTypeScale=12
|
|
2522
|
+
*/
|
|
2523
|
+
NumberDatatypeScale?: IntegerOptional;
|
|
2393
2524
|
/**
|
|
2394
2525
|
* Endpoint connection password.
|
|
2395
2526
|
*/
|
|
@@ -2398,6 +2529,14 @@ declare namespace DMS {
|
|
|
2398
2529
|
* Endpoint TCP port.
|
|
2399
2530
|
*/
|
|
2400
2531
|
Port?: IntegerOptional;
|
|
2532
|
+
/**
|
|
2533
|
+
* When set to true, this attribute supports tablespace replication.
|
|
2534
|
+
*/
|
|
2535
|
+
ReadTableSpaceName?: BooleanOptional;
|
|
2536
|
+
/**
|
|
2537
|
+
* Specifies the number of seconds that the system waits before resending a query. Example: retryInterval=6;
|
|
2538
|
+
*/
|
|
2539
|
+
RetryInterval?: IntegerOptional;
|
|
2401
2540
|
/**
|
|
2402
2541
|
* For an Oracle source endpoint, the transparent data encryption (TDE) password required by AWM DMS to access Oracle redo logs encrypted by TDE using Binary Reader. It is also the TDE_Password part of the comma-separated value you set to the Password request parameter when you create the endpoint. The SecurityDbEncryptian setting is related to this SecurityDbEncryptionName setting. For more information, see Supported encryption methods for using Oracle as a source for AWS DMS in the AWS Database Migration Service User Guide.
|
|
2403
2542
|
*/
|
|
@@ -2484,10 +2623,34 @@ declare namespace DMS {
|
|
|
2484
2623
|
export type PendingMaintenanceActionDetails = PendingMaintenanceAction[];
|
|
2485
2624
|
export type PendingMaintenanceActions = ResourcePendingMaintenanceActions[];
|
|
2486
2625
|
export interface PostgreSQLSettings {
|
|
2626
|
+
/**
|
|
2627
|
+
* For use with change data capture (CDC) only, this attribute has AWS DMS bypass foreign keys and user triggers to reduce the time it takes to bulk load data. Example: afterConnectScript=SET session_replication_role='replica'
|
|
2628
|
+
*/
|
|
2629
|
+
AfterConnectScript?: String;
|
|
2630
|
+
/**
|
|
2631
|
+
* To capture DDL events, AWS DMS creates various artifacts in the PostgreSQL database when the task starts. You can later remove these artifacts. If this value is set to N, you don't have to create tables or triggers on the source database.
|
|
2632
|
+
*/
|
|
2633
|
+
CaptureDdls?: BooleanOptional;
|
|
2634
|
+
/**
|
|
2635
|
+
* Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL. Example: maxFileSize=512
|
|
2636
|
+
*/
|
|
2637
|
+
MaxFileSize?: IntegerOptional;
|
|
2487
2638
|
/**
|
|
2488
2639
|
* Database name for the endpoint.
|
|
2489
2640
|
*/
|
|
2490
2641
|
DatabaseName?: String;
|
|
2642
|
+
/**
|
|
2643
|
+
* The schema in which the operational DDL database artifacts are created. Example: ddlArtifactsSchema=xyzddlschema;
|
|
2644
|
+
*/
|
|
2645
|
+
DdlArtifactsSchema?: String;
|
|
2646
|
+
/**
|
|
2647
|
+
* Sets the client statement timeout for the PostgreSQL instance, in seconds. The default value is 60 seconds. Example: executeTimeout=100;
|
|
2648
|
+
*/
|
|
2649
|
+
ExecuteTimeout?: IntegerOptional;
|
|
2650
|
+
/**
|
|
2651
|
+
* When set to true, this value causes a task to fail if the actual size of a LOB column is greater than the specified LobMaxSize. If task is set to Limited LOB mode and this option is set to true, the task fails instead of truncating the LOB data.
|
|
2652
|
+
*/
|
|
2653
|
+
FailTasksOnLobTruncation?: BooleanOptional;
|
|
2491
2654
|
/**
|
|
2492
2655
|
* Endpoint connection password.
|
|
2493
2656
|
*/
|
|
@@ -2504,6 +2667,10 @@ declare namespace DMS {
|
|
|
2504
2667
|
* Endpoint connection user name.
|
|
2505
2668
|
*/
|
|
2506
2669
|
Username?: String;
|
|
2670
|
+
/**
|
|
2671
|
+
* Sets the name of a previously created logical replication slot for a CDC load of the PostgreSQL source instance. When used with the AWS DMS API CdcStartPosition request parameter, this attribute also enables using native CDC start points.
|
|
2672
|
+
*/
|
|
2673
|
+
SlotName?: String;
|
|
2507
2674
|
}
|
|
2508
2675
|
export interface RebootReplicationInstanceMessage {
|
|
2509
2676
|
/**
|
|
@@ -2531,11 +2698,11 @@ declare namespace DMS {
|
|
|
2531
2698
|
*/
|
|
2532
2699
|
AfterConnectScript?: String;
|
|
2533
2700
|
/**
|
|
2534
|
-
*
|
|
2701
|
+
* An S3 folder where the comma-separated-value (.csv) files are stored before being uploaded to the target Redshift cluster. For full load mode, AWS DMS converts source records into .csv files and loads them to the BucketFolder/TableID path. AWS DMS uses the Redshift COPY command to upload the .csv files to the target table. The files are deleted once the COPY operation has finished. For more information, see Amazon Redshift Database Developer Guide For change-data-capture (CDC) mode, AWS DMS creates a NetChanges table, and loads the .csv files to this BucketFolder/NetChangesTableID path.
|
|
2535
2702
|
*/
|
|
2536
2703
|
BucketFolder?: String;
|
|
2537
2704
|
/**
|
|
2538
|
-
* The name of the S3 bucket
|
|
2705
|
+
* The name of the intermediate S3 bucket used to store .csv files before uploading data to Redshift.
|
|
2539
2706
|
*/
|
|
2540
2707
|
BucketName?: String;
|
|
2541
2708
|
/**
|
|
@@ -2559,15 +2726,15 @@ declare namespace DMS {
|
|
|
2559
2726
|
*/
|
|
2560
2727
|
EncryptionMode?: EncryptionModeValue;
|
|
2561
2728
|
/**
|
|
2562
|
-
* The number of threads used to upload a single file. This parameter accepts a value from 1 through 64. It defaults to 10.
|
|
2729
|
+
* The number of threads used to upload a single file. This parameter accepts a value from 1 through 64. It defaults to 10. The number of parallel streams used to upload a single .csv file to an S3 bucket using S3 Multipart Upload. For more information, see Multipart upload overview. FileTransferUploadStreams accepts a value from 1 through 64. It defaults to 10.
|
|
2563
2730
|
*/
|
|
2564
2731
|
FileTransferUploadStreams?: IntegerOptional;
|
|
2565
2732
|
/**
|
|
2566
|
-
* The amount of time to wait (in milliseconds) before timing out,
|
|
2733
|
+
* The amount of time to wait (in milliseconds) before timing out of operations performed by AWS DMS on a Redshift cluster, such as Redshift COPY, INSERT, DELETE, and UPDATE.
|
|
2567
2734
|
*/
|
|
2568
2735
|
LoadTimeout?: IntegerOptional;
|
|
2569
2736
|
/**
|
|
2570
|
-
* The maximum size (in KB) of any .csv file used to
|
|
2737
|
+
* The maximum size (in KB) of any .csv file used to load data on an S3 bucket and transfer data to Amazon Redshift. It defaults to 1048576KB (1 GB).
|
|
2571
2738
|
*/
|
|
2572
2739
|
MaxFileSize?: IntegerOptional;
|
|
2573
2740
|
/**
|
|
@@ -2619,7 +2786,7 @@ declare namespace DMS {
|
|
|
2619
2786
|
*/
|
|
2620
2787
|
Username?: String;
|
|
2621
2788
|
/**
|
|
2622
|
-
* The size of the write buffer
|
|
2789
|
+
* The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk at the DMS replication instance. The default value is 1000 (buffer size is 1000KB).
|
|
2623
2790
|
*/
|
|
2624
2791
|
WriteBufferSize?: IntegerOptional;
|
|
2625
2792
|
}
|
|
@@ -3181,7 +3348,20 @@ declare namespace DMS {
|
|
|
3181
3348
|
* A value that enables a change data capture (CDC) load to write INSERT and UPDATE operations to .csv or .parquet (columnar storage) output files. The default setting is false, but when CdcInsertsAndUpdates is set to true or y, only INSERTs and UPDATEs from the source database are migrated to the .csv or .parquet file. For .csv file format only, how these INSERTs and UPDATEs are recorded depends on the value of the IncludeOpForFullLoad parameter. If IncludeOpForFullLoad is set to true, the first field of every CDC record is set to either I or U to indicate INSERT and UPDATE operations at the source. But if IncludeOpForFullLoad is set to false, CDC records are written without an indication of INSERT or UPDATE operations at the source. For more information about how these settings work together, see Indicating Source DB Operations in Migrated S3 Data in the AWS Database Migration Service User Guide.. AWS DMS supports the use of the CdcInsertsAndUpdates parameter in versions 3.3.1 and later. CdcInsertsOnly and CdcInsertsAndUpdates can't both be set to true for the same endpoint. Set either CdcInsertsOnly or CdcInsertsAndUpdates to true for the same endpoint, but not both.
|
|
3182
3349
|
*/
|
|
3183
3350
|
CdcInsertsAndUpdates?: BooleanOptional;
|
|
3351
|
+
/**
|
|
3352
|
+
* When set to true, this parameter partitions S3 bucket folders based on transaction commit dates. The default value is false. For more information about date-based folder partitoning, see Using date-based folder partitioning
|
|
3353
|
+
*/
|
|
3354
|
+
DatePartitionEnabled?: BooleanOptional;
|
|
3355
|
+
/**
|
|
3356
|
+
* Identifies the sequence of the date format to use during folder partitioning. The default value is YYYYMMDD. Use this parameter when DatePartitionedEnabled is set to true.
|
|
3357
|
+
*/
|
|
3358
|
+
DatePartitionSequence?: DatePartitionSequenceValue;
|
|
3359
|
+
/**
|
|
3360
|
+
* Specifies a date separating delimiter to use during folder partitioning. The default value is SLASH (/). Use this parameter when DatePartitionedEnabled is set to true.
|
|
3361
|
+
*/
|
|
3362
|
+
DatePartitionDelimiter?: DatePartitionDelimiterValue;
|
|
3184
3363
|
}
|
|
3364
|
+
export type SafeguardPolicy = "rely-on-sql-server-replication-agent"|"exclusive-automatic-truncation"|"shared-automatic-truncation"|string;
|
|
3185
3365
|
export type SchemaList = String[];
|
|
3186
3366
|
export type SecretString = string;
|
|
3187
3367
|
export type SourceIdsList = String[];
|
|
@@ -3447,6 +3627,7 @@ declare namespace DMS {
|
|
|
3447
3627
|
Value?: String;
|
|
3448
3628
|
}
|
|
3449
3629
|
export type TagList = Tag[];
|
|
3630
|
+
export type TargetDbType = "specific-database"|"multiple-databases"|string;
|
|
3450
3631
|
export interface TestConnectionMessage {
|
|
3451
3632
|
/**
|
|
3452
3633
|
* The Amazon Resource Name (ARN) of the replication instance.
|
package/clients/ec2.d.ts
CHANGED
|
@@ -3221,21 +3221,21 @@ declare class EC2 extends Service {
|
|
|
3221
3221
|
*/
|
|
3222
3222
|
revokeClientVpnIngress(callback?: (err: AWSError, data: EC2.Types.RevokeClientVpnIngressResult) => void): Request<EC2.Types.RevokeClientVpnIngressResult, AWSError>;
|
|
3223
3223
|
/**
|
|
3224
|
-
* [VPC only] Removes the specified egress rules from a security group for EC2-VPC. This action
|
|
3224
|
+
* [VPC only] Removes the specified egress rules from a security group for EC2-VPC. This action does not apply to security groups for use in EC2-Classic. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly. [Default VPC] If the values you specify do not match the existing rule's values, no error is returned, and the output describes the security group rules that were not revoked. AWS recommends that you use DescribeSecurityGroups to verify that the rule has been removed. Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not have to specify the description to revoke the rule. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
|
|
3225
3225
|
*/
|
|
3226
|
-
revokeSecurityGroupEgress(params: EC2.Types.RevokeSecurityGroupEgressRequest, callback?: (err: AWSError, data:
|
|
3226
|
+
revokeSecurityGroupEgress(params: EC2.Types.RevokeSecurityGroupEgressRequest, callback?: (err: AWSError, data: EC2.Types.RevokeSecurityGroupEgressResult) => void): Request<EC2.Types.RevokeSecurityGroupEgressResult, AWSError>;
|
|
3227
3227
|
/**
|
|
3228
|
-
* [VPC only] Removes the specified egress rules from a security group for EC2-VPC. This action
|
|
3228
|
+
* [VPC only] Removes the specified egress rules from a security group for EC2-VPC. This action does not apply to security groups for use in EC2-Classic. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly. [Default VPC] If the values you specify do not match the existing rule's values, no error is returned, and the output describes the security group rules that were not revoked. AWS recommends that you use DescribeSecurityGroups to verify that the rule has been removed. Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not have to specify the description to revoke the rule. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
|
|
3229
3229
|
*/
|
|
3230
|
-
revokeSecurityGroupEgress(callback?: (err: AWSError, data:
|
|
3230
|
+
revokeSecurityGroupEgress(callback?: (err: AWSError, data: EC2.Types.RevokeSecurityGroupEgressResult) => void): Request<EC2.Types.RevokeSecurityGroupEgressResult, AWSError>;
|
|
3231
3231
|
/**
|
|
3232
|
-
* Removes the specified ingress rules from a security group. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly. [EC2-Classic
|
|
3232
|
+
* Removes the specified ingress rules from a security group. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly. [EC2-Classic , default VPC] If the values you specify do not match the existing rule's values, no error is returned, and the output describes the security group rules that were not revoked. AWS recommends that you use DescribeSecurityGroups to verify that the rule has been removed. Each rule consists of the protocol and the CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not have to specify the description to revoke the rule. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
|
|
3233
3233
|
*/
|
|
3234
|
-
revokeSecurityGroupIngress(params: EC2.Types.RevokeSecurityGroupIngressRequest, callback?: (err: AWSError, data:
|
|
3234
|
+
revokeSecurityGroupIngress(params: EC2.Types.RevokeSecurityGroupIngressRequest, callback?: (err: AWSError, data: EC2.Types.RevokeSecurityGroupIngressResult) => void): Request<EC2.Types.RevokeSecurityGroupIngressResult, AWSError>;
|
|
3235
3235
|
/**
|
|
3236
|
-
* Removes the specified ingress rules from a security group. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly. [EC2-Classic
|
|
3236
|
+
* Removes the specified ingress rules from a security group. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly. [EC2-Classic , default VPC] If the values you specify do not match the existing rule's values, no error is returned, and the output describes the security group rules that were not revoked. AWS recommends that you use DescribeSecurityGroups to verify that the rule has been removed. Each rule consists of the protocol and the CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not have to specify the description to revoke the rule. Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.
|
|
3237
3237
|
*/
|
|
3238
|
-
revokeSecurityGroupIngress(callback?: (err: AWSError, data:
|
|
3238
|
+
revokeSecurityGroupIngress(callback?: (err: AWSError, data: EC2.Types.RevokeSecurityGroupIngressResult) => void): Request<EC2.Types.RevokeSecurityGroupIngressResult, AWSError>;
|
|
3239
3239
|
/**
|
|
3240
3240
|
* Launches the specified number of instances using an AMI for which you have permissions. You can specify a number of options, or leave the default options. The following rules apply: [EC2-VPC] If you don't specify a subnet ID, we choose a default subnet from your default VPC for you. If you don't have a default VPC, you must specify a subnet ID in the request. [EC2-Classic] If don't specify an Availability Zone, we choose one for you. Some instance types must be launched into a VPC. If you do not have a default VPC, or if you do not specify a subnet ID, the request fails. For more information, see Instance types available only in a VPC. [EC2-VPC] All instances have a network interface with a primary private IPv4 address. If you don't specify this address, we choose one from the IPv4 range of your subnet. Not all instance types support IPv6 addresses. For more information, see Instance types. If you don't specify a security group ID, we use the default security group. For more information, see Security groups. If any of the AMIs have a product code attached for which the user has not subscribed, the request fails. You can create a launch template, which is a resource that contains the parameters to launch an instance. When you launch an instance using RunInstances, you can specify the launch template instead of specifying the launch parameters. To ensure faster instance launches, break up large requests into smaller batches. For example, create five separate launch requests for 100 instances each instead of one launch request for 500 instances. An instance is ready for you to use when it's in the running state. You can check the state of your instance using DescribeInstances. You can tag instances and EBS volumes during launch, after launch, or both. For more information, see CreateTags and Tagging your Amazon EC2 resources. Linux instances have access to the public key of the key pair at boot. You can use this key to provide secure access to the instance. Amazon EC2 public images use this feature to provide secure access without passwords. For more information, see Key pairs in the Amazon Elastic Compute Cloud User Guide. For troubleshooting, see What to do if an instance immediately terminates, and Troubleshooting connecting to your instance in the Amazon Elastic Compute Cloud User Guide.
|
|
3241
3241
|
*/
|
|
@@ -17695,6 +17695,10 @@ declare namespace EC2 {
|
|
|
17695
17695
|
* The peer BGP ASN.
|
|
17696
17696
|
*/
|
|
17697
17697
|
PeerBgpAsn?: Integer;
|
|
17698
|
+
/**
|
|
17699
|
+
* The AWS account ID that owns the local gateway virtual interface.
|
|
17700
|
+
*/
|
|
17701
|
+
OwnerId?: String;
|
|
17698
17702
|
/**
|
|
17699
17703
|
* The tags assigned to the virtual interface.
|
|
17700
17704
|
*/
|
|
@@ -17713,6 +17717,10 @@ declare namespace EC2 {
|
|
|
17713
17717
|
* The ID of the local gateway.
|
|
17714
17718
|
*/
|
|
17715
17719
|
LocalGatewayId?: String;
|
|
17720
|
+
/**
|
|
17721
|
+
* The AWS account ID that owns the local gateway virtual interface group.
|
|
17722
|
+
*/
|
|
17723
|
+
OwnerId?: String;
|
|
17716
17724
|
/**
|
|
17717
17725
|
* The tags assigned to the virtual interface group.
|
|
17718
17726
|
*/
|
|
@@ -21755,6 +21763,16 @@ declare namespace EC2 {
|
|
|
21755
21763
|
*/
|
|
21756
21764
|
SourceSecurityGroupOwnerId?: String;
|
|
21757
21765
|
}
|
|
21766
|
+
export interface RevokeSecurityGroupEgressResult {
|
|
21767
|
+
/**
|
|
21768
|
+
* Returns true if the request succeeds; otherwise, returns an error.
|
|
21769
|
+
*/
|
|
21770
|
+
Return?: Boolean;
|
|
21771
|
+
/**
|
|
21772
|
+
* The outbound rules that were unknown to the service. In some cases, unknownIpPermissionSet might be in a different format from the request parameter.
|
|
21773
|
+
*/
|
|
21774
|
+
UnknownIpPermissions?: IpPermissionList;
|
|
21775
|
+
}
|
|
21758
21776
|
export interface RevokeSecurityGroupIngressRequest {
|
|
21759
21777
|
/**
|
|
21760
21778
|
* The CIDR IP address range. You can't specify this parameter when specifying a source security group.
|
|
@@ -21797,6 +21815,16 @@ declare namespace EC2 {
|
|
|
21797
21815
|
*/
|
|
21798
21816
|
DryRun?: Boolean;
|
|
21799
21817
|
}
|
|
21818
|
+
export interface RevokeSecurityGroupIngressResult {
|
|
21819
|
+
/**
|
|
21820
|
+
* Returns true if the request succeeds; otherwise, returns an error.
|
|
21821
|
+
*/
|
|
21822
|
+
Return?: Boolean;
|
|
21823
|
+
/**
|
|
21824
|
+
* The inbound rules that were unknown to the service. In some cases, unknownIpPermissionSet might be in a different format from the request parameter.
|
|
21825
|
+
*/
|
|
21826
|
+
UnknownIpPermissions?: IpPermissionList;
|
|
21827
|
+
}
|
|
21800
21828
|
export type RootDeviceType = "ebs"|"instance-store"|string;
|
|
21801
21829
|
export type RootDeviceTypeList = RootDeviceType[];
|
|
21802
21830
|
export interface Route {
|