aws-sdk 2.1396.0 → 2.1397.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 +14 -1
- package/README.md +1 -1
- package/apis/cloudtrail-2013-11-01.min.json +33 -33
- package/apis/codeguru-security-2018-05-10.examples.json +5 -0
- package/apis/codeguru-security-2018-05-10.min.json +703 -0
- package/apis/codeguru-security-2018-05-10.paginators.json +22 -0
- package/apis/drs-2020-02-26.min.json +392 -97
- package/apis/drs-2020-02-26.paginators.json +6 -0
- package/apis/ec2-2016-11-15.min.json +1178 -1013
- package/apis/ec2-2016-11-15.paginators.json +6 -0
- package/apis/lightsail-2016-11-28.min.json +4 -2
- package/apis/metadata.json +7 -0
- package/apis/s3-2006-03-01.examples.json +121 -121
- package/apis/securityhub-2018-10-26.examples.json +276 -0
- package/apis/securityhub-2018-10-26.min.json +957 -559
- package/apis/verifiedpermissions-2021-12-01.examples.json +5 -0
- package/apis/verifiedpermissions-2021-12-01.min.json +1215 -0
- package/apis/verifiedpermissions-2021-12-01.paginators.json +28 -0
- package/apis/verifiedpermissions-2021-12-01.waiters2.json +5 -0
- package/apis/wafv2-2019-07-29.min.json +241 -169
- package/apis/wellarchitected-2020-03-31.min.json +655 -75
- package/apis/wellarchitected-2020-03-31.paginators.json +15 -0
- package/clients/all.d.ts +2 -0
- package/clients/all.js +3 -1
- package/clients/cloudtrail.d.ts +28 -13
- package/clients/codegurusecurity.d.ts +761 -0
- package/clients/codegurusecurity.js +18 -0
- package/clients/drs.d.ts +354 -3
- package/clients/ec2.d.ts +225 -48
- package/clients/imagebuilder.d.ts +1 -1
- package/clients/lightsail.d.ts +12 -4
- package/clients/s3.d.ts +1 -1
- package/clients/securityhub.d.ts +470 -0
- package/clients/simspaceweaver.d.ts +2 -2
- package/clients/verifiedpermissions.d.ts +1392 -0
- package/clients/verifiedpermissions.js +19 -0
- package/clients/wafv2.d.ts +105 -27
- package/clients/wellarchitected.d.ts +533 -7
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +95 -14
- package/dist/aws-sdk.js +1227 -1049
- package/dist/aws-sdk.min.js +80 -80
- package/lib/config_service_placeholders.d.ts +4 -0
- package/lib/core.js +1 -1
- package/package.json +1 -1
@@ -0,0 +1,18 @@
|
|
1
|
+
require('../lib/node_loader');
|
2
|
+
var AWS = require('../lib/core');
|
3
|
+
var Service = AWS.Service;
|
4
|
+
var apiLoader = AWS.apiLoader;
|
5
|
+
|
6
|
+
apiLoader.services['codegurusecurity'] = {};
|
7
|
+
AWS.CodeGuruSecurity = Service.defineService('codegurusecurity', ['2018-05-10']);
|
8
|
+
Object.defineProperty(apiLoader.services['codegurusecurity'], '2018-05-10', {
|
9
|
+
get: function get() {
|
10
|
+
var model = require('../apis/codeguru-security-2018-05-10.min.json');
|
11
|
+
model.paginators = require('../apis/codeguru-security-2018-05-10.paginators.json').pagination;
|
12
|
+
return model;
|
13
|
+
},
|
14
|
+
enumerable: true,
|
15
|
+
configurable: true
|
16
|
+
});
|
17
|
+
|
18
|
+
module.exports = AWS.CodeGuruSecurity;
|
package/clients/drs.d.ts
CHANGED
@@ -11,6 +11,14 @@ declare class Drs extends Service {
|
|
11
11
|
*/
|
12
12
|
constructor(options?: Drs.Types.ClientConfiguration)
|
13
13
|
config: Config & Drs.Types.ClientConfiguration;
|
14
|
+
/**
|
15
|
+
* Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks.
|
16
|
+
*/
|
17
|
+
associateSourceNetworkStack(params: Drs.Types.AssociateSourceNetworkStackRequest, callback?: (err: AWSError, data: Drs.Types.AssociateSourceNetworkStackResponse) => void): Request<Drs.Types.AssociateSourceNetworkStackResponse, AWSError>;
|
18
|
+
/**
|
19
|
+
* Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks.
|
20
|
+
*/
|
21
|
+
associateSourceNetworkStack(callback?: (err: AWSError, data: Drs.Types.AssociateSourceNetworkStackResponse) => void): Request<Drs.Types.AssociateSourceNetworkStackResponse, AWSError>;
|
14
22
|
/**
|
15
23
|
* Create an extended source server in the target Account based on the source server in staging account.
|
16
24
|
*/
|
@@ -35,6 +43,14 @@ declare class Drs extends Service {
|
|
35
43
|
* Creates a new ReplicationConfigurationTemplate.
|
36
44
|
*/
|
37
45
|
createReplicationConfigurationTemplate(callback?: (err: AWSError, data: Drs.Types.ReplicationConfigurationTemplate) => void): Request<Drs.Types.ReplicationConfigurationTemplate, AWSError>;
|
46
|
+
/**
|
47
|
+
* Create a new Source Network resource for a provided VPC ID.
|
48
|
+
*/
|
49
|
+
createSourceNetwork(params: Drs.Types.CreateSourceNetworkRequest, callback?: (err: AWSError, data: Drs.Types.CreateSourceNetworkResponse) => void): Request<Drs.Types.CreateSourceNetworkResponse, AWSError>;
|
50
|
+
/**
|
51
|
+
* Create a new Source Network resource for a provided VPC ID.
|
52
|
+
*/
|
53
|
+
createSourceNetwork(callback?: (err: AWSError, data: Drs.Types.CreateSourceNetworkResponse) => void): Request<Drs.Types.CreateSourceNetworkResponse, AWSError>;
|
38
54
|
/**
|
39
55
|
* Deletes a single Job by ID.
|
40
56
|
*/
|
@@ -67,6 +83,14 @@ declare class Drs extends Service {
|
|
67
83
|
* Deletes a single Replication Configuration Template by ID
|
68
84
|
*/
|
69
85
|
deleteReplicationConfigurationTemplate(callback?: (err: AWSError, data: Drs.Types.DeleteReplicationConfigurationTemplateResponse) => void): Request<Drs.Types.DeleteReplicationConfigurationTemplateResponse, AWSError>;
|
86
|
+
/**
|
87
|
+
* Delete Source Network resource.
|
88
|
+
*/
|
89
|
+
deleteSourceNetwork(params: Drs.Types.DeleteSourceNetworkRequest, callback?: (err: AWSError, data: Drs.Types.DeleteSourceNetworkResponse) => void): Request<Drs.Types.DeleteSourceNetworkResponse, AWSError>;
|
90
|
+
/**
|
91
|
+
* Delete Source Network resource.
|
92
|
+
*/
|
93
|
+
deleteSourceNetwork(callback?: (err: AWSError, data: Drs.Types.DeleteSourceNetworkResponse) => void): Request<Drs.Types.DeleteSourceNetworkResponse, AWSError>;
|
70
94
|
/**
|
71
95
|
* Deletes a single Source Server by ID. The Source Server must be disconnected first.
|
72
96
|
*/
|
@@ -123,6 +147,14 @@ declare class Drs extends Service {
|
|
123
147
|
* Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
|
124
148
|
*/
|
125
149
|
describeReplicationConfigurationTemplates(callback?: (err: AWSError, data: Drs.Types.DescribeReplicationConfigurationTemplatesResponse) => void): Request<Drs.Types.DescribeReplicationConfigurationTemplatesResponse, AWSError>;
|
150
|
+
/**
|
151
|
+
* Lists all Source Networks or multiple Source Networks filtered by ID.
|
152
|
+
*/
|
153
|
+
describeSourceNetworks(params: Drs.Types.DescribeSourceNetworksRequest, callback?: (err: AWSError, data: Drs.Types.DescribeSourceNetworksResponse) => void): Request<Drs.Types.DescribeSourceNetworksResponse, AWSError>;
|
154
|
+
/**
|
155
|
+
* Lists all Source Networks or multiple Source Networks filtered by ID.
|
156
|
+
*/
|
157
|
+
describeSourceNetworks(callback?: (err: AWSError, data: Drs.Types.DescribeSourceNetworksResponse) => void): Request<Drs.Types.DescribeSourceNetworksResponse, AWSError>;
|
126
158
|
/**
|
127
159
|
* Lists all Source Servers or multiple Source Servers filtered by ID.
|
128
160
|
*/
|
@@ -147,6 +179,14 @@ declare class Drs extends Service {
|
|
147
179
|
* Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
|
148
180
|
*/
|
149
181
|
disconnectSourceServer(callback?: (err: AWSError, data: Drs.Types.SourceServer) => void): Request<Drs.Types.SourceServer, AWSError>;
|
182
|
+
/**
|
183
|
+
* Export the Source Network CloudFormation template to an S3 bucket.
|
184
|
+
*/
|
185
|
+
exportSourceNetworkCfnTemplate(params: Drs.Types.ExportSourceNetworkCfnTemplateRequest, callback?: (err: AWSError, data: Drs.Types.ExportSourceNetworkCfnTemplateResponse) => void): Request<Drs.Types.ExportSourceNetworkCfnTemplateResponse, AWSError>;
|
186
|
+
/**
|
187
|
+
* Export the Source Network CloudFormation template to an S3 bucket.
|
188
|
+
*/
|
189
|
+
exportSourceNetworkCfnTemplate(callback?: (err: AWSError, data: Drs.Types.ExportSourceNetworkCfnTemplateResponse) => void): Request<Drs.Types.ExportSourceNetworkCfnTemplateResponse, AWSError>;
|
150
190
|
/**
|
151
191
|
* Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
|
152
192
|
*/
|
@@ -243,6 +283,22 @@ declare class Drs extends Service {
|
|
243
283
|
* Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
|
244
284
|
*/
|
245
285
|
startReplication(callback?: (err: AWSError, data: Drs.Types.StartReplicationResponse) => void): Request<Drs.Types.StartReplicationResponse, AWSError>;
|
286
|
+
/**
|
287
|
+
* Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack.
|
288
|
+
*/
|
289
|
+
startSourceNetworkRecovery(params: Drs.Types.StartSourceNetworkRecoveryRequest, callback?: (err: AWSError, data: Drs.Types.StartSourceNetworkRecoveryResponse) => void): Request<Drs.Types.StartSourceNetworkRecoveryResponse, AWSError>;
|
290
|
+
/**
|
291
|
+
* Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack.
|
292
|
+
*/
|
293
|
+
startSourceNetworkRecovery(callback?: (err: AWSError, data: Drs.Types.StartSourceNetworkRecoveryResponse) => void): Request<Drs.Types.StartSourceNetworkRecoveryResponse, AWSError>;
|
294
|
+
/**
|
295
|
+
* Starts replication for a Source Network. This action would make the Source Network protected.
|
296
|
+
*/
|
297
|
+
startSourceNetworkReplication(params: Drs.Types.StartSourceNetworkReplicationRequest, callback?: (err: AWSError, data: Drs.Types.StartSourceNetworkReplicationResponse) => void): Request<Drs.Types.StartSourceNetworkReplicationResponse, AWSError>;
|
298
|
+
/**
|
299
|
+
* Starts replication for a Source Network. This action would make the Source Network protected.
|
300
|
+
*/
|
301
|
+
startSourceNetworkReplication(callback?: (err: AWSError, data: Drs.Types.StartSourceNetworkReplicationResponse) => void): Request<Drs.Types.StartSourceNetworkReplicationResponse, AWSError>;
|
246
302
|
/**
|
247
303
|
* Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.
|
248
304
|
*/
|
@@ -259,6 +315,14 @@ declare class Drs extends Service {
|
|
259
315
|
* Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.
|
260
316
|
*/
|
261
317
|
stopReplication(callback?: (err: AWSError, data: Drs.Types.StopReplicationResponse) => void): Request<Drs.Types.StopReplicationResponse, AWSError>;
|
318
|
+
/**
|
319
|
+
* Stops replication for a Source Network. This action would make the Source Network unprotected.
|
320
|
+
*/
|
321
|
+
stopSourceNetworkReplication(params: Drs.Types.StopSourceNetworkReplicationRequest, callback?: (err: AWSError, data: Drs.Types.StopSourceNetworkReplicationResponse) => void): Request<Drs.Types.StopSourceNetworkReplicationResponse, AWSError>;
|
322
|
+
/**
|
323
|
+
* Stops replication for a Source Network. This action would make the Source Network unprotected.
|
324
|
+
*/
|
325
|
+
stopSourceNetworkReplication(callback?: (err: AWSError, data: Drs.Types.StopSourceNetworkReplicationResponse) => void): Request<Drs.Types.StopSourceNetworkReplicationResponse, AWSError>;
|
262
326
|
/**
|
263
327
|
* Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.
|
264
328
|
*/
|
@@ -335,6 +399,22 @@ declare namespace Drs {
|
|
335
399
|
export type AccountID = string;
|
336
400
|
export type AccountIDs = AccountID[];
|
337
401
|
export type Accounts = Account[];
|
402
|
+
export interface AssociateSourceNetworkStackRequest {
|
403
|
+
/**
|
404
|
+
* CloudFormation template to associate with a Source Network.
|
405
|
+
*/
|
406
|
+
cfnStackName: CfnStackName;
|
407
|
+
/**
|
408
|
+
* The Source Network ID to associate with CloudFormation template.
|
409
|
+
*/
|
410
|
+
sourceNetworkID: SourceNetworkID;
|
411
|
+
}
|
412
|
+
export interface AssociateSourceNetworkStackResponse {
|
413
|
+
/**
|
414
|
+
* The Source Network association Job.
|
415
|
+
*/
|
416
|
+
job?: Job;
|
417
|
+
}
|
338
418
|
export type AwsAvailabilityZone = string;
|
339
419
|
export type AwsRegion = string;
|
340
420
|
export type Boolean = boolean;
|
@@ -349,6 +429,7 @@ declare namespace Drs {
|
|
349
429
|
*/
|
350
430
|
modelName?: BoundedString;
|
351
431
|
}
|
432
|
+
export type CfnStackName = string;
|
352
433
|
export type ConversionMap = {[key: string]: EbsSnapshot};
|
353
434
|
export interface ConversionProperties {
|
354
435
|
/**
|
@@ -398,6 +479,10 @@ declare namespace Drs {
|
|
398
479
|
* Copy tags.
|
399
480
|
*/
|
400
481
|
copyTags?: Boolean;
|
482
|
+
/**
|
483
|
+
* S3 bucket ARN to export Source Network templates.
|
484
|
+
*/
|
485
|
+
exportBucketArn?: ARN;
|
401
486
|
/**
|
402
487
|
* Launch disposition.
|
403
488
|
*/
|
@@ -483,6 +568,30 @@ declare namespace Drs {
|
|
483
568
|
*/
|
484
569
|
useDedicatedReplicationServer: Boolean;
|
485
570
|
}
|
571
|
+
export interface CreateSourceNetworkRequest {
|
572
|
+
/**
|
573
|
+
* Account containing the VPC to protect.
|
574
|
+
*/
|
575
|
+
originAccountID: AccountID;
|
576
|
+
/**
|
577
|
+
* Region containing the VPC to protect.
|
578
|
+
*/
|
579
|
+
originRegion: AwsRegion;
|
580
|
+
/**
|
581
|
+
* A set of tags to be associated with the Source Network resource.
|
582
|
+
*/
|
583
|
+
tags?: TagsMap;
|
584
|
+
/**
|
585
|
+
* Which VPC ID to protect.
|
586
|
+
*/
|
587
|
+
vpcID: VpcID;
|
588
|
+
}
|
589
|
+
export interface CreateSourceNetworkResponse {
|
590
|
+
/**
|
591
|
+
* ID of the created Source Network.
|
592
|
+
*/
|
593
|
+
sourceNetworkID?: SourceNetworkID;
|
594
|
+
}
|
486
595
|
export interface DataReplicationError {
|
487
596
|
/**
|
488
597
|
* Error in data replication.
|
@@ -605,6 +714,14 @@ declare namespace Drs {
|
|
605
714
|
}
|
606
715
|
export interface DeleteReplicationConfigurationTemplateResponse {
|
607
716
|
}
|
717
|
+
export interface DeleteSourceNetworkRequest {
|
718
|
+
/**
|
719
|
+
* ID of the Source Network to delete.
|
720
|
+
*/
|
721
|
+
sourceNetworkID: SourceNetworkID;
|
722
|
+
}
|
723
|
+
export interface DeleteSourceNetworkResponse {
|
724
|
+
}
|
608
725
|
export interface DeleteSourceServerRequest {
|
609
726
|
/**
|
610
727
|
* The ID of the Source Server to be deleted.
|
@@ -801,6 +918,45 @@ declare namespace Drs {
|
|
801
918
|
*/
|
802
919
|
nextToken?: PaginationToken;
|
803
920
|
}
|
921
|
+
export interface DescribeSourceNetworksRequest {
|
922
|
+
/**
|
923
|
+
* A set of filters by which to return Source Networks.
|
924
|
+
*/
|
925
|
+
filters?: DescribeSourceNetworksRequestFilters;
|
926
|
+
/**
|
927
|
+
* Maximum number of Source Networks to retrieve.
|
928
|
+
*/
|
929
|
+
maxResults?: StrictlyPositiveInteger;
|
930
|
+
/**
|
931
|
+
* The token of the next Source Networks to retrieve.
|
932
|
+
*/
|
933
|
+
nextToken?: PaginationToken;
|
934
|
+
}
|
935
|
+
export interface DescribeSourceNetworksRequestFilters {
|
936
|
+
/**
|
937
|
+
* Filter Source Networks by account ID containing the protected VPCs.
|
938
|
+
*/
|
939
|
+
originAccountID?: AccountID;
|
940
|
+
/**
|
941
|
+
* Filter Source Networks by the region containing the protected VPCs.
|
942
|
+
*/
|
943
|
+
originRegion?: AwsRegion;
|
944
|
+
/**
|
945
|
+
* An array of Source Network IDs that should be returned. An empty array means all Source Networks.
|
946
|
+
*/
|
947
|
+
sourceNetworkIDs?: DescribeSourceNetworksRequestFiltersIDs;
|
948
|
+
}
|
949
|
+
export type DescribeSourceNetworksRequestFiltersIDs = SourceNetworkID[];
|
950
|
+
export interface DescribeSourceNetworksResponse {
|
951
|
+
/**
|
952
|
+
* An array of Source Networks.
|
953
|
+
*/
|
954
|
+
items?: SourceNetworksList;
|
955
|
+
/**
|
956
|
+
* The token of the next Source Networks to retrieve.
|
957
|
+
*/
|
958
|
+
nextToken?: PaginationToken;
|
959
|
+
}
|
804
960
|
export interface DescribeSourceServersRequest {
|
805
961
|
/**
|
806
962
|
* A set of filters by which to return Source Servers.
|
@@ -869,6 +1025,24 @@ declare namespace Drs {
|
|
869
1025
|
export type EbsSnapshot = string;
|
870
1026
|
export type EbsSnapshotsList = EbsSnapshot[];
|
871
1027
|
export type EbsVolumeID = string;
|
1028
|
+
export interface EventResourceData {
|
1029
|
+
/**
|
1030
|
+
* Source Network properties.
|
1031
|
+
*/
|
1032
|
+
sourceNetworkData?: SourceNetworkData;
|
1033
|
+
}
|
1034
|
+
export interface ExportSourceNetworkCfnTemplateRequest {
|
1035
|
+
/**
|
1036
|
+
* The Source Network ID to export its CloudFormation template to an S3 bucket.
|
1037
|
+
*/
|
1038
|
+
sourceNetworkID: SourceNetworkID;
|
1039
|
+
}
|
1040
|
+
export interface ExportSourceNetworkCfnTemplateResponse {
|
1041
|
+
/**
|
1042
|
+
* S3 bucket URL where the Source Network CloudFormation template was exported to.
|
1043
|
+
*/
|
1044
|
+
s3DestinationUrl?: LargeBoundedString;
|
1045
|
+
}
|
872
1046
|
export type ExtensionStatus = "EXTENDED"|"EXTENSION_ERROR"|"NOT_EXTENDED"|string;
|
873
1047
|
export type FailbackLaunchType = "RECOVERY"|"DRILL"|string;
|
874
1048
|
export type FailbackReplicationError = "AGENT_NOT_SEEN"|"FAILBACK_CLIENT_NOT_SEEN"|"NOT_CONVERGING"|"UNSTABLE_NETWORK"|"FAILED_TO_ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION"|"FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT"|"FAILED_TO_CONFIGURE_REPLICATION_SOFTWARE"|"FAILED_TO_PAIR_AGENT_WITH_REPLICATION_SOFTWARE"|"FAILED_TO_ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION"|"FAILED_GETTING_REPLICATION_STATE"|"SNAPSHOTS_FAILURE"|"FAILED_TO_CREATE_SECURITY_GROUP"|"FAILED_TO_LAUNCH_REPLICATION_SERVER"|"FAILED_TO_BOOT_REPLICATION_SERVER"|"FAILED_TO_AUTHENTICATE_WITH_SERVICE"|"FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE"|"FAILED_TO_CREATE_STAGING_DISKS"|"FAILED_TO_ATTACH_STAGING_DISKS"|"FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT"|"FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER"|"FAILED_TO_START_DATA_TRANSFER"|string;
|
@@ -934,7 +1108,7 @@ declare namespace Drs {
|
|
934
1108
|
}
|
935
1109
|
export interface InitializeServiceResponse {
|
936
1110
|
}
|
937
|
-
export type InitiatedBy = "START_RECOVERY"|"START_DRILL"|"FAILBACK"|"DIAGNOSTIC"|"TERMINATE_RECOVERY_INSTANCES"|"TARGET_ACCOUNT"|string;
|
1111
|
+
export type InitiatedBy = "START_RECOVERY"|"START_DRILL"|"FAILBACK"|"DIAGNOSTIC"|"TERMINATE_RECOVERY_INSTANCES"|"TARGET_ACCOUNT"|"CREATE_NETWORK_RECOVERY"|"UPDATE_NETWORK_RECOVERY"|"ASSOCIATE_NETWORK_RECOVERY"|string;
|
938
1112
|
export interface Job {
|
939
1113
|
/**
|
940
1114
|
* The ARN of a Job.
|
@@ -956,6 +1130,10 @@ declare namespace Drs {
|
|
956
1130
|
* The ID of the Job.
|
957
1131
|
*/
|
958
1132
|
jobID: JobID;
|
1133
|
+
/**
|
1134
|
+
* A list of resources that the Job is acting upon.
|
1135
|
+
*/
|
1136
|
+
participatingResources?: ParticipatingResources;
|
959
1137
|
/**
|
960
1138
|
* A list of servers that the Job is acting upon.
|
961
1139
|
*/
|
@@ -988,7 +1166,7 @@ declare namespace Drs {
|
|
988
1166
|
*/
|
989
1167
|
logDateTime?: ISO8601DatetimeString;
|
990
1168
|
}
|
991
|
-
export type JobLogEvent = "JOB_START"|"SERVER_SKIPPED"|"CLEANUP_START"|"CLEANUP_END"|"CLEANUP_FAIL"|"SNAPSHOT_START"|"SNAPSHOT_END"|"SNAPSHOT_FAIL"|"USING_PREVIOUS_SNAPSHOT"|"USING_PREVIOUS_SNAPSHOT_FAILED"|"CONVERSION_START"|"CONVERSION_END"|"CONVERSION_FAIL"|"LAUNCH_START"|"LAUNCH_FAILED"|"JOB_CANCEL"|"JOB_END"|string;
|
1169
|
+
export type JobLogEvent = "JOB_START"|"SERVER_SKIPPED"|"CLEANUP_START"|"CLEANUP_END"|"CLEANUP_FAIL"|"SNAPSHOT_START"|"SNAPSHOT_END"|"SNAPSHOT_FAIL"|"USING_PREVIOUS_SNAPSHOT"|"USING_PREVIOUS_SNAPSHOT_FAILED"|"CONVERSION_START"|"CONVERSION_END"|"CONVERSION_FAIL"|"LAUNCH_START"|"LAUNCH_FAILED"|"JOB_CANCEL"|"JOB_END"|"DEPLOY_NETWORK_CONFIGURATION_START"|"DEPLOY_NETWORK_CONFIGURATION_END"|"DEPLOY_NETWORK_CONFIGURATION_FAILED"|"UPDATE_NETWORK_CONFIGURATION_START"|"UPDATE_NETWORK_CONFIGURATION_END"|"UPDATE_NETWORK_CONFIGURATION_FAILED"|"UPDATE_LAUNCH_TEMPLATE_START"|"UPDATE_LAUNCH_TEMPLATE_END"|"UPDATE_LAUNCH_TEMPLATE_FAILED"|"NETWORK_RECOVERY_FAIL"|string;
|
992
1170
|
export interface JobLogEventData {
|
993
1171
|
/**
|
994
1172
|
* Properties of a conversion job
|
@@ -998,6 +1176,10 @@ declare namespace Drs {
|
|
998
1176
|
* The ID of a conversion server.
|
999
1177
|
*/
|
1000
1178
|
conversionServerID?: EC2InstanceID;
|
1179
|
+
/**
|
1180
|
+
* Properties of resource related to a job event.
|
1181
|
+
*/
|
1182
|
+
eventResourceData?: EventResourceData;
|
1001
1183
|
/**
|
1002
1184
|
* A string representing a job error.
|
1003
1185
|
*/
|
@@ -1065,6 +1247,10 @@ declare namespace Drs {
|
|
1065
1247
|
* Copy tags.
|
1066
1248
|
*/
|
1067
1249
|
copyTags?: Boolean;
|
1250
|
+
/**
|
1251
|
+
* S3 bucket ARN to export Source Network templates.
|
1252
|
+
*/
|
1253
|
+
exportBucketArn?: ARN;
|
1068
1254
|
/**
|
1069
1255
|
* ID of the Launch Configuration Template.
|
1070
1256
|
*/
|
@@ -1249,6 +1435,23 @@ declare namespace Drs {
|
|
1249
1435
|
}
|
1250
1436
|
export type PITPolicyRuleUnits = "MINUTE"|"HOUR"|"DAY"|string;
|
1251
1437
|
export type PaginationToken = string;
|
1438
|
+
export interface ParticipatingResource {
|
1439
|
+
/**
|
1440
|
+
* The launch status of a participating resource.
|
1441
|
+
*/
|
1442
|
+
launchStatus?: LaunchStatus;
|
1443
|
+
/**
|
1444
|
+
* The ID of a participating resource.
|
1445
|
+
*/
|
1446
|
+
participatingResourceID?: ParticipatingResourceID;
|
1447
|
+
}
|
1448
|
+
export interface ParticipatingResourceID {
|
1449
|
+
/**
|
1450
|
+
* Source Network ID.
|
1451
|
+
*/
|
1452
|
+
sourceNetworkID?: SourceNetworkID;
|
1453
|
+
}
|
1454
|
+
export type ParticipatingResources = ParticipatingResource[];
|
1252
1455
|
export interface ParticipatingServer {
|
1253
1456
|
/**
|
1254
1457
|
* The launch status of a participating server.
|
@@ -1500,6 +1703,21 @@ declare namespace Drs {
|
|
1500
1703
|
ramBytes?: PositiveInteger;
|
1501
1704
|
}
|
1502
1705
|
export type RecoveryInstancesForTerminationRequest = RecoveryInstanceID[];
|
1706
|
+
export interface RecoveryLifeCycle {
|
1707
|
+
/**
|
1708
|
+
* The date and time the last Source Network recovery was initiated.
|
1709
|
+
*/
|
1710
|
+
apiCallDateTime?: SyntheticTimestamp_date_time;
|
1711
|
+
/**
|
1712
|
+
* The ID of the Job that was used to last recover the Source Network.
|
1713
|
+
*/
|
1714
|
+
jobID?: JobID;
|
1715
|
+
/**
|
1716
|
+
* The status of the last recovery status of this Source Network.
|
1717
|
+
*/
|
1718
|
+
lastRecoveryResult?: RecoveryResult;
|
1719
|
+
}
|
1720
|
+
export type RecoveryResult = "NOT_STARTED"|"IN_PROGRESS"|"SUCCESS"|"FAIL"|"PARTIAL_SUCCESS"|"ASSOCIATE_SUCCESS"|"ASSOCIATE_FAIL"|string;
|
1503
1721
|
export interface RecoverySnapshot {
|
1504
1722
|
/**
|
1505
1723
|
* A list of EBS snapshots.
|
@@ -1597,7 +1815,7 @@ declare namespace Drs {
|
|
1597
1815
|
}
|
1598
1816
|
export type ReplicationConfigurationDataPlaneRouting = "PRIVATE_IP"|"PUBLIC_IP"|string;
|
1599
1817
|
export type ReplicationConfigurationDefaultLargeStagingDiskType = "GP2"|"GP3"|"ST1"|"AUTO"|string;
|
1600
|
-
export type ReplicationConfigurationEbsEncryption = "DEFAULT"|"CUSTOM"|string;
|
1818
|
+
export type ReplicationConfigurationEbsEncryption = "DEFAULT"|"CUSTOM"|"NONE"|string;
|
1601
1819
|
export interface ReplicationConfigurationReplicatedDisk {
|
1602
1820
|
/**
|
1603
1821
|
* The name of the device.
|
@@ -1701,6 +1919,7 @@ declare namespace Drs {
|
|
1701
1919
|
export type ReplicationConfigurationTemplates = ReplicationConfigurationTemplate[];
|
1702
1920
|
export type ReplicationDirection = "FAILOVER"|"FAILBACK"|string;
|
1703
1921
|
export type ReplicationServersSecurityGroupsIDs = SecurityGroupID[];
|
1922
|
+
export type ReplicationStatus = "STOPPED"|"IN_PROGRESS"|"PROTECTED"|"ERROR"|string;
|
1704
1923
|
export interface RetryDataReplicationRequest {
|
1705
1924
|
/**
|
1706
1925
|
* The ID of the Source Server whose data replication should be retried.
|
@@ -1720,6 +1939,7 @@ declare namespace Drs {
|
|
1720
1939
|
reversedDirectionSourceServerArn?: SourceServerARN;
|
1721
1940
|
}
|
1722
1941
|
export type SecurityGroupID = string;
|
1942
|
+
export type SensitiveBoundedString = string;
|
1723
1943
|
export type SmallBoundedString = string;
|
1724
1944
|
export interface SourceCloudProperties {
|
1725
1945
|
/**
|
@@ -1735,6 +1955,72 @@ declare namespace Drs {
|
|
1735
1955
|
*/
|
1736
1956
|
originRegion?: AwsRegion;
|
1737
1957
|
}
|
1958
|
+
export interface SourceNetwork {
|
1959
|
+
/**
|
1960
|
+
* The ARN of the Source Network.
|
1961
|
+
*/
|
1962
|
+
arn?: ARN;
|
1963
|
+
/**
|
1964
|
+
* CloudFormation stack name that was deployed for recovering the Source Network.
|
1965
|
+
*/
|
1966
|
+
cfnStackName?: CfnStackName;
|
1967
|
+
/**
|
1968
|
+
* An object containing information regarding the last recovery of the Source Network.
|
1969
|
+
*/
|
1970
|
+
lastRecovery?: RecoveryLifeCycle;
|
1971
|
+
/**
|
1972
|
+
* ID of the recovered VPC following Source Network recovery.
|
1973
|
+
*/
|
1974
|
+
launchedVpcID?: VpcID;
|
1975
|
+
/**
|
1976
|
+
* Status of Source Network Replication. Possible values: (a) STOPPED - Source Network is not replicating. (b) IN_PROGRESS - Source Network is being replicated. (c) PROTECTED - Source Network was replicated successfully and is being synchronized for changes. (d) ERROR - Source Network replication has failed
|
1977
|
+
*/
|
1978
|
+
replicationStatus?: ReplicationStatus;
|
1979
|
+
/**
|
1980
|
+
* Error details in case Source Network replication status is ERROR.
|
1981
|
+
*/
|
1982
|
+
replicationStatusDetails?: SensitiveBoundedString;
|
1983
|
+
/**
|
1984
|
+
* Account ID containing the VPC protected by the Source Network.
|
1985
|
+
*/
|
1986
|
+
sourceAccountID?: AccountID;
|
1987
|
+
/**
|
1988
|
+
* Source Network ID.
|
1989
|
+
*/
|
1990
|
+
sourceNetworkID?: SourceNetworkID;
|
1991
|
+
/**
|
1992
|
+
* Region containing the VPC protected by the Source Network.
|
1993
|
+
*/
|
1994
|
+
sourceRegion?: AwsRegion;
|
1995
|
+
/**
|
1996
|
+
* VPC ID protected by the Source Network.
|
1997
|
+
*/
|
1998
|
+
sourceVpcID?: VpcID;
|
1999
|
+
/**
|
2000
|
+
* A list of tags associated with the Source Network.
|
2001
|
+
*/
|
2002
|
+
tags?: TagsMap;
|
2003
|
+
}
|
2004
|
+
export interface SourceNetworkData {
|
2005
|
+
/**
|
2006
|
+
* Source Network ID.
|
2007
|
+
*/
|
2008
|
+
sourceNetworkID?: SourceNetworkID;
|
2009
|
+
/**
|
2010
|
+
* VPC ID protected by the Source Network.
|
2011
|
+
*/
|
2012
|
+
sourceVpc?: VpcID;
|
2013
|
+
/**
|
2014
|
+
* CloudFormation stack name that was deployed for recovering the Source Network.
|
2015
|
+
*/
|
2016
|
+
stackName?: LargeBoundedString;
|
2017
|
+
/**
|
2018
|
+
* ID of the recovered VPC following Source Network recovery.
|
2019
|
+
*/
|
2020
|
+
targetVpc?: VpcID;
|
2021
|
+
}
|
2022
|
+
export type SourceNetworkID = string;
|
2023
|
+
export type SourceNetworksList = SourceNetwork[];
|
1738
2024
|
export interface SourceProperties {
|
1739
2025
|
/**
|
1740
2026
|
* An array of CPUs.
|
@@ -1806,6 +2092,10 @@ declare namespace Drs {
|
|
1806
2092
|
* Source cloud properties of the Source Server.
|
1807
2093
|
*/
|
1808
2094
|
sourceCloudProperties?: SourceCloudProperties;
|
2095
|
+
/**
|
2096
|
+
* ID of the Source Network which is protecting this Source Server's network.
|
2097
|
+
*/
|
2098
|
+
sourceNetworkID?: SourceNetworkID;
|
1809
2099
|
/**
|
1810
2100
|
* The source properties of the Source Server.
|
1811
2101
|
*/
|
@@ -1920,6 +2210,49 @@ declare namespace Drs {
|
|
1920
2210
|
*/
|
1921
2211
|
sourceServer?: SourceServer;
|
1922
2212
|
}
|
2213
|
+
export interface StartSourceNetworkRecoveryRequest {
|
2214
|
+
/**
|
2215
|
+
* Don't update existing CloudFormation Stack, recover the network using a new stack.
|
2216
|
+
*/
|
2217
|
+
deployAsNew?: Boolean;
|
2218
|
+
/**
|
2219
|
+
* The Source Networks that we want to start a Recovery Job for.
|
2220
|
+
*/
|
2221
|
+
sourceNetworks: StartSourceNetworkRecoveryRequestNetworkEntries;
|
2222
|
+
/**
|
2223
|
+
* The tags to be associated with the Source Network recovery Job.
|
2224
|
+
*/
|
2225
|
+
tags?: TagsMap;
|
2226
|
+
}
|
2227
|
+
export type StartSourceNetworkRecoveryRequestNetworkEntries = StartSourceNetworkRecoveryRequestNetworkEntry[];
|
2228
|
+
export interface StartSourceNetworkRecoveryRequestNetworkEntry {
|
2229
|
+
/**
|
2230
|
+
* CloudFormation stack name to be used for recovering the network.
|
2231
|
+
*/
|
2232
|
+
cfnStackName?: CfnStackName;
|
2233
|
+
/**
|
2234
|
+
* The ID of the Source Network you want to recover.
|
2235
|
+
*/
|
2236
|
+
sourceNetworkID: SourceNetworkID;
|
2237
|
+
}
|
2238
|
+
export interface StartSourceNetworkRecoveryResponse {
|
2239
|
+
/**
|
2240
|
+
* The Source Network recovery Job.
|
2241
|
+
*/
|
2242
|
+
job?: Job;
|
2243
|
+
}
|
2244
|
+
export interface StartSourceNetworkReplicationRequest {
|
2245
|
+
/**
|
2246
|
+
* ID of the Source Network to replicate.
|
2247
|
+
*/
|
2248
|
+
sourceNetworkID: SourceNetworkID;
|
2249
|
+
}
|
2250
|
+
export interface StartSourceNetworkReplicationResponse {
|
2251
|
+
/**
|
2252
|
+
* Source Network which was requested for replication.
|
2253
|
+
*/
|
2254
|
+
sourceNetwork?: SourceNetwork;
|
2255
|
+
}
|
1923
2256
|
export interface StopFailbackRequest {
|
1924
2257
|
/**
|
1925
2258
|
* The ID of the Recovery Instance we want to stop failback for.
|
@@ -1938,8 +2271,21 @@ declare namespace Drs {
|
|
1938
2271
|
*/
|
1939
2272
|
sourceServer?: SourceServer;
|
1940
2273
|
}
|
2274
|
+
export interface StopSourceNetworkReplicationRequest {
|
2275
|
+
/**
|
2276
|
+
* ID of the Source Network to stop replication.
|
2277
|
+
*/
|
2278
|
+
sourceNetworkID: SourceNetworkID;
|
2279
|
+
}
|
2280
|
+
export interface StopSourceNetworkReplicationResponse {
|
2281
|
+
/**
|
2282
|
+
* Source Network which was requested to stop replication.
|
2283
|
+
*/
|
2284
|
+
sourceNetwork?: SourceNetwork;
|
2285
|
+
}
|
1941
2286
|
export type StrictlyPositiveInteger = number;
|
1942
2287
|
export type SubnetID = string;
|
2288
|
+
export type SyntheticTimestamp_date_time = Date;
|
1943
2289
|
export type TagKey = string;
|
1944
2290
|
export type TagKeys = TagKey[];
|
1945
2291
|
export interface TagResourceRequest {
|
@@ -2034,6 +2380,10 @@ declare namespace Drs {
|
|
2034
2380
|
* Copy tags.
|
2035
2381
|
*/
|
2036
2382
|
copyTags?: Boolean;
|
2383
|
+
/**
|
2384
|
+
* S3 bucket ARN to export Source Network templates.
|
2385
|
+
*/
|
2386
|
+
exportBucketArn?: ARN;
|
2037
2387
|
/**
|
2038
2388
|
* Launch Configuration Template ID.
|
2039
2389
|
*/
|
@@ -2195,6 +2545,7 @@ declare namespace Drs {
|
|
2195
2545
|
}
|
2196
2546
|
export type VolumeToConversionMap = {[key: string]: ConversionMap};
|
2197
2547
|
export type VolumeToSizeMap = {[key: string]: PositiveInteger};
|
2548
|
+
export type VpcID = string;
|
2198
2549
|
/**
|
2199
2550
|
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
2200
2551
|
*/
|