cdk-lambda-subminute 2.0.235 → 2.0.237

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 (27) 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/drs-2020-02-26.min.json +276 -79
  6. package/node_modules/aws-sdk/apis/drs-2020-02-26.paginators.json +6 -0
  7. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +140 -82
  8. package/node_modules/aws-sdk/apis/eventbridge-2015-10-07.min.json +83 -58
  9. package/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +101 -74
  10. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +3 -0
  11. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +10 -4
  12. package/node_modules/aws-sdk/apis/xray-2016-04-12.min.json +3 -0
  13. package/node_modules/aws-sdk/clients/cloud9.d.ts +1 -1
  14. package/node_modules/aws-sdk/clients/drs.d.ts +215 -0
  15. package/node_modules/aws-sdk/clients/ec2.d.ts +66 -0
  16. package/node_modules/aws-sdk/clients/eventbridge.d.ts +13 -9
  17. package/node_modules/aws-sdk/clients/firehose.d.ts +38 -7
  18. package/node_modules/aws-sdk/clients/guardduty.d.ts +29 -24
  19. package/node_modules/aws-sdk/clients/kendra.d.ts +33 -29
  20. package/node_modules/aws-sdk/clients/xray.d.ts +4 -0
  21. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  22. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +9 -9
  23. package/node_modules/aws-sdk/dist/aws-sdk.js +247 -159
  24. package/node_modules/aws-sdk/dist/aws-sdk.min.js +69 -69
  25. package/node_modules/aws-sdk/lib/core.js +1 -1
  26. package/node_modules/aws-sdk/package.json +1 -1
  27. package/package.json +3 -3
@@ -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
  */
@@ -2996,6 +2996,14 @@ declare class EC2 extends Service {
2996
2996
  * Disables fast snapshot restores for the specified snapshots in the specified Availability Zones.
2997
2997
  */
2998
2998
  disableFastSnapshotRestores(callback?: (err: AWSError, data: EC2.Types.DisableFastSnapshotRestoresResult) => void): Request<EC2.Types.DisableFastSnapshotRestoresResult, AWSError>;
2999
+ /**
3000
+ * Disables block public access for AMIs at the account level in the specified Amazon Web Services Region. This removes the block public access restriction from your account. With the restriction removed, you can publicly share your AMIs in the specified Amazon Web Services Region. The API can take up to 10 minutes to configure this setting. During this time, if you run GetImageBlockPublicAccessState, the response will be block-new-sharing. When the API has completed the configuration, the response will be unblocked. For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.
3001
+ */
3002
+ disableImageBlockPublicAccess(params: EC2.Types.DisableImageBlockPublicAccessRequest, callback?: (err: AWSError, data: EC2.Types.DisableImageBlockPublicAccessResult) => void): Request<EC2.Types.DisableImageBlockPublicAccessResult, AWSError>;
3003
+ /**
3004
+ * Disables block public access for AMIs at the account level in the specified Amazon Web Services Region. This removes the block public access restriction from your account. With the restriction removed, you can publicly share your AMIs in the specified Amazon Web Services Region. The API can take up to 10 minutes to configure this setting. During this time, if you run GetImageBlockPublicAccessState, the response will be block-new-sharing. When the API has completed the configuration, the response will be unblocked. For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.
3005
+ */
3006
+ disableImageBlockPublicAccess(callback?: (err: AWSError, data: EC2.Types.DisableImageBlockPublicAccessResult) => void): Request<EC2.Types.DisableImageBlockPublicAccessResult, AWSError>;
2999
3007
  /**
3000
3008
  * Cancels the deprecation of the specified AMI. For more information, see Deprecate an AMI in the Amazon EC2 User Guide.
3001
3009
  */
@@ -3204,6 +3212,14 @@ declare class EC2 extends Service {
3204
3212
  * Enables fast snapshot restores for the specified snapshots in the specified Availability Zones. You get the full benefit of fast snapshot restores after they enter the enabled state. To get the current state of fast snapshot restores, use DescribeFastSnapshotRestores. To disable fast snapshot restores, use DisableFastSnapshotRestores. For more information, see Amazon EBS fast snapshot restore in the Amazon Elastic Compute Cloud User Guide.
3205
3213
  */
3206
3214
  enableFastSnapshotRestores(callback?: (err: AWSError, data: EC2.Types.EnableFastSnapshotRestoresResult) => void): Request<EC2.Types.EnableFastSnapshotRestoresResult, AWSError>;
3215
+ /**
3216
+ * Enables block public access for AMIs at the account level in the specified Amazon Web Services Region. This prevents the public sharing of your AMIs. However, if you already have public AMIs, they will remain publicly available. The API can take up to 10 minutes to configure this setting. During this time, if you run GetImageBlockPublicAccessState, the response will be unblocked. When the API has completed the configuration, the response will be block-new-sharing. For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.
3217
+ */
3218
+ enableImageBlockPublicAccess(params: EC2.Types.EnableImageBlockPublicAccessRequest, callback?: (err: AWSError, data: EC2.Types.EnableImageBlockPublicAccessResult) => void): Request<EC2.Types.EnableImageBlockPublicAccessResult, AWSError>;
3219
+ /**
3220
+ * Enables block public access for AMIs at the account level in the specified Amazon Web Services Region. This prevents the public sharing of your AMIs. However, if you already have public AMIs, they will remain publicly available. The API can take up to 10 minutes to configure this setting. During this time, if you run GetImageBlockPublicAccessState, the response will be unblocked. When the API has completed the configuration, the response will be block-new-sharing. For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.
3221
+ */
3222
+ enableImageBlockPublicAccess(callback?: (err: AWSError, data: EC2.Types.EnableImageBlockPublicAccessResult) => void): Request<EC2.Types.EnableImageBlockPublicAccessResult, AWSError>;
3207
3223
  /**
3208
3224
  * Enables deprecation of the specified AMI at the specified date and time. For more information, see Deprecate an AMI in the Amazon EC2 User Guide.
3209
3225
  */
@@ -3412,6 +3428,14 @@ declare class EC2 extends Service {
3412
3428
  * Preview a reservation purchase with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This is a preview of the PurchaseHostReservation action and does not result in the offering being purchased.
3413
3429
  */
3414
3430
  getHostReservationPurchasePreview(callback?: (err: AWSError, data: EC2.Types.GetHostReservationPurchasePreviewResult) => void): Request<EC2.Types.GetHostReservationPurchasePreviewResult, AWSError>;
3431
+ /**
3432
+ * Gets the current state of block public access for AMIs at the account level in the specified Amazon Web Services Region. For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.
3433
+ */
3434
+ getImageBlockPublicAccessState(params: EC2.Types.GetImageBlockPublicAccessStateRequest, callback?: (err: AWSError, data: EC2.Types.GetImageBlockPublicAccessStateResult) => void): Request<EC2.Types.GetImageBlockPublicAccessStateResult, AWSError>;
3435
+ /**
3436
+ * Gets the current state of block public access for AMIs at the account level in the specified Amazon Web Services Region. For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.
3437
+ */
3438
+ getImageBlockPublicAccessState(callback?: (err: AWSError, data: EC2.Types.GetImageBlockPublicAccessStateResult) => void): Request<EC2.Types.GetImageBlockPublicAccessStateResult, AWSError>;
3415
3439
  /**
3416
3440
  * Returns a list of instance types with the specified instance attributes. You can use the response to preview the instance types without launching instances. Note that the response does not consider capacity. When you specify multiple parameters, you get instance types that satisfy all of the specified parameters. If you specify multiple values for a parameter, you get instance types that satisfy any of the specified values. For more information, see Preview instance types with specified attributes, Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide, and Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide.
3417
3441
  */
@@ -18072,6 +18096,18 @@ declare namespace EC2 {
18072
18096
  */
18073
18097
  Unsuccessful?: DisableFastSnapshotRestoreErrorSet;
18074
18098
  }
18099
+ export interface DisableImageBlockPublicAccessRequest {
18100
+ /**
18101
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
18102
+ */
18103
+ DryRun?: Boolean;
18104
+ }
18105
+ export interface DisableImageBlockPublicAccessResult {
18106
+ /**
18107
+ * Returns unblocked if the request succeeds; otherwise, it returns an error.
18108
+ */
18109
+ ImageBlockPublicAccessState?: ImageBlockPublicAccessDisabledState;
18110
+ }
18075
18111
  export interface DisableImageDeprecationRequest {
18076
18112
  /**
18077
18113
  * The ID of the AMI.
@@ -19129,6 +19165,22 @@ declare namespace EC2 {
19129
19165
  */
19130
19166
  Unsuccessful?: EnableFastSnapshotRestoreErrorSet;
19131
19167
  }
19168
+ export interface EnableImageBlockPublicAccessRequest {
19169
+ /**
19170
+ * Specify block-new-sharing to enable block public access for AMIs at the account level in the specified Region. This will block any attempt to publicly share your AMIs in the specified Region.
19171
+ */
19172
+ ImageBlockPublicAccessState: ImageBlockPublicAccessEnabledState;
19173
+ /**
19174
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
19175
+ */
19176
+ DryRun?: Boolean;
19177
+ }
19178
+ export interface EnableImageBlockPublicAccessResult {
19179
+ /**
19180
+ * Returns block-new-sharing if the request succeeds; otherwise, it returns an error.
19181
+ */
19182
+ ImageBlockPublicAccessState?: ImageBlockPublicAccessEnabledState;
19183
+ }
19132
19184
  export interface EnableImageDeprecationRequest {
19133
19185
  /**
19134
19186
  * The ID of the AMI.
@@ -20824,6 +20876,18 @@ declare namespace EC2 {
20824
20876
  */
20825
20877
  TotalUpfrontPrice?: String;
20826
20878
  }
20879
+ export interface GetImageBlockPublicAccessStateRequest {
20880
+ /**
20881
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
20882
+ */
20883
+ DryRun?: Boolean;
20884
+ }
20885
+ export interface GetImageBlockPublicAccessStateResult {
20886
+ /**
20887
+ * The current state of block public access for AMIs at the account level in the specified Amazon Web Services Region. Possible values: block-new-sharing - Any attempt to publicly share your AMIs in the specified Region is blocked. unblocked - Your AMIs in the specified Region can be publicly shared.
20888
+ */
20889
+ ImageBlockPublicAccessState?: String;
20890
+ }
20827
20891
  export interface GetInstanceTypesFromInstanceRequirementsRequest {
20828
20892
  /**
20829
20893
  * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
@@ -22345,6 +22409,8 @@ declare namespace EC2 {
22345
22409
  ImdsSupport?: AttributeValue;
22346
22410
  }
22347
22411
  export type ImageAttributeName = "description"|"kernel"|"ramdisk"|"launchPermission"|"productCodes"|"blockDeviceMapping"|"sriovNetSupport"|"bootMode"|"tpmSupport"|"uefiData"|"lastLaunchedTime"|"imdsSupport"|string;
22412
+ export type ImageBlockPublicAccessDisabledState = "unblocked"|string;
22413
+ export type ImageBlockPublicAccessEnabledState = "block-new-sharing"|string;
22348
22414
  export interface ImageDiskContainer {
22349
22415
  /**
22350
22416
  * The description of the disk image.
@@ -557,6 +557,7 @@ declare namespace EventBridge {
557
557
  export type Arn = string;
558
558
  export type AssignPublicIp = "ENABLED"|"DISABLED"|string;
559
559
  export type AuthHeaderParameters = string;
560
+ export type AuthHeaderParametersSensitive = string;
560
561
  export interface AwsVpcConfiguration {
561
562
  /**
562
563
  * Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
@@ -728,7 +729,7 @@ declare namespace EventBridge {
728
729
  /**
729
730
  * The value associated with the key.
730
731
  */
731
- Value?: String;
732
+ Value?: SensitiveString;
732
733
  /**
733
734
  * Specified whether the value is secret.
734
735
  */
@@ -744,7 +745,7 @@ declare namespace EventBridge {
744
745
  /**
745
746
  * The value associated with the key.
746
747
  */
747
- Value?: HeaderValue;
748
+ Value?: HeaderValueSensitive;
748
749
  /**
749
750
  * Specified whether the value is a secret.
750
751
  */
@@ -799,7 +800,7 @@ declare namespace EventBridge {
799
800
  /**
800
801
  * The value associated with the key for the query string parameter.
801
802
  */
802
- Value?: QueryStringValue;
803
+ Value?: QueryStringValueSensitive;
803
804
  /**
804
805
  * Specifies whether the value is secret.
805
806
  */
@@ -901,7 +902,7 @@ declare namespace EventBridge {
901
902
  /**
902
903
  * The value for the API key to use for authorization.
903
904
  */
904
- ApiKeyValue: AuthHeaderParameters;
905
+ ApiKeyValue: AuthHeaderParametersSensitive;
905
906
  }
906
907
  export interface CreateConnectionAuthRequestParameters {
907
908
  /**
@@ -929,7 +930,7 @@ declare namespace EventBridge {
929
930
  /**
930
931
  * The password associated with the user name to use for Basic authorization.
931
932
  */
932
- Password: AuthHeaderParameters;
933
+ Password: AuthHeaderParametersSensitive;
933
934
  }
934
935
  export interface CreateConnectionOAuthClientRequestParameters {
935
936
  /**
@@ -939,7 +940,7 @@ declare namespace EventBridge {
939
940
  /**
940
941
  * The client secret associated with the client ID to use for OAuth authorization for the connection.
941
942
  */
942
- ClientSecret: AuthHeaderParameters;
943
+ ClientSecret: AuthHeaderParametersSensitive;
943
944
  }
944
945
  export interface CreateConnectionOAuthRequestParameters {
945
946
  /**
@@ -1818,6 +1819,7 @@ declare namespace EventBridge {
1818
1819
  export type HeaderKey = string;
1819
1820
  export type HeaderParametersMap = {[key: string]: HeaderValue};
1820
1821
  export type HeaderValue = string;
1822
+ export type HeaderValueSensitive = string;
1821
1823
  export type HealthCheck = string;
1822
1824
  export type HomeRegion = string;
1823
1825
  export interface HttpParameters {
@@ -2507,6 +2509,7 @@ declare namespace EventBridge {
2507
2509
  export type QueryStringKey = string;
2508
2510
  export type QueryStringParametersMap = {[key: string]: QueryStringValue};
2509
2511
  export type QueryStringValue = string;
2512
+ export type QueryStringValueSensitive = string;
2510
2513
  export interface RedshiftDataParameters {
2511
2514
  /**
2512
2515
  * The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager.
@@ -2766,6 +2769,7 @@ declare namespace EventBridge {
2766
2769
  Route: Route;
2767
2770
  }
2768
2771
  export type SecretsManagerSecretArn = string;
2772
+ export type SensitiveString = string;
2769
2773
  export type Sql = string;
2770
2774
  export type Sqls = Sql[];
2771
2775
  export interface SqsParameters {
@@ -3041,7 +3045,7 @@ declare namespace EventBridge {
3041
3045
  /**
3042
3046
  * The value associated with teh API key to use for authorization.
3043
3047
  */
3044
- ApiKeyValue?: AuthHeaderParameters;
3048
+ ApiKeyValue?: AuthHeaderParametersSensitive;
3045
3049
  }
3046
3050
  export interface UpdateConnectionAuthRequestParameters {
3047
3051
  /**
@@ -3069,7 +3073,7 @@ declare namespace EventBridge {
3069
3073
  /**
3070
3074
  * The password associated with the user name to use for Basic authorization.
3071
3075
  */
3072
- Password?: AuthHeaderParameters;
3076
+ Password?: AuthHeaderParametersSensitive;
3073
3077
  }
3074
3078
  export interface UpdateConnectionOAuthClientRequestParameters {
3075
3079
  /**
@@ -3079,7 +3083,7 @@ declare namespace EventBridge {
3079
3083
  /**
3080
3084
  * The client secret assciated with the client ID to use for OAuth authorization.
3081
3085
  */
3082
- ClientSecret?: AuthHeaderParameters;
3086
+ ClientSecret?: AuthHeaderParametersSensitive;
3083
3087
  }
3084
3088
  export interface UpdateConnectionOAuthRequestParameters {
3085
3089
  /**