cdk-docker-image-deployment 0.0.28 → 0.0.30

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 (52) hide show
  1. package/.jsii +3 -3
  2. package/lib/destination.js +1 -1
  3. package/lib/docker-image-deployment.js +1 -1
  4. package/lib/source.js +1 -1
  5. package/node_modules/aws-sdk/CHANGELOG.md +21 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/acm-2015-12-08.min.json +46 -2
  8. package/node_modules/aws-sdk/apis/codedeploy-2014-10-06.min.json +7 -1
  9. package/node_modules/aws-sdk/apis/devops-guru-2020-12-01.min.json +139 -127
  10. package/node_modules/aws-sdk/apis/dlm-2018-01-12.min.json +40 -12
  11. package/node_modules/aws-sdk/apis/emr-serverless-2021-07-13.min.json +39 -9
  12. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +404 -78
  13. package/node_modules/aws-sdk/apis/fsx-2018-03-01.paginators.json +5 -0
  14. package/node_modules/aws-sdk/apis/metadata.json +3 -0
  15. package/node_modules/aws-sdk/apis/migrationhuborchestrator-2021-08-28.examples.json +5 -0
  16. package/node_modules/aws-sdk/apis/migrationhuborchestrator-2021-08-28.min.json +1461 -0
  17. package/node_modules/aws-sdk/apis/migrationhuborchestrator-2021-08-28.paginators.json +46 -0
  18. package/node_modules/aws-sdk/apis/migrationhuborchestrator-2021-08-28.waiters2.json +5 -0
  19. package/node_modules/aws-sdk/apis/proton-2020-07-20.min.json +3 -0
  20. package/node_modules/aws-sdk/apis/runtime.sagemaker-2017-05-13.min.json +4 -0
  21. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +903 -777
  22. package/node_modules/aws-sdk/apis/translate-2017-07-01.min.json +119 -41
  23. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +35 -34
  24. package/node_modules/aws-sdk/clients/acm.d.ts +94 -17
  25. package/node_modules/aws-sdk/clients/all.d.ts +1 -0
  26. package/node_modules/aws-sdk/clients/all.js +2 -1
  27. package/node_modules/aws-sdk/clients/codedeploy.d.ts +90 -85
  28. package/node_modules/aws-sdk/clients/devopsguru.d.ts +27 -11
  29. package/node_modules/aws-sdk/clients/dlm.d.ts +40 -8
  30. package/node_modules/aws-sdk/clients/ec2.d.ts +1 -1
  31. package/node_modules/aws-sdk/clients/emrserverless.d.ts +25 -0
  32. package/node_modules/aws-sdk/clients/fsx.d.ts +406 -30
  33. package/node_modules/aws-sdk/clients/migrationhuborchestrator.d.ts +1840 -0
  34. package/node_modules/aws-sdk/clients/migrationhuborchestrator.js +19 -0
  35. package/node_modules/aws-sdk/clients/polly.d.ts +2 -2
  36. package/node_modules/aws-sdk/clients/proton.d.ts +132 -127
  37. package/node_modules/aws-sdk/clients/sagemaker.d.ts +190 -2
  38. package/node_modules/aws-sdk/clients/sagemakerruntime.d.ts +6 -1
  39. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +44 -44
  40. package/node_modules/aws-sdk/clients/ssooidc.d.ts +9 -9
  41. package/node_modules/aws-sdk/clients/translate.d.ts +53 -0
  42. package/node_modules/aws-sdk/clients/workspaces.d.ts +6 -1
  43. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +6 -9
  44. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +64 -23
  45. package/node_modules/aws-sdk/dist/aws-sdk.js +182 -54
  46. package/node_modules/aws-sdk/dist/aws-sdk.min.js +96 -96
  47. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
  48. package/node_modules/aws-sdk/lib/core.js +1 -1
  49. package/node_modules/aws-sdk/lib/event_listeners.js +4 -6
  50. package/node_modules/aws-sdk/lib/model/api.js +0 -1
  51. package/node_modules/aws-sdk/package.json +1 -1
  52. package/package.json +5 -6
@@ -2069,11 +2069,11 @@ declare class SageMaker extends Service {
2069
2069
  */
2070
2070
  updateProject(callback?: (err: AWSError, data: SageMaker.Types.UpdateProjectOutput) => void): Request<SageMaker.Types.UpdateProjectOutput, AWSError>;
2071
2071
  /**
2072
- * Update a model training job to request a new Debugger profiling configuration.
2072
+ * Update a model training job to request a new Debugger profiling configuration or to change warm pool retention length.
2073
2073
  */
2074
2074
  updateTrainingJob(params: SageMaker.Types.UpdateTrainingJobRequest, callback?: (err: AWSError, data: SageMaker.Types.UpdateTrainingJobResponse) => void): Request<SageMaker.Types.UpdateTrainingJobResponse, AWSError>;
2075
2075
  /**
2076
- * Update a model training job to request a new Debugger profiling configuration.
2076
+ * Update a model training job to request a new Debugger profiling configuration or to change warm pool retention length.
2077
2077
  */
2078
2078
  updateTrainingJob(callback?: (err: AWSError, data: SageMaker.Types.UpdateTrainingJobResponse) => void): Request<SageMaker.Types.UpdateTrainingJobResponse, AWSError>;
2079
2079
  /**
@@ -3301,6 +3301,133 @@ declare namespace SageMaker {
3301
3301
  */
3302
3302
  RegisterNewBaseline?: Boolean;
3303
3303
  }
3304
+ export type ClarifyContentTemplate = string;
3305
+ export type ClarifyEnableExplanations = string;
3306
+ export interface ClarifyExplainerConfig {
3307
+ /**
3308
+ * A JMESPath boolean expression used to filter which records to explain. Explanations are activated by default. See EnableExplanations for additional information.
3309
+ */
3310
+ EnableExplanations?: ClarifyEnableExplanations;
3311
+ /**
3312
+ * The inference configuration parameter for the model container.
3313
+ */
3314
+ InferenceConfig?: ClarifyInferenceConfig;
3315
+ /**
3316
+ * The configuration for SHAP analysis.
3317
+ */
3318
+ ShapConfig: ClarifyShapConfig;
3319
+ }
3320
+ export type ClarifyFeatureHeaders = ClarifyHeader[];
3321
+ export type ClarifyFeatureType = "numerical"|"categorical"|"text"|string;
3322
+ export type ClarifyFeatureTypes = ClarifyFeatureType[];
3323
+ export type ClarifyFeaturesAttribute = string;
3324
+ export type ClarifyHeader = string;
3325
+ export interface ClarifyInferenceConfig {
3326
+ /**
3327
+ * Provides the JMESPath expression to extract the features from a model container input in JSON Lines format. For example, if FeaturesAttribute is the JMESPath expression 'myfeatures', it extracts a list of features [1,2,3] from request data '{"myfeatures":[1,2,3}'.
3328
+ */
3329
+ FeaturesAttribute?: ClarifyFeaturesAttribute;
3330
+ /**
3331
+ * A template string used to format a JSON record into an acceptable model container input. For example, a ContentTemplate string '{"myfeatures":$features}' will format a list of features [1,2,3] into the record string '{"myfeatures":[1,2,3]}'. Required only when the model container input is in JSON Lines format.
3332
+ */
3333
+ ContentTemplate?: ClarifyContentTemplate;
3334
+ /**
3335
+ * The maximum number of records in a request that the model container can process when querying the model container for the predictions of a synthetic dataset. A record is a unit of input data that inference can be made on, for example, a single line in CSV data. If MaxRecordCount is 1, the model container expects one record per request. A value of 2 or greater means that the model expects batch requests, which can reduce overhead and speed up the inferencing process. If this parameter is not provided, the explainer will tune the record count per request according to the model container's capacity at runtime.
3336
+ */
3337
+ MaxRecordCount?: ClarifyMaxRecordCount;
3338
+ /**
3339
+ * The maximum payload size (MB) allowed of a request from the explainer to the model container. Defaults to 6 MB.
3340
+ */
3341
+ MaxPayloadInMB?: ClarifyMaxPayloadInMB;
3342
+ /**
3343
+ * A zero-based index used to extract a probability value (score) or list from model container output in CSV format. If this value is not provided, the entire model container output will be treated as a probability value (score) or list. Example for a single class model: If the model container output consists of a string-formatted prediction label followed by its probability: '1,0.6', set ProbabilityIndex to 1 to select the probability value 0.6. Example for a multiclass model: If the model container output consists of a string-formatted prediction label followed by its probability: '"[\'cat\',\'dog\',\'fish\']","[0.1,0.6,0.3]"', set ProbabilityIndex to 1 to select the probability values [0.1,0.6,0.3].
3344
+ */
3345
+ ProbabilityIndex?: ClarifyProbabilityIndex;
3346
+ /**
3347
+ * A zero-based index used to extract a label header or list of label headers from model container output in CSV format. Example for a multiclass model: If the model container output consists of label headers followed by probabilities: '"[\'cat\',\'dog\',\'fish\']","[0.1,0.6,0.3]"', set LabelIndex to 0 to select the label headers ['cat','dog','fish'].
3348
+ */
3349
+ LabelIndex?: ClarifyLabelIndex;
3350
+ /**
3351
+ * A JMESPath expression used to extract the probability (or score) from the model container output if the model container is in JSON Lines format. Example: If the model container output of a single request is '{"predicted_label":1,"probability":0.6}', then set ProbabilityAttribute to 'probability'.
3352
+ */
3353
+ ProbabilityAttribute?: ClarifyProbabilityAttribute;
3354
+ /**
3355
+ * A JMESPath expression used to locate the list of label headers in the model container output. Example: If the model container output of a batch request is '{"labels":["cat","dog","fish"],"probability":[0.6,0.3,0.1]}', then set LabelAttribute to 'labels' to extract the list of label headers ["cat","dog","fish"]
3356
+ */
3357
+ LabelAttribute?: ClarifyLabelAttribute;
3358
+ /**
3359
+ * For multiclass classification problems, the label headers are the names of the classes. Otherwise, the label header is the name of the predicted label. These are used to help readability for the output of the InvokeEndpoint API. See the response section under Invoke the endpoint in the Developer Guide for more information. If there are no label headers in the model container output, provide them manually using this parameter.
3360
+ */
3361
+ LabelHeaders?: ClarifyLabelHeaders;
3362
+ /**
3363
+ * The names of the features. If provided, these are included in the endpoint response payload to help readability of the InvokeEndpoint output. See the Response section under Invoke the endpoint in the Developer Guide for more information.
3364
+ */
3365
+ FeatureHeaders?: ClarifyFeatureHeaders;
3366
+ /**
3367
+ * A list of data types of the features (optional). Applicable only to NLP explainability. If provided, FeatureTypes must have at least one 'text' string (for example, ['text']). If FeatureTypes is not provided, the explainer infers the feature types based on the baseline data. The feature types are included in the endpoint response payload. For additional information see the response section under Invoke the endpoint in the Developer Guide for more information.
3368
+ */
3369
+ FeatureTypes?: ClarifyFeatureTypes;
3370
+ }
3371
+ export type ClarifyLabelAttribute = string;
3372
+ export type ClarifyLabelHeaders = ClarifyHeader[];
3373
+ export type ClarifyLabelIndex = number;
3374
+ export type ClarifyMaxPayloadInMB = number;
3375
+ export type ClarifyMaxRecordCount = number;
3376
+ export type ClarifyMimeType = string;
3377
+ export type ClarifyProbabilityAttribute = string;
3378
+ export type ClarifyProbabilityIndex = number;
3379
+ export type ClarifyShapBaseline = string;
3380
+ export interface ClarifyShapBaselineConfig {
3381
+ /**
3382
+ * The MIME type of the baseline data. Choose from 'text/csv' or 'application/jsonlines'. Defaults to 'text/csv'.
3383
+ */
3384
+ MimeType?: ClarifyMimeType;
3385
+ /**
3386
+ * The inline SHAP baseline data in string format. ShapBaseline can have one or multiple records to be used as the baseline dataset. The format of the SHAP baseline file should be the same format as the training dataset. For example, if the training dataset is in CSV format and each record contains four features, and all features are numerical, then the format of the baseline data should also share these characteristics. For natural language processing (NLP) of text columns, the baseline value should be the value used to replace the unit of text specified by the Granularity of the TextConfig parameter. The size limit for ShapBasline is 4 KB. Use the ShapBaselineUri parameter if you want to provide more than 4 KB of baseline data.
3387
+ */
3388
+ ShapBaseline?: ClarifyShapBaseline;
3389
+ /**
3390
+ * The uniform resource identifier (URI) of the S3 bucket where the SHAP baseline file is stored. The format of the SHAP baseline file should be the same format as the format of the training dataset. For example, if the training dataset is in CSV format, and each record in the training dataset has four features, and all features are numerical, then the baseline file should also have this same format. Each record should contain only the features. If you are using a virtual private cloud (VPC), the ShapBaselineUri should be accessible to the VPC. For more information about setting up endpoints with Amazon Virtual Private Cloud, see Give SageMaker access to Resources in your Amazon Virtual Private Cloud.
3391
+ */
3392
+ ShapBaselineUri?: Url;
3393
+ }
3394
+ export interface ClarifyShapConfig {
3395
+ /**
3396
+ * The configuration for the SHAP baseline of the Kernal SHAP algorithm.
3397
+ */
3398
+ ShapBaselineConfig: ClarifyShapBaselineConfig;
3399
+ /**
3400
+ * The number of samples to be used for analysis by the Kernal SHAP algorithm. The number of samples determines the size of the synthetic dataset, which has an impact on latency of explainability requests. For more information, see the Synthetic data of Configure and create an endpoint.
3401
+ */
3402
+ NumberOfSamples?: ClarifyShapNumberOfSamples;
3403
+ /**
3404
+ * A Boolean toggle to indicate if you want to use the logit function (true) or log-odds units (false) for model predictions. Defaults to false.
3405
+ */
3406
+ UseLogit?: ClarifyShapUseLogit;
3407
+ /**
3408
+ * The starting value used to initialize the random number generator in the explainer. Provide a value for this parameter to obtain a deterministic SHAP result.
3409
+ */
3410
+ Seed?: ClarifyShapSeed;
3411
+ /**
3412
+ * A parameter that indicates if text features are treated as text and explanations are provided for individual units of text. Required for natural language processing (NLP) explainability only.
3413
+ */
3414
+ TextConfig?: ClarifyTextConfig;
3415
+ }
3416
+ export type ClarifyShapNumberOfSamples = number;
3417
+ export type ClarifyShapSeed = number;
3418
+ export type ClarifyShapUseLogit = boolean;
3419
+ export interface ClarifyTextConfig {
3420
+ /**
3421
+ * Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language. For a mix of multiple languages, use code 'xx'.
3422
+ */
3423
+ Language: ClarifyTextLanguage;
3424
+ /**
3425
+ * The unit of granularity for the analysis of text features. For example, if the unit is 'token', then each token (like a word in English) of the text is treated as a feature. SHAP values are computed for each unit/feature.
3426
+ */
3427
+ Granularity: ClarifyTextGranularity;
3428
+ }
3429
+ export type ClarifyTextGranularity = "token"|"sentence"|"paragraph"|string;
3430
+ export type ClarifyTextLanguage = "af"|"sq"|"ar"|"hy"|"eu"|"bn"|"bg"|"ca"|"zh"|"hr"|"cs"|"da"|"nl"|"en"|"et"|"fi"|"fr"|"de"|"el"|"gu"|"he"|"hi"|"hu"|"is"|"id"|"ga"|"it"|"kn"|"ky"|"lv"|"lt"|"lb"|"mk"|"ml"|"mr"|"ne"|"nb"|"fa"|"pl"|"pt"|"ro"|"ru"|"sa"|"sr"|"tn"|"si"|"sk"|"sl"|"es"|"sv"|"tl"|"ta"|"tt"|"te"|"tr"|"uk"|"ur"|"yo"|"lij"|"xx"|string;
3304
3431
  export type ClientId = string;
3305
3432
  export type ClientSecret = string;
3306
3433
  export type ClientToken = string;
@@ -4064,6 +4191,10 @@ declare namespace SageMaker {
4064
4191
  * Specifies configuration for how an endpoint performs asynchronous inference. This is a required field in order for your Endpoint to be invoked using InvokeEndpointAsync.
4065
4192
  */
4066
4193
  AsyncInferenceConfig?: AsyncInferenceConfig;
4194
+ /**
4195
+ * A member of CreateEndpointConfig that enables explainers.
4196
+ */
4197
+ ExplainerConfig?: ExplainerConfig;
4067
4198
  }
4068
4199
  export interface CreateEndpointConfigOutput {
4069
4200
  /**
@@ -6770,6 +6901,10 @@ declare namespace SageMaker {
6770
6901
  * Returns the description of an endpoint configuration created using the CreateEndpointConfig API.
6771
6902
  */
6772
6903
  AsyncInferenceConfig?: AsyncInferenceConfig;
6904
+ /**
6905
+ * The configuration parameters for an explainer.
6906
+ */
6907
+ ExplainerConfig?: ExplainerConfig;
6773
6908
  }
6774
6909
  export interface DescribeEndpointInput {
6775
6910
  /**
@@ -6823,6 +6958,10 @@ declare namespace SageMaker {
6823
6958
  * Returns the summary of an in-progress deployment. This field is only returned when the endpoint is creating or updating with a new endpoint configuration.
6824
6959
  */
6825
6960
  PendingDeploymentSummary?: PendingDeploymentSummary;
6961
+ /**
6962
+ * The configuration parameters for an explainer.
6963
+ */
6964
+ ExplainerConfig?: ExplainerConfig;
6826
6965
  }
6827
6966
  export interface DescribeExperimentRequest {
6828
6967
  /**
@@ -8327,6 +8466,10 @@ declare namespace SageMaker {
8327
8466
  * The environment variables to set in the Docker container.
8328
8467
  */
8329
8468
  Environment?: TrainingEnvironmentMap;
8469
+ /**
8470
+ * The status of the warm pool associated with the training job.
8471
+ */
8472
+ WarmPoolStatus?: WarmPoolStatus;
8330
8473
  }
8331
8474
  export interface DescribeTransformJobRequest {
8332
8475
  /**
@@ -9483,6 +9626,12 @@ declare namespace SageMaker {
9483
9626
  Report?: MetricsSource;
9484
9627
  }
9485
9628
  export type ExplainabilityLocation = string;
9629
+ export interface ExplainerConfig {
9630
+ /**
9631
+ * A member of ExplainerConfig that contains configuration parameters for the SageMaker Clarify explainer.
9632
+ */
9633
+ ClarifyExplainerConfig?: ClarifyExplainerConfig;
9634
+ }
9486
9635
  export interface FailStepMetadata {
9487
9636
  /**
9488
9637
  * A message that you define and then is processed and rendered by the Fail step when the error occurs.
@@ -10675,6 +10824,7 @@ declare namespace SageMaker {
10675
10824
  */
10676
10825
  LifecycleConfigArns?: LifecycleConfigArns;
10677
10826
  }
10827
+ export type KeepAlivePeriodInSeconds = number;
10678
10828
  export type KernelDisplayName = string;
10679
10829
  export interface KernelGatewayAppSettings {
10680
10830
  /**
@@ -13284,6 +13434,10 @@ declare namespace SageMaker {
13284
13434
  * The sort order for results. The default is Ascending.
13285
13435
  */
13286
13436
  SortOrder?: SortOrder;
13437
+ /**
13438
+ * A filter that retrieves only training jobs with a specific warm pool status.
13439
+ */
13440
+ WarmPoolStatusEquals?: WarmPoolResourceStatus;
13287
13441
  }
13288
13442
  export interface ListTrainingJobsResponse {
13289
13443
  /**
@@ -16329,6 +16483,16 @@ declare namespace SageMaker {
16329
16483
  * The configuration of a heterogeneous cluster in JSON format.
16330
16484
  */
16331
16485
  InstanceGroups?: InstanceGroups;
16486
+ /**
16487
+ * The duration of time in seconds to retain configured resources in a warm pool for subsequent training jobs.
16488
+ */
16489
+ KeepAlivePeriodInSeconds?: KeepAlivePeriodInSeconds;
16490
+ }
16491
+ export interface ResourceConfigForUpdate {
16492
+ /**
16493
+ * The KeepAlivePeriodInSeconds value specified in the ResourceConfig to update.
16494
+ */
16495
+ KeepAlivePeriodInSeconds: KeepAlivePeriodInSeconds;
16332
16496
  }
16333
16497
  export type ResourceId = string;
16334
16498
  export interface ResourceLimits {
@@ -16343,6 +16507,7 @@ declare namespace SageMaker {
16343
16507
  }
16344
16508
  export type ResourcePolicyString = string;
16345
16509
  export type ResourcePropertyName = string;
16510
+ export type ResourceRetainedBillableTimeInSeconds = number;
16346
16511
  export interface ResourceSpec {
16347
16512
  /**
16348
16513
  * The ARN of the SageMaker image that the image version belongs to.
@@ -17280,6 +17445,10 @@ declare namespace SageMaker {
17280
17445
  * The status of the training job.
17281
17446
  */
17282
17447
  TrainingJobStatus: TrainingJobStatus;
17448
+ /**
17449
+ * The status of the warm pool associated with the training job.
17450
+ */
17451
+ WarmPoolStatus?: WarmPoolStatus;
17283
17452
  }
17284
17453
  export interface TrainingSpecification {
17285
17454
  /**
@@ -18410,6 +18579,10 @@ declare namespace SageMaker {
18410
18579
  * Configuration information for Debugger rules for profiling system and framework metrics.
18411
18580
  */
18412
18581
  ProfilerRuleConfigurations?: ProfilerRuleConfigurations;
18582
+ /**
18583
+ * The training job ResourceConfig to update warm pool retention length.
18584
+ */
18585
+ ResourceConfig?: ResourceConfigForUpdate;
18413
18586
  }
18414
18587
  export interface UpdateTrainingJobResponse {
18415
18588
  /**
@@ -18677,6 +18850,21 @@ declare namespace SageMaker {
18677
18850
  export type VpcId = string;
18678
18851
  export type VpcSecurityGroupIds = SecurityGroupId[];
18679
18852
  export type WaitIntervalInSeconds = number;
18853
+ export type WarmPoolResourceStatus = "Available"|"Terminated"|"Reused"|"InUse"|string;
18854
+ export interface WarmPoolStatus {
18855
+ /**
18856
+ * The status of the warm pool. InUse: The warm pool is in use for the training job. Available: The warm pool is available to reuse for a matching training job. Reused: The warm pool moved to a matching training job for reuse. Terminated: The warm pool is no longer available. Warm pools are unavailable if they are terminated by a user, terminated for a patch update, or terminated for exceeding the specified KeepAlivePeriodInSeconds.
18857
+ */
18858
+ Status: WarmPoolResourceStatus;
18859
+ /**
18860
+ * The billable time in seconds used by the warm pool. Billable time refers to the absolute wall-clock time. Multiply ResourceRetainedBillableTimeInSeconds by the number of instances (InstanceCount) in your training cluster to get the total compute time SageMaker bills you if you run warm pool training. The formula is as follows: ResourceRetainedBillableTimeInSeconds * InstanceCount.
18861
+ */
18862
+ ResourceRetainedBillableTimeInSeconds?: ResourceRetainedBillableTimeInSeconds;
18863
+ /**
18864
+ * The name of the matching training job that reused the warm pool.
18865
+ */
18866
+ ReusedByJob?: TrainingJobName;
18867
+ }
18680
18868
  export interface Workforce {
18681
18869
  /**
18682
18870
  * The name of the private workforce.
@@ -31,6 +31,7 @@ declare class SageMakerRuntime extends Service {
31
31
  declare namespace SageMakerRuntime {
32
32
  export type BodyBlob = Buffer|Uint8Array|Blob|string;
33
33
  export type CustomAttributesHeader = string;
34
+ export type EnableExplanationsHeader = string;
34
35
  export type EndpointName = string;
35
36
  export type Header = string;
36
37
  export type InferenceId = string;
@@ -112,10 +113,14 @@ declare namespace SageMakerRuntime {
112
113
  * If you provide a value, it is added to the captured data when you enable data capture on the endpoint. For information about data capture, see Capture Data.
113
114
  */
114
115
  InferenceId?: InferenceId;
116
+ /**
117
+ * An optional JMESPath expression used to override the EnableExplanations parameter of the ClarifyExplainerConfig API. See the EnableExplanations section in the developer guide for more information.
118
+ */
119
+ EnableExplanations?: EnableExplanationsHeader;
115
120
  }
116
121
  export interface InvokeEndpointOutput {
117
122
  /**
118
- * Includes the inference provided by the model. For information about the format of the response body, see Common Data Formats-Inference.
123
+ * Includes the inference provided by the model. For information about the format of the response body, see Common Data Formats-Inference. If the explainer is activated, the body includes the explanations provided by the model. For more information, see the Response section under Invoke the Endpoint in the Developer Guide.
119
124
  */
120
125
  Body: BodyBlob;
121
126
  /**