diff --git a/.changes/1.34.42.json b/.changes/1.34.42.json new file mode 100644 index 0000000000..838287835d --- /dev/null +++ b/.changes/1.34.42.json @@ -0,0 +1,17 @@ +[ + { + "category": "``controltower``", + "description": "Adds support for new Baseline and EnabledBaseline APIs for automating multi-account governance.", + "type": "api-change" + }, + { + "category": "``lookoutequipment``", + "description": "This feature allows customers to see pointwise model diagnostics results for their models.", + "type": "api-change" + }, + { + "category": "``qbusiness``", + "description": "This release adds the metadata-boosting feature, which allows customers to easily fine-tune the underlying ranking of retrieved RAG passages in order to optimize Q&A answer relevance. It also adds new feedback reasons for the PutFeedback API.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d278846f42..c5c0431253 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.34.42 +======= + +* api-change:``controltower``: Adds support for new Baseline and EnabledBaseline APIs for automating multi-account governance. +* api-change:``lookoutequipment``: This feature allows customers to see pointwise model diagnostics results for their models. +* api-change:``qbusiness``: This release adds the metadata-boosting feature, which allows customers to easily fine-tune the underlying ranking of retrieved RAG passages in order to optimize Q&A answer relevance. It also adds new feedback reasons for the PutFeedback API. + + 1.34.41 ======= diff --git a/botocore/__init__.py b/botocore/__init__.py index 90b0b5369a..b2f7244d30 100644 --- a/botocore/__init__.py +++ b/botocore/__init__.py @@ -16,7 +16,7 @@ import os import re -__version__ = '1.34.41' +__version__ = '1.34.42' class NullHandler(logging.Handler): diff --git a/botocore/data/controltower/2018-05-10/paginators-1.json b/botocore/data/controltower/2018-05-10/paginators-1.json index 24f2f2bdf5..58e933d3ce 100644 --- a/botocore/data/controltower/2018-05-10/paginators-1.json +++ b/botocore/data/controltower/2018-05-10/paginators-1.json @@ -11,6 +11,18 @@ "output_token": "nextToken", "limit_key": "maxResults", "result_key": "landingZones" + }, + "ListBaselines": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "baselines" + }, + "ListEnabledBaselines": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "enabledBaselines" } } } diff --git a/botocore/data/controltower/2018-05-10/service-2.json b/botocore/data/controltower/2018-05-10/service-2.json index 1972b4fcbf..bd8367787d 100644 --- a/botocore/data/controltower/2018-05-10/service-2.json +++ b/botocore/data/controltower/2018-05-10/service-2.json @@ -50,6 +50,27 @@ "documentation":"

Decommissions a landing zone. This API call starts an asynchronous operation that deletes Amazon Web Services Control Tower resources deployed in accounts managed by Amazon Web Services Control Tower.

", "idempotent":true }, + "DisableBaseline":{ + "name":"DisableBaseline", + "http":{ + "method":"POST", + "requestUri":"/disable-baseline", + "responseCode":200 + }, + "input":{"shape":"DisableBaselineInput"}, + "output":{"shape":"DisableBaselineOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

Disable an EnabledBaseline resource on the specified Target. This API starts an asynchronous operation to remove all resources deployed as part of the baseline enablement. The resource will vary depending on the enabled baseline.

", + "idempotent":true + }, "DisableControl":{ "name":"DisableControl", "http":{ @@ -68,7 +89,27 @@ {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"} ], - "documentation":"

This API call turns off a control. It starts an asynchronous operation that deletes Amazon Web Services resources on the specified organizational unit and the accounts it contains. The resources will vary according to the control that you specify. For usage examples, see the Amazon Web Services Control Tower User Guide .

" + "documentation":"

This API call turns off a control. It starts an asynchronous operation that deletes AWS resources on the specified organizational unit and the accounts it contains. The resources will vary according to the control that you specify. For usage examples, see the Amazon Web Services Control Tower User Guide .

" + }, + "EnableBaseline":{ + "name":"EnableBaseline", + "http":{ + "method":"POST", + "requestUri":"/enable-baseline", + "responseCode":200 + }, + "input":{"shape":"EnableBaselineInput"}, + "output":{"shape":"EnableBaselineOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

Enable (apply) a Baseline to a Target. This API starts an asynchronous operation to deploy resources specified by the Baseline to the specified Target.

" }, "EnableControl":{ "name":"EnableControl", @@ -90,6 +131,42 @@ ], "documentation":"

This API call activates a control. It starts an asynchronous operation that creates Amazon Web Services resources on the specified organizational unit and the accounts it contains. The resources created will vary according to the control that you specify. For usage examples, see the Amazon Web Services Control Tower User Guide .

" }, + "GetBaseline":{ + "name":"GetBaseline", + "http":{ + "method":"POST", + "requestUri":"/get-baseline", + "responseCode":200 + }, + "input":{"shape":"GetBaselineInput"}, + "output":{"shape":"GetBaselineOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

Retrieve details about an existing Baseline resource by specifying its identifier.

" + }, + "GetBaselineOperation":{ + "name":"GetBaselineOperation", + "http":{ + "method":"POST", + "requestUri":"/get-baseline-operation", + "responseCode":200 + }, + "input":{"shape":"GetBaselineOperationInput"}, + "output":{"shape":"GetBaselineOperationOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

Returns the details of an asynchronous baseline operation, as initiated by any of these APIs: EnableBaseline, DisableBaseline, UpdateEnabledBaseline, ResetEnabledBaseline. A status message is displayed in case of operation failure.

" + }, "GetControlOperation":{ "name":"GetControlOperation", "http":{ @@ -108,6 +185,24 @@ ], "documentation":"

Returns the status of a particular EnableControl or DisableControl operation. Displays a message in case of error. Details for an operation are available for 90 days. For usage examples, see the Amazon Web Services Control Tower User Guide .

" }, + "GetEnabledBaseline":{ + "name":"GetEnabledBaseline", + "http":{ + "method":"POST", + "requestUri":"/get-enabled-baseline", + "responseCode":200 + }, + "input":{"shape":"GetEnabledBaselineInput"}, + "output":{"shape":"GetEnabledBaselineOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

Retrieve details of an EnabledBaseline resource by specifying its identifier.

" + }, "GetEnabledControl":{ "name":"GetEnabledControl", "http":{ @@ -162,6 +257,40 @@ ], "documentation":"

Returns the status of the specified landing zone operation. Details for an operation are available for 60 days.

" }, + "ListBaselines":{ + "name":"ListBaselines", + "http":{ + "method":"POST", + "requestUri":"/list-baselines", + "responseCode":200 + }, + "input":{"shape":"ListBaselinesInput"}, + "output":{"shape":"ListBaselinesOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Returns a summary list of all available baselines.

" + }, + "ListEnabledBaselines":{ + "name":"ListEnabledBaselines", + "http":{ + "method":"POST", + "requestUri":"/list-enabled-baselines", + "responseCode":200 + }, + "input":{"shape":"ListEnabledBaselinesInput"}, + "output":{"shape":"ListEnabledBaselinesOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

Returns a list of summaries describing EnabledBaseline resources. You can filter the list by the corresponding Baseline or Target of the EnabledBaseline resources.

" + }, "ListEnabledControls":{ "name":"ListEnabledControls", "http":{ @@ -213,6 +342,26 @@ ], "documentation":"

Returns a list of tags associated with the resource. For usage examples, see the Amazon Web Services Control Tower User Guide .

" }, + "ResetEnabledBaseline":{ + "name":"ResetEnabledBaseline", + "http":{ + "method":"POST", + "requestUri":"/reset-enabled-baseline", + "responseCode":200 + }, + "input":{"shape":"ResetEnabledBaselineInput"}, + "output":{"shape":"ResetEnabledBaselineOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

Re-enables an EnabledBaseline resource. For example, this API can re-apply the existing Baseline after a new member account is moved to the target OU.

" + }, "ResetLandingZone":{ "name":"ResetLandingZone", "http":{ @@ -264,6 +413,26 @@ ], "documentation":"

Removes tags from a resource. For usage examples, see the Amazon Web Services Control Tower User Guide .

" }, + "UpdateEnabledBaseline":{ + "name":"UpdateEnabledBaseline", + "http":{ + "method":"POST", + "requestUri":"/update-enabled-baseline", + "responseCode":200 + }, + "input":{"shape":"UpdateEnabledBaselineInput"}, + "output":{"shape":"UpdateEnabledBaselineOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"

Updates an EnabledBaseline resource's applied parameters or version.

" + }, "UpdateEnabledControl":{ "name":"UpdateEnabledControl", "http":{ @@ -324,6 +493,89 @@ "min":20, "pattern":"^arn:aws[0-9a-zA-Z_\\-:\\/]+$" }, + "BaselineArn":{ + "type":"string", + "pattern":"^arn:[a-z-]+:controltower:[a-z0-9-]*:[0-9]{0,12}:baseline/[A-Z0-9]{16}$" + }, + "BaselineOperation":{ + "type":"structure", + "members":{ + "endTime":{ + "shape":"Timestamp", + "documentation":"

The end time of the operation (if applicable), in ISO 8601 format.

" + }, + "operationIdentifier":{ + "shape":"OperationIdentifier", + "documentation":"

The identifier of the specified operation.

" + }, + "operationType":{ + "shape":"BaselineOperationType", + "documentation":"

An enumerated type (enum) with possible values of ENABLE_BASELINE, DISABLE_BASELINE, UPDATE_ENABLED_BASELINE, or RESET_ENABLED_BASELINE.

" + }, + "startTime":{ + "shape":"Timestamp", + "documentation":"

The start time of the operation, in ISO 8601 format.

" + }, + "status":{ + "shape":"BaselineOperationStatus", + "documentation":"

An enumerated type (enum) with possible values of SUCCEEDED, FAILED, or IN_PROGRESS.

" + }, + "statusMessage":{ + "shape":"String", + "documentation":"

A status message that gives more information about the operation's status, if applicable.

" + } + }, + "documentation":"

An object of shape BaselineOperation, returning details about the specified Baseline operation ID.

" + }, + "BaselineOperationStatus":{ + "type":"string", + "enum":[ + "SUCCEEDED", + "FAILED", + "IN_PROGRESS" + ] + }, + "BaselineOperationType":{ + "type":"string", + "enum":[ + "ENABLE_BASELINE", + "DISABLE_BASELINE", + "UPDATE_ENABLED_BASELINE", + "RESET_ENABLED_BASELINE" + ] + }, + "BaselineSummary":{ + "type":"structure", + "required":[ + "arn", + "name" + ], + "members":{ + "arn":{ + "shape":"String", + "documentation":"

The full ARN of a Baseline.

" + }, + "description":{ + "shape":"String", + "documentation":"

A summary description of a Baseline.

" + }, + "name":{ + "shape":"String", + "documentation":"

The human-readable name of a Baseline.

" + } + }, + "documentation":"

Returns a summary of information about a Baseline object.

" + }, + "BaselineVersion":{ + "type":"string", + "max":10, + "min":1, + "pattern":"^\\d+(?:\\.\\d+){0,2}$" + }, + "Baselines":{ + "type":"list", + "member":{"shape":"BaselineSummary"} + }, "ConflictException":{ "type":"structure", "required":["message"], @@ -394,7 +646,7 @@ "members":{ "manifest":{ "shape":"Manifest", - "documentation":"

The manifest JSON file is a text file that describes your Amazon Web Services resources. For examples, review Launch your landing zone.

" + "documentation":"

The manifest.yaml file is a text file that describes your Amazon Web Services resources. For examples, review The manifest file.

" }, "tags":{ "shape":"TagMap", @@ -443,6 +695,26 @@ } } }, + "DisableBaselineInput":{ + "type":"structure", + "required":["enabledBaselineIdentifier"], + "members":{ + "enabledBaselineIdentifier":{ + "shape":"Arn", + "documentation":"

Identifier of the EnabledBaseline resource to be deactivated, in ARN format.

" + } + } + }, + "DisableBaselineOutput":{ + "type":"structure", + "required":["operationIdentifier"], + "members":{ + "operationIdentifier":{ + "shape":"OperationIdentifier", + "documentation":"

The ID (in UUID format) of the asynchronous DisableBaseline operation. This operationIdentifier is used to track status through calls to the GetBaselineOperation API.

" + } + } + }, "DisableControlInput":{ "type":"structure", "required":[ @@ -452,7 +724,7 @@ "members":{ "controlIdentifier":{ "shape":"ControlIdentifier", - "documentation":"

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the landing zone Region deny control. For information on how to find the controlIdentifier, see the overview page.

" + "documentation":"

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny control. For information on how to find the controlIdentifier, see the overview page.

" }, "targetIdentifier":{ "shape":"TargetIdentifier", @@ -495,6 +767,53 @@ }, "documentation":"

The drift summary of the enabled control.

Amazon Web Services Control Tower expects the enabled control configuration to include all supported and governed Regions. If the enabled control differs from the expected configuration, it is defined to be in a state of drift. You can repair this drift by resetting the enabled control.

" }, + "EnableBaselineInput":{ + "type":"structure", + "required":[ + "baselineIdentifier", + "baselineVersion", + "targetIdentifier" + ], + "members":{ + "baselineIdentifier":{ + "shape":"Arn", + "documentation":"

The ARN of the baseline to be enabled.

" + }, + "baselineVersion":{ + "shape":"BaselineVersion", + "documentation":"

The specific version to be enabled of the specified baseline.

" + }, + "parameters":{ + "shape":"EnabledBaselineParameters", + "documentation":"

A list of key-value objects that specify enablement parameters, where key is a string and value is a document of any type.

" + }, + "tags":{ + "shape":"TagMap", + "documentation":"

Tags associated with input to EnableBaseline.

" + }, + "targetIdentifier":{ + "shape":"Arn", + "documentation":"

The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.

" + } + } + }, + "EnableBaselineOutput":{ + "type":"structure", + "required":[ + "arn", + "operationIdentifier" + ], + "members":{ + "arn":{ + "shape":"Arn", + "documentation":"

The ARN of the EnabledBaseline resource.

" + }, + "operationIdentifier":{ + "shape":"OperationIdentifier", + "documentation":"

The ID (in UUID format) of the asynchronous EnableBaseline operation. This operationIdentifier is used to track status through calls to the GetBaselineOperation API.

" + } + } + }, "EnableControlInput":{ "type":"structure", "required":[ @@ -504,11 +823,11 @@ "members":{ "controlIdentifier":{ "shape":"ControlIdentifier", - "documentation":"

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the landing zone Region deny control. For information on how to find the controlIdentifier, see the overview page.

" + "documentation":"

The ARN of the control. Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny control. For information on how to find the controlIdentifier, see the overview page.

" }, "parameters":{ "shape":"EnabledControlParameters", - "documentation":"

An array of EnabledControlParameter objects

" + "documentation":"

A list of input parameter values, which are specified to configure the control when you enable it.

" }, "tags":{ "shape":"TagMap", @@ -534,6 +853,148 @@ } } }, + "EnabledBaselineBaselineIdentifiers":{ + "type":"list", + "member":{"shape":"Arn"}, + "max":5, + "min":1 + }, + "EnabledBaselineDetails":{ + "type":"structure", + "required":[ + "arn", + "baselineIdentifier", + "statusSummary", + "targetIdentifier" + ], + "members":{ + "arn":{ + "shape":"Arn", + "documentation":"

The ARN of the EnabledBaseline resource.

" + }, + "baselineIdentifier":{ + "shape":"String", + "documentation":"

The specific Baseline enabled as part of the EnabledBaseline resource.

" + }, + "baselineVersion":{ + "shape":"String", + "documentation":"

The enabled version of the Baseline.

" + }, + "parameters":{ + "shape":"EnabledBaselineParameterSummaries", + "documentation":"

Shows the parameters that are applied when enabling this Baseline.

" + }, + "statusSummary":{"shape":"EnablementStatusSummary"}, + "targetIdentifier":{ + "shape":"String", + "documentation":"

The target on which to enable the Baseline.

" + } + }, + "documentation":"

Details of the EnabledBaseline resource.

" + }, + "EnabledBaselineFilter":{ + "type":"structure", + "members":{ + "baselineIdentifiers":{ + "shape":"EnabledBaselineBaselineIdentifiers", + "documentation":"

Identifiers for the Baseline objects returned as part of the filter operation.

" + }, + "targetIdentifiers":{ + "shape":"EnabledBaselineTargetIdentifiers", + "documentation":"

Identifiers for the targets of the Baseline filter operation.

" + } + }, + "documentation":"

A filter applied on the ListEnabledBaseline operation. Allowed filters are baselineIdentifiers and targetIdentifiers. The filter can be applied for either, or both.

" + }, + "EnabledBaselineParameter":{ + "type":"structure", + "required":[ + "key", + "value" + ], + "members":{ + "key":{ + "shape":"String", + "documentation":"

A string denoting the parameter key.

" + }, + "value":{ + "shape":"EnabledBaselineParameterDocument", + "documentation":"

A low-level Document object of any type (for example, a Java Object).

" + } + }, + "documentation":"

A key-value parameter to an EnabledBaseline resource.

" + }, + "EnabledBaselineParameterDocument":{ + "type":"structure", + "members":{ + }, + "document":true + }, + "EnabledBaselineParameterSummaries":{ + "type":"list", + "member":{"shape":"EnabledBaselineParameterSummary"} + }, + "EnabledBaselineParameterSummary":{ + "type":"structure", + "required":[ + "key", + "value" + ], + "members":{ + "key":{ + "shape":"String", + "documentation":"

A string denoting the parameter key.

" + }, + "value":{ + "shape":"EnabledBaselineParameterDocument", + "documentation":"

A low-level document object of any type (for example, a Java Object).

" + } + }, + "documentation":"

Summary of an applied parameter to an EnabledBaseline resource.

" + }, + "EnabledBaselineParameters":{ + "type":"list", + "member":{"shape":"EnabledBaselineParameter"} + }, + "EnabledBaselineSummary":{ + "type":"structure", + "required":[ + "arn", + "baselineIdentifier", + "statusSummary", + "targetIdentifier" + ], + "members":{ + "arn":{ + "shape":"Arn", + "documentation":"

The ARN of the EnabledBaseline resource

" + }, + "baselineIdentifier":{ + "shape":"String", + "documentation":"

The specific baseline that is enabled as part of the EnabledBaseline resource.

" + }, + "baselineVersion":{ + "shape":"String", + "documentation":"

The enabled version of the baseline.

" + }, + "statusSummary":{"shape":"EnablementStatusSummary"}, + "targetIdentifier":{ + "shape":"String", + "documentation":"

The target upon which the baseline is enabled.

" + } + }, + "documentation":"

Returns a summary of information about an EnabledBaseline object.

" + }, + "EnabledBaselineTargetIdentifiers":{ + "type":"list", + "member":{"shape":"Arn"}, + "max":5, + "min":1 + }, + "EnabledBaselines":{ + "type":"list", + "member":{"shape":"EnabledBaselineSummary"} + }, "EnabledControlDetails":{ "type":"structure", "members":{ @@ -577,14 +1038,14 @@ "members":{ "key":{ "shape":"String", - "documentation":"

The key of a key/value pair. It is of type string.

" + "documentation":"

The key of a key/value pair.

" }, "value":{ "shape":"Document", - "documentation":"

The value of a key/value pair. It can be of type array string, number, object, or boolean.

" + "documentation":"

The value of a key/value pair.

" } }, - "documentation":"

A set of parameters that configure the behavior of the enabled control. A key/value pair, where Key is of type String and Value is of type Document.

" + "documentation":"

A key/value pair, where Key is of type String and Value is of type Document.

" }, "EnabledControlParameterSummaries":{ "type":"list", @@ -664,6 +1125,57 @@ }, "documentation":"

The deployment summary of the enabled control.

" }, + "GetBaselineInput":{ + "type":"structure", + "required":["baselineIdentifier"], + "members":{ + "baselineIdentifier":{ + "shape":"BaselineArn", + "documentation":"

The ARN of the Baseline resource to be retrieved.

" + } + } + }, + "GetBaselineOperationInput":{ + "type":"structure", + "required":["operationIdentifier"], + "members":{ + "operationIdentifier":{ + "shape":"OperationIdentifier", + "documentation":"

The operation ID returned from mutating asynchronous APIs (Enable, Disable, Update, Reset).

" + } + } + }, + "GetBaselineOperationOutput":{ + "type":"structure", + "required":["baselineOperation"], + "members":{ + "baselineOperation":{ + "shape":"BaselineOperation", + "documentation":"

A baselineOperation object that shows information about the specified operation ID.

" + } + } + }, + "GetBaselineOutput":{ + "type":"structure", + "required":[ + "arn", + "name" + ], + "members":{ + "arn":{ + "shape":"BaselineArn", + "documentation":"

The baseline ARN.

" + }, + "description":{ + "shape":"String", + "documentation":"

A description of the baseline.

" + }, + "name":{ + "shape":"String", + "documentation":"

A user-friendly name for the baseline.

" + } + } + }, "GetControlOperationInput":{ "type":"structure", "required":["operationIdentifier"], @@ -684,6 +1196,25 @@ } } }, + "GetEnabledBaselineInput":{ + "type":"structure", + "required":["enabledBaselineIdentifier"], + "members":{ + "enabledBaselineIdentifier":{ + "shape":"Arn", + "documentation":"

Identifier of the EnabledBaseline resource to be retrieved, in ARN format.

" + } + } + }, + "GetEnabledBaselineOutput":{ + "type":"structure", + "members":{ + "enabledBaselineDetails":{ + "shape":"EnabledBaselineDetails", + "documentation":"

Details of the EnabledBaseline resource.

" + } + } + }, "GetEnabledControlInput":{ "type":"structure", "required":["enabledControlIdentifier"], @@ -781,11 +1312,11 @@ }, "manifest":{ "shape":"Manifest", - "documentation":"

The landing zone manifest JSON text file that specifies the landing zone configurations.

" + "documentation":"

The landing zone manifest.yaml text file that specifies the landing zone configurations.

" }, "status":{ "shape":"LandingZoneStatus", - "documentation":"

The landing zone deployment status.

" + "documentation":"

The landing zone deployment status. One of ACTIVE, PROCESSING, FAILED.

" }, "version":{ "shape":"LandingZoneVersion", @@ -878,6 +1409,80 @@ "min":3, "pattern":"^\\d+.\\d+$" }, + "ListBaselinesInput":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"ListBaselinesMaxResults", + "documentation":"

The maximum number of results to be shown.

" + }, + "nextToken":{ + "shape":"String", + "documentation":"

A pagination token.

" + } + } + }, + "ListBaselinesMaxResults":{ + "type":"integer", + "box":true, + "max":100, + "min":4 + }, + "ListBaselinesOutput":{ + "type":"structure", + "required":["baselines"], + "members":{ + "baselines":{ + "shape":"Baselines", + "documentation":"

A list of Baseline object details.

" + }, + "nextToken":{ + "shape":"String", + "documentation":"

A pagination token.

" + } + } + }, + "ListEnabledBaselinesInput":{ + "type":"structure", + "members":{ + "filter":{ + "shape":"EnabledBaselineFilter", + "documentation":"

A filter applied on the ListEnabledBaseline operation. Allowed filters are baselineIdentifiers and targetIdentifiers. The filter can be applied for either, or both.

" + }, + "maxResults":{ + "shape":"ListEnabledBaselinesMaxResults", + "documentation":"

The maximum number of results to be shown.

" + }, + "nextToken":{ + "shape":"ListEnabledBaselinesNextToken", + "documentation":"

A pagination token.

" + } + } + }, + "ListEnabledBaselinesMaxResults":{ + "type":"integer", + "box":true, + "max":100, + "min":5 + }, + "ListEnabledBaselinesNextToken":{ + "type":"string", + "pattern":"\\S+" + }, + "ListEnabledBaselinesOutput":{ + "type":"structure", + "required":["enabledBaselines"], + "members":{ + "enabledBaselines":{ + "shape":"EnabledBaselines", + "documentation":"

Retuens a list of summaries of EnabledBaseline resources.

" + }, + "nextToken":{ + "shape":"ListEnabledBaselinesNextToken", + "documentation":"

A pagination token.

" + } + } + }, "ListEnabledControlsInput":{ "type":"structure", "required":["targetIdentifier"], @@ -1004,6 +1609,26 @@ "max":50, "min":1 }, + "ResetEnabledBaselineInput":{ + "type":"structure", + "required":["enabledBaselineIdentifier"], + "members":{ + "enabledBaselineIdentifier":{ + "shape":"Arn", + "documentation":"

Specifies the ID of the EnabledBaseline resource to be re-enabled, in ARN format.

" + } + } + }, + "ResetEnabledBaselineOutput":{ + "type":"structure", + "required":["operationIdentifier"], + "members":{ + "operationIdentifier":{ + "shape":"OperationIdentifier", + "documentation":"

The ID (in UUID format) of the asynchronous ResetEnabledBaseline operation. This operationIdentifier is used to track status through calls to the GetBaselineOperation API.

" + } + } + }, "ResetLandingZoneInput":{ "type":"structure", "required":["landingZoneIdentifier"], @@ -1123,13 +1748,13 @@ }, "retryAfterSeconds":{ "shape":"Integer", - "documentation":"

The number of seconds to wait before retrying.

", + "documentation":"

The number of seconds the caller should wait before retrying.

", "location":"header", "locationName":"Retry-After" }, "serviceCode":{ "shape":"String", - "documentation":"

The ID of the service that is associated with the error.

" + "documentation":"

The ID of the service that is associated with the error.

" } }, "documentation":"

The request was denied due to request throttling.

", @@ -1170,6 +1795,37 @@ "members":{ } }, + "UpdateEnabledBaselineInput":{ + "type":"structure", + "required":[ + "baselineVersion", + "enabledBaselineIdentifier" + ], + "members":{ + "baselineVersion":{ + "shape":"BaselineVersion", + "documentation":"

Specifies the new Baseline version, to which the EnabledBaseline should be updated.

" + }, + "enabledBaselineIdentifier":{ + "shape":"Arn", + "documentation":"

Specifies the EnabledBaseline resource to be updated.

" + }, + "parameters":{ + "shape":"EnabledBaselineParameters", + "documentation":"

Parameters to apply when making an update.

" + } + } + }, + "UpdateEnabledBaselineOutput":{ + "type":"structure", + "required":["operationIdentifier"], + "members":{ + "operationIdentifier":{ + "shape":"OperationIdentifier", + "documentation":"

The ID (in UUID format) of the asynchronous UpdateEnabledBaseline operation. This operationIdentifier is used to track status through calls to the GetBaselineOperation API.

" + } + } + }, "UpdateEnabledControlInput":{ "type":"structure", "required":[ @@ -1211,7 +1867,7 @@ }, "manifest":{ "shape":"Manifest", - "documentation":"

The manifest JSON file is a text file that describes your Amazon Web Services resources. For examples, review Launch your landing zone.

" + "documentation":"

The manifest.yaml file is a text file that describes your Amazon Web Services resources. For examples, review The manifest file.

" }, "version":{ "shape":"LandingZoneVersion", diff --git a/botocore/data/endpoints.json b/botocore/data/endpoints.json index 8ed378172b..4a8041be45 100644 --- a/botocore/data/endpoints.json +++ b/botocore/data/endpoints.json @@ -11569,9 +11569,12 @@ "endpoints" : { "ap-northeast-1" : { }, "ap-northeast-2" : { }, + "ap-northeast-3" : { }, "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-4" : { }, + "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, "eu-west-1" : { }, @@ -13288,6 +13291,13 @@ } } }, + "private-networks" : { + "endpoints" : { + "us-east-1" : { }, + "us-east-2" : { }, + "us-west-2" : { } + } + }, "profile" : { "endpoints" : { "af-south-1" : { }, @@ -26236,6 +26246,16 @@ } } }, + "api.pricing" : { + "defaults" : { + "credentialScope" : { + "service" : "pricing" + } + }, + "endpoints" : { + "us-iso-east-1" : { } + } + }, "api.sagemaker" : { "endpoints" : { "us-iso-east-1" : { } @@ -26267,6 +26287,11 @@ "us-iso-west-1" : { } } }, + "arc-zonal-shift" : { + "endpoints" : { + "us-iso-east-1" : { } + } + }, "athena" : { "endpoints" : { "us-iso-east-1" : { } @@ -27046,6 +27071,16 @@ } } }, + "api.pricing" : { + "defaults" : { + "credentialScope" : { + "service" : "pricing" + } + }, + "endpoints" : { + "us-isob-east-1" : { } + } + }, "api.sagemaker" : { "endpoints" : { "us-isob-east-1" : { } @@ -27069,6 +27104,11 @@ "us-isob-east-1" : { } } }, + "arc-zonal-shift" : { + "endpoints" : { + "us-isob-east-1" : { } + } + }, "autoscaling" : { "defaults" : { "protocols" : [ "http", "https" ] diff --git a/botocore/data/lookoutequipment/2020-12-15/endpoint-rule-set-1.json b/botocore/data/lookoutequipment/2020-12-15/endpoint-rule-set-1.json index 00e0ece387..e1ad53b092 100644 --- a/botocore/data/lookoutequipment/2020-12-15/endpoint-rule-set-1.json +++ b/botocore/data/lookoutequipment/2020-12-15/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/botocore/data/lookoutequipment/2020-12-15/service-2.json b/botocore/data/lookoutequipment/2020-12-15/service-2.json index 185149e6b3..cb0f9dce1b 100644 --- a/botocore/data/lookoutequipment/2020-12-15/service-2.json +++ b/botocore/data/lookoutequipment/2020-12-15/service-2.json @@ -1236,6 +1236,10 @@ "OffCondition":{ "shape":"OffCondition", "documentation":"

Indicates that the asset associated with this sensor has been shut off. As long as this condition is met, Lookout for Equipment will not use data from this asset for training, evaluation, or inference.

" + }, + "ModelDiagnosticsOutputConfiguration":{ + "shape":"ModelDiagnosticsOutputConfiguration", + "documentation":"

The Amazon S3 location where you want Amazon Lookout for Equipment to save the pointwise model diagnostics. You must also specify the RoleArn request parameter.

" } } }, @@ -1401,7 +1405,7 @@ "type":"string", "max":2048, "min":20, - "pattern":"arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:dataset\\/.+" + "pattern":"arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:dataset\\/[0-9a-zA-Z_-]{1,200}\\/.+" }, "DatasetIdentifier":{ "type":"string", @@ -1658,7 +1662,7 @@ }, "IngestedFilesSummary":{ "shape":"IngestedFilesSummary", - "documentation":"

IngestedFilesSummary associated with the given dataset for the latest successful associated ingestion job id.

" + "documentation":"

IngestedFilesSummary associated with the given dataset for the latest successful associated ingestion job id.

" }, "RoleArn":{ "shape":"IamRoleArn", @@ -2021,6 +2025,10 @@ "RetrainingSchedulerStatus":{ "shape":"RetrainingSchedulerStatus", "documentation":"

Indicates the status of the retraining scheduler.

" + }, + "ModelDiagnosticsOutputConfiguration":{ + "shape":"ModelDiagnosticsOutputConfiguration", + "documentation":"

Configuration information for the model's pointwise model diagnostics.

" } } }, @@ -2165,6 +2173,14 @@ "AutoPromotionResultReason":{ "shape":"AutoPromotionResultReason", "documentation":"

Indicates the reason for the AutoPromotionResult. For example, a model might not be promoted if its performance was worse than the active version, if there was an error during training, or if the retraining scheduler was using MANUAL promote mode. The model will be promoted in MANAGED promote mode if the performance is better than the previous model.

" + }, + "ModelDiagnosticsOutputConfiguration":{ + "shape":"ModelDiagnosticsOutputConfiguration", + "documentation":"

The Amazon S3 location where Amazon Lookout for Equipment saves the pointwise model diagnostics for the model version.

" + }, + "ModelDiagnosticsResultsObject":{ + "shape":"S3Object", + "documentation":"

The Amazon S3 output prefix for where Lookout for Equipment saves the pointwise model diagnostics for the model version.

" } } }, @@ -2766,7 +2782,7 @@ }, "SensorsWithShortDateRange":{ "shape":"SensorsWithShortDateRange", - "documentation":"

Parameter that describes the total number of sensors that have a short date range of less than 90 days of data overall.

" + "documentation":"

Parameter that describes the total number of sensors that have a short date range of less than 14 days of data overall.

" } }, "documentation":"

Entity that comprises aggregated information on sensors having insufficient data.

" @@ -3109,7 +3125,7 @@ }, "InferenceExecutionSummaries":{ "shape":"InferenceExecutionSummaries", - "documentation":"

Provides an array of information about the individual inference executions returned from the ListInferenceExecutions operation, including model used, inference scheduler, data configuration, and so on.

" + "documentation":"

Provides an array of information about the individual inference executions returned from the ListInferenceExecutions operation, including model used, inference scheduler, data configuration, and so on.

If you don't supply the InferenceSchedulerName request parameter, or if you supply the name of an inference scheduler that doesn't exist, ListInferenceExecutions returns an empty array in InferenceExecutionSummaries.

" } } }, @@ -3187,7 +3203,7 @@ "members":{ "LabelGroupName":{ "shape":"LabelGroupName", - "documentation":"

Retruns the name of the label group.

" + "documentation":"

Returns the name of the label group.

" }, "IntervalStartTime":{ "shape":"Timestamp", @@ -3224,7 +3240,7 @@ }, "LabelSummaries":{ "shape":"LabelSummaries", - "documentation":"

A summary of the items in the label group.

" + "documentation":"

A summary of the items in the label group.

If you don't supply the LabelGroupName request parameter, or if you supply the name of a label group that doesn't exist, ListLabels returns an empty array in LabelSummaries.

" } } }, @@ -3279,7 +3295,7 @@ }, "ModelVersionSummaries":{ "shape":"ModelVersionSummaries", - "documentation":"

Provides information on the specified model version, including the created time, model and dataset ARNs, and status.

" + "documentation":"

Provides information on the specified model version, including the created time, model and dataset ARNs, and status.

If you don't supply the ModelName request parameter, or if you supply the name of a model that doesn't exist, ListModelVersions returns an empty array in ModelVersionSummaries.

" } } }, @@ -3458,6 +3474,36 @@ "min":20, "pattern":"arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:model\\/.+" }, + "ModelDiagnosticsOutputConfiguration":{ + "type":"structure", + "required":["S3OutputConfiguration"], + "members":{ + "S3OutputConfiguration":{ + "shape":"ModelDiagnosticsS3OutputConfiguration", + "documentation":"

The Amazon S3 location for the pointwise model diagnostics.

" + }, + "KmsKeyId":{ + "shape":"NameOrArn", + "documentation":"

The Amazon Web Services Key Management Service (KMS) key identifier to encrypt the pointwise model diagnostics files.

" + } + }, + "documentation":"

Output configuration information for the pointwise model diagnostics for an Amazon Lookout for Equipment model.

" + }, + "ModelDiagnosticsS3OutputConfiguration":{ + "type":"structure", + "required":["Bucket"], + "members":{ + "Bucket":{ + "shape":"S3Bucket", + "documentation":"

The name of the Amazon S3 bucket where the pointwise model diagnostics are located. You must be the owner of the Amazon S3 bucket.

" + }, + "Prefix":{ + "shape":"S3Prefix", + "documentation":"

The Amazon S3 prefix for the location of the pointwise model diagnostics. The prefix specifies the folder and evaluation result file name. (bucket).

When you call CreateModel or UpdateModel, specify the path within the bucket that you want Lookout for Equipment to save the model to. During training, Lookout for Equipment creates the model evaluation model as a compressed JSON file with the name model_diagnostics_results.json.gz.

When you call DescribeModel or DescribeModelVersion, prefix contains the file path and filename of the model evaluation file.

" + } + }, + "documentation":"

The Amazon S3 location for the pointwise model diagnostics for an Amazon Lookout for Equipment model.

" + }, "ModelMetrics":{ "type":"string", "max":50000, @@ -3543,7 +3589,8 @@ "RetrainingSchedulerStatus":{ "shape":"RetrainingSchedulerStatus", "documentation":"

Indicates the status of the retraining scheduler.

" - } + }, + "ModelDiagnosticsOutputConfiguration":{"shape":"ModelDiagnosticsOutputConfiguration"} }, "documentation":"

Provides information about the specified machine learning model, including dataset and model names and ARNs, as well as status.

" }, @@ -3555,7 +3602,7 @@ "type":"string", "max":2048, "min":20, - "pattern":"^arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:model\\/.+\\/.+\\/model-version\\/[0-9]{1,}$" + "pattern":"^arn:aws(-[^:]+)?:lookoutequipment:[a-zA-Z0-9\\-]*:[0-9]{12}:model\\/[0-9a-zA-Z_-]{1,200}\\/.+\\/model-version\\/[0-9]{1,}$" }, "ModelVersionSourceType":{ "type":"string", @@ -3888,7 +3935,7 @@ "members":{ "AffectedSensorCount":{ "shape":"Integer", - "documentation":"

Indicates the number of sensors that have less than 90 days of data.

" + "documentation":"

Indicates the number of sensors that have less than 14 days of data.

" } }, "documentation":"

Entity that comprises information on sensors that have shorter date range.

" @@ -4303,6 +4350,10 @@ "RoleArn":{ "shape":"IamRoleArn", "documentation":"

The ARN of the model to update.

" + }, + "ModelDiagnosticsOutputConfiguration":{ + "shape":"ModelDiagnosticsOutputConfiguration", + "documentation":"

The Amazon S3 location where you want Amazon Lookout for Equipment to save the pointwise model diagnostics for the model. You must also specify the RoleArn request parameter.

" } } }, diff --git a/botocore/data/qbusiness/2023-11-27/service-2.json b/botocore/data/qbusiness/2023-11-27/service-2.json index 87fb91b593..84bd023d09 100644 --- a/botocore/data/qbusiness/2023-11-27/service-2.json +++ b/botocore/data/qbusiness/2023-11-27/service-2.json @@ -131,7 +131,7 @@ {"shape":"AccessDeniedException"}, {"shape":"ServiceQuotaExceededException"} ], - "documentation":"

Creates an Amazon Q index.

To determine if index creation has completed, check the Status field returned from a call to DescribeIndex. The Status field is set to ACTIVE when the index is ready to use.

Once the index is active, you can index your documents using the BatchPutDocument API or the CreateDataSource API.

" + "documentation":"

Creates an Amazon Q index.

To determine if index creation has completed, check the Status field returned from a call to DescribeIndex. The Status field is set to ACTIVE when the index is ready to use.

Once the index is active, you can index your documents using the BatchPutDocument API or the CreateDataSource API.

" }, "CreatePlugin":{ "name":"CreatePlugin", @@ -1455,7 +1455,7 @@ "documentation":"

Performs a logical OR operation on all supplied filters.

" } }, - "documentation":"

Enables filtering of Amazon Q web experience responses based on document attributes or metadata fields.

" + "documentation":"

Enables filtering of responses based on document attributes or metadata fields.

" }, "AttributeFilters":{ "type":"list", @@ -1623,6 +1623,12 @@ "type":"boolean", "box":true }, + "BoostingDurationInSeconds":{ + "type":"long", + "box":true, + "max":999999999, + "min":0 + }, "ChatSyncInput":{ "type":"structure", "required":[ @@ -2351,6 +2357,21 @@ "type":"list", "member":{"shape":"DataSource"} }, + "DateAttributeBoostingConfiguration":{ + "type":"structure", + "required":["boostingLevel"], + "members":{ + "boostingDurationInSeconds":{ + "shape":"BoostingDurationInSeconds", + "documentation":"

Specifies the duration, in seconds, of a boost applies to a DATE type document attribute.

" + }, + "boostingLevel":{ + "shape":"DocumentAttributeBoostingLevel", + "documentation":"

Specifies how much a document attribute is boosted.

" + } + }, + "documentation":"

Provides information on boosting DATE type document attributes.

For more information on how boosting document attributes work in Amazon Q, see Boosting using document attributes.

" + }, "DeleteApplicationRequest":{ "type":"structure", "required":["applicationId"], @@ -2694,6 +2715,45 @@ }, "documentation":"

A document attribute or metadata field.

" }, + "DocumentAttributeBoostingConfiguration":{ + "type":"structure", + "members":{ + "dateConfiguration":{ + "shape":"DateAttributeBoostingConfiguration", + "documentation":"

Provides information on boosting DATE type document attributes.

" + }, + "numberConfiguration":{ + "shape":"NumberAttributeBoostingConfiguration", + "documentation":"

Provides information on boosting NUMBER type document attributes.

" + }, + "stringConfiguration":{ + "shape":"StringAttributeBoostingConfiguration", + "documentation":"

Provides information on boosting STRING type document attributes.

" + }, + "stringListConfiguration":{ + "shape":"StringListAttributeBoostingConfiguration", + "documentation":"

Provides information on boosting STRING_LIST type document attributes.

" + } + }, + "documentation":"

Provides information on boosting supported Amazon Q document attribute types. When an end user chat query matches document attributes that have been boosted, Amazon Q prioritizes generating responses from content that matches the boosted document attributes.

For STRING and STRING_LIST type document attributes to be used for boosting on the console and the API, they must be enabled for search using the DocumentAttributeConfiguration object of the UpdateIndex API. If you haven't enabled searching on these attributes, you can't boost attributes of these data types on either the console or the API.

For more information on how boosting document attributes work in Amazon Q, see Boosting using document attributes.

", + "union":true + }, + "DocumentAttributeBoostingLevel":{ + "type":"string", + "enum":[ + "NONE", + "LOW", + "MEDIUM", + "HIGH", + "VERY_HIGH" + ] + }, + "DocumentAttributeBoostingOverrideMap":{ + "type":"map", + "key":{"shape":"DocumentAttributeKey"}, + "value":{"shape":"DocumentAttributeBoostingConfiguration"}, + "min":1 + }, "DocumentAttributeCondition":{ "type":"structure", "required":[ @@ -2711,7 +2771,7 @@ }, "value":{"shape":"DocumentAttributeValue"} }, - "documentation":"

The condition used for the target document attribute or metadata field when ingesting documents into Amazon Q. You use this with DocumentAttributeTarget to apply the condition.

For example, you can create the 'Department' target field and have it prefill department names associated with the documents based on information in the 'Source_URI' field. Set the condition that if the 'Source_URI' field contains 'financial' in its URI value, then prefill the target field 'Department' with the target value 'Finance' for the document.

Amazon Q can't create a target field if it has not already been created as an index field. After you create your index field, you can create a document metadata field using DocumentAttributeTarget. Amazon Q then will map your newly created metadata field to your index field.

" + "documentation":"

The condition used for the target document attribute or metadata field when ingesting documents into Amazon Q. You use this with DocumentAttributeTarget to apply the condition.

For example, you can create the 'Department' target field and have it prefill department names associated with the documents based on information in the 'Source_URI' field. Set the condition that if the 'Source_URI' field contains 'financial' in its URI value, then prefill the target field 'Department' with the target value 'Finance' for the document.

Amazon Q can't create a target field if it has not already been created as an index field. After you create your index field, you can create a document metadata field using DocumentAttributeTarget. Amazon Q then will map your newly created metadata field to your index field.

" }, "DocumentAttributeConfiguration":{ "type":"structure", @@ -2761,7 +2821,7 @@ }, "value":{"shape":"DocumentAttributeValue"} }, - "documentation":"

The target document attribute or metadata field you want to alter when ingesting documents into Amazon Q.

For example, you can delete all customer identification numbers associated with the documents, stored in the document metadata field called 'Customer_ID' by setting the target key as 'Customer_ID' and the deletion flag to TRUE. This removes all customer ID values in the field 'Customer_ID'. This would scrub personally identifiable information from each document's metadata.

Amazon Q can't create a target field if it has not already been created as an index field. After you create your index field, you can create a document metadata field using DocumentAttributeTarget . Amazon Q will then map your newly created document attribute to your index field.

You can also use this with DocumentAttributeCondition .

" + "documentation":"

The target document attribute or metadata field you want to alter when ingesting documents into Amazon Q.

For example, you can delete all customer identification numbers associated with the documents, stored in the document metadata field called 'Customer_ID' by setting the target key as 'Customer_ID' and the deletion flag to TRUE. This removes all customer ID values in the field 'Customer_ID'. This would scrub personally identifiable information from each document's metadata.

Amazon Q can't create a target field if it has not already been created as an index field. After you create your index field, you can create a document metadata field using DocumentAttributeTarget . Amazon Q will then map your newly created document attribute to your index field.

You can also use this with DocumentAttributeCondition .

" }, "DocumentAttributeValue":{ "type":"structure", @@ -3639,7 +3699,7 @@ "documentation":"

Stores the original, raw documents or the structured, parsed documents before and after altering them. For more information, see Data contracts for Lambda functions.

" } }, - "documentation":"

Provides the configuration information for invoking a Lambda function in Lambda to alter document metadata and content when ingesting documents into Amazon Q.

You can configure your Lambda function using PreExtractionHookConfiguration if you want to apply advanced alterations on the original or raw documents.

If you want to apply advanced alterations on the Amazon Q structured documents, you must configure your Lambda function using PostExtractionHookConfiguration.

You can only invoke one Lambda function. However, this function can invoke other functions it requires.

For more information, see Custom document enrichment.

" + "documentation":"

Provides the configuration information for invoking a Lambda function in Lambda to alter document metadata and content when ingesting documents into Amazon Q.

You can configure your Lambda function using PreExtractionHookConfiguration if you want to apply advanced alterations on the original or raw documents.

If you want to apply advanced alterations on the Amazon Q structured documents, you must configure your Lambda function using PostExtractionHookConfiguration.

You can only invoke one Lambda function. However, this function can invoke other functions it requires.

For more information, see Custom document enrichment.

" }, "Index":{ "type":"structure", @@ -3744,7 +3804,7 @@ }, "target":{"shape":"DocumentAttributeTarget"} }, - "documentation":"

Provides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Q.

To apply advanced logic, to go beyond what you can do with basic logic, see HookConfiguration .

For more information, see Custom document enrichment.

" + "documentation":"

Provides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Q.

To apply advanced logic, to go beyond what you can do with basic logic, see HookConfiguration .

For more information, see Custom document enrichment.

" }, "InlineDocumentEnrichmentConfigurations":{ "type":"list", @@ -4567,7 +4627,11 @@ "FACTUALLY_CORRECT", "COMPLETE", "RELEVANT_SOURCES", - "HELPFUL" + "HELPFUL", + "NOT_BASED_ON_DOCUMENTS", + "NOT_COMPLETE", + "NOT_CONCISE", + "OTHER" ] }, "Messages":{ @@ -4582,6 +4646,10 @@ "type":"structure", "required":["indexId"], "members":{ + "boostingOverride":{ + "shape":"DocumentAttributeBoostingOverrideMap", + "documentation":"

Overrides the default boosts applied by Amazon Q to supported document attribute data types.

" + }, "indexId":{ "shape":"IndexId", "documentation":"

The identifier for the Amazon Q index.

" @@ -4594,6 +4662,28 @@ "max":800, "min":1 }, + "NumberAttributeBoostingConfiguration":{ + "type":"structure", + "required":["boostingLevel"], + "members":{ + "boostingLevel":{ + "shape":"DocumentAttributeBoostingLevel", + "documentation":"

Specifies the duration, in seconds, of a boost applies to a NUMBER type document attribute.

" + }, + "boostingType":{ + "shape":"NumberAttributeBoostingType", + "documentation":"

Specifies how much a document attribute is boosted.

" + } + }, + "documentation":"

Provides information on boosting NUMBER type document attributes.

For more information on how boosting document attributes work in Amazon Q, see Boosting using document attributes.

" + }, + "NumberAttributeBoostingType":{ + "type":"string", + "enum":[ + "PRIORITIZE_LARGER_VALUES", + "PRIORITIZE_SMALLER_VALUES" + ] + }, "OAuth2ClientCredentialConfiguration":{ "type":"structure", "required":[ @@ -4985,7 +5075,7 @@ }, "ruleType":{ "shape":"RuleType", - "documentation":"

The type fo rule.

" + "documentation":"

The type of rule.

" } }, "documentation":"

Guardrail rules for an Amazon Q application. Amazon Q supports only one rule at a time.

" @@ -5244,6 +5334,48 @@ "max":2048, "min":1 }, + "StringAttributeBoostingConfiguration":{ + "type":"structure", + "required":["boostingLevel"], + "members":{ + "attributeValueBoosting":{ + "shape":"StringAttributeValueBoosting", + "documentation":"

Specifies specific values of a STRING type document attribute being boosted.

" + }, + "boostingLevel":{ + "shape":"DocumentAttributeBoostingLevel", + "documentation":"

Specifies how much a document attribute is boosted.

" + } + }, + "documentation":"

Provides information on boosting STRING type document attributes.

For STRING and STRING_LIST type document attributes to be used for boosting on the console and the API, they must be enabled for search using the DocumentAttributeConfiguration object of the UpdateIndex API. If you haven't enabled searching on these attributes, you can't boost attributes of these data types on either the console or the API.

For more information on how boosting document attributes work in Amazon Q, see Boosting using document attributes.

" + }, + "StringAttributeValueBoosting":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"StringAttributeValueBoostingLevel"}, + "max":10, + "min":1 + }, + "StringAttributeValueBoostingLevel":{ + "type":"string", + "enum":[ + "LOW", + "MEDIUM", + "HIGH", + "VERY_HIGH" + ] + }, + "StringListAttributeBoostingConfiguration":{ + "type":"structure", + "required":["boostingLevel"], + "members":{ + "boostingLevel":{ + "shape":"DocumentAttributeBoostingLevel", + "documentation":"

Specifies how much a document attribute is boosted.

" + } + }, + "documentation":"

Provides information on boosting STRING_LIST type document attributes.

For STRING and STRING_LIST type document attributes to be used for boosting on the console and the API, they must be enabled for search using the DocumentAttributeConfiguration object of the UpdateIndex API. If you haven't enabled searching on these attributes, you can't boost attributes of these data types on either the console or the API.

For more information on how boosting document attributes work in Amazon Q, see Boosting using document attributes.

" + }, "SubnetId":{ "type":"string", "max":200, @@ -5396,7 +5528,7 @@ "members":{ "description":{ "shape":"TopicDescription", - "documentation":"

A description for your topic control configuration. Use this outline how the large language model (LLM) should use this topic control configuration.

" + "documentation":"

A description for your topic control configuration. Use this to outline how the large language model (LLM) should use this topic control configuration.

" }, "exampleChatMessages":{ "shape":"ExampleChatMessages", @@ -5995,5 +6127,5 @@ "member":{"shape":"WebExperience"} } }, - "documentation":"

" + "documentation":"

Amazon Q is in preview release and is subject to change.

This is the Amazon Q (for business use) API Reference. Amazon Q is a fully managed, generative-AI powered enterprise chat assistant that you can deploy within your organization. Amazon Q enhances employee productivity by supporting key tasks such as question-answering, knowledge discovery, writing email messages, summarizing text, drafting document outlines, and brainstorming ideas. Users ask questions of Amazon Q and get answers that are presented in a conversational manner. For an introduction to the service, see the Amazon Q (for business use) Developer Guide .

For an overview of the Amazon Q APIs, see Overview of Amazon Q API operations.

For information about the IAM access control permissions you need to use this API, see IAM roles for Amazon Q in the Amazon Q (for business use) Developer Guide.

You can use the following AWS SDKs to access Amazon Q APIs:

The following resources provide additional information about using the Amazon Q API:

" } diff --git a/docs/source/conf.py b/docs/source/conf.py index bc6b17d100..cea3c975ab 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -59,7 +59,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.41' +release = '1.34.42' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.