cdk-lambda-subminute 2.0.348 → 2.0.349

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.
@@ -1232,7 +1232,7 @@
1232
1232
  },
1233
1233
  "Source": {},
1234
1234
  "Resources": {
1235
- "shape": "S7i"
1235
+ "shape": "S7k"
1236
1236
  },
1237
1237
  "DetailType": {},
1238
1238
  "Detail": {},
@@ -1285,7 +1285,7 @@
1285
1285
  },
1286
1286
  "Source": {},
1287
1287
  "Resources": {
1288
- "shape": "S7i"
1288
+ "shape": "S7k"
1289
1289
  },
1290
1290
  "DetailType": {},
1291
1291
  "Detail": {}
@@ -2119,6 +2119,15 @@
2119
2119
  "type": "integer"
2120
2120
  }
2121
2121
  }
2122
+ },
2123
+ "AppSyncParameters": {
2124
+ "type": "structure",
2125
+ "members": {
2126
+ "GraphQLOperation": {
2127
+ "type": "string",
2128
+ "sensitive": true
2129
+ }
2130
+ }
2122
2131
  }
2123
2132
  }
2124
2133
  }
@@ -2131,7 +2140,7 @@
2131
2140
  "type": "string",
2132
2141
  "sensitive": true
2133
2142
  },
2134
- "S7i": {
2143
+ "S7k": {
2135
2144
  "type": "list",
2136
2145
  "member": {}
2137
2146
  }
@@ -1,6 +1,63 @@
1
1
  {
2
2
  "version": "1.0",
3
3
  "examples": {
4
+ "BatchGetSecretValue": [
5
+ {
6
+ "input": {
7
+ "SecretIdList": [
8
+ "MySecret1",
9
+ "MySecret2",
10
+ "MySecret3"
11
+ ]
12
+ },
13
+ "output": {
14
+ "Errors": [
15
+
16
+ ],
17
+ "SecretValues": [
18
+ {
19
+ "ARN": "&region-arn;&asm-service-name;:us-west-2:&ExampleAccountId;:secret:MySecret1-a1b2c3",
20
+ "CreatedDate": 1700591229.801,
21
+ "Name": "MySecret1",
22
+ "SecretString": "{\"username\":\"diego_ramirez\",\"password\":\"EXAMPLE-PASSWORD\",\"engine\":\"mysql\",\"host\":\"secretsmanagertutorial.cluster.us-west-2.rds.amazonaws.com\",\"port\":3306,\"dbClusterIdentifier\":\"secretsmanagertutorial\"}",
23
+ "VersionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa",
24
+ "VersionStages": [
25
+ "AWSCURRENT"
26
+ ]
27
+ },
28
+ {
29
+ "ARN": "&region-arn;&asm-service-name;:us-west-2:&ExampleAccountId;:secret:MySecret2-a1b2c3",
30
+ "CreatedDate": 1699911394.105,
31
+ "Name": "MySecret2",
32
+ "SecretString": "{\"username\":\"akua_mansa\",\"password\":\"EXAMPLE-PASSWORD\"",
33
+ "VersionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLEbbbbb",
34
+ "VersionStages": [
35
+ "AWSCURRENT"
36
+ ]
37
+ },
38
+ {
39
+ "ARN": "&region-arn;&asm-service-name;:us-west-2:&ExampleAccountId;:secret:MySecret3-a1b2c3",
40
+ "CreatedDate": 1699911394.105,
41
+ "Name": "MySecret3",
42
+ "SecretString": "{\"username\":\"jie_liu\",\"password\":\"EXAMPLE-PASSWORD\"",
43
+ "VersionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLEccccc",
44
+ "VersionStages": [
45
+ "AWSCURRENT"
46
+ ]
47
+ }
48
+ ]
49
+ },
50
+ "comments": {
51
+ "input": {
52
+ },
53
+ "output": {
54
+ }
55
+ },
56
+ "description": "The following example gets the values for three secrets.",
57
+ "id": "to-retrieve-the-secret-values-for-a-group-of-secrets-listed-by-name-1704846593341",
58
+ "title": "To retrieve the secret values for a group of secrets listed by name"
59
+ }
60
+ ],
4
61
  "CancelRotateSecret": [
5
62
  {
6
63
  "input": {
@@ -2989,11 +2989,11 @@ declare class EC2 extends Service {
2989
2989
  */
2990
2990
  detachVerifiedAccessTrustProvider(callback?: (err: AWSError, data: EC2.Types.DetachVerifiedAccessTrustProviderResult) => void): Request<EC2.Types.DetachVerifiedAccessTrustProviderResult, AWSError>;
2991
2991
  /**
2992
- * Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the busy state while detaching. If this happens, detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot the instance, or all three. If an EBS volume is the root device of an instance, it can't be detached while the instance is running. To detach the root volume, stop the instance first. When a volume with an Amazon Web Services Marketplace product code is detached from an instance, the product code is no longer associated with the instance. For more information, see Detach an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide.
2992
+ * Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the busy state while detaching. If this happens, detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot the instance, or all three. If an EBS volume is the root device of an instance, it can't be detached while the instance is running. To detach the root volume, stop the instance first. When a volume with an Amazon Web Services Marketplace product code is detached from an instance, the product code is no longer associated with the instance. You can't detach or force detach volumes that are attached to Amazon ECS or Fargate tasks. Attempting to do this results in the UnsupportedOperationException exception with the Unable to detach volume attached to ECS tasks error message. For more information, see Detach an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide.
2993
2993
  */
2994
2994
  detachVolume(params: EC2.Types.DetachVolumeRequest, callback?: (err: AWSError, data: EC2.Types.VolumeAttachment) => void): Request<EC2.Types.VolumeAttachment, AWSError>;
2995
2995
  /**
2996
- * Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the busy state while detaching. If this happens, detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot the instance, or all three. If an EBS volume is the root device of an instance, it can't be detached while the instance is running. To detach the root volume, stop the instance first. When a volume with an Amazon Web Services Marketplace product code is detached from an instance, the product code is no longer associated with the instance. For more information, see Detach an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide.
2996
+ * Detaches an EBS volume from an instance. Make sure to unmount any file systems on the device within your operating system before detaching the volume. Failure to do so can result in the volume becoming stuck in the busy state while detaching. If this happens, detachment can be delayed indefinitely until you unmount the volume, force detachment, reboot the instance, or all three. If an EBS volume is the root device of an instance, it can't be detached while the instance is running. To detach the root volume, stop the instance first. When a volume with an Amazon Web Services Marketplace product code is detached from an instance, the product code is no longer associated with the instance. You can't detach or force detach volumes that are attached to Amazon ECS or Fargate tasks. Attempting to do this results in the UnsupportedOperationException exception with the Unable to detach volume attached to ECS tasks error message. For more information, see Detach an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide.
2997
2997
  */
2998
2998
  detachVolume(callback?: (err: AWSError, data: EC2.Types.VolumeAttachment) => void): Request<EC2.Types.VolumeAttachment, AWSError>;
2999
2999
  /**
@@ -13725,7 +13725,7 @@ declare namespace EC2 {
13725
13725
  */
13726
13726
  NextToken?: String;
13727
13727
  /**
13728
- * The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.
13728
+ * The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
13729
13729
  */
13730
13730
  MaxResults?: DescribeCapacityBlockOfferingsMaxResults;
13731
13731
  }
@@ -13750,7 +13750,7 @@ declare namespace EC2 {
13750
13750
  */
13751
13751
  NextToken?: String;
13752
13752
  /**
13753
- * The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.
13753
+ * The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
13754
13754
  */
13755
13755
  MaxResults?: DescribeCapacityReservationFleetsMaxResults;
13756
13756
  /**
@@ -13783,7 +13783,7 @@ declare namespace EC2 {
13783
13783
  */
13784
13784
  NextToken?: String;
13785
13785
  /**
13786
- * The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.
13786
+ * The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
13787
13787
  */
13788
13788
  MaxResults?: DescribeCapacityReservationsMaxResults;
13789
13789
  /**
@@ -19307,6 +19307,14 @@ declare namespace EC2 {
19307
19307
  * The ID of the EBS volume.
19308
19308
  */
19309
19309
  VolumeId?: String;
19310
+ /**
19311
+ * The ARN of the Amazon ECS or Fargate task to which the volume is attached.
19312
+ */
19313
+ AssociatedResource?: String;
19314
+ /**
19315
+ * The ID of the Amazon Web Services account that owns the volume. This parameter is returned only for volumes that are attached to Fargate tasks.
19316
+ */
19317
+ VolumeOwnerId?: String;
19310
19318
  }
19311
19319
  export interface EbsInstanceBlockDeviceSpecification {
19312
19320
  /**
@@ -19897,7 +19905,7 @@ declare namespace EC2 {
19897
19905
  }
19898
19906
  export interface EnableSnapshotBlockPublicAccessRequest {
19899
19907
  /**
19900
- * The mode in which to enable block public access for snapshots for the Region. Specify one of the following values: block-all-sharing - Prevents all public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. Additionally, snapshots that are already publicly shared are treated as private and they are no longer publicly available. If you enable block public access for snapshots in block-all-sharing mode, it does not change the permissions for snapshots that are already publicly shared. Instead, it prevents these snapshots from be publicly visible and publicly accessible. Therefore, the attributes for these snapshots still indicate that they are publicly shared, even though they are not publicly available. block-new-sharing - Prevents only new public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. However, snapshots that are already publicly shared, remain publicly available.
19908
+ * The mode in which to enable block public access for snapshots for the Region. Specify one of the following values: block-all-sharing - Prevents all public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. Additionally, snapshots that are already publicly shared are treated as private and they are no longer publicly available. If you enable block public access for snapshots in block-all-sharing mode, it does not change the permissions for snapshots that are already publicly shared. Instead, it prevents these snapshots from be publicly visible and publicly accessible. Therefore, the attributes for these snapshots still indicate that they are publicly shared, even though they are not publicly available. block-new-sharing - Prevents only new public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. However, snapshots that are already publicly shared, remain publicly available. unblocked is not a valid value for EnableSnapshotBlockPublicAccess.
19901
19909
  */
19902
19910
  State: SnapshotBlockPublicAccessState;
19903
19911
  /**
@@ -21294,7 +21302,7 @@ declare namespace EC2 {
21294
21302
  */
21295
21303
  NextToken?: String;
21296
21304
  /**
21297
- * The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error. Valid range: Minimum value of 1. Maximum value of 1000.
21305
+ * The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
21298
21306
  */
21299
21307
  MaxResults?: GetCapacityReservationUsageRequestMaxResults;
21300
21308
  /**
@@ -21503,7 +21511,7 @@ declare namespace EC2 {
21503
21511
  */
21504
21512
  NextToken?: String;
21505
21513
  /**
21506
- * The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.
21514
+ * The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
21507
21515
  */
21508
21516
  MaxResults?: GetGroupsForCapacityReservationRequestMaxResults;
21509
21517
  /**
@@ -22167,7 +22175,7 @@ declare namespace EC2 {
22167
22175
  */
22168
22176
  TargetCapacity: SpotPlacementScoresTargetCapacity;
22169
22177
  /**
22170
- * The unit for the target capacity. Default: units (translates to number of instances)
22178
+ * The unit for the target capacity.
22171
22179
  */
22172
22180
  TargetCapacityUnitType?: TargetCapacityUnitType;
22173
22181
  /**
@@ -24415,7 +24423,7 @@ declare namespace EC2 {
24415
24423
  export type InstanceMetadataEndpointState = "disabled"|"enabled"|string;
24416
24424
  export interface InstanceMetadataOptionsRequest {
24417
24425
  /**
24418
- * IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to optional (in other words, set the use of IMDSv2 to optional) or required (in other words, set the use of IMDSv2 to required). optional - When IMDSv2 is optional, you can choose to retrieve instance metadata with or without a session token in your request. If you retrieve the IAM role credentials without a token, the IMDSv1 role credentials are returned. If you retrieve the IAM role credentials using a valid session token, the IMDSv2 role credentials are returned. required - When IMDSv2 is required, you must send a session token with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available. Default: optional
24426
+ * Indicates whether IMDSv2 is required. optional - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials. required - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available. Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0, the default is required.
24419
24427
  */
24420
24428
  HttpTokens?: HttpTokensState;
24421
24429
  /**
@@ -24441,7 +24449,7 @@ declare namespace EC2 {
24441
24449
  */
24442
24450
  State?: InstanceMetadataOptionsState;
24443
24451
  /**
24444
- * IMDSv2 uses token-backed sessions. Indicates whether the use of HTTP tokens is optional (in other words, indicates whether the use of IMDSv2 is optional) or required (in other words, indicates whether the use of IMDSv2 is required). optional - When IMDSv2 is optional, you can choose to retrieve instance metadata with or without a session token in your request. If you retrieve the IAM role credentials without a token, the IMDSv1 role credentials are returned. If you retrieve the IAM role credentials using a valid session token, the IMDSv2 role credentials are returned. required - When IMDSv2 is required, you must send a session token with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available. Default: optional
24452
+ * Indicates whether IMDSv2 is required. optional - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials. required - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.
24445
24453
  */
24446
24454
  HttpTokens?: HttpTokensState;
24447
24455
  /**
@@ -28216,7 +28224,7 @@ declare namespace EC2 {
28216
28224
  */
28217
28225
  Attribute?: InstanceAttributeName;
28218
28226
  /**
28219
- * Modifies the DeleteOnTermination attribute for volumes that are currently attached. The volume must be owned by the caller. If no value is specified for DeleteOnTermination, the default is true and the volume is deleted when the instance is terminated. To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Update the block device mapping when launching an instance in the Amazon EC2 User Guide.
28227
+ * Modifies the DeleteOnTermination attribute for volumes that are currently attached. The volume must be owned by the caller. If no value is specified for DeleteOnTermination, the default is true and the volume is deleted when the instance is terminated. You can't modify the DeleteOnTermination attribute for volumes that are attached to Fargate tasks. To add instance store volumes to an Amazon EBS-backed instance, you must add them when you launch the instance. For more information, see Update the block device mapping when launching an instance in the Amazon EC2 User Guide.
28220
28228
  */
28221
28229
  BlockDeviceMappings?: InstanceBlockDeviceMappingSpecificationList;
28222
28230
  /**
@@ -28402,7 +28410,7 @@ declare namespace EC2 {
28402
28410
  */
28403
28411
  InstanceId: InstanceId;
28404
28412
  /**
28405
- * IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to optional (in other words, set the use of IMDSv2 to optional) or required (in other words, set the use of IMDSv2 to required). optional - When IMDSv2 is optional, you can choose to retrieve instance metadata with or without a session token in your request. If you retrieve the IAM role credentials without a token, the IMDSv1 role credentials are returned. If you retrieve the IAM role credentials using a valid session token, the IMDSv2 role credentials are returned. required - When IMDSv2 is required, you must send a session token with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available. Default: optional
28413
+ * Indicates whether IMDSv2 is required. optional - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials. required - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available. Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0, the default is required.
28406
28414
  */
28407
28415
  HttpTokens?: HttpTokensState;
28408
28416
  /**
@@ -34695,7 +34703,7 @@ declare namespace EC2 {
34695
34703
  }
34696
34704
  export interface ScheduledInstancesNetworkInterface {
34697
34705
  /**
34698
- * Indicates whether to assign a public IPv4 address to instances launched in a VPC. The public IPv4 address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.
34706
+ * Indicates whether to assign a public IPv4 address to instances launched in a VPC. The public IPv4 address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true. Starting on February 1, 2024, Amazon Web Services will charge for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
34699
34707
  */
34700
34708
  AssociatePublicIpAddress?: Boolean;
34701
34709
  /**
@@ -35791,7 +35799,7 @@ declare namespace EC2 {
35791
35799
  */
35792
35800
  Context?: String;
35793
35801
  /**
35794
- * The unit for the target capacity. TargetCapacityUnitType can only be specified when InstanceRequirements is specified. Default: units (translates to number of instances)
35802
+ * The unit for the target capacity. You can specify this parameter only when using attribute-based instance type selection. Default: units (the number of instances)
35795
35803
  */
35796
35804
  TargetCapacityUnitType?: TargetCapacityUnitType;
35797
35805
  /**
@@ -36225,7 +36233,7 @@ declare namespace EC2 {
36225
36233
  */
36226
36234
  Code?: String;
36227
36235
  /**
36228
- * The message for the state change. Server.InsufficientInstanceCapacity: There was insufficient capacity available to satisfy the launch request. Server.InternalError: An internal error caused the instance to terminate during launch. Server.ScheduledStop: The instance was stopped due to a scheduled retirement. Server.SpotInstanceShutdown: The instance was stopped because the number of Spot requests with a maximum price equal to or higher than the Spot price exceeded available capacity or because of an increase in the Spot price. Server.SpotInstanceTermination: The instance was terminated because the number of Spot requests with a maximum price equal to or higher than the Spot price exceeded available capacity or because of an increase in the Spot price. Client.InstanceInitiatedShutdown: The instance was shut down using the shutdown -h command from the instance. Client.InstanceTerminated: The instance was terminated or rebooted during AMI creation. Client.InternalError: A client error caused the instance to terminate during launch. Client.InvalidSnapshot.NotFound: The specified snapshot was not found. Client.UserInitiatedHibernate: Hibernation was initiated on the instance. Client.UserInitiatedShutdown: The instance was shut down using the Amazon EC2 API. Client.VolumeLimitExceeded: The limit on the number of EBS volumes or total storage was exceeded. Decrease usage or request an increase in your account limits.
36236
+ * The message for the state change. Server.InsufficientInstanceCapacity: There was insufficient capacity available to satisfy the launch request. Server.InternalError: An internal error caused the instance to terminate during launch. Server.ScheduledStop: The instance was stopped due to a scheduled retirement. Server.SpotInstanceShutdown: The instance was stopped because the number of Spot requests with a maximum price equal to or higher than the Spot price exceeded available capacity or because of an increase in the Spot price. Server.SpotInstanceTermination: The instance was terminated because the number of Spot requests with a maximum price equal to or higher than the Spot price exceeded available capacity or because of an increase in the Spot price. Client.InstanceInitiatedShutdown: The instance was shut down from the operating system of the instance. Client.InstanceTerminated: The instance was terminated or rebooted during AMI creation. Client.InternalError: A client error caused the instance to terminate during launch. Client.InvalidSnapshot.NotFound: The specified snapshot was not found. Client.UserInitiatedHibernate: Hibernation was initiated on the instance. Client.UserInitiatedShutdown: The instance was shut down using the Amazon EC2 API. Client.VolumeLimitExceeded: The limit on the number of EBS volumes or total storage was exceeded. Decrease usage or request an increase in your account limits.
36229
36237
  */
36230
36238
  Message?: String;
36231
36239
  }
@@ -36570,7 +36578,7 @@ declare namespace EC2 {
36570
36578
  export type TaggableResourceId = string;
36571
36579
  export interface TargetCapacitySpecification {
36572
36580
  /**
36573
- * The number of units to request, filled using DefaultTargetCapacityType.
36581
+ * The number of units to request, filled the default target capacity type.
36574
36582
  */
36575
36583
  TotalTargetCapacity?: Integer;
36576
36584
  /**
@@ -36582,17 +36590,17 @@ declare namespace EC2 {
36582
36590
  */
36583
36591
  SpotTargetCapacity?: Integer;
36584
36592
  /**
36585
- * The default TotalTargetCapacity, which is either Spot or On-Demand.
36593
+ * The default target capacity type.
36586
36594
  */
36587
36595
  DefaultTargetCapacityType?: DefaultTargetCapacityType;
36588
36596
  /**
36589
- * The unit for the target capacity. TargetCapacityUnitType can only be specified when InstanceRequirements is specified. Default: units (translates to number of instances)
36597
+ * The unit for the target capacity.
36590
36598
  */
36591
36599
  TargetCapacityUnitType?: TargetCapacityUnitType;
36592
36600
  }
36593
36601
  export interface TargetCapacitySpecificationRequest {
36594
36602
  /**
36595
- * The number of units to request, filled using DefaultTargetCapacityType.
36603
+ * The number of units to request, filled using the default target capacity type.
36596
36604
  */
36597
36605
  TotalTargetCapacity: Integer;
36598
36606
  /**
@@ -36604,11 +36612,11 @@ declare namespace EC2 {
36604
36612
  */
36605
36613
  SpotTargetCapacity?: Integer;
36606
36614
  /**
36607
- * The default TotalTargetCapacity, which is either Spot or On-Demand.
36615
+ * The default target capacity type.
36608
36616
  */
36609
36617
  DefaultTargetCapacityType?: DefaultTargetCapacityType;
36610
36618
  /**
36611
- * The unit for the target capacity. TargetCapacityUnitType can only be specified when InstanceRequirements is specified. Default: units (translates to number of instances)
36619
+ * The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection. Default: units (the number of instances)
36612
36620
  */
36613
36621
  TargetCapacityUnitType?: TargetCapacityUnitType;
36614
36622
  }
@@ -39006,11 +39014,11 @@ declare namespace EC2 {
39006
39014
  */
39007
39015
  AttachTime?: DateTime;
39008
39016
  /**
39009
- * The device name.
39017
+ * The device name. If the volume is attached to a Fargate task, this parameter returns null.
39010
39018
  */
39011
39019
  Device?: String;
39012
39020
  /**
39013
- * The ID of the instance.
39021
+ * The ID of the instance. If the volume is attached to a Fargate task, this parameter returns null.
39014
39022
  */
39015
39023
  InstanceId?: String;
39016
39024
  /**
@@ -39025,6 +39033,14 @@ declare namespace EC2 {
39025
39033
  * Indicates whether the EBS volume is deleted on instance termination.
39026
39034
  */
39027
39035
  DeleteOnTermination?: Boolean;
39036
+ /**
39037
+ * The ARN of the Amazon ECS or Fargate task to which the volume is attached.
39038
+ */
39039
+ AssociatedResource?: String;
39040
+ /**
39041
+ * The service principal of Amazon Web Services service that owns the underlying instance to which the volume is attached. This parameter is returned only for volumes that are attached to Fargate tasks.
39042
+ */
39043
+ InstanceOwningService?: String;
39028
39044
  }
39029
39045
  export type VolumeAttachmentList = VolumeAttachment[];
39030
39046
  export type VolumeAttachmentState = "attaching"|"attached"|"detaching"|"detached"|"busy"|string;