cdk-comprehend-s3olap 2.0.14 → 2.0.17
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/.jsii +3 -3
- package/lib/cdk-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +15 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +11 -4
- package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.min.json +54 -5
- package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/mgn-2020-02-26.min.json +233 -44
- package/node_modules/aws-sdk/apis/mgn-2020-02-26.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/migration-hub-refactor-spaces-2021-10-26.min.json +75 -25
- package/node_modules/aws-sdk/apis/pricing-2017-10-15.min.json +6 -0
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +231 -182
- package/node_modules/aws-sdk/apis/wellarchitected-2020-03-31.min.json +39 -22
- package/node_modules/aws-sdk/clients/apigateway.d.ts +1 -1
- package/node_modules/aws-sdk/clients/ec2.d.ts +25 -5
- package/node_modules/aws-sdk/clients/ecs.d.ts +40 -40
- package/node_modules/aws-sdk/clients/lookoutequipment.d.ts +69 -1
- package/node_modules/aws-sdk/clients/mediaconvert.d.ts +1 -1
- package/node_modules/aws-sdk/clients/mgn.d.ts +218 -3
- package/node_modules/aws-sdk/clients/migrationhubrefactorspaces.d.ts +70 -8
- package/node_modules/aws-sdk/clients/pricing.d.ts +4 -4
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +69 -8
- package/node_modules/aws-sdk/clients/transfer.d.ts +9 -9
- package/node_modules/aws-sdk/clients/wellarchitected.d.ts +28 -7
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +10 -10
- package/node_modules/aws-sdk/dist/aws-sdk.js +20 -7
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +60 -60
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +4 -4
@@ -19,6 +19,14 @@ declare class Mgn extends Service {
|
|
19
19
|
* Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)
|
20
20
|
*/
|
21
21
|
changeServerLifeCycleState(callback?: (err: AWSError, data: Mgn.Types.SourceServer) => void): Request<Mgn.Types.SourceServer, AWSError>;
|
22
|
+
/**
|
23
|
+
* Creates a new ReplicationConfigurationTemplate.
|
24
|
+
*/
|
25
|
+
createLaunchConfigurationTemplate(params: Mgn.Types.CreateLaunchConfigurationTemplateRequest, callback?: (err: AWSError, data: Mgn.Types.LaunchConfigurationTemplate) => void): Request<Mgn.Types.LaunchConfigurationTemplate, AWSError>;
|
26
|
+
/**
|
27
|
+
* Creates a new ReplicationConfigurationTemplate.
|
28
|
+
*/
|
29
|
+
createLaunchConfigurationTemplate(callback?: (err: AWSError, data: Mgn.Types.LaunchConfigurationTemplate) => void): Request<Mgn.Types.LaunchConfigurationTemplate, AWSError>;
|
22
30
|
/**
|
23
31
|
* Creates a new ReplicationConfigurationTemplate.
|
24
32
|
*/
|
@@ -35,6 +43,14 @@ declare class Mgn extends Service {
|
|
35
43
|
* Deletes a single Job by ID.
|
36
44
|
*/
|
37
45
|
deleteJob(callback?: (err: AWSError, data: Mgn.Types.DeleteJobResponse) => void): Request<Mgn.Types.DeleteJobResponse, AWSError>;
|
46
|
+
/**
|
47
|
+
* Creates a new ReplicationConfigurationTemplate.
|
48
|
+
*/
|
49
|
+
deleteLaunchConfigurationTemplate(params: Mgn.Types.DeleteLaunchConfigurationTemplateRequest, callback?: (err: AWSError, data: Mgn.Types.DeleteLaunchConfigurationTemplateResponse) => void): Request<Mgn.Types.DeleteLaunchConfigurationTemplateResponse, AWSError>;
|
50
|
+
/**
|
51
|
+
* Creates a new ReplicationConfigurationTemplate.
|
52
|
+
*/
|
53
|
+
deleteLaunchConfigurationTemplate(callback?: (err: AWSError, data: Mgn.Types.DeleteLaunchConfigurationTemplateResponse) => void): Request<Mgn.Types.DeleteLaunchConfigurationTemplateResponse, AWSError>;
|
38
54
|
/**
|
39
55
|
* Deletes a single Replication Configuration Template by ID
|
40
56
|
*/
|
@@ -75,6 +91,14 @@ declare class Mgn extends Service {
|
|
75
91
|
* Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normally created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.
|
76
92
|
*/
|
77
93
|
describeJobs(callback?: (err: AWSError, data: Mgn.Types.DescribeJobsResponse) => void): Request<Mgn.Types.DescribeJobsResponse, AWSError>;
|
94
|
+
/**
|
95
|
+
* Creates a new ReplicationConfigurationTemplate.
|
96
|
+
*/
|
97
|
+
describeLaunchConfigurationTemplates(params: Mgn.Types.DescribeLaunchConfigurationTemplatesRequest, callback?: (err: AWSError, data: Mgn.Types.DescribeLaunchConfigurationTemplatesResponse) => void): Request<Mgn.Types.DescribeLaunchConfigurationTemplatesResponse, AWSError>;
|
98
|
+
/**
|
99
|
+
* Creates a new ReplicationConfigurationTemplate.
|
100
|
+
*/
|
101
|
+
describeLaunchConfigurationTemplates(callback?: (err: AWSError, data: Mgn.Types.DescribeLaunchConfigurationTemplatesResponse) => void): Request<Mgn.Types.DescribeLaunchConfigurationTemplatesResponse, AWSError>;
|
78
102
|
/**
|
79
103
|
* Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
|
80
104
|
*/
|
@@ -219,6 +243,14 @@ declare class Mgn extends Service {
|
|
219
243
|
* Updates multiple LaunchConfigurations by Source Server ID.
|
220
244
|
*/
|
221
245
|
updateLaunchConfiguration(callback?: (err: AWSError, data: Mgn.Types.LaunchConfiguration) => void): Request<Mgn.Types.LaunchConfiguration, AWSError>;
|
246
|
+
/**
|
247
|
+
* Creates a new ReplicationConfigurationTemplate.
|
248
|
+
*/
|
249
|
+
updateLaunchConfigurationTemplate(params: Mgn.Types.UpdateLaunchConfigurationTemplateRequest, callback?: (err: AWSError, data: Mgn.Types.LaunchConfigurationTemplate) => void): Request<Mgn.Types.LaunchConfigurationTemplate, AWSError>;
|
250
|
+
/**
|
251
|
+
* Creates a new ReplicationConfigurationTemplate.
|
252
|
+
*/
|
253
|
+
updateLaunchConfigurationTemplate(callback?: (err: AWSError, data: Mgn.Types.LaunchConfigurationTemplate) => void): Request<Mgn.Types.LaunchConfigurationTemplate, AWSError>;
|
222
254
|
/**
|
223
255
|
* Allows you to update multiple ReplicationConfigurations by Source Server ID.
|
224
256
|
*/
|
@@ -276,7 +308,18 @@ declare namespace Mgn {
|
|
276
308
|
state: ChangeServerLifeCycleStateSourceServerLifecycleState;
|
277
309
|
}
|
278
310
|
export type ChangeServerLifeCycleStateSourceServerLifecycleState = "READY_FOR_TEST"|"READY_FOR_CUTOVER"|"CUTOVER"|string;
|
311
|
+
export type CloudWatchLogGroupName = string;
|
279
312
|
export type Cpus = CPU[];
|
313
|
+
export interface CreateLaunchConfigurationTemplateRequest {
|
314
|
+
/**
|
315
|
+
* Request to associate the default Application Migration Service Security group with the Replication Settings template.
|
316
|
+
*/
|
317
|
+
postLaunchActions?: PostLaunchActions;
|
318
|
+
/**
|
319
|
+
* Request to associate the default Application Migration Service Security group with the Replication Settings template.
|
320
|
+
*/
|
321
|
+
tags?: TagsMap;
|
322
|
+
}
|
280
323
|
export interface CreateReplicationConfigurationTemplateRequest {
|
281
324
|
/**
|
282
325
|
* Request to associate the default Application Migration Service Security group with the Replication Settings template.
|
@@ -362,7 +405,7 @@ declare namespace Mgn {
|
|
362
405
|
/**
|
363
406
|
* Request to query data replication lag duration.
|
364
407
|
*/
|
365
|
-
lagDuration?:
|
408
|
+
lagDuration?: ISO8601DurationString;
|
366
409
|
/**
|
367
410
|
* Request to query data replication last snapshot time.
|
368
411
|
*/
|
@@ -431,6 +474,14 @@ declare namespace Mgn {
|
|
431
474
|
}
|
432
475
|
export interface DeleteJobResponse {
|
433
476
|
}
|
477
|
+
export interface DeleteLaunchConfigurationTemplateRequest {
|
478
|
+
/**
|
479
|
+
* ID of resource to be deleted.
|
480
|
+
*/
|
481
|
+
launchConfigurationTemplateID: LaunchConfigurationTemplateID;
|
482
|
+
}
|
483
|
+
export interface DeleteLaunchConfigurationTemplateResponse {
|
484
|
+
}
|
434
485
|
export interface DeleteReplicationConfigurationTemplateRequest {
|
435
486
|
/**
|
436
487
|
* Request to delete Replication Configuration Template from service by Replication Configuration Template ID.
|
@@ -516,6 +567,30 @@ declare namespace Mgn {
|
|
516
567
|
*/
|
517
568
|
nextToken?: PaginationToken;
|
518
569
|
}
|
570
|
+
export interface DescribeLaunchConfigurationTemplatesRequest {
|
571
|
+
/**
|
572
|
+
* Request to disconnect Source Server from service by Server ID.
|
573
|
+
*/
|
574
|
+
launchConfigurationTemplateIDs?: LaunchConfigurationTemplateIDs;
|
575
|
+
/**
|
576
|
+
* Request to disconnect Source Server from service by Server ID.
|
577
|
+
*/
|
578
|
+
maxResults?: StrictlyPositiveInteger;
|
579
|
+
/**
|
580
|
+
* Request to disconnect Source Server from service by Server ID.
|
581
|
+
*/
|
582
|
+
nextToken?: PaginationToken;
|
583
|
+
}
|
584
|
+
export interface DescribeLaunchConfigurationTemplatesResponse {
|
585
|
+
/**
|
586
|
+
* Request to disconnect Source Server from service by Server ID.
|
587
|
+
*/
|
588
|
+
items?: LaunchConfigurationTemplates;
|
589
|
+
/**
|
590
|
+
* Request to disconnect Source Server from service by Server ID.
|
591
|
+
*/
|
592
|
+
nextToken?: PaginationToken;
|
593
|
+
}
|
519
594
|
export interface DescribeReplicationConfigurationTemplatesRequest {
|
520
595
|
/**
|
521
596
|
* Request to describe Replication Configuration template by max results.
|
@@ -643,6 +718,7 @@ declare namespace Mgn {
|
|
643
718
|
}
|
644
719
|
export type IPsList = BoundedString[];
|
645
720
|
export type ISO8601DatetimeString = string;
|
721
|
+
export type ISO8601DurationString = string;
|
646
722
|
export interface IdentificationHints {
|
647
723
|
/**
|
648
724
|
* AWS Instance ID identification hint.
|
@@ -743,6 +819,28 @@ declare namespace Mgn {
|
|
743
819
|
targetInstanceID?: EC2InstanceID;
|
744
820
|
}
|
745
821
|
export type JobLogs = JobLog[];
|
822
|
+
export interface JobPostLaunchActionsLaunchStatus {
|
823
|
+
/**
|
824
|
+
* Job type.
|
825
|
+
*/
|
826
|
+
executionID?: BoundedString;
|
827
|
+
/**
|
828
|
+
* Job type.
|
829
|
+
*/
|
830
|
+
executionStatus?: PostLaunchActionExecutionStatus;
|
831
|
+
/**
|
832
|
+
* Job type.
|
833
|
+
*/
|
834
|
+
failureReason?: BoundedString;
|
835
|
+
/**
|
836
|
+
* Job type.
|
837
|
+
*/
|
838
|
+
ssmDocument?: SsmDocument;
|
839
|
+
/**
|
840
|
+
* Job type.
|
841
|
+
*/
|
842
|
+
ssmDocumentType?: SsmDocumentType;
|
843
|
+
}
|
746
844
|
export type JobStatus = "PENDING"|"STARTED"|"COMPLETED"|string;
|
747
845
|
export type JobType = "LAUNCH"|"TERMINATE"|string;
|
748
846
|
export type JobsList = Job[];
|
@@ -776,6 +874,7 @@ declare namespace Mgn {
|
|
776
874
|
* Launch configuration name.
|
777
875
|
*/
|
778
876
|
name?: SmallBoundedString;
|
877
|
+
postLaunchActions?: PostLaunchActions;
|
779
878
|
/**
|
780
879
|
* Launch configuration Source Server ID.
|
781
880
|
*/
|
@@ -785,6 +884,27 @@ declare namespace Mgn {
|
|
785
884
|
*/
|
786
885
|
targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod;
|
787
886
|
}
|
887
|
+
export interface LaunchConfigurationTemplate {
|
888
|
+
/**
|
889
|
+
* Copy Private IP during Launch Configuration.
|
890
|
+
*/
|
891
|
+
arn?: ARN;
|
892
|
+
/**
|
893
|
+
* Copy Private IP during Launch Configuration.
|
894
|
+
*/
|
895
|
+
launchConfigurationTemplateID: LaunchConfigurationTemplateID;
|
896
|
+
/**
|
897
|
+
* Copy Private IP during Launch Configuration.
|
898
|
+
*/
|
899
|
+
postLaunchActions?: PostLaunchActions;
|
900
|
+
/**
|
901
|
+
* Copy Private IP during Launch Configuration.
|
902
|
+
*/
|
903
|
+
tags?: TagsMap;
|
904
|
+
}
|
905
|
+
export type LaunchConfigurationTemplateID = string;
|
906
|
+
export type LaunchConfigurationTemplateIDs = LaunchConfigurationTemplateID[];
|
907
|
+
export type LaunchConfigurationTemplates = LaunchConfigurationTemplate[];
|
788
908
|
export type LaunchDisposition = "STOPPED"|"STARTED"|string;
|
789
909
|
export type LaunchStatus = "PENDING"|"IN_PROGRESS"|"LAUNCHED"|"FAILED"|"TERMINATED"|string;
|
790
910
|
export interface LaunchedInstance {
|
@@ -815,7 +935,7 @@ declare namespace Mgn {
|
|
815
935
|
/**
|
816
936
|
* Lifecycle elapsed time and duration.
|
817
937
|
*/
|
818
|
-
elapsedReplicationDuration?:
|
938
|
+
elapsedReplicationDuration?: ISO8601DurationString;
|
819
939
|
/**
|
820
940
|
* Lifecycle replication initiation date and time.
|
821
941
|
*/
|
@@ -959,10 +1079,53 @@ declare namespace Mgn {
|
|
959
1079
|
/**
|
960
1080
|
* Participating server Source Server ID.
|
961
1081
|
*/
|
962
|
-
|
1082
|
+
launchedEc2InstanceID?: EC2InstanceID;
|
1083
|
+
/**
|
1084
|
+
* Participating server Source Server ID.
|
1085
|
+
*/
|
1086
|
+
postLaunchActionsStatus?: PostLaunchActionsStatus;
|
1087
|
+
/**
|
1088
|
+
* Participating server Source Server ID.
|
1089
|
+
*/
|
1090
|
+
sourceServerID: SourceServerID;
|
963
1091
|
}
|
964
1092
|
export type ParticipatingServers = ParticipatingServer[];
|
965
1093
|
export type PositiveInteger = number;
|
1094
|
+
export type PostLaunchActionExecutionStatus = "IN_PROGRESS"|"SUCCESS"|"FAILED"|string;
|
1095
|
+
export interface PostLaunchActions {
|
1096
|
+
/**
|
1097
|
+
* Server participating in Job.
|
1098
|
+
*/
|
1099
|
+
cloudWatchLogGroupName?: CloudWatchLogGroupName;
|
1100
|
+
/**
|
1101
|
+
* Server participating in Job.
|
1102
|
+
*/
|
1103
|
+
deployment?: PostLaunchActionsDeploymentType;
|
1104
|
+
/**
|
1105
|
+
* Server participating in Job.
|
1106
|
+
*/
|
1107
|
+
s3LogBucket?: S3LogBucketName;
|
1108
|
+
/**
|
1109
|
+
* Server participating in Job.
|
1110
|
+
*/
|
1111
|
+
s3OutputKeyPrefix?: BoundedString;
|
1112
|
+
/**
|
1113
|
+
* Server participating in Job.
|
1114
|
+
*/
|
1115
|
+
ssmDocuments?: SsmDocuments;
|
1116
|
+
}
|
1117
|
+
export type PostLaunchActionsDeploymentType = "TEST_AND_CUTOVER"|"CUTOVER_ONLY"|string;
|
1118
|
+
export type PostLaunchActionsLaunchStatusList = JobPostLaunchActionsLaunchStatus[];
|
1119
|
+
export interface PostLaunchActionsStatus {
|
1120
|
+
/**
|
1121
|
+
* Server participating in Job.
|
1122
|
+
*/
|
1123
|
+
postLaunchActionsLaunchStatusList?: PostLaunchActionsLaunchStatusList;
|
1124
|
+
/**
|
1125
|
+
* Server participating in Job.
|
1126
|
+
*/
|
1127
|
+
ssmAgentDiscoveryDatetime?: ISO8601DatetimeString;
|
1128
|
+
}
|
966
1129
|
export interface ReplicationConfiguration {
|
967
1130
|
/**
|
968
1131
|
* Replication Configuration associate default Application Migration Service Security Group.
|
@@ -1126,6 +1289,7 @@ declare namespace Mgn {
|
|
1126
1289
|
*/
|
1127
1290
|
sourceServerID: SourceServerID;
|
1128
1291
|
}
|
1292
|
+
export type S3LogBucketName = string;
|
1129
1293
|
export type SecurityGroupID = string;
|
1130
1294
|
export type SmallBoundedString = string;
|
1131
1295
|
export interface SourceProperties {
|
@@ -1206,6 +1370,46 @@ declare namespace Mgn {
|
|
1206
1370
|
}
|
1207
1371
|
export type SourceServerID = string;
|
1208
1372
|
export type SourceServersList = SourceServer[];
|
1373
|
+
export interface SsmDocument {
|
1374
|
+
/**
|
1375
|
+
* Source server replication type.
|
1376
|
+
*/
|
1377
|
+
actionName: BoundedString;
|
1378
|
+
/**
|
1379
|
+
* Source server replication type.
|
1380
|
+
*/
|
1381
|
+
mustSucceedForCutover?: Boolean;
|
1382
|
+
/**
|
1383
|
+
* Source server replication type.
|
1384
|
+
*/
|
1385
|
+
parameters?: SsmDocumentParameters;
|
1386
|
+
/**
|
1387
|
+
* Source server replication type.
|
1388
|
+
*/
|
1389
|
+
ssmDocumentName: SsmDocumentName;
|
1390
|
+
/**
|
1391
|
+
* Source server replication type.
|
1392
|
+
*/
|
1393
|
+
timeoutSeconds?: StrictlyPositiveInteger;
|
1394
|
+
}
|
1395
|
+
export type SsmDocumentName = string;
|
1396
|
+
export type SsmDocumentParameterName = string;
|
1397
|
+
export type SsmDocumentParameters = {[key: string]: SsmParameterStoreParameters};
|
1398
|
+
export type SsmDocumentType = "AUTOMATION"|"COMMAND"|string;
|
1399
|
+
export type SsmDocuments = SsmDocument[];
|
1400
|
+
export interface SsmParameterStoreParameter {
|
1401
|
+
/**
|
1402
|
+
* Source server replication type.
|
1403
|
+
*/
|
1404
|
+
parameterName: SsmParameterStoreParameterName;
|
1405
|
+
/**
|
1406
|
+
* Source server replication type.
|
1407
|
+
*/
|
1408
|
+
parameterType: SsmParameterStoreParameterType;
|
1409
|
+
}
|
1410
|
+
export type SsmParameterStoreParameterName = string;
|
1411
|
+
export type SsmParameterStoreParameterType = "STRING"|string;
|
1412
|
+
export type SsmParameterStoreParameters = SsmParameterStoreParameter[];
|
1209
1413
|
export interface StartCutoverRequest {
|
1210
1414
|
/**
|
1211
1415
|
* Start Cutover by Source Server IDs.
|
@@ -1315,6 +1519,7 @@ declare namespace Mgn {
|
|
1315
1519
|
* Update Launch configuration name request.
|
1316
1520
|
*/
|
1317
1521
|
name?: SmallBoundedString;
|
1522
|
+
postLaunchActions?: PostLaunchActions;
|
1318
1523
|
/**
|
1319
1524
|
* Update Launch configuration by Source Server ID request.
|
1320
1525
|
*/
|
@@ -1324,6 +1529,16 @@ declare namespace Mgn {
|
|
1324
1529
|
*/
|
1325
1530
|
targetInstanceTypeRightSizingMethod?: TargetInstanceTypeRightSizingMethod;
|
1326
1531
|
}
|
1532
|
+
export interface UpdateLaunchConfigurationTemplateRequest {
|
1533
|
+
/**
|
1534
|
+
* Update Launch configuration Target instance right sizing request.
|
1535
|
+
*/
|
1536
|
+
launchConfigurationTemplateID: LaunchConfigurationTemplateID;
|
1537
|
+
/**
|
1538
|
+
* Update Launch configuration Target instance right sizing request.
|
1539
|
+
*/
|
1540
|
+
postLaunchActions?: PostLaunchActions;
|
1541
|
+
}
|
1327
1542
|
export interface UpdateReplicationConfigurationRequest {
|
1328
1543
|
/**
|
1329
1544
|
* Update replication configuration associate default Application Migration Service Security group request.
|
@@ -28,11 +28,11 @@ declare class MigrationHubRefactorSpaces extends Service {
|
|
28
28
|
*/
|
29
29
|
createEnvironment(callback?: (err: AWSError, data: MigrationHubRefactorSpaces.Types.CreateEnvironmentResponse) => void): Request<MigrationHubRefactorSpaces.Types.CreateEnvironmentResponse, AWSError>;
|
30
30
|
/**
|
31
|
-
* Creates an Amazon Web Services Migration Hub Refactor Spaces route. The account owner of the service resource is always the environment owner, regardless of which account creates the route. Routes target a service in the application. If an application does not have any routes, then the first route must be created as a DEFAULT RouteType. When you create a route, Refactor Spaces configures the Amazon API Gateway to send traffic to the target service as follows: If the service has a URL endpoint, and the endpoint resolves to a private IP address, Refactor Spaces routes traffic using the API Gateway VPC link. If the service has a URL endpoint, and the endpoint resolves to a public IP address, Refactor Spaces routes traffic over the public internet. If the service has an Lambda function endpoint, then Refactor Spaces configures the Lambda function's resource policy to allow the application's API Gateway to invoke the function. A one-time health check is performed on the service when the route is created. If the health check fails, the route transitions to FAILED, and no traffic is sent to the service. For Lambda functions, the Lambda function state is checked. If the function is not active, the function configuration is updated so that Lambda resources are provisioned. If the Lambda state is Failed, then the route creation fails. For more information, see the GetFunctionConfiguration's State response parameter in the Lambda Developer Guide. For public URLs, a connection is opened to the public endpoint. If the URL is not reachable, the health check fails.
|
31
|
+
* Creates an Amazon Web Services Migration Hub Refactor Spaces route. The account owner of the service resource is always the environment owner, regardless of which account creates the route. Routes target a service in the application. If an application does not have any routes, then the first route must be created as a DEFAULT RouteType. When created, the default route defaults to an active state so state is not a required input. However, like all other state values the state of the default route can be updated after creation, but only when all other routes are also inactive. Conversely, no route can be active without the default route also being active. When you create a route, Refactor Spaces configures the Amazon API Gateway to send traffic to the target service as follows: If the service has a URL endpoint, and the endpoint resolves to a private IP address, Refactor Spaces routes traffic using the API Gateway VPC link. If the service has a URL endpoint, and the endpoint resolves to a public IP address, Refactor Spaces routes traffic over the public internet. If the service has an Lambda function endpoint, then Refactor Spaces configures the Lambda function's resource policy to allow the application's API Gateway to invoke the function. A one-time health check is performed on the service when either the route is updated from inactive to active, or when it is created with an active state. If the health check fails, the route transitions the route state to FAILED, an error code of SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE is provided, and no traffic is sent to the service. For Lambda functions, the Lambda function state is checked. If the function is not active, the function configuration is updated so that Lambda resources are provisioned. If the Lambda state is Failed, then the route creation fails. For more information, see the GetFunctionConfiguration's State response parameter in the Lambda Developer Guide. For Lambda endpoints, a check is performed to determine that a Lambda function with the specified ARN exists. If it does not exist, the health check fails. For public URLs, a connection is opened to the public endpoint. If the URL is not reachable, the health check fails. For private URLS, a target group is created on the Elastic Load Balancing and the target group health check is run. The HealthCheckProtocol, HealthCheckPort, and HealthCheckPath are the same protocol, port, and path specified in the URL or health URL, if used. All other settings use the default values, as described in Health checks for your target groups. The health check is considered successful if at least one target within the target group transitions to a healthy state. Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs, publicly-signed certificates are supported. Private Certificate Authorities (CAs) are permitted only if the CA's domain is also publicly resolvable.
|
32
32
|
*/
|
33
33
|
createRoute(params: MigrationHubRefactorSpaces.Types.CreateRouteRequest, callback?: (err: AWSError, data: MigrationHubRefactorSpaces.Types.CreateRouteResponse) => void): Request<MigrationHubRefactorSpaces.Types.CreateRouteResponse, AWSError>;
|
34
34
|
/**
|
35
|
-
* Creates an Amazon Web Services Migration Hub Refactor Spaces route. The account owner of the service resource is always the environment owner, regardless of which account creates the route. Routes target a service in the application. If an application does not have any routes, then the first route must be created as a DEFAULT RouteType. When you create a route, Refactor Spaces configures the Amazon API Gateway to send traffic to the target service as follows: If the service has a URL endpoint, and the endpoint resolves to a private IP address, Refactor Spaces routes traffic using the API Gateway VPC link. If the service has a URL endpoint, and the endpoint resolves to a public IP address, Refactor Spaces routes traffic over the public internet. If the service has an Lambda function endpoint, then Refactor Spaces configures the Lambda function's resource policy to allow the application's API Gateway to invoke the function. A one-time health check is performed on the service when the route is created. If the health check fails, the route transitions to FAILED, and no traffic is sent to the service. For Lambda functions, the Lambda function state is checked. If the function is not active, the function configuration is updated so that Lambda resources are provisioned. If the Lambda state is Failed, then the route creation fails. For more information, see the GetFunctionConfiguration's State response parameter in the Lambda Developer Guide. For public URLs, a connection is opened to the public endpoint. If the URL is not reachable, the health check fails.
|
35
|
+
* Creates an Amazon Web Services Migration Hub Refactor Spaces route. The account owner of the service resource is always the environment owner, regardless of which account creates the route. Routes target a service in the application. If an application does not have any routes, then the first route must be created as a DEFAULT RouteType. When created, the default route defaults to an active state so state is not a required input. However, like all other state values the state of the default route can be updated after creation, but only when all other routes are also inactive. Conversely, no route can be active without the default route also being active. When you create a route, Refactor Spaces configures the Amazon API Gateway to send traffic to the target service as follows: If the service has a URL endpoint, and the endpoint resolves to a private IP address, Refactor Spaces routes traffic using the API Gateway VPC link. If the service has a URL endpoint, and the endpoint resolves to a public IP address, Refactor Spaces routes traffic over the public internet. If the service has an Lambda function endpoint, then Refactor Spaces configures the Lambda function's resource policy to allow the application's API Gateway to invoke the function. A one-time health check is performed on the service when either the route is updated from inactive to active, or when it is created with an active state. If the health check fails, the route transitions the route state to FAILED, an error code of SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE is provided, and no traffic is sent to the service. For Lambda functions, the Lambda function state is checked. If the function is not active, the function configuration is updated so that Lambda resources are provisioned. If the Lambda state is Failed, then the route creation fails. For more information, see the GetFunctionConfiguration's State response parameter in the Lambda Developer Guide. For Lambda endpoints, a check is performed to determine that a Lambda function with the specified ARN exists. If it does not exist, the health check fails. For public URLs, a connection is opened to the public endpoint. If the URL is not reachable, the health check fails. For private URLS, a target group is created on the Elastic Load Balancing and the target group health check is run. The HealthCheckProtocol, HealthCheckPort, and HealthCheckPath are the same protocol, port, and path specified in the URL or health URL, if used. All other settings use the default values, as described in Health checks for your target groups. The health check is considered successful if at least one target within the target group transitions to a healthy state. Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs, publicly-signed certificates are supported. Private Certificate Authorities (CAs) are permitted only if the CA's domain is also publicly resolvable.
|
36
36
|
*/
|
37
37
|
createRoute(callback?: (err: AWSError, data: MigrationHubRefactorSpaces.Types.CreateRouteResponse) => void): Request<MigrationHubRefactorSpaces.Types.CreateRouteResponse, AWSError>;
|
38
38
|
/**
|
@@ -195,6 +195,14 @@ declare class MigrationHubRefactorSpaces extends Service {
|
|
195
195
|
* Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource. To untag a resource, the caller account must be the same as the resource’s OwnerAccountId. Untagging resources across accounts is not supported.
|
196
196
|
*/
|
197
197
|
untagResource(callback?: (err: AWSError, data: MigrationHubRefactorSpaces.Types.UntagResourceResponse) => void): Request<MigrationHubRefactorSpaces.Types.UntagResourceResponse, AWSError>;
|
198
|
+
/**
|
199
|
+
* Updates an Amazon Web Services Migration Hub Refactor Spaces route.
|
200
|
+
*/
|
201
|
+
updateRoute(params: MigrationHubRefactorSpaces.Types.UpdateRouteRequest, callback?: (err: AWSError, data: MigrationHubRefactorSpaces.Types.UpdateRouteResponse) => void): Request<MigrationHubRefactorSpaces.Types.UpdateRouteResponse, AWSError>;
|
202
|
+
/**
|
203
|
+
* Updates an Amazon Web Services Migration Hub Refactor Spaces route.
|
204
|
+
*/
|
205
|
+
updateRoute(callback?: (err: AWSError, data: MigrationHubRefactorSpaces.Types.UpdateRouteResponse) => void): Request<MigrationHubRefactorSpaces.Types.UpdateRouteResponse, AWSError>;
|
198
206
|
}
|
199
207
|
declare namespace MigrationHubRefactorSpaces {
|
200
208
|
export type AccountId = string;
|
@@ -496,6 +504,10 @@ declare namespace MigrationHubRefactorSpaces {
|
|
496
504
|
* A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
497
505
|
*/
|
498
506
|
ClientToken?: ClientToken;
|
507
|
+
/**
|
508
|
+
* Configuration for the default route type.
|
509
|
+
*/
|
510
|
+
DefaultRoute?: DefaultRouteInput;
|
499
511
|
/**
|
500
512
|
* The ID of the environment in which the route is created.
|
501
513
|
*/
|
@@ -555,7 +567,7 @@ declare namespace MigrationHubRefactorSpaces {
|
|
555
567
|
*/
|
556
568
|
ServiceId?: ServiceId;
|
557
569
|
/**
|
558
|
-
* The current state of the route.
|
570
|
+
* The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.
|
559
571
|
*/
|
560
572
|
State?: RouteState;
|
561
573
|
/**
|
@@ -563,7 +575,7 @@ declare namespace MigrationHubRefactorSpaces {
|
|
563
575
|
*/
|
564
576
|
Tags?: TagMap;
|
565
577
|
/**
|
566
|
-
*
|
578
|
+
* Configuration for the URI path route type.
|
567
579
|
*/
|
568
580
|
UriPathRoute?: UriPathRouteInput;
|
569
581
|
}
|
@@ -675,6 +687,12 @@ declare namespace MigrationHubRefactorSpaces {
|
|
675
687
|
*/
|
676
688
|
VpcId?: VpcId;
|
677
689
|
}
|
690
|
+
export interface DefaultRouteInput {
|
691
|
+
/**
|
692
|
+
* If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.
|
693
|
+
*/
|
694
|
+
ActivationState?: RouteActivationState;
|
695
|
+
}
|
678
696
|
export interface DeleteApplicationRequest {
|
679
697
|
/**
|
680
698
|
* The ID of the application.
|
@@ -1433,7 +1451,7 @@ declare namespace MigrationHubRefactorSpaces {
|
|
1433
1451
|
export type ResourceArn = string;
|
1434
1452
|
export type ResourceIdentifier = string;
|
1435
1453
|
export type ResourcePolicyIdentifier = string;
|
1436
|
-
export type RouteActivationState = "ACTIVE"|string;
|
1454
|
+
export type RouteActivationState = "ACTIVE"|"INACTIVE"|string;
|
1437
1455
|
export type RouteId = string;
|
1438
1456
|
export type RouteState = "CREATING"|"ACTIVE"|"DELETING"|"FAILED"|"UPDATING"|"INACTIVE"|string;
|
1439
1457
|
export type RouteSummaries = RouteSummary[];
|
@@ -1591,11 +1609,11 @@ declare namespace MigrationHubRefactorSpaces {
|
|
1591
1609
|
export type TagMapValueString = string;
|
1592
1610
|
export interface TagResourceRequest {
|
1593
1611
|
/**
|
1594
|
-
* The Amazon Resource Name (ARN) of the resource
|
1612
|
+
* The Amazon Resource Name (ARN) of the resource.
|
1595
1613
|
*/
|
1596
1614
|
ResourceArn: String;
|
1597
1615
|
/**
|
1598
|
-
* The new or modified tags for the resource.
|
1616
|
+
* The new or modified tags for the resource.
|
1599
1617
|
*/
|
1600
1618
|
Tags: TagMap;
|
1601
1619
|
}
|
@@ -1615,11 +1633,55 @@ declare namespace MigrationHubRefactorSpaces {
|
|
1615
1633
|
}
|
1616
1634
|
export interface UntagResourceResponse {
|
1617
1635
|
}
|
1636
|
+
export interface UpdateRouteRequest {
|
1637
|
+
/**
|
1638
|
+
* If set to ACTIVE, traffic is forwarded to this route’s service after the route is updated.
|
1639
|
+
*/
|
1640
|
+
ActivationState: RouteActivationState;
|
1641
|
+
/**
|
1642
|
+
* The ID of the application within which the route is being updated.
|
1643
|
+
*/
|
1644
|
+
ApplicationIdentifier: ApplicationId;
|
1645
|
+
/**
|
1646
|
+
* The ID of the environment in which the route is being updated.
|
1647
|
+
*/
|
1648
|
+
EnvironmentIdentifier: EnvironmentId;
|
1649
|
+
/**
|
1650
|
+
* The unique identifier of the route to update.
|
1651
|
+
*/
|
1652
|
+
RouteIdentifier: RouteId;
|
1653
|
+
}
|
1654
|
+
export interface UpdateRouteResponse {
|
1655
|
+
/**
|
1656
|
+
* The ID of the application in which the route is being updated.
|
1657
|
+
*/
|
1658
|
+
ApplicationId?: ApplicationId;
|
1659
|
+
/**
|
1660
|
+
* The Amazon Resource Name (ARN) of the route. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id . For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
|
1661
|
+
*/
|
1662
|
+
Arn?: ResourceArn;
|
1663
|
+
/**
|
1664
|
+
* A timestamp that indicates when the route was last updated.
|
1665
|
+
*/
|
1666
|
+
LastUpdatedTime?: Timestamp;
|
1667
|
+
/**
|
1668
|
+
* The unique identifier of the route.
|
1669
|
+
*/
|
1670
|
+
RouteId?: RouteId;
|
1671
|
+
/**
|
1672
|
+
* The ID of service in which the route was created. Traffic that matches this route is forwarded to this service.
|
1673
|
+
*/
|
1674
|
+
ServiceId?: ServiceId;
|
1675
|
+
/**
|
1676
|
+
* The current state of the route.
|
1677
|
+
*/
|
1678
|
+
State?: RouteState;
|
1679
|
+
}
|
1618
1680
|
export type Uri = string;
|
1619
1681
|
export type UriPath = string;
|
1620
1682
|
export interface UriPathRouteInput {
|
1621
1683
|
/**
|
1622
|
-
*
|
1684
|
+
* If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.
|
1623
1685
|
*/
|
1624
1686
|
ActivationState: RouteActivationState;
|
1625
1687
|
/**
|
@@ -20,11 +20,11 @@ declare class Pricing extends Service {
|
|
20
20
|
*/
|
21
21
|
describeServices(callback?: (err: AWSError, data: Pricing.Types.DescribeServicesResponse) => void): Request<Pricing.Types.DescribeServicesResponse, AWSError>;
|
22
22
|
/**
|
23
|
-
* Returns a list of attribute values. Attributes are similar to the details in a Price List API offer file. For a list of available attributes, see Offer File Definitions in the
|
23
|
+
* Returns a list of attribute values. Attributes are similar to the details in a Price List API offer file. For a list of available attributes, see Offer File Definitions in the Billing and Cost Management User Guide.
|
24
24
|
*/
|
25
25
|
getAttributeValues(params: Pricing.Types.GetAttributeValuesRequest, callback?: (err: AWSError, data: Pricing.Types.GetAttributeValuesResponse) => void): Request<Pricing.Types.GetAttributeValuesResponse, AWSError>;
|
26
26
|
/**
|
27
|
-
* Returns a list of attribute values. Attributes are similar to the details in a Price List API offer file. For a list of available attributes, see Offer File Definitions in the
|
27
|
+
* Returns a list of attribute values. Attributes are similar to the details in a Price List API offer file. For a list of available attributes, see Offer File Definitions in the Billing and Cost Management User Guide.
|
28
28
|
*/
|
29
29
|
getAttributeValues(callback?: (err: AWSError, data: Pricing.Types.GetAttributeValuesResponse) => void): Request<Pricing.Types.GetAttributeValuesResponse, AWSError>;
|
30
30
|
/**
|
@@ -126,7 +126,7 @@ declare namespace Pricing {
|
|
126
126
|
/**
|
127
127
|
* The code for the service whose products you want to retrieve.
|
128
128
|
*/
|
129
|
-
ServiceCode
|
129
|
+
ServiceCode: String;
|
130
130
|
/**
|
131
131
|
* The list of filters that limit the returned products. only products that match all filters are returned.
|
132
132
|
*/
|
@@ -164,7 +164,7 @@ declare namespace Pricing {
|
|
164
164
|
/**
|
165
165
|
* The code for the Amazon Web Services service.
|
166
166
|
*/
|
167
|
-
ServiceCode
|
167
|
+
ServiceCode: String;
|
168
168
|
/**
|
169
169
|
* The attributes that are available for this service.
|
170
170
|
*/
|