cdk-lambda-subminute 2.0.356 → 2.0.358

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.
@@ -35,6 +35,14 @@ declare class CodeBuild extends Service {
35
35
  * Gets information about one or more builds.
36
36
  */
37
37
  batchGetBuilds(callback?: (err: AWSError, data: CodeBuild.Types.BatchGetBuildsOutput) => void): Request<CodeBuild.Types.BatchGetBuildsOutput, AWSError>;
38
+ /**
39
+ * Gets information about one or more compute fleets.
40
+ */
41
+ batchGetFleets(params: CodeBuild.Types.BatchGetFleetsInput, callback?: (err: AWSError, data: CodeBuild.Types.BatchGetFleetsOutput) => void): Request<CodeBuild.Types.BatchGetFleetsOutput, AWSError>;
42
+ /**
43
+ * Gets information about one or more compute fleets.
44
+ */
45
+ batchGetFleets(callback?: (err: AWSError, data: CodeBuild.Types.BatchGetFleetsOutput) => void): Request<CodeBuild.Types.BatchGetFleetsOutput, AWSError>;
38
46
  /**
39
47
  * Gets information about one or more build projects.
40
48
  */
@@ -59,6 +67,14 @@ declare class CodeBuild extends Service {
59
67
  * Returns an array of reports.
60
68
  */
61
69
  batchGetReports(callback?: (err: AWSError, data: CodeBuild.Types.BatchGetReportsOutput) => void): Request<CodeBuild.Types.BatchGetReportsOutput, AWSError>;
70
+ /**
71
+ * Creates a compute fleet.
72
+ */
73
+ createFleet(params: CodeBuild.Types.CreateFleetInput, callback?: (err: AWSError, data: CodeBuild.Types.CreateFleetOutput) => void): Request<CodeBuild.Types.CreateFleetOutput, AWSError>;
74
+ /**
75
+ * Creates a compute fleet.
76
+ */
77
+ createFleet(callback?: (err: AWSError, data: CodeBuild.Types.CreateFleetOutput) => void): Request<CodeBuild.Types.CreateFleetOutput, AWSError>;
62
78
  /**
63
79
  * Creates a build project.
64
80
  */
@@ -91,6 +107,14 @@ declare class CodeBuild extends Service {
91
107
  * Deletes a batch build.
92
108
  */
93
109
  deleteBuildBatch(callback?: (err: AWSError, data: CodeBuild.Types.DeleteBuildBatchOutput) => void): Request<CodeBuild.Types.DeleteBuildBatchOutput, AWSError>;
110
+ /**
111
+ * Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.
112
+ */
113
+ deleteFleet(params: CodeBuild.Types.DeleteFleetInput, callback?: (err: AWSError, data: CodeBuild.Types.DeleteFleetOutput) => void): Request<CodeBuild.Types.DeleteFleetOutput, AWSError>;
114
+ /**
115
+ * Deletes a compute fleet. When you delete a compute fleet, its builds are not deleted.
116
+ */
117
+ deleteFleet(callback?: (err: AWSError, data: CodeBuild.Types.DeleteFleetOutput) => void): Request<CodeBuild.Types.DeleteFleetOutput, AWSError>;
94
118
  /**
95
119
  * Deletes a build project. When you delete a project, its builds are not deleted.
96
120
  */
@@ -227,6 +251,14 @@ declare class CodeBuild extends Service {
227
251
  * Gets information about Docker images that are managed by CodeBuild.
228
252
  */
229
253
  listCuratedEnvironmentImages(callback?: (err: AWSError, data: CodeBuild.Types.ListCuratedEnvironmentImagesOutput) => void): Request<CodeBuild.Types.ListCuratedEnvironmentImagesOutput, AWSError>;
254
+ /**
255
+ * Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.
256
+ */
257
+ listFleets(params: CodeBuild.Types.ListFleetsInput, callback?: (err: AWSError, data: CodeBuild.Types.ListFleetsOutput) => void): Request<CodeBuild.Types.ListFleetsOutput, AWSError>;
258
+ /**
259
+ * Gets a list of compute fleet names with each compute fleet name representing a single compute fleet.
260
+ */
261
+ listFleets(callback?: (err: AWSError, data: CodeBuild.Types.ListFleetsOutput) => void): Request<CodeBuild.Types.ListFleetsOutput, AWSError>;
230
262
  /**
231
263
  * Gets a list of build project names, with each build project name representing a single build project.
232
264
  */
@@ -339,6 +371,14 @@ declare class CodeBuild extends Service {
339
371
  * Stops a running batch build.
340
372
  */
341
373
  stopBuildBatch(callback?: (err: AWSError, data: CodeBuild.Types.StopBuildBatchOutput) => void): Request<CodeBuild.Types.StopBuildBatchOutput, AWSError>;
374
+ /**
375
+ * Updates a compute fleet.
376
+ */
377
+ updateFleet(params: CodeBuild.Types.UpdateFleetInput, callback?: (err: AWSError, data: CodeBuild.Types.UpdateFleetOutput) => void): Request<CodeBuild.Types.UpdateFleetOutput, AWSError>;
378
+ /**
379
+ * Updates a compute fleet.
380
+ */
381
+ updateFleet(callback?: (err: AWSError, data: CodeBuild.Types.UpdateFleetOutput) => void): Request<CodeBuild.Types.UpdateFleetOutput, AWSError>;
342
382
  /**
343
383
  * Changes the settings of a build project.
344
384
  */
@@ -425,6 +465,22 @@ declare namespace CodeBuild {
425
465
  */
426
466
  buildsNotFound?: BuildIds;
427
467
  }
468
+ export interface BatchGetFleetsInput {
469
+ /**
470
+ * The names or ARNs of the compute fleets.
471
+ */
472
+ names: FleetNames;
473
+ }
474
+ export interface BatchGetFleetsOutput {
475
+ /**
476
+ * Information about the requested compute fleets.
477
+ */
478
+ fleets?: Fleets;
479
+ /**
480
+ * The names of compute fleets for which information could not be found.
481
+ */
482
+ fleetsNotFound?: FleetNames;
483
+ }
428
484
  export interface BatchGetProjectsInput {
429
485
  /**
430
486
  * The names or ARNs of the build projects. To get information about a project shared with your Amazon Web Services account, its ARN must be specified. You cannot specify a shared project using its name.
@@ -969,6 +1025,38 @@ declare namespace CodeBuild {
969
1025
  export type CodeCoverages = CodeCoverage[];
970
1026
  export type ComputeType = "BUILD_GENERAL1_SMALL"|"BUILD_GENERAL1_MEDIUM"|"BUILD_GENERAL1_LARGE"|"BUILD_GENERAL1_XLARGE"|"BUILD_GENERAL1_2XLARGE"|"BUILD_LAMBDA_1GB"|"BUILD_LAMBDA_2GB"|"BUILD_LAMBDA_4GB"|"BUILD_LAMBDA_8GB"|"BUILD_LAMBDA_10GB"|string;
971
1027
  export type ComputeTypesAllowed = NonEmptyString[];
1028
+ export interface CreateFleetInput {
1029
+ /**
1030
+ * The name of the compute fleet.
1031
+ */
1032
+ name: FleetName;
1033
+ /**
1034
+ * The initial number of machines allocated to the fleet, which defines the number of builds that can run in parallel.
1035
+ */
1036
+ baseCapacity: FleetCapacity;
1037
+ /**
1038
+ * The environment type of the compute fleet. The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see Build environment compute types in the CodeBuild user guide.
1039
+ */
1040
+ environmentType: EnvironmentType;
1041
+ /**
1042
+ * Information about the compute resources the compute fleet uses. Available values include: BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. If you use BUILD_GENERAL1_SMALL: For environment type LINUX_CONTAINER, you can use up to 3 GB memory and 2 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. For environment type ARM_CONTAINER, you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds. If you use BUILD_GENERAL1_LARGE: For environment type LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. For environment type ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds. For more information, see Build environment compute types in the CodeBuild User Guide.
1043
+ */
1044
+ computeType: ComputeType;
1045
+ /**
1046
+ * The scaling configuration of the compute fleet.
1047
+ */
1048
+ scalingConfiguration?: ScalingConfigurationInput;
1049
+ /**
1050
+ * A list of tag key and value pairs associated with this compute fleet. These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
1051
+ */
1052
+ tags?: TagList;
1053
+ }
1054
+ export interface CreateFleetOutput {
1055
+ /**
1056
+ * Information about the compute fleet
1057
+ */
1058
+ fleet?: Fleet;
1059
+ }
972
1060
  export interface CreateProjectInput {
973
1061
  /**
974
1062
  * The name of the build project.
@@ -1140,6 +1228,14 @@ declare namespace CodeBuild {
1140
1228
  */
1141
1229
  buildsNotDeleted?: BuildsNotDeleted;
1142
1230
  }
1231
+ export interface DeleteFleetInput {
1232
+ /**
1233
+ * The ARN of the compute fleet.
1234
+ */
1235
+ arn: NonEmptyString;
1236
+ }
1237
+ export interface DeleteFleetOutput {
1238
+ }
1143
1239
  export interface DeleteProjectInput {
1144
1240
  /**
1145
1241
  * The name of the build project.
@@ -1332,6 +1428,76 @@ declare namespace CodeBuild {
1332
1428
  export type FileSystemType = "EFS"|string;
1333
1429
  export type FilterGroup = WebhookFilter[];
1334
1430
  export type FilterGroups = FilterGroup[];
1431
+ export interface Fleet {
1432
+ /**
1433
+ * The ARN of the compute fleet.
1434
+ */
1435
+ arn?: NonEmptyString;
1436
+ /**
1437
+ * The name of the compute fleet.
1438
+ */
1439
+ name?: FleetName;
1440
+ /**
1441
+ * The ID of the compute fleet.
1442
+ */
1443
+ id?: NonEmptyString;
1444
+ /**
1445
+ * The time at which the compute fleet was created.
1446
+ */
1447
+ created?: Timestamp;
1448
+ /**
1449
+ * The time at which the compute fleet was last modified.
1450
+ */
1451
+ lastModified?: Timestamp;
1452
+ /**
1453
+ * The status of the compute fleet.
1454
+ */
1455
+ status?: FleetStatus;
1456
+ /**
1457
+ * The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
1458
+ */
1459
+ baseCapacity?: FleetCapacity;
1460
+ /**
1461
+ * The environment type of the compute fleet. The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see Build environment compute types in the CodeBuild user guide.
1462
+ */
1463
+ environmentType?: EnvironmentType;
1464
+ /**
1465
+ * Information about the compute resources the compute fleet uses. Available values include: BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. If you use BUILD_GENERAL1_SMALL: For environment type LINUX_CONTAINER, you can use up to 3 GB memory and 2 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. For environment type ARM_CONTAINER, you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds. If you use BUILD_GENERAL1_LARGE: For environment type LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. For environment type ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds. For more information, see Build environment compute types in the CodeBuild User Guide.
1466
+ */
1467
+ computeType?: ComputeType;
1468
+ /**
1469
+ * The scaling configuration of the compute fleet.
1470
+ */
1471
+ scalingConfiguration?: ScalingConfigurationOutput;
1472
+ /**
1473
+ * A list of tag key and value pairs associated with this compute fleet. These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
1474
+ */
1475
+ tags?: TagList;
1476
+ }
1477
+ export type FleetArns = NonEmptyString[];
1478
+ export type FleetCapacity = number;
1479
+ export type FleetContextCode = "CREATE_FAILED"|"UPDATE_FAILED"|string;
1480
+ export type FleetName = string;
1481
+ export type FleetNames = NonEmptyString[];
1482
+ export type FleetScalingMetricType = "FLEET_UTILIZATION_RATE"|string;
1483
+ export type FleetScalingType = "TARGET_TRACKING_SCALING"|string;
1484
+ export type FleetSortByType = "NAME"|"CREATED_TIME"|"LAST_MODIFIED_TIME"|string;
1485
+ export interface FleetStatus {
1486
+ /**
1487
+ * The status code of the compute fleet. Valid values include: CREATING: The compute fleet is being created. UPDATING: The compute fleet is being updated. ROTATING: The compute fleet is being rotated. DELETING: The compute fleet is being deleted. CREATE_FAILED: The compute fleet has failed to create. UPDATE_ROLLBACK_FAILED: The compute fleet has failed to update and could not rollback to previous state. ACTIVE: The compute fleet has succeeded and is active.
1488
+ */
1489
+ statusCode?: FleetStatusCode;
1490
+ /**
1491
+ * Additional information about a compute fleet. Valid values include: CREATE_FAILED: The compute fleet has failed to create. UPDATE_FAILED: The compute fleet has failed to update.
1492
+ */
1493
+ context?: FleetContextCode;
1494
+ /**
1495
+ * A message associated with the status of a compute fleet.
1496
+ */
1497
+ message?: String;
1498
+ }
1499
+ export type FleetStatusCode = "CREATING"|"UPDATING"|"ROTATING"|"DELETING"|"CREATE_FAILED"|"UPDATE_ROLLBACK_FAILED"|"ACTIVE"|string;
1500
+ export type Fleets = Fleet[];
1335
1501
  export interface GetReportGroupTrendInput {
1336
1502
  /**
1337
1503
  * The ARN of the report group that contains the reports to analyze.
@@ -1528,6 +1694,34 @@ declare namespace CodeBuild {
1528
1694
  */
1529
1695
  platforms?: EnvironmentPlatforms;
1530
1696
  }
1697
+ export interface ListFleetsInput {
1698
+ /**
1699
+ * During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
1700
+ */
1701
+ nextToken?: SensitiveString;
1702
+ /**
1703
+ * The maximum number of paginated compute fleets returned per response. Use nextToken to iterate pages in the list of returned compute fleets.
1704
+ */
1705
+ maxResults?: PageSize;
1706
+ /**
1707
+ * The order in which to list compute fleets. Valid values include: ASCENDING: List in ascending order. DESCENDING: List in descending order. Use sortBy to specify the criterion to be used to list compute fleet names.
1708
+ */
1709
+ sortOrder?: SortOrderType;
1710
+ /**
1711
+ * The criterion to be used to list compute fleet names. Valid values include: CREATED_TIME: List based on when each compute fleet was created. LAST_MODIFIED_TIME: List based on when information about each compute fleet was last changed. NAME: List based on each compute fleet's name. Use sortOrder to specify in what order to list the compute fleet names based on the preceding criteria.
1712
+ */
1713
+ sortBy?: FleetSortByType;
1714
+ }
1715
+ export interface ListFleetsOutput {
1716
+ /**
1717
+ * If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call.
1718
+ */
1719
+ nextToken?: String;
1720
+ /**
1721
+ * The list of compute fleet names.
1722
+ */
1723
+ fleets?: FleetArns;
1724
+ }
1531
1725
  export interface ListProjectsInput {
1532
1726
  /**
1533
1727
  * The criterion to be used to list build project names. Valid values include: CREATED_TIME: List based on when each build project was created. LAST_MODIFIED_TIME: List based on when information about each build project was last changed. NAME: List based on each build project's name. Use sortOrder to specify in what order to list the build project names based on the preceding criteria.
@@ -1977,7 +2171,7 @@ declare namespace CodeBuild {
1977
2171
  export type ProjectDescription = string;
1978
2172
  export interface ProjectEnvironment {
1979
2173
  /**
1980
- * The type of build environment to use for related builds. The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and EU (Frankfurt). The environment type LINUX_CONTAINER with compute type build.general1.2xlarge is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), China (Beijing), and China (Ningxia). The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and China (Ningxia). The environment types ARM_LAMBDA_CONTAINER and LINUX_LAMBDA_CONTAINER are available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), EU (Frankfurt), EU (Ireland), and South America (São Paulo). The environment types WINDOWS_CONTAINER and WINDOWS_SERVER_2019_CONTAINER are available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), and EU (Ireland). For more information, see Build environment compute types in the CodeBuild user guide.
2174
+ * The type of build environment to use for related builds. The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and EU (Frankfurt). The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), China (Beijing), and China (Ningxia). The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and China (Ningxia). The environment types ARM_LAMBDA_CONTAINER and LINUX_LAMBDA_CONTAINER are available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Mumbai), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), EU (Frankfurt), EU (Ireland), and South America (São Paulo). The environment types WINDOWS_CONTAINER and WINDOWS_SERVER_2019_CONTAINER are available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), and EU (Ireland). If you're using compute fleets during project creation, type will be ignored. For more information, see Build environment compute types in the CodeBuild user guide.
1981
2175
  */
1982
2176
  type: EnvironmentType;
1983
2177
  /**
@@ -1985,9 +2179,13 @@ declare namespace CodeBuild {
1985
2179
  */
1986
2180
  image: NonEmptyString;
1987
2181
  /**
1988
- * Information about the compute resources the build project uses. Available values include: BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. BUILD_LAMBDA_1GB: Use up to 1 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_2GB: Use up to 2 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_4GB: Use up to 4 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_8GB: Use up to 8 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_10GB: Use up to 10 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. If you use BUILD_GENERAL1_SMALL: For environment type LINUX_CONTAINER, you can use up to 3 GB memory and 2 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. For environment type ARM_CONTAINER, you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds. If you use BUILD_GENERAL1_LARGE: For environment type LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. For environment type ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds. For more information, see Build Environment Compute Types in the CodeBuild User Guide.
2182
+ * Information about the compute resources the build project uses. Available values include: BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. BUILD_LAMBDA_1GB: Use up to 1 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_2GB: Use up to 2 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_4GB: Use up to 4 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_8GB: Use up to 8 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. BUILD_LAMBDA_10GB: Use up to 10 GB memory for builds. Only available for environment type LINUX_LAMBDA_CONTAINER and ARM_LAMBDA_CONTAINER. If you use BUILD_GENERAL1_SMALL: For environment type LINUX_CONTAINER, you can use up to 3 GB memory and 2 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. For environment type ARM_CONTAINER, you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds. If you use BUILD_GENERAL1_LARGE: For environment type LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. For environment type ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds. If you're using compute fleets during project creation, computeType will be ignored. For more information, see Build Environment Compute Types in the CodeBuild User Guide.
1989
2183
  */
1990
2184
  computeType: ComputeType;
2185
+ /**
2186
+ * A ProjectFleet object to use for this build project.
2187
+ */
2188
+ fleet?: ProjectFleet;
1991
2189
  /**
1992
2190
  * A set of environment variables to make available to builds for this build project.
1993
2191
  */
@@ -2032,6 +2230,12 @@ declare namespace CodeBuild {
2032
2230
  mountOptions?: String;
2033
2231
  }
2034
2232
  export type ProjectFileSystemLocations = ProjectFileSystemLocation[];
2233
+ export interface ProjectFleet {
2234
+ /**
2235
+ * Specifies the compute fleet ARN for the build project.
2236
+ */
2237
+ fleetArn?: String;
2238
+ }
2035
2239
  export type ProjectName = string;
2036
2240
  export type ProjectNames = NonEmptyString[];
2037
2241
  export type ProjectSecondarySourceVersions = ProjectSourceVersion[];
@@ -2343,8 +2547,41 @@ declare namespace CodeBuild {
2343
2547
  */
2344
2548
  encryptionDisabled?: WrapperBoolean;
2345
2549
  }
2550
+ export interface ScalingConfigurationInput {
2551
+ /**
2552
+ * The scaling type for a compute fleet.
2553
+ */
2554
+ scalingType?: FleetScalingType;
2555
+ /**
2556
+ * A list of TargetTrackingScalingConfiguration objects.
2557
+ */
2558
+ targetTrackingScalingConfigs?: TargetTrackingScalingConfigurations;
2559
+ /**
2560
+ * The maximum number of instances in the fleet when auto-scaling.
2561
+ */
2562
+ maxCapacity?: FleetCapacity;
2563
+ }
2564
+ export interface ScalingConfigurationOutput {
2565
+ /**
2566
+ * The scaling type for a compute fleet.
2567
+ */
2568
+ scalingType?: FleetScalingType;
2569
+ /**
2570
+ * A list of TargetTrackingScalingConfiguration objects.
2571
+ */
2572
+ targetTrackingScalingConfigs?: TargetTrackingScalingConfigurations;
2573
+ /**
2574
+ * The maximum number of instances in the fleet when auto-scaling.
2575
+ */
2576
+ maxCapacity?: FleetCapacity;
2577
+ /**
2578
+ * The desired number of instances in the fleet when auto-scaling.
2579
+ */
2580
+ desiredCapacity?: FleetCapacity;
2581
+ }
2346
2582
  export type SecurityGroupIds = NonEmptyString[];
2347
2583
  export type SensitiveNonEmptyString = string;
2584
+ export type SensitiveString = string;
2348
2585
  export type ServerType = "GITHUB"|"BITBUCKET"|"GITHUB_ENTERPRISE"|string;
2349
2586
  export type SharedResourceSortByType = "ARN"|"MODIFIED_TIME"|string;
2350
2587
  export type SortOrderType = "ASCENDING"|"DESCENDING"|string;
@@ -2632,6 +2869,10 @@ declare namespace CodeBuild {
2632
2869
  * Specifies if session debugging is enabled for this build. For more information, see Viewing a running build in Session Manager.
2633
2870
  */
2634
2871
  debugSessionEnabled?: WrapperBoolean;
2872
+ /**
2873
+ * A ProjectFleet object specified for this build that overrides the one defined in the build project.
2874
+ */
2875
+ fleetOverride?: ProjectFleet;
2635
2876
  }
2636
2877
  export interface StartBuildOutput {
2637
2878
  /**
@@ -2674,6 +2915,17 @@ declare namespace CodeBuild {
2674
2915
  value?: ValueInput;
2675
2916
  }
2676
2917
  export type TagList = Tag[];
2918
+ export interface TargetTrackingScalingConfiguration {
2919
+ /**
2920
+ * The metric type to determine auto-scaling.
2921
+ */
2922
+ metricType?: FleetScalingMetricType;
2923
+ /**
2924
+ * The value of metricType when to start scaling.
2925
+ */
2926
+ targetValue?: WrapperDouble;
2927
+ }
2928
+ export type TargetTrackingScalingConfigurations = TargetTrackingScalingConfiguration[];
2677
2929
  export interface TestCase {
2678
2930
  /**
2679
2931
  * The ARN of the report to which the test case belongs.
@@ -2735,6 +2987,38 @@ declare namespace CodeBuild {
2735
2987
  }
2736
2988
  export type TimeOut = number;
2737
2989
  export type Timestamp = Date;
2990
+ export interface UpdateFleetInput {
2991
+ /**
2992
+ * The ARN of the compute fleet.
2993
+ */
2994
+ arn: NonEmptyString;
2995
+ /**
2996
+ * The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
2997
+ */
2998
+ baseCapacity?: FleetCapacity;
2999
+ /**
3000
+ * The environment type of the compute fleet. The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see Build environment compute types in the CodeBuild user guide.
3001
+ */
3002
+ environmentType?: EnvironmentType;
3003
+ /**
3004
+ * Information about the compute resources the compute fleet uses. Available values include: BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type. BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. If you use BUILD_GENERAL1_SMALL: For environment type LINUX_CONTAINER, you can use up to 3 GB memory and 2 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. For environment type ARM_CONTAINER, you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds. If you use BUILD_GENERAL1_LARGE: For environment type LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. For environment type ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds. For more information, see Build environment compute types in the CodeBuild User Guide.
3005
+ */
3006
+ computeType?: ComputeType;
3007
+ /**
3008
+ * The scaling configuration of the compute fleet.
3009
+ */
3010
+ scalingConfiguration?: ScalingConfigurationInput;
3011
+ /**
3012
+ * A list of tag key and value pairs associated with this compute fleet. These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
3013
+ */
3014
+ tags?: TagList;
3015
+ }
3016
+ export interface UpdateFleetOutput {
3017
+ /**
3018
+ * A Fleet object.
3019
+ */
3020
+ fleet?: Fleet;
3021
+ }
2738
3022
  export interface UpdateProjectInput {
2739
3023
  /**
2740
3024
  * The name of the build project. You cannot change a build project's name.
@@ -2956,6 +3240,7 @@ declare namespace CodeBuild {
2956
3240
  }
2957
3241
  export type WebhookFilterType = "EVENT"|"BASE_REF"|"HEAD_REF"|"ACTOR_ACCOUNT_ID"|"FILE_PATH"|"COMMIT_MESSAGE"|string;
2958
3242
  export type WrapperBoolean = boolean;
3243
+ export type WrapperDouble = number;
2959
3244
  export type WrapperInt = number;
2960
3245
  export type WrapperLong = number;
2961
3246
  /**
@@ -414,6 +414,14 @@ declare class DynamoDB extends DynamoDBCustomizations {
414
414
  * Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values). You can also return the item's attribute values in the same UpdateItem operation using the ReturnValues parameter.
415
415
  */
416
416
  updateItem(callback?: (err: AWSError, data: DynamoDB.Types.UpdateItemOutput) => void): Request<DynamoDB.Types.UpdateItemOutput, AWSError>;
417
+ /**
418
+ * The command to update the Kinesis stream destination.
419
+ */
420
+ updateKinesisStreamingDestination(params: DynamoDB.Types.UpdateKinesisStreamingDestinationInput, callback?: (err: AWSError, data: DynamoDB.Types.UpdateKinesisStreamingDestinationOutput) => void): Request<DynamoDB.Types.UpdateKinesisStreamingDestinationOutput, AWSError>;
421
+ /**
422
+ * The command to update the Kinesis stream destination.
423
+ */
424
+ updateKinesisStreamingDestination(callback?: (err: AWSError, data: DynamoDB.Types.UpdateKinesisStreamingDestinationOutput) => void): Request<DynamoDB.Types.UpdateKinesisStreamingDestinationOutput, AWSError>;
417
425
  /**
418
426
  * Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table. This operation only applies to Version 2019.11.21 (Current) of global tables. You can only perform one of the following operations at once: Modify the provisioned throughput settings of the table. Remove a global secondary index from the table. Create a new global secondary index on the table. After the index begins backfilling, you can use UpdateTable to perform other operations. UpdateTable is an asynchronous operation; while it is executing, the table status changes from ACTIVE to UPDATING. While it is UPDATING, you cannot issue another UpdateTable request. When the table returns to the ACTIVE state, the UpdateTable operation is complete.
419
427
  */
@@ -460,6 +468,7 @@ declare namespace DynamoDB {
460
468
  export import Converter = converter;
461
469
  }
462
470
  declare namespace DynamoDB {
471
+ export type ApproximateCreationDateTimePrecision = "MILLISECOND"|"MICROSECOND"|string;
463
472
  export type ArchivalReason = string;
464
473
  export interface ArchivalSummary {
465
474
  /**
@@ -1463,8 +1472,14 @@ declare namespace DynamoDB {
1463
1472
  */
1464
1473
  TimeToLiveDescription?: TimeToLiveDescription;
1465
1474
  }
1466
- export type DestinationStatus = "ENABLING"|"ACTIVE"|"DISABLING"|"DISABLED"|"ENABLE_FAILED"|string;
1475
+ export type DestinationStatus = "ENABLING"|"ACTIVE"|"DISABLING"|"DISABLED"|"ENABLE_FAILED"|"UPDATING"|string;
1467
1476
  export type DoubleObject = number;
1477
+ export interface EnableKinesisStreamingConfiguration {
1478
+ /**
1479
+ * Toggle for the precision of Kinesis data stream timestamp. The values are either MILLISECOND or MICROSECOND.
1480
+ */
1481
+ ApproximateCreationDateTimePrecision?: ApproximateCreationDateTimePrecision;
1482
+ }
1468
1483
  export interface Endpoint {
1469
1484
  /**
1470
1485
  * IP address of the endpoint.
@@ -2206,6 +2221,10 @@ declare namespace DynamoDB {
2206
2221
  * The human-readable string that corresponds to the replica status.
2207
2222
  */
2208
2223
  DestinationStatusDescription?: String;
2224
+ /**
2225
+ * The precision of the Kinesis data stream timestamp. The values are either MILLISECOND or MICROSECOND.
2226
+ */
2227
+ ApproximateCreationDateTimePrecision?: ApproximateCreationDateTimePrecision;
2209
2228
  }
2210
2229
  export type KinesisDataStreamDestinations = KinesisDataStreamDestination[];
2211
2230
  export interface KinesisStreamingDestinationInput {
@@ -2217,6 +2236,10 @@ declare namespace DynamoDB {
2217
2236
  * The ARN for a Kinesis data stream.
2218
2237
  */
2219
2238
  StreamArn: StreamArn;
2239
+ /**
2240
+ * The source for the Kinesis streaming information that is being enabled.
2241
+ */
2242
+ EnableKinesisStreamingConfiguration?: EnableKinesisStreamingConfiguration;
2220
2243
  }
2221
2244
  export interface KinesisStreamingDestinationOutput {
2222
2245
  /**
@@ -2231,6 +2254,10 @@ declare namespace DynamoDB {
2231
2254
  * The current status of the replication.
2232
2255
  */
2233
2256
  DestinationStatus?: DestinationStatus;
2257
+ /**
2258
+ * The destination for the Kinesis streaming information that is being enabled.
2259
+ */
2260
+ EnableKinesisStreamingConfiguration?: EnableKinesisStreamingConfiguration;
2234
2261
  }
2235
2262
  export type LastUpdateDateTime = Date;
2236
2263
  export type ListAttributeValue = AttributeValue[];
@@ -2479,7 +2506,7 @@ declare namespace DynamoDB {
2479
2506
  export type NumberSetAttributeValue = NumberAttributeValue[];
2480
2507
  export interface ParameterizedStatement {
2481
2508
  /**
2482
- * A PartiQL statment that uses parameters.
2509
+ * A PartiQL statement that uses parameters.
2483
2510
  */
2484
2511
  Statement: PartiQLStatement;
2485
2512
  /**
@@ -3805,6 +3832,44 @@ declare namespace DynamoDB {
3805
3832
  */
3806
3833
  ItemCollectionMetrics?: ItemCollectionMetrics;
3807
3834
  }
3835
+ export interface UpdateKinesisStreamingConfiguration {
3836
+ /**
3837
+ * Enables updating the precision of Kinesis data stream timestamp.
3838
+ */
3839
+ ApproximateCreationDateTimePrecision?: ApproximateCreationDateTimePrecision;
3840
+ }
3841
+ export interface UpdateKinesisStreamingDestinationInput {
3842
+ /**
3843
+ * The table name for the Kinesis streaming destination input.
3844
+ */
3845
+ TableName: TableName;
3846
+ /**
3847
+ * The ARN for the Kinesis stream input.
3848
+ */
3849
+ StreamArn: StreamArn;
3850
+ /**
3851
+ * The command to update the Kinesis stream configuration.
3852
+ */
3853
+ UpdateKinesisStreamingConfiguration?: UpdateKinesisStreamingConfiguration;
3854
+ }
3855
+ export interface UpdateKinesisStreamingDestinationOutput {
3856
+ /**
3857
+ * The table name for the Kinesis streaming destination output.
3858
+ */
3859
+ TableName?: TableName;
3860
+ /**
3861
+ * The ARN for the Kinesis stream input.
3862
+ */
3863
+ StreamArn?: StreamArn;
3864
+ /**
3865
+ * The status of the attempt to update the Kinesis streaming destination output.
3866
+ */
3867
+ DestinationStatus?: DestinationStatus;
3868
+ /**
3869
+ * The command to update the Kinesis streaming destination configuration.
3870
+ */
3871
+ UpdateKinesisStreamingConfiguration?: UpdateKinesisStreamingConfiguration;
3872
+ }
3808
3873
  export interface UpdateReplicationGroupMemberAction {
3809
3874
  /**
3810
3875
  * The Region where the replica exists.
@@ -3849,7 +3914,7 @@ declare namespace DynamoDB {
3849
3914
  */
3850
3915
  GlobalSecondaryIndexUpdates?: GlobalSecondaryIndexUpdateList;
3851
3916
  /**
3852
- * Represents the DynamoDB Streams configuration for the table. You receive a ValidationException if you try to enable a stream on a table that already has a stream, or if you try to disable a stream on a table that doesn't have a stream.
3917
+ * Represents the DynamoDB Streams configuration for the table. You receive a ResourceInUseException if you try to enable a stream on a table that already has a stream, or if you try to disable a stream on a table that doesn't have a stream.
3853
3918
  */
3854
3919
  StreamSpecification?: StreamSpecification;
3855
3920
  /**
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1539.0',
86
+ VERSION: '2.1540.0',
87
87
 
88
88
  /**
89
89
  * @api private