cdk-lambda-subminute 2.0.236 → 2.0.238

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.
Files changed (31) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +13 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json +28 -5
  6. package/node_modules/aws-sdk/apis/appstream-2016-12-01.waiters2.json +6 -6
  7. package/node_modules/aws-sdk/apis/drs-2020-02-26.min.json +276 -79
  8. package/node_modules/aws-sdk/apis/drs-2020-02-26.paginators.json +6 -0
  9. package/node_modules/aws-sdk/apis/entityresolution-2018-05-10.min.json +4 -0
  10. package/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +101 -74
  11. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +3 -0
  12. package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.examples.json +214 -0
  13. package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.min.json +248 -24
  14. package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.paginators.json +5 -0
  15. package/node_modules/aws-sdk/apis/xray-2016-04-12.min.json +3 -0
  16. package/node_modules/aws-sdk/clients/appstream.d.ts +46 -6
  17. package/node_modules/aws-sdk/clients/cloud9.d.ts +1 -1
  18. package/node_modules/aws-sdk/clients/cloudformation.d.ts +6 -6
  19. package/node_modules/aws-sdk/clients/drs.d.ts +215 -0
  20. package/node_modules/aws-sdk/clients/entityresolution.d.ts +29 -29
  21. package/node_modules/aws-sdk/clients/firehose.d.ts +38 -7
  22. package/node_modules/aws-sdk/clients/guardduty.d.ts +29 -24
  23. package/node_modules/aws-sdk/clients/lookoutequipment.d.ts +435 -58
  24. package/node_modules/aws-sdk/clients/xray.d.ts +4 -0
  25. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  26. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +11 -11
  27. package/node_modules/aws-sdk/dist/aws-sdk.js +107 -77
  28. package/node_modules/aws-sdk/dist/aws-sdk.min.js +53 -53
  29. package/node_modules/aws-sdk/lib/core.js +1 -1
  30. package/node_modules/aws-sdk/package.json +1 -1
  31. package/package.json +4 -4
@@ -986,7 +986,11 @@ declare namespace AppStream {
986
986
  /**
987
987
  * The desired number of streaming instances.
988
988
  */
989
- DesiredInstances: Integer;
989
+ DesiredInstances?: Integer;
990
+ /**
991
+ * The desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets. When you create a fleet, you must set either the DesiredSessions or DesiredInstances attribute, based on the type of fleet you create. You can’t define both attributes or leave both attributes blank.
992
+ */
993
+ DesiredSessions?: Integer;
990
994
  }
991
995
  export interface ComputeCapacityStatus {
992
996
  /**
@@ -1005,6 +1009,22 @@ declare namespace AppStream {
1005
1009
  * The number of currently available instances that can be used to stream sessions.
1006
1010
  */
1007
1011
  Available?: Integer;
1012
+ /**
1013
+ * The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your fleet can support in a steady state. DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity This only applies to multi-session fleets.
1014
+ */
1015
+ DesiredUserSessions?: Integer;
1016
+ /**
1017
+ * The number of idle session slots currently available for user sessions. AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions This only applies to multi-session fleets.
1018
+ */
1019
+ AvailableUserSessions?: Integer;
1020
+ /**
1021
+ * The number of user sessions currently being used for streaming sessions. This only applies to multi-session fleets.
1022
+ */
1023
+ ActiveUserSessions?: Integer;
1024
+ /**
1025
+ * The total number of session slots that are available for streaming or are currently streaming. ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions This only applies to multi-session fleets.
1026
+ */
1027
+ ActualUserSessions?: Integer;
1008
1028
  }
1009
1029
  export interface CopyImageRequest {
1010
1030
  /**
@@ -1266,7 +1286,7 @@ declare namespace AppStream {
1266
1286
  */
1267
1287
  VpcConfig?: VpcConfig;
1268
1288
  /**
1269
- * The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance. Specify a value between 600 and 360000.
1289
+ * The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance. Specify a value between 600 and 432000.
1270
1290
  */
1271
1291
  MaxUserDurationInSeconds?: Integer;
1272
1292
  /**
@@ -1321,6 +1341,10 @@ declare namespace AppStream {
1321
1341
  * The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.
1322
1342
  */
1323
1343
  SessionScriptS3Location?: S3Location;
1344
+ /**
1345
+ * The maximum number of user sessions on an instance. This only applies to multi-session fleets.
1346
+ */
1347
+ MaxSessionsPerInstance?: Integer;
1324
1348
  }
1325
1349
  export interface CreateFleetResult {
1326
1350
  /**
@@ -1974,11 +1998,11 @@ declare namespace AppStream {
1974
1998
  /**
1975
1999
  * The name of the stack. This value is case-sensitive.
1976
2000
  */
1977
- StackName: String;
2001
+ StackName: Name;
1978
2002
  /**
1979
2003
  * The name of the fleet. This value is case-sensitive.
1980
2004
  */
1981
- FleetName: String;
2005
+ FleetName: Name;
1982
2006
  /**
1983
2007
  * The user identifier (ID). If you specify a user ID, you must also specify the authentication type.
1984
2008
  */
@@ -1995,6 +2019,10 @@ declare namespace AppStream {
1995
2019
  * The authentication method. Specify API for a user authenticated using a streaming URL or SAML for a SAML federated user. The default is to authenticate users using a streaming URL.
1996
2020
  */
1997
2021
  AuthenticationType?: AuthenticationType;
2022
+ /**
2023
+ * The identifier for the instance hosting the session.
2024
+ */
2025
+ InstanceId?: String;
1998
2026
  }
1999
2027
  export interface DescribeSessionsResult {
2000
2028
  /**
@@ -2385,8 +2413,12 @@ declare namespace AppStream {
2385
2413
  * The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.
2386
2414
  */
2387
2415
  SessionScriptS3Location?: S3Location;
2416
+ /**
2417
+ * The maximum number of user sessions on an instance. This only applies to multi-session fleets.
2418
+ */
2419
+ MaxSessionsPerInstance?: Integer;
2388
2420
  }
2389
- export type FleetAttribute = "VPC_CONFIGURATION"|"VPC_CONFIGURATION_SECURITY_GROUP_IDS"|"DOMAIN_JOIN_INFO"|"IAM_ROLE_ARN"|"USB_DEVICE_FILTER_STRINGS"|"SESSION_SCRIPT_S3_LOCATION"|string;
2421
+ export type FleetAttribute = "VPC_CONFIGURATION"|"VPC_CONFIGURATION_SECURITY_GROUP_IDS"|"DOMAIN_JOIN_INFO"|"IAM_ROLE_ARN"|"USB_DEVICE_FILTER_STRINGS"|"SESSION_SCRIPT_S3_LOCATION"|"MAX_SESSIONS_PER_INSTANCE"|string;
2390
2422
  export type FleetAttributes = FleetAttribute[];
2391
2423
  export interface FleetError {
2392
2424
  /**
@@ -2794,6 +2826,10 @@ declare namespace AppStream {
2794
2826
  * The network details for the streaming session.
2795
2827
  */
2796
2828
  NetworkAccessConfiguration?: NetworkAccessConfiguration;
2829
+ /**
2830
+ * The identifier for the instance hosting the session.
2831
+ */
2832
+ InstanceId?: String;
2797
2833
  }
2798
2834
  export type SessionConnectionState = "CONNECTED"|"NOT_CONNECTED"|string;
2799
2835
  export type SessionList = Session[];
@@ -3151,7 +3187,7 @@ declare namespace AppStream {
3151
3187
  /**
3152
3188
  * A unique name for the fleet.
3153
3189
  */
3154
- Name?: String;
3190
+ Name?: Name;
3155
3191
  /**
3156
3192
  * The instance type to use when launching fleet instances. The following instance types are available: stream.standard.small stream.standard.medium stream.standard.large stream.standard.xlarge stream.standard.2xlarge stream.compute.large stream.compute.xlarge stream.compute.2xlarge stream.compute.4xlarge stream.compute.8xlarge stream.memory.large stream.memory.xlarge stream.memory.2xlarge stream.memory.4xlarge stream.memory.8xlarge stream.memory.z1d.large stream.memory.z1d.xlarge stream.memory.z1d.2xlarge stream.memory.z1d.3xlarge stream.memory.z1d.6xlarge stream.memory.z1d.12xlarge stream.graphics-design.large stream.graphics-design.xlarge stream.graphics-design.2xlarge stream.graphics-design.4xlarge stream.graphics-desktop.2xlarge stream.graphics.g4dn.xlarge stream.graphics.g4dn.2xlarge stream.graphics.g4dn.4xlarge stream.graphics.g4dn.8xlarge stream.graphics.g4dn.12xlarge stream.graphics.g4dn.16xlarge stream.graphics-pro.4xlarge stream.graphics-pro.8xlarge stream.graphics-pro.16xlarge The following instance types are available for Elastic fleets: stream.standard.small stream.standard.medium stream.standard.large stream.standard.xlarge stream.standard.2xlarge
3157
3193
  */
@@ -3224,6 +3260,10 @@ declare namespace AppStream {
3224
3260
  * The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.
3225
3261
  */
3226
3262
  SessionScriptS3Location?: S3Location;
3263
+ /**
3264
+ * The maximum number of user sessions on an instance. This only applies to multi-session fleets.
3265
+ */
3266
+ MaxSessionsPerInstance?: Integer;
3227
3267
  }
3228
3268
  export interface UpdateFleetResult {
3229
3269
  /**
@@ -143,7 +143,7 @@ declare namespace Cloud9 {
143
143
  */
144
144
  subnetId?: SubnetId;
145
145
  /**
146
- * The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM) path. The default Amazon Linux AMI is currently used if the parameter isn't explicitly assigned a value in the request. Because Amazon Linux AMI has ended standard support as of December 31, 2020, we recommend you choose Amazon Linux 2, which includes long term support through 2023. From December 31, 2023, the parameter for Amazon Linux will no longer be available when you specify an AMI for your instance. Amazon Linux 2 will then become the default AMI, which is used to launch your instance if no parameter is explicitly defined. AMI aliases Amazon Linux (default): amazonlinux-1-x86_64 Amazon Linux 2: amazonlinux-2-x86_64 Ubuntu 18.04: ubuntu-18.04-x86_64 Ubuntu 22.04: ubuntu-22.04-x86_64 SSM paths Amazon Linux (default): resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64 Amazon Linux 2: resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64 Ubuntu 18.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64 Ubuntu 22.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-22.04-x86_64
146
+ * The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM) path. The default Amazon Linux AMI is currently used if the parameter isn't explicitly assigned a value in the request. Because Amazon Linux AMI has ended standard support as of December 31, 2020, we recommend you choose Amazon Linux 2, which includes long term support through 2023. From December 31, 2023, the parameter for Amazon Linux will no longer be available when you specify an AMI for your instance. Amazon Linux 2 will then become the default AMI, which is used to launch your instance if no parameter is explicitly defined. Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend you choose Ubuntu 22.04. AMI aliases Amazon Linux (default): amazonlinux-1-x86_64 Amazon Linux 2: amazonlinux-2-x86_64 Ubuntu 18.04: ubuntu-18.04-x86_64 Ubuntu 22.04: ubuntu-22.04-x86_64 SSM paths Amazon Linux (default): resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64 Amazon Linux 2: resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64 Ubuntu 18.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64 Ubuntu 22.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-22.04-x86_64
147
147
  */
148
148
  imageId?: ImageId;
149
149
  /**
@@ -1091,7 +1091,7 @@ declare namespace CloudFormation {
1091
1091
  */
1092
1092
  EnableTerminationProtection?: EnableTerminationProtection;
1093
1093
  /**
1094
- * This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are retained. RetainExceptOnCreate can be specified for any resource that supports the DeletionPolicy attribute.
1094
+ * When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain. Default: false
1095
1095
  */
1096
1096
  RetainExceptOnCreate?: RetainExceptOnCreate;
1097
1097
  }
@@ -1730,7 +1730,7 @@ declare namespace CloudFormation {
1730
1730
  }
1731
1731
  export interface DescribeStacksInput {
1732
1732
  /**
1733
- * If you don't pass a parameter to StackName, the API returns a response that describes all resources in the account. This requires ListStacks and DescribeStacks permissions. The IAM policy below can be added to IAM policies when you want to limit resource-level permissions and avoid returning a response when no parameter is sent in the request: { "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks", "NotResource": "arn:aws:cloudformation:*:*:stack/**" }] } The name or the unique stack ID that's associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value.
1733
+ * If you don't pass a parameter to StackName, the API returns a response that describes all resources in the account, which can impact performance. This requires ListStacks and DescribeStacks permissions. Consider using the ListStacks API if you're not passing a parameter to StackName. The IAM policy below can be added to IAM policies when you want to limit resource-level permissions and avoid returning a response when no parameter is sent in the request: { "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks", "NotResource": "arn:aws:cloudformation:*:*:stack/**" }] } The name or the unique stack ID that's associated with the stack, which aren't always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID. Default: There is no default value.
1734
1734
  */
1735
1735
  StackName?: StackName;
1736
1736
  /**
@@ -2011,7 +2011,7 @@ declare namespace CloudFormation {
2011
2011
  */
2012
2012
  DisableRollback?: DisableRollback;
2013
2013
  /**
2014
- * This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are retained. RetainExceptOnCreate can be specified for any resource that supports the DeletionPolicy attribute.
2014
+ * When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain. Default: false
2015
2015
  */
2016
2016
  RetainExceptOnCreate?: RetainExceptOnCreate;
2017
2017
  }
@@ -3052,7 +3052,7 @@ declare namespace CloudFormation {
3052
3052
  */
3053
3053
  ClientRequestToken?: ClientRequestToken;
3054
3054
  /**
3055
- * This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are retained. RetainExceptOnCreate can be specified for any resource that supports the DeletionPolicy attribute.
3055
+ * When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain. Default: false
3056
3056
  */
3057
3057
  RetainExceptOnCreate?: RetainExceptOnCreate;
3058
3058
  }
@@ -3246,7 +3246,7 @@ declare namespace CloudFormation {
3246
3246
  */
3247
3247
  DriftInformation?: StackDriftInformation;
3248
3248
  /**
3249
- * This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are retained. RetainExceptOnCreate can be specified for any resource that supports the DeletionPolicy attribute.
3249
+ * When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain. Default: false
3250
3250
  */
3251
3251
  RetainExceptOnCreate?: RetainExceptOnCreate;
3252
3252
  }
@@ -4400,7 +4400,7 @@ declare namespace CloudFormation {
4400
4400
  */
4401
4401
  ClientRequestToken?: ClientRequestToken;
4402
4402
  /**
4403
- * This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are retained. RetainExceptOnCreate can be specified for any resource that supports the DeletionPolicy attribute.
4403
+ * When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain. Default: false
4404
4404
  */
4405
4405
  RetainExceptOnCreate?: RetainExceptOnCreate;
4406
4406
  }
@@ -59,6 +59,14 @@ declare class Drs extends Service {
59
59
  * Deletes a single Job by ID.
60
60
  */
61
61
  deleteJob(callback?: (err: AWSError, data: Drs.Types.DeleteJobResponse) => void): Request<Drs.Types.DeleteJobResponse, AWSError>;
62
+ /**
63
+ * Deletes a resource launch action.
64
+ */
65
+ deleteLaunchAction(params: Drs.Types.DeleteLaunchActionRequest, callback?: (err: AWSError, data: Drs.Types.DeleteLaunchActionResponse) => void): Request<Drs.Types.DeleteLaunchActionResponse, AWSError>;
66
+ /**
67
+ * Deletes a resource launch action.
68
+ */
69
+ deleteLaunchAction(callback?: (err: AWSError, data: Drs.Types.DeleteLaunchActionResponse) => void): Request<Drs.Types.DeleteLaunchActionResponse, AWSError>;
62
70
  /**
63
71
  * Deletes a single Launch Configuration Template by ID.
64
72
  */
@@ -227,6 +235,14 @@ declare class Drs extends Service {
227
235
  * Returns a list of source servers on a staging account that are extensible, which means that: a. The source server is not already extended into this Account. b. The source server on the Account we’re reading from is not an extension of another source server.
228
236
  */
229
237
  listExtensibleSourceServers(callback?: (err: AWSError, data: Drs.Types.ListExtensibleSourceServersResponse) => void): Request<Drs.Types.ListExtensibleSourceServersResponse, AWSError>;
238
+ /**
239
+ * Lists resource launch actions.
240
+ */
241
+ listLaunchActions(params: Drs.Types.ListLaunchActionsRequest, callback?: (err: AWSError, data: Drs.Types.ListLaunchActionsResponse) => void): Request<Drs.Types.ListLaunchActionsResponse, AWSError>;
242
+ /**
243
+ * Lists resource launch actions.
244
+ */
245
+ listLaunchActions(callback?: (err: AWSError, data: Drs.Types.ListLaunchActionsResponse) => void): Request<Drs.Types.ListLaunchActionsResponse, AWSError>;
230
246
  /**
231
247
  * Returns an array of staging accounts for existing extended source servers.
232
248
  */
@@ -243,6 +259,14 @@ declare class Drs extends Service {
243
259
  * List all tags for your Elastic Disaster Recovery resources.
244
260
  */
245
261
  listTagsForResource(callback?: (err: AWSError, data: Drs.Types.ListTagsForResourceResponse) => void): Request<Drs.Types.ListTagsForResourceResponse, AWSError>;
262
+ /**
263
+ * Puts a resource launch action.
264
+ */
265
+ putLaunchAction(params: Drs.Types.PutLaunchActionRequest, callback?: (err: AWSError, data: Drs.Types.PutLaunchActionResponse) => void): Request<Drs.Types.PutLaunchActionResponse, AWSError>;
266
+ /**
267
+ * Puts a resource launch action.
268
+ */
269
+ putLaunchAction(callback?: (err: AWSError, data: Drs.Types.PutLaunchActionResponse) => void): Request<Drs.Types.PutLaunchActionResponse, AWSError>;
246
270
  /**
247
271
  * WARNING: RetryDataReplication is deprecated. Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
248
272
  */
@@ -491,6 +515,10 @@ declare namespace Drs {
491
515
  * Licensing.
492
516
  */
493
517
  licensing?: Licensing;
518
+ /**
519
+ * Whether we want to activate post-launch actions.
520
+ */
521
+ postLaunchEnabled?: Boolean;
494
522
  /**
495
523
  * Request to associate tags during creation of a Launch Configuration Template.
496
524
  */
@@ -692,6 +720,12 @@ declare namespace Drs {
692
720
  }
693
721
  export interface DeleteJobResponse {
694
722
  }
723
+ export interface DeleteLaunchActionRequest {
724
+ actionId: LaunchActionId;
725
+ resourceId: LaunchActionResourceId;
726
+ }
727
+ export interface DeleteLaunchActionResponse {
728
+ }
695
729
  export interface DeleteLaunchConfigurationTemplateRequest {
696
730
  /**
697
731
  * The ID of the Launch Configuration Template to be deleted.
@@ -1047,6 +1081,7 @@ declare namespace Drs {
1047
1081
  export type FailbackLaunchType = "RECOVERY"|"DRILL"|string;
1048
1082
  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;
1049
1083
  export type FailbackState = "FAILBACK_NOT_STARTED"|"FAILBACK_IN_PROGRESS"|"FAILBACK_READY_FOR_LAUNCH"|"FAILBACK_COMPLETED"|"FAILBACK_ERROR"|"FAILBACK_NOT_READY_FOR_LAUNCH"|"FAILBACK_LAUNCH_STATE_NOT_AVAILABLE"|string;
1084
+ export type FailureReason = string;
1050
1085
  export interface GetFailbackReplicationConfigurationRequest {
1051
1086
  /**
1052
1087
  * The ID of the Recovery Instance whose failback replication configuration should be returned.
@@ -1200,6 +1235,92 @@ declare namespace Drs {
1200
1235
  export type LargeBoundedString = string;
1201
1236
  export type LastLaunchResult = "NOT_STARTED"|"PENDING"|"SUCCEEDED"|"FAILED"|string;
1202
1237
  export type LastLaunchType = "RECOVERY"|"DRILL"|string;
1238
+ export interface LaunchAction {
1239
+ /**
1240
+ * Launch action code.
1241
+ */
1242
+ actionCode?: SsmDocumentName;
1243
+ actionId?: LaunchActionId;
1244
+ actionVersion?: LaunchActionVersion;
1245
+ /**
1246
+ * Whether the launch action is active.
1247
+ */
1248
+ active?: Boolean;
1249
+ category?: LaunchActionCategory;
1250
+ description?: LaunchActionDescription;
1251
+ name?: LaunchActionName;
1252
+ /**
1253
+ * Whether the launch will not be marked as failed if this action fails.
1254
+ */
1255
+ optional?: Boolean;
1256
+ order?: LaunchActionOrder;
1257
+ parameters?: LaunchActionParameters;
1258
+ /**
1259
+ * Launch action type.
1260
+ */
1261
+ type?: LaunchActionType;
1262
+ }
1263
+ export type LaunchActionCategory = "MONITORING"|"VALIDATION"|"CONFIGURATION"|"SECURITY"|"OTHER"|string;
1264
+ export type LaunchActionDescription = string;
1265
+ export type LaunchActionId = string;
1266
+ export type LaunchActionIds = LaunchActionId[];
1267
+ export type LaunchActionName = string;
1268
+ export type LaunchActionOrder = number;
1269
+ export interface LaunchActionParameter {
1270
+ /**
1271
+ * Type.
1272
+ */
1273
+ type?: LaunchActionParameterType;
1274
+ /**
1275
+ * Value.
1276
+ */
1277
+ value?: LaunchActionParameterValue;
1278
+ }
1279
+ export type LaunchActionParameterName = string;
1280
+ export type LaunchActionParameterType = "SSM_STORE"|"DYNAMIC"|string;
1281
+ export type LaunchActionParameterValue = string;
1282
+ export type LaunchActionParameters = {[key: string]: LaunchActionParameter};
1283
+ export type LaunchActionResourceId = string;
1284
+ export interface LaunchActionRun {
1285
+ /**
1286
+ * Action.
1287
+ */
1288
+ action?: LaunchAction;
1289
+ /**
1290
+ * Failure reason.
1291
+ */
1292
+ failureReason?: FailureReason;
1293
+ /**
1294
+ * Run Id.
1295
+ */
1296
+ runId?: LaunchActionRunId;
1297
+ /**
1298
+ * Run status.
1299
+ */
1300
+ status?: LaunchActionRunStatus;
1301
+ }
1302
+ export type LaunchActionRunId = string;
1303
+ export type LaunchActionRunStatus = "IN_PROGRESS"|"SUCCEEDED"|"FAILED"|string;
1304
+ export type LaunchActionRuns = LaunchActionRun[];
1305
+ export type LaunchActionType = "SSM_AUTOMATION"|"SSM_COMMAND"|string;
1306
+ export type LaunchActionVersion = string;
1307
+ export type LaunchActions = LaunchAction[];
1308
+ export interface LaunchActionsRequestFilters {
1309
+ /**
1310
+ * Launch actions Ids.
1311
+ */
1312
+ actionIds?: LaunchActionIds;
1313
+ }
1314
+ export interface LaunchActionsStatus {
1315
+ /**
1316
+ * List of post launch action status.
1317
+ */
1318
+ runs?: LaunchActionRuns;
1319
+ /**
1320
+ * Time where the AWS Systems Manager was detected as running on the launched instance.
1321
+ */
1322
+ ssmAgentDiscoveryDatetime?: ISO8601DatetimeString;
1323
+ }
1203
1324
  export interface LaunchConfiguration {
1204
1325
  /**
1205
1326
  * Whether we should copy the Private IP of the Source Server to the Recovery Instance.
@@ -1225,6 +1346,10 @@ declare namespace Drs {
1225
1346
  * The name of the launch configuration.
1226
1347
  */
1227
1348
  name?: SmallBoundedString;
1349
+ /**
1350
+ * Whether we want to activate post-launch actions for the Source Server.
1351
+ */
1352
+ postLaunchEnabled?: Boolean;
1228
1353
  /**
1229
1354
  * The ID of the Source Server for this launch configuration.
1230
1355
  */
@@ -1263,6 +1388,10 @@ declare namespace Drs {
1263
1388
  * Licensing.
1264
1389
  */
1265
1390
  licensing?: Licensing;
1391
+ /**
1392
+ * Post-launch actions activated.
1393
+ */
1394
+ postLaunchEnabled?: Boolean;
1266
1395
  /**
1267
1396
  * Tags of the Launch Configuration Template.
1268
1397
  */
@@ -1353,6 +1482,31 @@ declare namespace Drs {
1353
1482
  */
1354
1483
  nextToken?: PaginationToken;
1355
1484
  }
1485
+ export interface ListLaunchActionsRequest {
1486
+ /**
1487
+ * Filters to apply when listing resource launch actions.
1488
+ */
1489
+ filters?: LaunchActionsRequestFilters;
1490
+ /**
1491
+ * Maximum amount of items to return when listing resource launch actions.
1492
+ */
1493
+ maxResults?: MaxResultsType;
1494
+ /**
1495
+ * Next token to use when listing resource launch actions.
1496
+ */
1497
+ nextToken?: PaginationToken;
1498
+ resourceId: LaunchActionResourceId;
1499
+ }
1500
+ export interface ListLaunchActionsResponse {
1501
+ /**
1502
+ * List of resource launch actions.
1503
+ */
1504
+ items?: LaunchActions;
1505
+ /**
1506
+ * Next token returned when listing resource launch actions.
1507
+ */
1508
+ nextToken?: PaginationToken;
1509
+ }
1356
1510
  export interface ListStagingAccountsRequest {
1357
1511
  /**
1358
1512
  * The maximum number of staging Accounts to retrieve.
@@ -1453,6 +1607,10 @@ declare namespace Drs {
1453
1607
  }
1454
1608
  export type ParticipatingResources = ParticipatingResource[];
1455
1609
  export interface ParticipatingServer {
1610
+ /**
1611
+ * The post-launch action runs of a participating server.
1612
+ */
1613
+ launchActionsStatus?: LaunchActionsStatus;
1456
1614
  /**
1457
1615
  * The launch status of a participating server.
1458
1616
  */
@@ -1468,6 +1626,54 @@ declare namespace Drs {
1468
1626
  }
1469
1627
  export type ParticipatingServers = ParticipatingServer[];
1470
1628
  export type PositiveInteger = number;
1629
+ export interface PutLaunchActionRequest {
1630
+ /**
1631
+ * Launch action code.
1632
+ */
1633
+ actionCode: SsmDocumentName;
1634
+ actionId: LaunchActionId;
1635
+ actionVersion: LaunchActionVersion;
1636
+ /**
1637
+ * Whether the launch action is active.
1638
+ */
1639
+ active: Boolean;
1640
+ category: LaunchActionCategory;
1641
+ description?: LaunchActionDescription;
1642
+ name: LaunchActionName;
1643
+ /**
1644
+ * Whether the launch will not be marked as failed if this action fails.
1645
+ */
1646
+ optional: Boolean;
1647
+ order: LaunchActionOrder;
1648
+ parameters?: LaunchActionParameters;
1649
+ resourceId: LaunchActionResourceId;
1650
+ }
1651
+ export interface PutLaunchActionResponse {
1652
+ /**
1653
+ * Launch action code.
1654
+ */
1655
+ actionCode?: SsmDocumentName;
1656
+ actionId?: LaunchActionId;
1657
+ actionVersion?: LaunchActionVersion;
1658
+ /**
1659
+ * Whether the launch action is active.
1660
+ */
1661
+ active?: Boolean;
1662
+ category?: LaunchActionCategory;
1663
+ description?: LaunchActionDescription;
1664
+ name?: LaunchActionName;
1665
+ /**
1666
+ * Whether the launch will not be marked as failed if this action fails.
1667
+ */
1668
+ optional?: Boolean;
1669
+ order?: LaunchActionOrder;
1670
+ parameters?: LaunchActionParameters;
1671
+ resourceId?: LaunchActionResourceId;
1672
+ /**
1673
+ * Launch action type.
1674
+ */
1675
+ type?: LaunchActionType;
1676
+ }
1471
1677
  export interface RecoveryInstance {
1472
1678
  /**
1473
1679
  * The ARN of the Recovery Instance.
@@ -2117,6 +2323,7 @@ declare namespace Drs {
2117
2323
  export type SourceServerID = string;
2118
2324
  export type SourceServerIDs = SourceServerID[];
2119
2325
  export type SourceServersList = SourceServer[];
2326
+ export type SsmDocumentName = string;
2120
2327
  export interface StagingArea {
2121
2328
  /**
2122
2329
  * Shows an error message that occurred when DRS tried to access the staging source server. In this case StagingArea$status will have value EXTENSION_ERROR
@@ -2362,6 +2569,10 @@ declare namespace Drs {
2362
2569
  * The name of the launch configuration.
2363
2570
  */
2364
2571
  name?: SmallBoundedString;
2572
+ /**
2573
+ * Whether we want to enable post-launch actions for the Source Server.
2574
+ */
2575
+ postLaunchEnabled?: Boolean;
2365
2576
  /**
2366
2577
  * The ID of the Source Server that we want to retrieve a Launch Configuration for.
2367
2578
  */
@@ -2396,6 +2607,10 @@ declare namespace Drs {
2396
2607
  * Licensing.
2397
2608
  */
2398
2609
  licensing?: Licensing;
2610
+ /**
2611
+ * Whether we want to activate post-launch actions.
2612
+ */
2613
+ postLaunchEnabled?: Boolean;
2399
2614
  /**
2400
2615
  * Target instance type right-sizing method.
2401
2616
  */