cdk-lambda-subminute 2.0.283 → 2.0.285

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 (45) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +20 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/amplify-2017-07-25.min.json +53 -38
  6. package/node_modules/aws-sdk/apis/amplify-2017-07-25.paginators.json +24 -0
  7. package/node_modules/aws-sdk/apis/application-insights-2018-11-25.min.json +35 -25
  8. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +8 -5
  9. package/node_modules/aws-sdk/apis/dataexchange-2017-07-25.min.json +125 -0
  10. package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +27 -15
  11. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1297 -1181
  12. package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +6 -0
  13. package/node_modules/aws-sdk/apis/finspace-2021-03-12.min.json +47 -0
  14. package/node_modules/aws-sdk/apis/m2-2021-04-28.min.json +36 -6
  15. package/node_modules/aws-sdk/apis/mediapackagev2-2022-12-25.min.json +37 -10
  16. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +222 -107
  17. package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +6 -0
  18. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +205 -76
  19. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.paginators.json +6 -0
  20. package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +136 -106
  21. package/node_modules/aws-sdk/apis/s3outposts-2017-07-25.min.json +1 -0
  22. package/node_modules/aws-sdk/apis/translate-2017-07-01.min.json +23 -26
  23. package/node_modules/aws-sdk/clients/amplify.d.ts +239 -223
  24. package/node_modules/aws-sdk/clients/applicationinsights.d.ts +17 -0
  25. package/node_modules/aws-sdk/clients/connect.d.ts +46 -22
  26. package/node_modules/aws-sdk/clients/dataexchange.d.ts +153 -0
  27. package/node_modules/aws-sdk/clients/datasync.d.ts +45 -30
  28. package/node_modules/aws-sdk/clients/ec2.d.ts +138 -5
  29. package/node_modules/aws-sdk/clients/finspace.d.ts +46 -2
  30. package/node_modules/aws-sdk/clients/m2.d.ts +51 -6
  31. package/node_modules/aws-sdk/clients/mediapackagev2.d.ts +24 -0
  32. package/node_modules/aws-sdk/clients/neptunedata.d.ts +11 -11
  33. package/node_modules/aws-sdk/clients/rds.d.ts +148 -0
  34. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +212 -2
  35. package/node_modules/aws-sdk/clients/resiliencehub.d.ts +136 -103
  36. package/node_modules/aws-sdk/clients/s3outposts.d.ts +5 -0
  37. package/node_modules/aws-sdk/clients/translate.d.ts +17 -9
  38. package/node_modules/aws-sdk/clients/wisdom.d.ts +8 -8
  39. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  40. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +19 -19
  41. package/node_modules/aws-sdk/dist/aws-sdk.js +1565 -1322
  42. package/node_modules/aws-sdk/dist/aws-sdk.min.js +81 -80
  43. package/node_modules/aws-sdk/lib/core.js +1 -1
  44. package/node_modules/aws-sdk/package.json +1 -1
  45. package/package.json +3 -3
@@ -60,11 +60,11 @@ declare class DataSync extends Service {
60
60
  */
61
61
  createLocationFsxLustre(callback?: (err: AWSError, data: DataSync.Types.CreateLocationFsxLustreResponse) => void): Request<DataSync.Types.CreateLocationFsxLustreResponse, AWSError>;
62
62
  /**
63
- * Creates an endpoint for an Amazon FSx for NetApp ONTAP file system that DataSync can access for a transfer. For more information, see Creating a location for FSx for ONTAP.
63
+ * Creates an endpoint for an Amazon FSx for NetApp ONTAP file system that DataSync can use for a data transfer. Before you begin, make sure that you understand how DataSync accesses an FSx for ONTAP file system.
64
64
  */
65
65
  createLocationFsxOntap(params: DataSync.Types.CreateLocationFsxOntapRequest, callback?: (err: AWSError, data: DataSync.Types.CreateLocationFsxOntapResponse) => void): Request<DataSync.Types.CreateLocationFsxOntapResponse, AWSError>;
66
66
  /**
67
- * Creates an endpoint for an Amazon FSx for NetApp ONTAP file system that DataSync can access for a transfer. For more information, see Creating a location for FSx for ONTAP.
67
+ * Creates an endpoint for an Amazon FSx for NetApp ONTAP file system that DataSync can use for a data transfer. Before you begin, make sure that you understand how DataSync accesses an FSx for ONTAP file system.
68
68
  */
69
69
  createLocationFsxOntap(callback?: (err: AWSError, data: DataSync.Types.CreateLocationFsxOntapResponse) => void): Request<DataSync.Types.CreateLocationFsxOntapResponse, AWSError>;
70
70
  /**
@@ -76,11 +76,11 @@ declare class DataSync extends Service {
76
76
  */
77
77
  createLocationFsxOpenZfs(callback?: (err: AWSError, data: DataSync.Types.CreateLocationFsxOpenZfsResponse) => void): Request<DataSync.Types.CreateLocationFsxOpenZfsResponse, AWSError>;
78
78
  /**
79
- * Creates an endpoint for an Amazon FSx for Windows File Server file system.
79
+ * Creates an endpoint for an Amazon FSx for Windows File Server file system that DataSync can use for a data transfer. Before you begin, make sure that you understand how DataSync accesses an FSx for Windows File Server.
80
80
  */
81
81
  createLocationFsxWindows(params: DataSync.Types.CreateLocationFsxWindowsRequest, callback?: (err: AWSError, data: DataSync.Types.CreateLocationFsxWindowsResponse) => void): Request<DataSync.Types.CreateLocationFsxWindowsResponse, AWSError>;
82
82
  /**
83
- * Creates an endpoint for an Amazon FSx for Windows File Server file system.
83
+ * Creates an endpoint for an Amazon FSx for Windows File Server file system that DataSync can use for a data transfer. Before you begin, make sure that you understand how DataSync accesses an FSx for Windows File Server.
84
84
  */
85
85
  createLocationFsxWindows(callback?: (err: AWSError, data: DataSync.Types.CreateLocationFsxWindowsResponse) => void): Request<DataSync.Types.CreateLocationFsxWindowsResponse, AWSError>;
86
86
  /**
@@ -132,11 +132,11 @@ declare class DataSync extends Service {
132
132
  */
133
133
  createTask(callback?: (err: AWSError, data: DataSync.Types.CreateTaskResponse) => void): Request<DataSync.Types.CreateTaskResponse, AWSError>;
134
134
  /**
135
- * Deletes an agent. To specify which agent to delete, use the Amazon Resource Name (ARN) of the agent in your request. The operation disassociates the agent from your Amazon Web Services account. However, it doesn't delete the agent virtual machine (VM) from your on-premises environment.
135
+ * Removes an DataSync agent resource from your Amazon Web Services account. Keep in mind that this operation (which can't be undone) doesn't remove the agent's virtual machine (VM) or Amazon EC2 instance from your storage environment. For next steps, you can delete the VM or instance from your storage environment or reuse it to activate a new agent.
136
136
  */
137
137
  deleteAgent(params: DataSync.Types.DeleteAgentRequest, callback?: (err: AWSError, data: DataSync.Types.DeleteAgentResponse) => void): Request<DataSync.Types.DeleteAgentResponse, AWSError>;
138
138
  /**
139
- * Deletes an agent. To specify which agent to delete, use the Amazon Resource Name (ARN) of the agent in your request. The operation disassociates the agent from your Amazon Web Services account. However, it doesn't delete the agent virtual machine (VM) from your on-premises environment.
139
+ * Removes an DataSync agent resource from your Amazon Web Services account. Keep in mind that this operation (which can't be undone) doesn't remove the agent's virtual machine (VM) or Amazon EC2 instance from your storage environment. For next steps, you can delete the VM or instance from your storage environment or reuse it to activate a new agent.
140
140
  */
141
141
  deleteAgent(callback?: (err: AWSError, data: DataSync.Types.DeleteAgentResponse) => void): Request<DataSync.Types.DeleteAgentResponse, AWSError>;
142
142
  /**
@@ -156,11 +156,11 @@ declare class DataSync extends Service {
156
156
  */
157
157
  deleteTask(callback?: (err: AWSError, data: DataSync.Types.DeleteTaskResponse) => void): Request<DataSync.Types.DeleteTaskResponse, AWSError>;
158
158
  /**
159
- * Returns metadata about an DataSync agent, such as its name, endpoint type, and status.
159
+ * Returns information about an DataSync agent, such as its name, service endpoint type, and status.
160
160
  */
161
161
  describeAgent(params: DataSync.Types.DescribeAgentRequest, callback?: (err: AWSError, data: DataSync.Types.DescribeAgentResponse) => void): Request<DataSync.Types.DescribeAgentResponse, AWSError>;
162
162
  /**
163
- * Returns metadata about an DataSync agent, such as its name, endpoint type, and status.
163
+ * Returns information about an DataSync agent, such as its name, service endpoint type, and status.
164
164
  */
165
165
  describeAgent(callback?: (err: AWSError, data: DataSync.Types.DescribeAgentResponse) => void): Request<DataSync.Types.DescribeAgentResponse, AWSError>;
166
166
  /**
@@ -412,11 +412,11 @@ declare class DataSync extends Service {
412
412
  */
413
413
  untagResource(callback?: (err: AWSError, data: DataSync.Types.UntagResourceResponse) => void): Request<DataSync.Types.UntagResourceResponse, AWSError>;
414
414
  /**
415
- * Updates the name of an agent.
415
+ * Updates the name of an DataSync agent.
416
416
  */
417
417
  updateAgent(params: DataSync.Types.UpdateAgentRequest, callback?: (err: AWSError, data: DataSync.Types.UpdateAgentResponse) => void): Request<DataSync.Types.UpdateAgentResponse, AWSError>;
418
418
  /**
419
- * Updates the name of an agent.
419
+ * Updates the name of an DataSync agent.
420
420
  */
421
421
  updateAgent(callback?: (err: AWSError, data: DataSync.Types.UpdateAgentResponse) => void): Request<DataSync.Types.UpdateAgentResponse, AWSError>;
422
422
  /**
@@ -460,11 +460,11 @@ declare class DataSync extends Service {
460
460
  */
461
461
  updateLocationObjectStorage(callback?: (err: AWSError, data: DataSync.Types.UpdateLocationObjectStorageResponse) => void): Request<DataSync.Types.UpdateLocationObjectStorageResponse, AWSError>;
462
462
  /**
463
- * Updates some of the parameters of a previously created location for Server Message Block (SMB) file system access. For information about creating an SMB location, see Creating a location for SMB.
463
+ * Updates some of the parameters of a Server Message Block (SMB) file server location that you can use for DataSync transfers.
464
464
  */
465
465
  updateLocationSmb(params: DataSync.Types.UpdateLocationSmbRequest, callback?: (err: AWSError, data: DataSync.Types.UpdateLocationSmbResponse) => void): Request<DataSync.Types.UpdateLocationSmbResponse, AWSError>;
466
466
  /**
467
- * Updates some of the parameters of a previously created location for Server Message Block (SMB) file system access. For information about creating an SMB location, see Creating a location for SMB.
467
+ * Updates some of the parameters of a Server Message Block (SMB) file server location that you can use for DataSync transfers.
468
468
  */
469
469
  updateLocationSmb(callback?: (err: AWSError, data: DataSync.Types.UpdateLocationSmbResponse) => void): Request<DataSync.Types.UpdateLocationSmbResponse, AWSError>;
470
470
  /**
@@ -547,11 +547,16 @@ declare namespace DataSync {
547
547
  */
548
548
  Name?: TagValue;
549
549
  /**
550
- * The status of an agent. For more information, see DataSync agent statuses.
550
+ * The status of an agent. If the status is ONLINE, the agent is configured properly and ready to use. If the status is OFFLINE, the agent has been out of contact with DataSync for five minutes or longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
551
551
  */
552
552
  Status?: AgentStatus;
553
+ /**
554
+ * The platform-related details about the agent, such as the version number.
555
+ */
556
+ Platform?: Platform;
553
557
  }
554
558
  export type AgentStatus = "ONLINE"|"OFFLINE"|string;
559
+ export type AgentVersion = string;
555
560
  export type Atime = "NONE"|"BEST_EFFORT"|string;
556
561
  export type AzureAccessTier = "HOT"|"COOL"|"ARCHIVE"|string;
557
562
  export type AzureBlobAuthenticationType = "SAS"|string;
@@ -796,15 +801,15 @@ declare namespace DataSync {
796
801
  */
797
802
  Tags?: InputTagList;
798
803
  /**
799
- * Specifies the user who has the permissions to access files, folders, and metadata in your file system. For information about choosing a user with sufficient permissions, see Required permissions.
804
+ * Specifies the user who has the permissions to access files, folders, and metadata in your file system. For information about choosing a user with the right level of access for your transfer, see required permissions for FSx for Windows File Server locations.
800
805
  */
801
806
  User: SmbUser;
802
807
  /**
803
- * Specifies the name of the Windows domain that the FSx for Windows File Server belongs to.
808
+ * Specifies the name of the Windows domain that the FSx for Windows File Server belongs to. If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server. For more information, see required permissions for FSx for Windows File Server locations.
804
809
  */
805
810
  Domain?: SmbDomain;
806
811
  /**
807
- * Specifies the password of the user who has the permissions to access files and folders in the file system.
812
+ * Specifies the password of the user who has the permissions to access files and folders in the file system. For more information, see required permissions for FSx for Windows File Server locations.
808
813
  */
809
814
  Password: SmbPassword;
810
815
  }
@@ -993,7 +998,7 @@ declare namespace DataSync {
993
998
  */
994
999
  User: SmbUser;
995
1000
  /**
996
- * Specifies the Windows domain name that your SMB file server belongs to. For more information, see required permissions for SMB locations.
1001
+ * Specifies the Windows domain name that your SMB file server belongs to. If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server. For more information, see required permissions for SMB locations.
997
1002
  */
998
1003
  Domain?: SmbDomain;
999
1004
  /**
@@ -1103,7 +1108,7 @@ declare namespace DataSync {
1103
1108
  }
1104
1109
  export interface DescribeAgentRequest {
1105
1110
  /**
1106
- * Specifies the Amazon Resource Name (ARN) of the DataSync agent to describe.
1111
+ * Specifies the Amazon Resource Name (ARN) of the DataSync agent that you want information about.
1107
1112
  */
1108
1113
  AgentArn: AgentArn;
1109
1114
  }
@@ -1117,25 +1122,29 @@ declare namespace DataSync {
1117
1122
  */
1118
1123
  Name?: TagValue;
1119
1124
  /**
1120
- * The status of the agent. If the status is ONLINE, then the agent is configured properly and is available to use. The Running status is the normal running status for an agent. If the status is OFFLINE, the agent's VM is turned off or the agent is in an unhealthy state. When the issue that caused the unhealthy state is resolved, the agent returns to ONLINE status.
1125
+ * The status of the agent. If the status is ONLINE, the agent is configured properly and ready to use. If the status is OFFLINE, the agent has been out of contact with DataSync for five minutes or longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
1121
1126
  */
1122
1127
  Status?: AgentStatus;
1123
1128
  /**
1124
- * The time that the agent last connected to DataSync.
1129
+ * The last time that the agent was communicating with the DataSync service.
1125
1130
  */
1126
1131
  LastConnectionTime?: Time;
1127
1132
  /**
1128
- * The time that the agent was activated (that is, created in your account).
1133
+ * The time that the agent was activated.
1129
1134
  */
1130
1135
  CreationTime?: Time;
1131
1136
  /**
1132
- * The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, the agent is not accessible over the public internet.
1137
+ * The type of service endpoint that your agent is connected to.
1133
1138
  */
1134
1139
  EndpointType?: EndpointType;
1135
1140
  /**
1136
- * The subnet and the security group that DataSync used to access a VPC endpoint.
1141
+ * The network configuration that the agent uses when connecting to a VPC service endpoint.
1137
1142
  */
1138
1143
  PrivateLinkConfig?: PrivateLinkConfig;
1144
+ /**
1145
+ * The platform-related details about the agent, such as the version number.
1146
+ */
1147
+ Platform?: Platform;
1139
1148
  }
1140
1149
  export interface DescribeDiscoveryJobRequest {
1141
1150
  /**
@@ -1734,7 +1743,7 @@ declare namespace DataSync {
1734
1743
  */
1735
1744
  FilesSkipped?: long;
1736
1745
  /**
1737
- * The number of files, objects, and directories that DataSync verified during your transfer.
1746
+ * The number of files, objects, and directories that DataSync verified during your transfer. When you configure your task to verify only the data that's transferred, DataSync doesn't verify directories in some situations or files that fail to transfer.
1738
1747
  */
1739
1748
  FilesVerified?: long;
1740
1749
  /**
@@ -2523,6 +2532,12 @@ declare namespace DataSync {
2523
2532
  export type PLSecurityGroupArnList = Ec2SecurityGroupArn[];
2524
2533
  export type PLSubnetArnList = Ec2SubnetArn[];
2525
2534
  export type PhaseStatus = "PENDING"|"SUCCESS"|"ERROR"|string;
2535
+ export interface Platform {
2536
+ /**
2537
+ * The version of the DataSync agent. Beginning December 7, 2023, we will discontinue version 1 DataSync agents. Check the DataSync console to see if you have affected agents. If you do, replace those agents before then to avoid data transfer or storage discovery disruptions. If you need more help, contact Amazon Web Services Support.
2538
+ */
2539
+ Version?: AgentVersion;
2540
+ }
2526
2541
  export type PosixPermissions = "NONE"|"PRESERVE"|string;
2527
2542
  export type PreserveDeletedFiles = "PRESERVE"|"REMOVE"|string;
2528
2543
  export type PreserveDevices = "NONE"|"PRESERVE"|string;
@@ -3120,27 +3135,27 @@ declare namespace DataSync {
3120
3135
  }
3121
3136
  export interface UpdateLocationSmbRequest {
3122
3137
  /**
3123
- * The Amazon Resource Name (ARN) of the SMB location to update.
3138
+ * Specifies the ARN of the SMB location that you want to update.
3124
3139
  */
3125
3140
  LocationArn: LocationArn;
3126
3141
  /**
3127
- * The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination. The SMB path should be a path that's exported by the SMB server, or a subdirectory of that path. The path should be such that it can be mounted by other SMB clients in your network. Subdirectory must be specified with forward slashes. For example, /path/to/folder. To transfer all the data in the folder that you specified, DataSync must have permissions to mount the SMB share and to access all the data in that share. To ensure this, do either of the following: Ensure that the user/password specified belongs to the user who can mount the share and who has the appropriate permissions for all of the files and directories that you want DataSync to access. Use credentials of a member of the Backup Operators group to mount the share. Doing either of these options enables the agent to access the data. For the agent to access directories, you must also enable all execute access.
3142
+ * Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, /path/to/subdirectory). Make sure that other SMB clients in your network can also mount this path. To copy all data in the specified subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see required permissions for SMB locations.
3128
3143
  */
3129
3144
  Subdirectory?: SmbSubdirectory;
3130
3145
  /**
3131
- * The user who can mount the share has the permissions to access files and folders in the SMB share.
3146
+ * Specifies the user name that can mount your SMB file server and has permission to access the files and folders involved in your transfer. For information about choosing a user with the right level of access for your transfer, see required permissions for SMB locations.
3132
3147
  */
3133
3148
  User?: SmbUser;
3134
3149
  /**
3135
- * The name of the Windows domain that the SMB server belongs to.
3150
+ * Specifies the Windows domain name that your SMB file server belongs to. If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server. For more information, see required permissions for SMB locations.
3136
3151
  */
3137
3152
  Domain?: SmbDomain;
3138
3153
  /**
3139
- * The password of the user who can mount the share has the permissions to access files and folders in the SMB share.
3154
+ * Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer. For more information, see required permissions for SMB locations.
3140
3155
  */
3141
3156
  Password?: SmbPassword;
3142
3157
  /**
3143
- * The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
3158
+ * Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).
3144
3159
  */
3145
3160
  AgentArns?: AgentArnList;
3146
3161
  MountOptions?: SmbMountOptions;
@@ -1820,6 +1820,14 @@ declare class EC2 extends Service {
1820
1820
  * Describes the IP address ranges that were specified in calls to ProvisionByoipCidr. To describe the address pools that were created when you provisioned the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.
1821
1821
  */
1822
1822
  describeByoipCidrs(callback?: (err: AWSError, data: EC2.Types.DescribeByoipCidrsResult) => void): Request<EC2.Types.DescribeByoipCidrsResult, AWSError>;
1823
+ /**
1824
+ * Describes Capacity Block offerings available for purchase. With Capacity Blocks, you purchase a specific instance type for a period of time.
1825
+ */
1826
+ describeCapacityBlockOfferings(params: EC2.Types.DescribeCapacityBlockOfferingsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeCapacityBlockOfferingsResult) => void): Request<EC2.Types.DescribeCapacityBlockOfferingsResult, AWSError>;
1827
+ /**
1828
+ * Describes Capacity Block offerings available for purchase. With Capacity Blocks, you purchase a specific instance type for a period of time.
1829
+ */
1830
+ describeCapacityBlockOfferings(callback?: (err: AWSError, data: EC2.Types.DescribeCapacityBlockOfferingsResult) => void): Request<EC2.Types.DescribeCapacityBlockOfferingsResult, AWSError>;
1823
1831
  /**
1824
1832
  * Describes one or more Capacity Reservation Fleets.
1825
1833
  */
@@ -4324,6 +4332,14 @@ declare class EC2 extends Service {
4324
4332
  * Provision a CIDR to a public IPv4 pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
4325
4333
  */
4326
4334
  provisionPublicIpv4PoolCidr(callback?: (err: AWSError, data: EC2.Types.ProvisionPublicIpv4PoolCidrResult) => void): Request<EC2.Types.ProvisionPublicIpv4PoolCidrResult, AWSError>;
4335
+ /**
4336
+ * Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.
4337
+ */
4338
+ purchaseCapacityBlock(params: EC2.Types.PurchaseCapacityBlockRequest, callback?: (err: AWSError, data: EC2.Types.PurchaseCapacityBlockResult) => void): Request<EC2.Types.PurchaseCapacityBlockResult, AWSError>;
4339
+ /**
4340
+ * Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.
4341
+ */
4342
+ purchaseCapacityBlock(callback?: (err: AWSError, data: EC2.Types.PurchaseCapacityBlockResult) => void): Request<EC2.Types.PurchaseCapacityBlockResult, AWSError>;
4327
4343
  /**
4328
4344
  * Purchase a reservation with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This action results in the specified reservation being purchased and charged to your account.
4329
4345
  */
@@ -7352,6 +7368,49 @@ declare namespace EC2 {
7352
7368
  Count?: Integer;
7353
7369
  }
7354
7370
  export type CapacityAllocations = CapacityAllocation[];
7371
+ export interface CapacityBlockOffering {
7372
+ /**
7373
+ * The ID of the Capacity Block offering.
7374
+ */
7375
+ CapacityBlockOfferingId?: OfferingId;
7376
+ /**
7377
+ * The instance type of the Capacity Block offering.
7378
+ */
7379
+ InstanceType?: String;
7380
+ /**
7381
+ * The Availability Zone of the Capacity Block offering.
7382
+ */
7383
+ AvailabilityZone?: String;
7384
+ /**
7385
+ * The number of instances in the Capacity Block offering.
7386
+ */
7387
+ InstanceCount?: Integer;
7388
+ /**
7389
+ * The start date of the Capacity Block offering.
7390
+ */
7391
+ StartDate?: MillisecondDateTime;
7392
+ /**
7393
+ * The end date of the Capacity Block offering.
7394
+ */
7395
+ EndDate?: MillisecondDateTime;
7396
+ /**
7397
+ * The amount of time of the Capacity Block reservation in hours.
7398
+ */
7399
+ CapacityBlockDurationHours?: Integer;
7400
+ /**
7401
+ * The total price to be paid up front.
7402
+ */
7403
+ UpfrontFee?: String;
7404
+ /**
7405
+ * The currency of the payment for the Capacity Block.
7406
+ */
7407
+ CurrencyCode?: String;
7408
+ /**
7409
+ * The tenancy of the Capacity Block.
7410
+ */
7411
+ Tenancy?: CapacityReservationTenancy;
7412
+ }
7413
+ export type CapacityBlockOfferingSet = CapacityBlockOffering[];
7355
7414
  export interface CapacityReservation {
7356
7415
  /**
7357
7416
  * The ID of the Capacity Reservation.
@@ -7445,6 +7504,10 @@ declare namespace EC2 {
7445
7504
  * Information about instance capacity usage.
7446
7505
  */
7447
7506
  CapacityAllocations?: CapacityAllocations;
7507
+ /**
7508
+ * The type of Capacity Reservation.
7509
+ */
7510
+ ReservationType?: CapacityReservationType;
7448
7511
  }
7449
7512
  export interface CapacityReservationFleet {
7450
7513
  /**
@@ -7563,7 +7626,7 @@ declare namespace EC2 {
7563
7626
  */
7564
7627
  CapacityReservationTarget?: CapacityReservationTargetResponse;
7565
7628
  }
7566
- export type CapacityReservationState = "active"|"expired"|"cancelled"|"pending"|"failed"|string;
7629
+ export type CapacityReservationState = "active"|"expired"|"cancelled"|"pending"|"failed"|"scheduled"|"payment-pending"|"payment-failed"|string;
7567
7630
  export interface CapacityReservationTarget {
7568
7631
  /**
7569
7632
  * The ID of the Capacity Reservation in which to run the instance.
@@ -7585,6 +7648,7 @@ declare namespace EC2 {
7585
7648
  CapacityReservationResourceGroupArn?: String;
7586
7649
  }
7587
7650
  export type CapacityReservationTenancy = "default"|"dedicated"|string;
7651
+ export type CapacityReservationType = "default"|"capacity-block"|string;
7588
7652
  export interface CarrierGateway {
7589
7653
  /**
7590
7654
  * The ID of the carrier gateway.
@@ -11676,7 +11740,7 @@ declare namespace EC2 {
11676
11740
  export type DefaultNetworkCardIndex = number;
11677
11741
  export type DefaultRouteTableAssociationValue = "enable"|"disable"|string;
11678
11742
  export type DefaultRouteTablePropagationValue = "enable"|"disable"|string;
11679
- export type DefaultTargetCapacityType = "spot"|"on-demand"|string;
11743
+ export type DefaultTargetCapacityType = "spot"|"on-demand"|"capacity-block"|string;
11680
11744
  export type DefaultingDhcpOptionsId = string;
11681
11745
  export interface DeleteCarrierGatewayRequest {
11682
11746
  /**
@@ -13310,6 +13374,51 @@ declare namespace EC2 {
13310
13374
  */
13311
13375
  NextToken?: String;
13312
13376
  }
13377
+ export type DescribeCapacityBlockOfferingsMaxResults = number;
13378
+ export interface DescribeCapacityBlockOfferingsRequest {
13379
+ /**
13380
+ * 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.
13381
+ */
13382
+ DryRun?: Boolean;
13383
+ /**
13384
+ * The type of instance for which the Capacity Block offering reserves capacity.
13385
+ */
13386
+ InstanceType: String;
13387
+ /**
13388
+ * The number of instances for which to reserve capacity.
13389
+ */
13390
+ InstanceCount: Integer;
13391
+ /**
13392
+ * The earliest start date for the Capacity Block offering.
13393
+ */
13394
+ StartDateRange?: MillisecondDateTime;
13395
+ /**
13396
+ * The latest end date for the Capacity Block offering.
13397
+ */
13398
+ EndDateRange?: MillisecondDateTime;
13399
+ /**
13400
+ * The number of hours for which to reserve Capacity Block.
13401
+ */
13402
+ CapacityDurationHours: Integer;
13403
+ /**
13404
+ * The token to use to retrieve the next page of results.
13405
+ */
13406
+ NextToken?: String;
13407
+ /**
13408
+ * 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.
13409
+ */
13410
+ MaxResults?: DescribeCapacityBlockOfferingsMaxResults;
13411
+ }
13412
+ export interface DescribeCapacityBlockOfferingsResult {
13413
+ /**
13414
+ * The recommended Capacity Block offering for the dates specified.
13415
+ */
13416
+ CapacityBlockOfferings?: CapacityBlockOfferingSet;
13417
+ /**
13418
+ * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
13419
+ */
13420
+ NextToken?: String;
13421
+ }
13313
13422
  export type DescribeCapacityReservationFleetsMaxResults = number;
13314
13423
  export interface DescribeCapacityReservationFleetsRequest {
13315
13424
  /**
@@ -23721,7 +23830,7 @@ declare namespace EC2 {
23721
23830
  }
23722
23831
  export type InstanceIpv6PrefixList = InstanceIpv6Prefix[];
23723
23832
  export type InstanceLifecycle = "spot"|"on-demand"|string;
23724
- export type InstanceLifecycleType = "spot"|"scheduled"|string;
23833
+ export type InstanceLifecycleType = "spot"|"scheduled"|"capacity-block"|string;
23725
23834
  export type InstanceList = Instance[];
23726
23835
  export interface InstanceMaintenanceOptions {
23727
23836
  /**
@@ -26727,7 +26836,7 @@ declare namespace EC2 {
26727
26836
  OwnerId?: String;
26728
26837
  }
26729
26838
  export type ManagedPrefixListSet = ManagedPrefixList[];
26730
- export type MarketType = "spot"|string;
26839
+ export type MarketType = "spot"|"capacity-block"|string;
26731
26840
  export type MaxIpv4AddrPerInterface = number;
26732
26841
  export type MaxIpv6AddrPerInterface = number;
26733
26842
  export type MaxNetworkInterfaces = number;
@@ -30893,6 +31002,30 @@ declare namespace EC2 {
30893
31002
  */
30894
31003
  UpfrontPrice?: String;
30895
31004
  }
31005
+ export interface PurchaseCapacityBlockRequest {
31006
+ /**
31007
+ * 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.
31008
+ */
31009
+ DryRun?: Boolean;
31010
+ /**
31011
+ * The tags to apply to the Capacity Block during launch.
31012
+ */
31013
+ TagSpecifications?: TagSpecificationList;
31014
+ /**
31015
+ * The ID of the Capacity Block offering.
31016
+ */
31017
+ CapacityBlockOfferingId: OfferingId;
31018
+ /**
31019
+ * The type of operating system for which to reserve capacity.
31020
+ */
31021
+ InstancePlatform: CapacityReservationInstancePlatform;
31022
+ }
31023
+ export interface PurchaseCapacityBlockResult {
31024
+ /**
31025
+ * The Capacity Reservation.
31026
+ */
31027
+ CapacityReservation?: CapacityReservation;
31028
+ }
30896
31029
  export interface PurchaseHostReservationRequest {
30897
31030
  /**
30898
31031
  * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
@@ -37192,7 +37325,7 @@ declare namespace EC2 {
37192
37325
  */
37193
37326
  Return?: Boolean;
37194
37327
  }
37195
- export type UsageClassType = "spot"|"on-demand"|string;
37328
+ export type UsageClassType = "spot"|"on-demand"|"capacity-block"|string;
37196
37329
  export type UsageClassTypeList = UsageClassType[];
37197
37330
  export interface UserBucket {
37198
37331
  /**
@@ -243,6 +243,14 @@ declare class Finspace extends Service {
243
243
  * Update your FinSpace environment.
244
244
  */
245
245
  updateEnvironment(callback?: (err: AWSError, data: Finspace.Types.UpdateEnvironmentResponse) => void): Request<Finspace.Types.UpdateEnvironmentResponse, AWSError>;
246
+ /**
247
+ * Allows you to update code configuration on a running cluster. By using this API you can update the code, the initialization script path, and the command line arguments for a specific cluster. The configuration that you want to update will override any existing configurations on the cluster.
248
+ */
249
+ updateKxClusterCodeConfiguration(params: Finspace.Types.UpdateKxClusterCodeConfigurationRequest, callback?: (err: AWSError, data: Finspace.Types.UpdateKxClusterCodeConfigurationResponse) => void): Request<Finspace.Types.UpdateKxClusterCodeConfigurationResponse, AWSError>;
250
+ /**
251
+ * Allows you to update code configuration on a running cluster. By using this API you can update the code, the initialization script path, and the command line arguments for a specific cluster. The configuration that you want to update will override any existing configurations on the cluster.
252
+ */
253
+ updateKxClusterCodeConfiguration(callback?: (err: AWSError, data: Finspace.Types.UpdateKxClusterCodeConfigurationResponse) => void): Request<Finspace.Types.UpdateKxClusterCodeConfigurationResponse, AWSError>;
246
254
  /**
247
255
  * Updates the databases mounted on a kdb cluster, which includes the changesetId and all the dbPaths to be cached. This API does not allow you to change a database name or add a database if you created a cluster without one. Using this API you can point a cluster to a different changeset and modify a list of partitions being cached.
248
256
  */
@@ -1293,7 +1301,7 @@ declare namespace Finspace {
1293
1301
  export type KxAzMode = "SINGLE"|"MULTI"|string;
1294
1302
  export interface KxCacheStorageConfiguration {
1295
1303
  /**
1296
- * The type of cache storage . The valid values are: CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.
1304
+ * The type of cache storage. The valid values are: CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. CACHE_250 – This type provides at least 250 MB/s disk access throughput. CACHE_12 – This type provides at least 12 MB/s disk access throughput. For cache type CACHE_1000 and CACHE_250 you can select cache size as 1200 GB or increments of 2400 GB. For cache type CACHE_12 you can select the cache size in increments of 6000 GB.
1297
1305
  */
1298
1306
  type: KxCacheStorageType;
1299
1307
  /**
@@ -1377,6 +1385,13 @@ declare namespace Finspace {
1377
1385
  */
1378
1386
  createdTimestamp?: Timestamp;
1379
1387
  }
1388
+ export interface KxClusterCodeDeploymentConfiguration {
1389
+ /**
1390
+ * The type of deployment that you want on a cluster. ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration. FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
1391
+ */
1392
+ deploymentStrategy: KxClusterCodeDeploymentStrategy;
1393
+ }
1394
+ export type KxClusterCodeDeploymentStrategy = "ROLLING"|"FORCE"|string;
1380
1395
  export type KxClusterDescription = string;
1381
1396
  export type KxClusterName = string;
1382
1397
  export type KxClusterNodeIdString = string;
@@ -1440,7 +1455,7 @@ declare namespace Finspace {
1440
1455
  export type KxDatabases = KxDatabaseListEntry[];
1441
1456
  export interface KxDeploymentConfiguration {
1442
1457
  /**
1443
- * The type of deployment that you want on a cluster. ROLLING – This options loads the updated database by stopping the exiting q process and starting a new q process with updated configuration. NO_RESTART – This option loads the updated database on the running q process without stopping it. This option is quicker as it reduces the turn around time to update a kdb database changeset configuration on a cluster.
1458
+ * The type of deployment that you want on a cluster. ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration. NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for HDB type cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster. With this deployment mode, you cannot update the initializationScript and commandLineArguments parameters.
1444
1459
  */
1445
1460
  deploymentStrategy: KxDeploymentStrategy;
1446
1461
  }
@@ -1897,6 +1912,35 @@ declare namespace Finspace {
1897
1912
  */
1898
1913
  environment?: Environment;
1899
1914
  }
1915
+ export interface UpdateKxClusterCodeConfigurationRequest {
1916
+ /**
1917
+ * A unique identifier of the kdb environment.
1918
+ */
1919
+ environmentId: KxEnvironmentId;
1920
+ /**
1921
+ * The name of the cluster.
1922
+ */
1923
+ clusterName: KxClusterName;
1924
+ /**
1925
+ * A token that ensures idempotency. This token expires in 10 minutes.
1926
+ */
1927
+ clientToken?: ClientTokenString;
1928
+ code: CodeConfiguration;
1929
+ /**
1930
+ * Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q.
1931
+ */
1932
+ initializationScript?: InitializationScriptFilePath;
1933
+ /**
1934
+ * Specifies the key-value pairs to make them available inside the cluster.
1935
+ */
1936
+ commandLineArguments?: KxCommandLineArguments;
1937
+ /**
1938
+ * The configuration that allows you to choose how you want to update the code on a cluster.
1939
+ */
1940
+ deploymentConfiguration?: KxClusterCodeDeploymentConfiguration;
1941
+ }
1942
+ export interface UpdateKxClusterCodeConfigurationResponse {
1943
+ }
1900
1944
  export interface UpdateKxClusterDatabasesRequest {
1901
1945
  /**
1902
1946
  * The unique identifier of a kdb environment.