aws-sdk 2.1636.0 → 2.1638.0

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.
@@ -0,0 +1,18 @@
1
+ require('../lib/node_loader');
2
+ var AWS = require('../lib/core');
3
+ var Service = AWS.Service;
4
+ var apiLoader = AWS.apiLoader;
5
+
6
+ apiLoader.services['applicationsignals'] = {};
7
+ AWS.ApplicationSignals = Service.defineService('applicationsignals', ['2024-04-15']);
8
+ Object.defineProperty(apiLoader.services['applicationsignals'], '2024-04-15', {
9
+ get: function get() {
10
+ var model = require('../apis/application-signals-2024-04-15.min.json');
11
+ model.paginators = require('../apis/application-signals-2024-04-15.paginators.json').pagination;
12
+ return model;
13
+ },
14
+ enumerable: true,
15
+ configurable: true
16
+ });
17
+
18
+ module.exports = AWS.ApplicationSignals;
@@ -284,11 +284,11 @@ declare class AuditManager extends Service {
284
284
  */
285
285
  getOrganizationAdminAccount(callback?: (err: AWSError, data: AuditManager.Types.GetOrganizationAdminAccountResponse) => void): Request<AuditManager.Types.GetOrganizationAdminAccountResponse, AWSError>;
286
286
  /**
287
- * Gets a list of all of the Amazon Web Services that you can choose to include in your assessment. When you create an assessment, specify which of these services you want to include to narrow the assessment's scope.
287
+ * Gets a list of the Amazon Web Services from which Audit Manager can collect evidence. Audit Manager defines which Amazon Web Services are in scope for an assessment. Audit Manager infers this scope by examining the assessment’s controls and their data sources, and then mapping this information to one or more of the corresponding Amazon Web Services that are in this list. For information about why it's no longer possible to specify services in scope manually, see I can't edit the services in scope for my assessment in the Troubleshooting section of the Audit Manager user guide.
288
288
  */
289
289
  getServicesInScope(params: AuditManager.Types.GetServicesInScopeRequest, callback?: (err: AWSError, data: AuditManager.Types.GetServicesInScopeResponse) => void): Request<AuditManager.Types.GetServicesInScopeResponse, AWSError>;
290
290
  /**
291
- * Gets a list of all of the Amazon Web Services that you can choose to include in your assessment. When you create an assessment, specify which of these services you want to include to narrow the assessment's scope.
291
+ * Gets a list of the Amazon Web Services from which Audit Manager can collect evidence. Audit Manager defines which Amazon Web Services are in scope for an assessment. Audit Manager infers this scope by examining the assessment’s controls and their data sources, and then mapping this information to one or more of the corresponding Amazon Web Services that are in this list. For information about why it's no longer possible to specify services in scope manually, see I can't edit the services in scope for my assessment in the Troubleshooting section of the Audit Manager user guide.
292
292
  */
293
293
  getServicesInScope(callback?: (err: AWSError, data: AuditManager.Types.GetServicesInScopeResponse) => void): Request<AuditManager.Types.GetServicesInScopeResponse, AWSError>;
294
294
  /**
@@ -340,19 +340,19 @@ declare class AuditManager extends Service {
340
340
  */
341
341
  listAssessments(callback?: (err: AWSError, data: AuditManager.Types.ListAssessmentsResponse) => void): Request<AuditManager.Types.ListAssessmentsResponse, AWSError>;
342
342
  /**
343
- * Lists the latest analytics data for control domains across all of your active assessments. A control domain is listed only if at least one of the controls within that domain collected evidence on the lastUpdated date of controlDomainInsights. If this condition isn’t met, no data is listed for that control domain.
343
+ * Lists the latest analytics data for control domains across all of your active assessments. Audit Manager supports the control domains that are provided by Amazon Web Services Control Catalog. For information about how to find a list of available control domains, see ListDomains in the Amazon Web Services Control Catalog API Reference. A control domain is listed only if at least one of the controls within that domain collected evidence on the lastUpdated date of controlDomainInsights. If this condition isn’t met, no data is listed for that control domain.
344
344
  */
345
345
  listControlDomainInsights(params: AuditManager.Types.ListControlDomainInsightsRequest, callback?: (err: AWSError, data: AuditManager.Types.ListControlDomainInsightsResponse) => void): Request<AuditManager.Types.ListControlDomainInsightsResponse, AWSError>;
346
346
  /**
347
- * Lists the latest analytics data for control domains across all of your active assessments. A control domain is listed only if at least one of the controls within that domain collected evidence on the lastUpdated date of controlDomainInsights. If this condition isn’t met, no data is listed for that control domain.
347
+ * Lists the latest analytics data for control domains across all of your active assessments. Audit Manager supports the control domains that are provided by Amazon Web Services Control Catalog. For information about how to find a list of available control domains, see ListDomains in the Amazon Web Services Control Catalog API Reference. A control domain is listed only if at least one of the controls within that domain collected evidence on the lastUpdated date of controlDomainInsights. If this condition isn’t met, no data is listed for that control domain.
348
348
  */
349
349
  listControlDomainInsights(callback?: (err: AWSError, data: AuditManager.Types.ListControlDomainInsightsResponse) => void): Request<AuditManager.Types.ListControlDomainInsightsResponse, AWSError>;
350
350
  /**
351
- * Lists analytics data for control domains within a specified active assessment. A control domain is listed only if at least one of the controls within that domain collected evidence on the lastUpdated date of controlDomainInsights. If this condition isn’t met, no data is listed for that domain.
351
+ * Lists analytics data for control domains within a specified active assessment. Audit Manager supports the control domains that are provided by Amazon Web Services Control Catalog. For information about how to find a list of available control domains, see ListDomains in the Amazon Web Services Control Catalog API Reference. A control domain is listed only if at least one of the controls within that domain collected evidence on the lastUpdated date of controlDomainInsights. If this condition isn’t met, no data is listed for that domain.
352
352
  */
353
353
  listControlDomainInsightsByAssessment(params: AuditManager.Types.ListControlDomainInsightsByAssessmentRequest, callback?: (err: AWSError, data: AuditManager.Types.ListControlDomainInsightsByAssessmentResponse) => void): Request<AuditManager.Types.ListControlDomainInsightsByAssessmentResponse, AWSError>;
354
354
  /**
355
- * Lists analytics data for control domains within a specified active assessment. A control domain is listed only if at least one of the controls within that domain collected evidence on the lastUpdated date of controlDomainInsights. If this condition isn’t met, no data is listed for that domain.
355
+ * Lists analytics data for control domains within a specified active assessment. Audit Manager supports the control domains that are provided by Amazon Web Services Control Catalog. For information about how to find a list of available control domains, see ListDomains in the Amazon Web Services Control Catalog API Reference. A control domain is listed only if at least one of the controls within that domain collected evidence on the lastUpdated date of controlDomainInsights. If this condition isn’t met, no data is listed for that domain.
356
356
  */
357
357
  listControlDomainInsightsByAssessment(callback?: (err: AWSError, data: AuditManager.Types.ListControlDomainInsightsByAssessmentResponse) => void): Request<AuditManager.Types.ListControlDomainInsightsByAssessmentResponse, AWSError>;
358
358
  /**
@@ -372,11 +372,11 @@ declare class AuditManager extends Service {
372
372
  */
373
373
  listControls(callback?: (err: AWSError, data: AuditManager.Types.ListControlsResponse) => void): Request<AuditManager.Types.ListControlsResponse, AWSError>;
374
374
  /**
375
- * Returns a list of keywords that are pre-mapped to the specified control data source.
375
+ * Returns a list of keywords that are pre-mapped to the specified control data source.
376
376
  */
377
377
  listKeywordsForDataSource(params: AuditManager.Types.ListKeywordsForDataSourceRequest, callback?: (err: AWSError, data: AuditManager.Types.ListKeywordsForDataSourceResponse) => void): Request<AuditManager.Types.ListKeywordsForDataSourceResponse, AWSError>;
378
378
  /**
379
- * Returns a list of keywords that are pre-mapped to the specified control data source.
379
+ * Returns a list of keywords that are pre-mapped to the specified control data source.
380
380
  */
381
381
  listKeywordsForDataSource(callback?: (err: AWSError, data: AuditManager.Types.ListKeywordsForDataSourceResponse) => void): Request<AuditManager.Types.ListKeywordsForDataSourceResponse, AWSError>;
382
382
  /**
@@ -1273,7 +1273,12 @@ declare namespace AuditManager {
1273
1273
  * The tags associated with the control.
1274
1274
  */
1275
1275
  tags?: TagMap;
1276
+ /**
1277
+ * The state of the control. The END_OF_SUPPORT state is applicable to standard controls only. This state indicates that the standard control can still be used to collect evidence, but Audit Manager is no longer updating or maintaining that control.
1278
+ */
1279
+ state?: ControlState;
1276
1280
  }
1281
+ export type ControlCatalogId = string;
1277
1282
  export interface ControlComment {
1278
1283
  /**
1279
1284
  * The name of the user who authored the comment.
@@ -1291,15 +1296,16 @@ declare namespace AuditManager {
1291
1296
  export type ControlCommentBody = string;
1292
1297
  export type ControlComments = ControlComment[];
1293
1298
  export type ControlDescription = string;
1299
+ export type ControlDomainId = string;
1294
1300
  export interface ControlDomainInsights {
1295
1301
  /**
1296
1302
  * The name of the control domain.
1297
1303
  */
1298
- name?: NonEmptyString;
1304
+ name?: String;
1299
1305
  /**
1300
- * The unique identifier for the control domain.
1306
+ * The unique identifier for the control domain. Audit Manager supports the control domains that are provided by Amazon Web Services Control Catalog. For information about how to find a list of available control domains, see ListDomains in the Amazon Web Services Control Catalog API Reference.
1301
1307
  */
1302
- id?: UUID;
1308
+ id?: ControlDomainId;
1303
1309
  /**
1304
1310
  * The number of controls in the control domain that collected non-compliant evidence on the lastUpdated date.
1305
1311
  */
@@ -1324,11 +1330,11 @@ declare namespace AuditManager {
1324
1330
  /**
1325
1331
  * The name of the assessment control.
1326
1332
  */
1327
- name?: NonEmptyString;
1333
+ name?: String;
1328
1334
  /**
1329
1335
  * The unique identifier for the assessment control.
1330
1336
  */
1331
- id?: UUID;
1337
+ id?: ControlDomainId;
1332
1338
  /**
1333
1339
  * A breakdown of the compliance check status for the evidence that’s associated with the assessment control.
1334
1340
  */
@@ -1346,11 +1352,11 @@ declare namespace AuditManager {
1346
1352
  /**
1347
1353
  * The name of the control.
1348
1354
  */
1349
- name?: NonEmptyString;
1355
+ name?: String;
1350
1356
  /**
1351
1357
  * The unique identifier for the control.
1352
1358
  */
1353
- id?: UUID;
1359
+ id?: ControlDomainId;
1354
1360
  /**
1355
1361
  * A breakdown of the compliance check status for the evidence that’s associated with the control.
1356
1362
  */
@@ -1374,11 +1380,11 @@ declare namespace AuditManager {
1374
1380
  */
1375
1381
  sourceDescription?: SourceDescription;
1376
1382
  /**
1377
- * The setup option for the data source. This option reflects if the evidence collection is automated or manual.
1383
+ * The setup option for the data source. This option reflects if the evidence collection method is automated or manual. If you don’t provide a value for sourceSetUpOption, Audit Manager automatically infers and populates the correct value based on the sourceType that you specify.
1378
1384
  */
1379
1385
  sourceSetUpOption?: SourceSetUpOption;
1380
1386
  /**
1381
- * Specifies one of the five data source types for evidence collection.
1387
+ * Specifies which type of data source is used to collect evidence. The source can be an individual data source type, such as AWS_Cloudtrail, AWS_Config, AWS_Security_Hub, AWS_API_Call, or MANUAL. The source can also be a managed grouping of data sources, such as a Core_Control or a Common_Control.
1382
1388
  */
1383
1389
  sourceType?: SourceType;
1384
1390
  sourceKeyword?: SourceKeyword;
@@ -1441,8 +1447,9 @@ declare namespace AuditManager {
1441
1447
  export type ControlSets = ControlSet[];
1442
1448
  export type ControlSetsCount = number;
1443
1449
  export type ControlSources = string;
1450
+ export type ControlState = "ACTIVE"|"END_OF_SUPPORT"|string;
1444
1451
  export type ControlStatus = "UNDER_REVIEW"|"REVIEWED"|"INACTIVE"|string;
1445
- export type ControlType = "Standard"|"Custom"|string;
1452
+ export type ControlType = "Standard"|"Custom"|"Core"|string;
1446
1453
  export type Controls = Control[];
1447
1454
  export type ControlsCount = number;
1448
1455
  export interface CreateAssessmentFrameworkControl {
@@ -1555,11 +1562,11 @@ declare namespace AuditManager {
1555
1562
  */
1556
1563
  sourceDescription?: SourceDescription;
1557
1564
  /**
1558
- * The setup option for the data source, which reflects if the evidence collection is automated or manual.
1565
+ * The setup option for the data source. This option reflects if the evidence collection method is automated or manual. If you don’t provide a value for sourceSetUpOption, Audit Manager automatically infers and populates the correct value based on the sourceType that you specify.
1559
1566
  */
1560
1567
  sourceSetUpOption?: SourceSetUpOption;
1561
1568
  /**
1562
- * Specifies one of the five types of data sources for evidence collection.
1569
+ * Specifies which type of data source is used to collect evidence. The source can be an individual data source type, such as AWS_Cloudtrail, AWS_Config, AWS_Security_Hub, AWS_API_Call, or MANUAL. The source can also be a managed grouping of data sources, such as a Core_Control or a Common_Control.
1563
1570
  */
1564
1571
  sourceType?: SourceType;
1565
1572
  sourceKeyword?: SourceKeyword;
@@ -1629,6 +1636,7 @@ declare namespace AuditManager {
1629
1636
  }
1630
1637
  export type CreateDelegationRequests = CreateDelegationRequest[];
1631
1638
  export type CreatedBy = string;
1639
+ export type DataSourceType = "AWS_Cloudtrail"|"AWS_Config"|"AWS_Security_Hub"|"AWS_API_Call"|"MANUAL"|string;
1632
1640
  export interface DefaultExportDestination {
1633
1641
  /**
1634
1642
  * The destination type, such as Amazon S3.
@@ -2365,9 +2373,9 @@ declare namespace AuditManager {
2365
2373
  export type LastUpdatedBy = string;
2366
2374
  export interface ListAssessmentControlInsightsByControlDomainRequest {
2367
2375
  /**
2368
- * The unique identifier for the control domain.
2376
+ * The unique identifier for the control domain. Audit Manager supports the control domains that are provided by Amazon Web Services Control Catalog. For information about how to find a list of available control domains, see ListDomains in the Amazon Web Services Control Catalog API Reference.
2369
2377
  */
2370
- controlDomainId: UUID;
2378
+ controlDomainId: ControlDomainId;
2371
2379
  /**
2372
2380
  * The unique identifier for the active assessment.
2373
2381
  */
@@ -2530,9 +2538,9 @@ declare namespace AuditManager {
2530
2538
  }
2531
2539
  export interface ListControlInsightsByControlDomainRequest {
2532
2540
  /**
2533
- * The unique identifier for the control domain.
2541
+ * The unique identifier for the control domain. Audit Manager supports the control domains that are provided by Amazon Web Services Control Catalog. For information about how to find a list of available control domains, see ListDomains in the Amazon Web Services Control Catalog API Reference.
2534
2542
  */
2535
- controlDomainId: UUID;
2543
+ controlDomainId: ControlDomainId;
2536
2544
  /**
2537
2545
  * The pagination token that's used to fetch the next set of results.
2538
2546
  */
@@ -2554,17 +2562,21 @@ declare namespace AuditManager {
2554
2562
  }
2555
2563
  export interface ListControlsRequest {
2556
2564
  /**
2557
- * The type of control, such as a standard control or a custom control.
2565
+ * A filter that narrows the list of controls to a specific type.
2558
2566
  */
2559
2567
  controlType: ControlType;
2560
2568
  /**
2561
- * The pagination token that's used to fetch the next set of results.
2569
+ * The pagination token that's used to fetch the next set of results.
2562
2570
  */
2563
2571
  nextToken?: Token;
2564
2572
  /**
2565
- * Represents the maximum number of results on a page or for an API request call.
2573
+ * The maximum number of results on a page or for an API request call.
2566
2574
  */
2567
2575
  maxResults?: MaxResults;
2576
+ /**
2577
+ * A filter that narrows the list of controls to a specific resource from the Amazon Web Services Control Catalog. To use this parameter, specify the ARN of the Control Catalog resource. You can specify either a control domain, a control objective, or a common control. For information about how to find the ARNs for these resources, see ListDomains , ListObjectives , and ListCommonControls . You can only filter by one Control Catalog resource at a time. Specifying multiple resource ARNs isn’t currently supported. If you want to filter by more than one ARN, we recommend that you run the ListControls operation separately for each ARN. Alternatively, specify UNCATEGORIZED to list controls that aren't mapped to a Control Catalog resource. For example, this operation might return a list of custom controls that don't belong to any control domain or control objective.
2578
+ */
2579
+ controlCatalogId?: ControlCatalogId;
2568
2580
  }
2569
2581
  export interface ListControlsResponse {
2570
2582
  /**
@@ -2572,15 +2584,15 @@ declare namespace AuditManager {
2572
2584
  */
2573
2585
  controlMetadataList?: ControlMetadataList;
2574
2586
  /**
2575
- * The pagination token that's used to fetch the next set of results.
2587
+ * The pagination token that's used to fetch the next set of results.
2576
2588
  */
2577
2589
  nextToken?: Token;
2578
2590
  }
2579
2591
  export interface ListKeywordsForDataSourceRequest {
2580
2592
  /**
2581
- * The control mapping data source that the keywords apply to.
2593
+ * The control mapping data source that the keywords apply to.
2582
2594
  */
2583
- source: SourceType;
2595
+ source: DataSourceType;
2584
2596
  /**
2585
2597
  * The pagination token that's used to fetch the next set of results.
2586
2598
  */
@@ -2592,7 +2604,7 @@ declare namespace AuditManager {
2592
2604
  }
2593
2605
  export interface ListKeywordsForDataSourceResponse {
2594
2606
  /**
2595
- * The list of keywords for the event mapping source.
2607
+ * The list of keywords for the control mapping source.
2596
2608
  */
2597
2609
  keywords?: Keywords;
2598
2610
  /**
@@ -2757,7 +2769,7 @@ declare namespace AuditManager {
2757
2769
  */
2758
2770
  awsAccounts?: AWSAccounts;
2759
2771
  /**
2760
- * The Amazon Web Services services that are included in the scope of the assessment.
2772
+ * The Amazon Web Services services that are included in the scope of the assessment. This API parameter is no longer supported. If you use this parameter to specify one or more Amazon Web Services, Audit Manager ignores this input. Instead, the value for awsServices will show as empty.
2761
2773
  */
2762
2774
  awsServices?: AWSServices;
2763
2775
  }
@@ -2834,7 +2846,7 @@ declare namespace AuditManager {
2834
2846
  }
2835
2847
  export type SourceName = string;
2836
2848
  export type SourceSetUpOption = "System_Controls_Mapping"|"Procedural_Controls_Mapping"|string;
2837
- export type SourceType = "AWS_Cloudtrail"|"AWS_Config"|"AWS_Security_Hub"|"AWS_API_Call"|"MANUAL"|string;
2849
+ export type SourceType = "AWS_Cloudtrail"|"AWS_Config"|"AWS_Security_Hub"|"AWS_API_Call"|"MANUAL"|"Common_Control"|"Core_Control"|string;
2838
2850
  export interface StartAssessmentFrameworkShareRequest {
2839
2851
  /**
2840
2852
  * The unique identifier for the custom framework to be shared.
package/clients/b2bi.d.ts CHANGED
@@ -340,7 +340,7 @@ declare namespace B2bi {
340
340
  /**
341
341
  * Specifies a list of the capabilities associated with this partnership.
342
342
  */
343
- capabilities?: PartnershipCapabilities;
343
+ capabilities: PartnershipCapabilities;
344
344
  /**
345
345
  * Reserved for future use.
346
346
  */
@@ -156,11 +156,11 @@ declare class CodePipeline extends Service {
156
156
  */
157
157
  listActionTypes(callback?: (err: AWSError, data: CodePipeline.Types.ListActionTypesOutput) => void): Request<CodePipeline.Types.ListActionTypesOutput, AWSError>;
158
158
  /**
159
- * Gets a summary of the most recent executions for a pipeline.
159
+ * Gets a summary of the most recent executions for a pipeline. When applying the filter for pipeline executions that have succeeded in the stage, the operation returns all executions in the current pipeline version beginning on February 1, 2024.
160
160
  */
161
161
  listPipelineExecutions(params: CodePipeline.Types.ListPipelineExecutionsInput, callback?: (err: AWSError, data: CodePipeline.Types.ListPipelineExecutionsOutput) => void): Request<CodePipeline.Types.ListPipelineExecutionsOutput, AWSError>;
162
162
  /**
163
- * Gets a summary of the most recent executions for a pipeline.
163
+ * Gets a summary of the most recent executions for a pipeline. When applying the filter for pipeline executions that have succeeded in the stage, the operation returns all executions in the current pipeline version beginning on February 1, 2024.
164
164
  */
165
165
  listPipelineExecutions(callback?: (err: AWSError, data: CodePipeline.Types.ListPipelineExecutionsOutput) => void): Request<CodePipeline.Types.ListPipelineExecutionsOutput, AWSError>;
166
166
  /**
@@ -1552,7 +1552,7 @@ declare namespace CodePipeline {
1552
1552
  */
1553
1553
  filter?: ActionExecutionFilter;
1554
1554
  /**
1555
- * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Action execution history is retained for up to 12 months, based on action execution start times. Default value is 100. Detailed execution history is available for executions run on or after February 21, 2019.
1555
+ * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Action execution history is retained for up to 12 months, based on action execution start times. Default value is 100.
1556
1556
  */
1557
1557
  maxResults?: MaxResults;
1558
1558
  /**
@@ -2310,7 +2310,7 @@ declare namespace CodePipeline {
2310
2310
  revisionValue: Revision;
2311
2311
  }
2312
2312
  export type SourceRevisionOverrideList = SourceRevisionOverride[];
2313
- export type SourceRevisionType = "COMMIT_ID"|"IMAGE_DIGEST"|"S3_OBJECT_VERSION_ID"|string;
2313
+ export type SourceRevisionType = "COMMIT_ID"|"IMAGE_DIGEST"|"S3_OBJECT_VERSION_ID"|"S3_OBJECT_KEY"|string;
2314
2314
  export type StageActionDeclarationList = ActionDeclaration[];
2315
2315
  export type StageBlockerDeclarationList = BlockerDeclaration[];
2316
2316
  export interface StageContext {
package/clients/ecs.d.ts CHANGED
@@ -341,11 +341,11 @@ declare class ECS extends Service {
341
341
  */
342
342
  startTask(callback?: (err: AWSError, data: ECS.Types.StartTaskResponse) => void): Request<ECS.Types.StartTaskResponse, AWSError>;
343
343
  /**
344
- * Stops a running task. Any tags associated with the task will be deleted. When StopTask is called on a task, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM value and a default 30-second timeout, after which the SIGKILL value is sent and the containers are forcibly stopped. If the container handles the SIGTERM value gracefully and exits within 30 seconds from receiving it, no SIGKILL value is sent. The default 30-second timeout can be configured on the Amazon ECS container agent with the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see Amazon ECS Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.
344
+ * Stops a running task. Any tags associated with the task will be deleted. When StopTask is called on a task, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM value and a default 30-second timeout, after which the SIGKILL value is sent and the containers are forcibly stopped. If the container handles the SIGTERM value gracefully and exits within 30 seconds from receiving it, no SIGKILL value is sent. For Windows containers, POSIX signals do not work and runtime stops the container by sending a CTRL_SHUTDOWN_EVENT. For more information, see Unable to react to graceful shutdown of (Windows) container #25982 on GitHub. The default 30-second timeout can be configured on the Amazon ECS container agent with the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see Amazon ECS Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.
345
345
  */
346
346
  stopTask(params: ECS.Types.StopTaskRequest, callback?: (err: AWSError, data: ECS.Types.StopTaskResponse) => void): Request<ECS.Types.StopTaskResponse, AWSError>;
347
347
  /**
348
- * Stops a running task. Any tags associated with the task will be deleted. When StopTask is called on a task, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM value and a default 30-second timeout, after which the SIGKILL value is sent and the containers are forcibly stopped. If the container handles the SIGTERM value gracefully and exits within 30 seconds from receiving it, no SIGKILL value is sent. The default 30-second timeout can be configured on the Amazon ECS container agent with the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see Amazon ECS Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.
348
+ * Stops a running task. Any tags associated with the task will be deleted. When StopTask is called on a task, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM value and a default 30-second timeout, after which the SIGKILL value is sent and the containers are forcibly stopped. If the container handles the SIGTERM value gracefully and exits within 30 seconds from receiving it, no SIGKILL value is sent. For Windows containers, POSIX signals do not work and runtime stops the container by sending a CTRL_SHUTDOWN_EVENT. For more information, see Unable to react to graceful shutdown of (Windows) container #25982 on GitHub. The default 30-second timeout can be configured on the Amazon ECS container agent with the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see Amazon ECS Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.
349
349
  */
350
350
  stopTask(callback?: (err: AWSError, data: ECS.Types.StopTaskResponse) => void): Request<ECS.Types.StopTaskResponse, AWSError>;
351
351
  /**
@@ -720,6 +720,10 @@ declare namespace ECS {
720
720
  * The details of the execute command configuration.
721
721
  */
722
722
  executeCommandConfiguration?: ExecuteCommandConfiguration;
723
+ /**
724
+ * The details of the managed storage configuration.
725
+ */
726
+ managedStorageConfiguration?: ManagedStorageConfiguration;
723
727
  }
724
728
  export type ClusterField = "ATTACHMENTS"|"CONFIGURATIONS"|"SETTINGS"|"STATISTICS"|"TAGS"|string;
725
729
  export type ClusterFieldList = ClusterField[];
@@ -1564,6 +1568,10 @@ declare namespace ECS {
1564
1568
  * The details of the volume that was configuredAtLaunch. You can configure different settings like the size, throughput, volumeType, and ecryption in ServiceManagedEBSVolumeConfiguration. The name of the volume must match the name from the task definition.
1565
1569
  */
1566
1570
  volumeConfigurations?: ServiceVolumeConfigurations;
1571
+ /**
1572
+ * The Fargate ephemeral storage settings for the deployment.
1573
+ */
1574
+ fargateEphemeralStorage?: DeploymentEphemeralStorage;
1567
1575
  }
1568
1576
  export interface DeploymentAlarms {
1569
1577
  /**
@@ -1614,6 +1622,12 @@ declare namespace ECS {
1614
1622
  type: DeploymentControllerType;
1615
1623
  }
1616
1624
  export type DeploymentControllerType = "ECS"|"CODE_DEPLOY"|"EXTERNAL"|string;
1625
+ export interface DeploymentEphemeralStorage {
1626
+ /**
1627
+ * Specify an Key Management Service key ID to encrypt the ephemeral storage for deployment.
1628
+ */
1629
+ kmsKeyId?: String;
1630
+ }
1617
1631
  export type DeploymentRolloutState = "COMPLETED"|"FAILED"|"IN_PROGRESS"|string;
1618
1632
  export type Deployments = Deployment[];
1619
1633
  export interface DeregisterContainerInstanceRequest {
@@ -2656,6 +2670,16 @@ declare namespace ECS {
2656
2670
  export type ManagedScalingStatus = "ENABLED"|"DISABLED"|string;
2657
2671
  export type ManagedScalingStepSize = number;
2658
2672
  export type ManagedScalingTargetCapacity = number;
2673
+ export interface ManagedStorageConfiguration {
2674
+ /**
2675
+ * Specify a Key Management Service key ID to encrypt the managed storage.
2676
+ */
2677
+ kmsKeyId?: String;
2678
+ /**
2679
+ * Specify the Key Management Service key ID for the Fargate ephemeral storage.
2680
+ */
2681
+ fargateEphemeralStorageKmsKeyId?: String;
2682
+ }
2659
2683
  export type ManagedTerminationProtection = "ENABLED"|"DISABLED"|string;
2660
2684
  export interface MountPoint {
2661
2685
  /**
@@ -3001,7 +3025,7 @@ declare namespace ECS {
3001
3025
  */
3002
3026
  ephemeralStorage?: EphemeralStorage;
3003
3027
  /**
3004
- * The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type. When you specify a task definition in a service, this value must match the runtimePlatform value of the service.
3028
+ * The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type.
3005
3029
  */
3006
3030
  runtimePlatform?: RuntimePlatform;
3007
3031
  }
@@ -3050,11 +3074,11 @@ declare namespace ECS {
3050
3074
  }
3051
3075
  export interface ResourceRequirement {
3052
3076
  /**
3053
- * The value for the specified resource type. If the GPU type is used, the value is the number of physical GPUs the Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on. If the InferenceAccelerator type is used, the value matches the deviceName for an InferenceAccelerator specified in a task definition.
3077
+ * The value for the specified resource type. When the type is GPU, the value is the number of physical GPUs the Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on. When the type is InferenceAccelerator, the value matches the deviceName for an InferenceAccelerator specified in a task definition.
3054
3078
  */
3055
3079
  value: String;
3056
3080
  /**
3057
- * The type of resource to assign to a container. The supported values are GPU or InferenceAccelerator.
3081
+ * The type of resource to assign to a container.
3058
3082
  */
3059
3083
  type: ResourceType;
3060
3084
  }
@@ -3896,6 +3920,10 @@ declare namespace ECS {
3896
3920
  * The ephemeral storage settings for the task.
3897
3921
  */
3898
3922
  ephemeralStorage?: EphemeralStorage;
3923
+ /**
3924
+ * The Fargate ephemeral storage settings for the task.
3925
+ */
3926
+ fargateEphemeralStorage?: TaskEphemeralStorage;
3899
3927
  }
3900
3928
  export interface TaskDefinition {
3901
3929
  /**
@@ -4012,6 +4040,16 @@ declare namespace ECS {
4012
4040
  export type TaskDefinitionPlacementConstraintType = "memberOf"|string;
4013
4041
  export type TaskDefinitionPlacementConstraints = TaskDefinitionPlacementConstraint[];
4014
4042
  export type TaskDefinitionStatus = "ACTIVE"|"INACTIVE"|"DELETE_IN_PROGRESS"|string;
4043
+ export interface TaskEphemeralStorage {
4044
+ /**
4045
+ * The total amount, in GiB, of the ephemeral storage to set for the task. The minimum supported value is 20 GiB and the maximum supported value is&#x2028; 200 GiB.
4046
+ */
4047
+ sizeInGiB?: Integer;
4048
+ /**
4049
+ * Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.
4050
+ */
4051
+ kmsKeyId?: String;
4052
+ }
4015
4053
  export type TaskField = "TAGS"|string;
4016
4054
  export type TaskFieldList = TaskField[];
4017
4055
  export type TaskFilesystemType = "ext3"|"ext4"|"xfs"|string;
@@ -4194,6 +4232,10 @@ declare namespace ECS {
4194
4232
  * The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of a key and an optional value. You define both. The following basic restrictions apply to tags: Maximum number of tags per resource - 50 For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8 Maximum value length - 256 Unicode characters in UTF-8 If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
4195
4233
  */
4196
4234
  tags?: Tags;
4235
+ /**
4236
+ * The Fargate ephemeral storage settings for the task set.
4237
+ */
4238
+ fargateEphemeralStorage?: DeploymentEphemeralStorage;
4197
4239
  }
4198
4240
  export type TaskSetField = "TAGS"|string;
4199
4241
  export type TaskSetFieldList = TaskSetField[];
@@ -6009,7 +6009,7 @@ declare namespace SageMaker {
6009
6009
  */
6010
6010
  SecurityConfig?: ModelPackageSecurityConfig;
6011
6011
  /**
6012
- * The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model card associated with the model package, see View the Details of a Model Version.
6012
+ * The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.
6013
6013
  */
6014
6014
  ModelCard?: ModelPackageModelCard;
6015
6015
  }
@@ -9949,7 +9949,7 @@ declare namespace SageMaker {
9949
9949
  */
9950
9950
  SecurityConfig?: ModelPackageSecurityConfig;
9951
9951
  /**
9952
- * The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model card associated with the model package, see View the Details of a Model Version.
9952
+ * The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.
9953
9953
  */
9954
9954
  ModelCard?: ModelPackageModelCard;
9955
9955
  }
@@ -18360,7 +18360,7 @@ declare namespace SageMaker {
18360
18360
  export type ModelPackageGroupSummaryList = ModelPackageGroupSummary[];
18361
18361
  export interface ModelPackageModelCard {
18362
18362
  /**
18363
- * The content of the model card.
18363
+ * The content of the model card. The content must follow the schema described in Model Package Model Card Schema.
18364
18364
  */
18365
18365
  ModelCardContent?: ModelCardContent;
18366
18366
  /**
@@ -20167,6 +20167,10 @@ declare namespace SageMaker {
20167
20167
  * Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.
20168
20168
  */
20169
20169
  RoutingConfig?: ProductionVariantRoutingConfig;
20170
+ /**
20171
+ * Specifies an option from a collection of preconfigured Amazon Machine Image (AMI) images. Each image is configured by Amazon Web Services with a set of software and driver versions. Amazon Web Services optimizes these configurations for different machine learning workloads. By selecting an AMI version, you can ensure that your inference environment is compatible with specific software requirements, such as CUDA driver versions, Linux kernel versions, or Amazon Web Services Neuron driver versions.
20172
+ */
20173
+ InferenceAmiVersion?: ProductionVariantInferenceAmiVersion;
20170
20174
  }
20171
20175
  export type ProductionVariantAcceleratorType = "ml.eia1.medium"|"ml.eia1.large"|"ml.eia1.xlarge"|"ml.eia2.medium"|"ml.eia2.large"|"ml.eia2.xlarge"|string;
20172
20176
  export type ProductionVariantContainerStartupHealthCheckTimeoutInSeconds = number;
@@ -20180,6 +20184,7 @@ declare namespace SageMaker {
20180
20184
  */
20181
20185
  KmsKeyId?: KmsKeyId;
20182
20186
  }
20187
+ export type ProductionVariantInferenceAmiVersion = "al2-ami-sagemaker-inference-gpu-2"|string;
20183
20188
  export type ProductionVariantInstanceType = "ml.t2.medium"|"ml.t2.large"|"ml.t2.xlarge"|"ml.t2.2xlarge"|"ml.m4.xlarge"|"ml.m4.2xlarge"|"ml.m4.4xlarge"|"ml.m4.10xlarge"|"ml.m4.16xlarge"|"ml.m5.large"|"ml.m5.xlarge"|"ml.m5.2xlarge"|"ml.m5.4xlarge"|"ml.m5.12xlarge"|"ml.m5.24xlarge"|"ml.m5d.large"|"ml.m5d.xlarge"|"ml.m5d.2xlarge"|"ml.m5d.4xlarge"|"ml.m5d.12xlarge"|"ml.m5d.24xlarge"|"ml.c4.large"|"ml.c4.xlarge"|"ml.c4.2xlarge"|"ml.c4.4xlarge"|"ml.c4.8xlarge"|"ml.p2.xlarge"|"ml.p2.8xlarge"|"ml.p2.16xlarge"|"ml.p3.2xlarge"|"ml.p3.8xlarge"|"ml.p3.16xlarge"|"ml.c5.large"|"ml.c5.xlarge"|"ml.c5.2xlarge"|"ml.c5.4xlarge"|"ml.c5.9xlarge"|"ml.c5.18xlarge"|"ml.c5d.large"|"ml.c5d.xlarge"|"ml.c5d.2xlarge"|"ml.c5d.4xlarge"|"ml.c5d.9xlarge"|"ml.c5d.18xlarge"|"ml.g4dn.xlarge"|"ml.g4dn.2xlarge"|"ml.g4dn.4xlarge"|"ml.g4dn.8xlarge"|"ml.g4dn.12xlarge"|"ml.g4dn.16xlarge"|"ml.r5.large"|"ml.r5.xlarge"|"ml.r5.2xlarge"|"ml.r5.4xlarge"|"ml.r5.12xlarge"|"ml.r5.24xlarge"|"ml.r5d.large"|"ml.r5d.xlarge"|"ml.r5d.2xlarge"|"ml.r5d.4xlarge"|"ml.r5d.12xlarge"|"ml.r5d.24xlarge"|"ml.inf1.xlarge"|"ml.inf1.2xlarge"|"ml.inf1.6xlarge"|"ml.inf1.24xlarge"|"ml.dl1.24xlarge"|"ml.c6i.large"|"ml.c6i.xlarge"|"ml.c6i.2xlarge"|"ml.c6i.4xlarge"|"ml.c6i.8xlarge"|"ml.c6i.12xlarge"|"ml.c6i.16xlarge"|"ml.c6i.24xlarge"|"ml.c6i.32xlarge"|"ml.g5.xlarge"|"ml.g5.2xlarge"|"ml.g5.4xlarge"|"ml.g5.8xlarge"|"ml.g5.12xlarge"|"ml.g5.16xlarge"|"ml.g5.24xlarge"|"ml.g5.48xlarge"|"ml.g6.xlarge"|"ml.g6.2xlarge"|"ml.g6.4xlarge"|"ml.g6.8xlarge"|"ml.g6.12xlarge"|"ml.g6.16xlarge"|"ml.g6.24xlarge"|"ml.g6.48xlarge"|"ml.p4d.24xlarge"|"ml.c7g.large"|"ml.c7g.xlarge"|"ml.c7g.2xlarge"|"ml.c7g.4xlarge"|"ml.c7g.8xlarge"|"ml.c7g.12xlarge"|"ml.c7g.16xlarge"|"ml.m6g.large"|"ml.m6g.xlarge"|"ml.m6g.2xlarge"|"ml.m6g.4xlarge"|"ml.m6g.8xlarge"|"ml.m6g.12xlarge"|"ml.m6g.16xlarge"|"ml.m6gd.large"|"ml.m6gd.xlarge"|"ml.m6gd.2xlarge"|"ml.m6gd.4xlarge"|"ml.m6gd.8xlarge"|"ml.m6gd.12xlarge"|"ml.m6gd.16xlarge"|"ml.c6g.large"|"ml.c6g.xlarge"|"ml.c6g.2xlarge"|"ml.c6g.4xlarge"|"ml.c6g.8xlarge"|"ml.c6g.12xlarge"|"ml.c6g.16xlarge"|"ml.c6gd.large"|"ml.c6gd.xlarge"|"ml.c6gd.2xlarge"|"ml.c6gd.4xlarge"|"ml.c6gd.8xlarge"|"ml.c6gd.12xlarge"|"ml.c6gd.16xlarge"|"ml.c6gn.large"|"ml.c6gn.xlarge"|"ml.c6gn.2xlarge"|"ml.c6gn.4xlarge"|"ml.c6gn.8xlarge"|"ml.c6gn.12xlarge"|"ml.c6gn.16xlarge"|"ml.r6g.large"|"ml.r6g.xlarge"|"ml.r6g.2xlarge"|"ml.r6g.4xlarge"|"ml.r6g.8xlarge"|"ml.r6g.12xlarge"|"ml.r6g.16xlarge"|"ml.r6gd.large"|"ml.r6gd.xlarge"|"ml.r6gd.2xlarge"|"ml.r6gd.4xlarge"|"ml.r6gd.8xlarge"|"ml.r6gd.12xlarge"|"ml.r6gd.16xlarge"|"ml.p4de.24xlarge"|"ml.trn1.2xlarge"|"ml.trn1.32xlarge"|"ml.trn1n.32xlarge"|"ml.inf2.xlarge"|"ml.inf2.8xlarge"|"ml.inf2.24xlarge"|"ml.inf2.48xlarge"|"ml.p5.48xlarge"|"ml.m7i.large"|"ml.m7i.xlarge"|"ml.m7i.2xlarge"|"ml.m7i.4xlarge"|"ml.m7i.8xlarge"|"ml.m7i.12xlarge"|"ml.m7i.16xlarge"|"ml.m7i.24xlarge"|"ml.m7i.48xlarge"|"ml.c7i.large"|"ml.c7i.xlarge"|"ml.c7i.2xlarge"|"ml.c7i.4xlarge"|"ml.c7i.8xlarge"|"ml.c7i.12xlarge"|"ml.c7i.16xlarge"|"ml.c7i.24xlarge"|"ml.c7i.48xlarge"|"ml.r7i.large"|"ml.r7i.xlarge"|"ml.r7i.2xlarge"|"ml.r7i.4xlarge"|"ml.r7i.8xlarge"|"ml.r7i.12xlarge"|"ml.r7i.16xlarge"|"ml.r7i.24xlarge"|"ml.r7i.48xlarge"|string;
20184
20189
  export type ProductionVariantList = ProductionVariant[];
20185
20190
  export interface ProductionVariantManagedInstanceScaling {
@@ -23807,7 +23812,7 @@ declare namespace SageMaker {
23807
23812
  */
23808
23813
  SourceUri?: ModelPackageSourceUri;
23809
23814
  /**
23810
- * The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model card associated with the model package, see View the Details of a Model Version.
23815
+ * The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.
23811
23816
  */
23812
23817
  ModelCard?: ModelPackageModelCard;
23813
23818
  }