diff --git a/apis/cloud9/2017-09-23/docs-2.json b/apis/cloud9/2017-09-23/docs-2.json index ff61c82f6a8..20884b43107 100644 --- a/apis/cloud9/2017-09-23/docs-2.json +++ b/apis/cloud9/2017-09-23/docs-2.json @@ -232,7 +232,7 @@ "ImageId": { "base": null, "refs": { - "CreateEnvironmentEC2Request$imageId": "

The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM) path.

The default Amazon Linux AMI is currently used if the parameter isn't explicitly assigned a value in the request. Because Amazon Linux AMI has ended standard support as of December 31, 2020, we recommend you choose Amazon Linux 2, which includes long term support through 2023.

From December 31, 2023, the parameter for Amazon Linux will no longer be available when you specify an AMI for your instance. Amazon Linux 2 will then become the default AMI, which is used to launch your instance if no parameter is explicitly defined.

Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend you choose Ubuntu 22.04.

AMI aliases

SSM paths

" + "CreateEnvironmentEC2Request$imageId": "

The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM) path.

From November 20, 2023, you will be required to include the imageId parameter for the CreateEnvironmentEC2 action. This change will be reflected across all direct methods of communicating with the API, such as Amazon Web Services SDK, Amazon Web Services CLI and Amazon Web Services CloudFormation. This change will only affect direct API consumers, and not Cloud9 console users.

From January 22, 2024, Amazon Linux (AL1) will be removed from the list of available image IDs for Cloud9. This is necessary as AL1 will reach the end of maintenance support in December 2023, and as a result will no longer receive security updates. We recommend using Amazon Linux 2 as the AMI to create your environment as it is fully supported. This change will only affect direct API consumers, and not Cloud9 console users.

Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend you choose Ubuntu 22.04.

AMI aliases

SSM paths

" } }, "InstanceType": { diff --git a/apis/cloud9/2017-09-23/endpoint-rule-set-1.json b/apis/cloud9/2017-09-23/endpoint-rule-set-1.json index 26763c88c97..fa3d7dc32ce 100644 --- a/apis/cloud9/2017-09-23/endpoint-rule-set-1.json +++ b/apis/cloud9/2017-09-23/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/apis/dynamodb/2011-12-05/endpoint-rule-set-1.json b/apis/dynamodb/2011-12-05/endpoint-rule-set-1.json index 5fa72ade6df..5e7f294eea5 100644 --- a/apis/dynamodb/2011-12-05/endpoint-rule-set-1.json +++ b/apis/dynamodb/2011-12-05/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,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -353,9 +351,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/apis/dynamodb/2012-08-10/docs-2.json b/apis/dynamodb/2012-08-10/docs-2.json index be1e1a40c46..36edfcf9eb1 100644 --- a/apis/dynamodb/2012-08-10/docs-2.json +++ b/apis/dynamodb/2012-08-10/docs-2.json @@ -547,7 +547,7 @@ "Put$ConditionExpression": "

A condition that must be satisfied in order for a conditional update to succeed.

", "PutItemInput$ConditionExpression": "

A condition that must be satisfied in order for a conditional PutItem operation to succeed.

An expression can contain any of the following:

For more information on condition expressions, see Condition Expressions in the Amazon DynamoDB Developer Guide.

", "QueryInput$FilterExpression": "

A string that contains conditions that DynamoDB applies after the Query operation, but before the data is returned to you. Items that do not satisfy the FilterExpression criteria are not returned.

A FilterExpression does not allow key attributes. You cannot define a filter expression based on a partition key or a sort key.

A FilterExpression is applied after the items have already been read; the process of filtering does not consume any additional read capacity units.

For more information, see Filter Expressions in the Amazon DynamoDB Developer Guide.

", - "ScanInput$FilterExpression": "

A string that contains conditions that DynamoDB applies after the Scan operation, but before the data is returned to you. Items that do not satisfy the FilterExpression criteria are not returned.

A FilterExpression is applied after the items have already been read; the process of filtering does not consume any additional read capacity units.

For more information, see Filter Expressions in the Amazon DynamoDB Developer Guide.

", + "ScanInput$FilterExpression": "

A string that contains conditions that DynamoDB applies after the Scan operation, but before the data is returned to you. Items that do not satisfy the FilterExpression criteria are not returned.

A FilterExpression is applied after the items have already been read; the process of filtering does not consume any additional read capacity units.

For more information, see Filter Expressions in the Amazon DynamoDB Developer Guide.

", "Update$ConditionExpression": "

A condition that must be satisfied in order for a conditional update to succeed.

", "UpdateItemInput$ConditionExpression": "

A condition that must be satisfied in order for a conditional update to succeed.

An expression can contain any of the following:

For more information about condition expressions, see Specifying Conditions in the Amazon DynamoDB Developer Guide.

" } @@ -1187,15 +1187,15 @@ "ExportType": { "base": null, "refs": { - "ExportDescription$ExportType": "

Choice of whether to execute as a full export or incremental export. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. If INCREMENTAL_EXPORT is provided, the IncrementalExportSpecification must also be used.

", - "ExportSummary$ExportType": "

Choice of whether to execute as a full export or incremental export. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. If INCREMENTAL_EXPORT is provided, the IncrementalExportSpecification must also be used.

", - "ExportTableToPointInTimeInput$ExportType": "

Choice of whether to execute as a full export or incremental export. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. If INCREMENTAL_EXPORT is provided, the IncrementalExportSpecification must also be used.

" + "ExportDescription$ExportType": "

The type of export that was performed. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT.

", + "ExportSummary$ExportType": "

The type of export that was performed. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT.

", + "ExportTableToPointInTimeInput$ExportType": "

Choice of whether to execute as a full export or incremental export. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. The default value is FULL_EXPORT. If INCREMENTAL_EXPORT is provided, the IncrementalExportSpecification must also be used.

" } }, "ExportViewType": { "base": null, "refs": { - "IncrementalExportSpecification$ExportViewType": "

Choice of whether to output the previous item image prior to the start time of the incremental export. Valid values are NEW_AND_OLD_IMAGES and NEW_IMAGES.

" + "IncrementalExportSpecification$ExportViewType": "

The view type that was chosen for the export. Valid values are NEW_AND_OLD_IMAGES and NEW_IMAGES. The default value is NEW_AND_OLD_IMAGES.

" } }, "ExpressionAttributeNameMap": { @@ -3032,7 +3032,7 @@ } }, "TransactionCanceledException": { - "base": "

The entire transaction request was canceled.

DynamoDB cancels a TransactWriteItems request under the following circumstances:

DynamoDB cancels a TransactGetItems request under the following circumstances:

If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons property. This property is not set for other languages. Transaction cancellation reasons are ordered in the order of requested items, if an item has no error it will have None code and Null message.

Cancellation reason codes and possible error messages:

", + "base": "

The entire transaction request was canceled.

DynamoDB cancels a TransactWriteItems request under the following circumstances:

DynamoDB cancels a TransactGetItems request under the following circumstances:

If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons property. This property is not set for other languages. Transaction cancellation reasons are ordered in the order of requested items, if an item has no error it will have None code and Null message.

Cancellation reason codes and possible error messages:

", "refs": { } }, diff --git a/apis/dynamodb/2012-08-10/endpoint-rule-set-1.json b/apis/dynamodb/2012-08-10/endpoint-rule-set-1.json index 5fa72ade6df..5e7f294eea5 100644 --- a/apis/dynamodb/2012-08-10/endpoint-rule-set-1.json +++ b/apis/dynamodb/2012-08-10/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,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -353,9 +351,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/apis/kendra/2019-02-03/api-2.json b/apis/kendra/2019-02-03/api-2.json index c6ed497396e..8ee5dc086b5 100644 --- a/apis/kendra/2019-02-03/api-2.json +++ b/apis/kendra/2019-02-03/api-2.json @@ -1540,6 +1540,25 @@ "max":100, "min":1 }, + "CollapseConfiguration":{ + "type":"structure", + "required":["DocumentAttributeKey"], + "members":{ + "DocumentAttributeKey":{"shape":"DocumentAttributeKey"}, + "SortingConfigurations":{"shape":"SortingConfigurationList"}, + "MissingAttributeKeyStrategy":{"shape":"MissingAttributeKeyStrategy"}, + "Expand":{"shape":"Boolean"}, + "ExpandConfiguration":{"shape":"ExpandConfiguration"} + } + }, + "CollapsedResultDetail":{ + "type":"structure", + "required":["DocumentAttribute"], + "members":{ + "DocumentAttribute":{"shape":"DocumentAttribute"}, + "ExpandedResults":{"shape":"ExpandedResultList"} + } + }, "ColumnConfiguration":{ "type":"structure", "required":[ @@ -3053,6 +3072,28 @@ "max":100, "min":0 }, + "ExpandConfiguration":{ + "type":"structure", + "members":{ + "MaxResultItemsToExpand":{"shape":"Integer"}, + "MaxExpandedResultsPerItem":{"shape":"Integer"} + } + }, + "ExpandedResultItem":{ + "type":"structure", + "members":{ + "Id":{"shape":"ResultId"}, + "DocumentId":{"shape":"DocumentId"}, + "DocumentTitle":{"shape":"TextWithHighlights"}, + "DocumentExcerpt":{"shape":"TextWithHighlights"}, + "DocumentURI":{"shape":"Url"}, + "DocumentAttributes":{"shape":"DocumentAttributeList"} + } + }, + "ExpandedResultList":{ + "type":"list", + "member":{"shape":"ExpandedResultItem"} + }, "ExperienceConfiguration":{ "type":"structure", "members":{ @@ -4179,6 +4220,14 @@ "max":10000, "min":1 }, + "MissingAttributeKeyStrategy":{ + "type":"string", + "enum":[ + "IGNORE", + "COLLAPSE", + "EXPAND" + ] + }, "Mode":{ "type":"string", "enum":[ @@ -4409,9 +4458,11 @@ "PageNumber":{"shape":"Integer"}, "PageSize":{"shape":"Integer"}, "SortingConfiguration":{"shape":"SortingConfiguration"}, + "SortingConfigurations":{"shape":"SortingConfigurationList"}, "UserContext":{"shape":"UserContext"}, "VisitorId":{"shape":"VisitorId"}, - "SpellCorrectionConfiguration":{"shape":"SpellCorrectionConfiguration"} + "SpellCorrectionConfiguration":{"shape":"SpellCorrectionConfiguration"}, + "CollapseConfiguration":{"shape":"CollapseConfiguration"} } }, "QueryResult":{ @@ -4447,7 +4498,8 @@ "DocumentAttributes":{"shape":"DocumentAttributeList"}, "ScoreAttributes":{"shape":"ScoreAttributes"}, "FeedbackToken":{"shape":"FeedbackToken"}, - "TableExcerpt":{"shape":"TableExcerpt"} + "TableExcerpt":{"shape":"TableExcerpt"}, + "CollapsedResultDetail":{"shape":"CollapsedResultDetail"} } }, "QueryResultItemList":{ @@ -5156,6 +5208,11 @@ "SortOrder":{"shape":"SortOrder"} } }, + "SortingConfigurationList":{ + "type":"list", + "member":{"shape":"SortingConfiguration"}, + "min":1 + }, "SourceDocument":{ "type":"structure", "members":{ diff --git a/apis/kendra/2019-02-03/docs-2.json b/apis/kendra/2019-02-03/docs-2.json index b8621dbb68c..627b8232f9a 100644 --- a/apis/kendra/2019-02-03/docs-2.json +++ b/apis/kendra/2019-02-03/docs-2.json @@ -53,8 +53,8 @@ "ListTagsForResource": "

Gets a list of tags associated with a specified resource. Indexes, FAQs, and data sources can have tags associated with them.

", "ListThesauri": "

Lists the thesauri for an index.

", "PutPrincipalMapping": "

Maps users to their groups so that you only need to provide the user ID when you issue the query.

You can also map sub groups to groups. For example, the group \"Company Intellectual Property Teams\" includes sub groups \"Research\" and \"Engineering\". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their search results.

This is useful for user context filtering, where search results are filtered based on the user or their group access to documents. For more information, see Filtering on user context.

If more than five PUT actions for a group are currently processing, a validation exception is thrown.

", - "Query": "

Searches an index given an input query.

You can configure boosting or relevance tuning at the query level to override boosting at the index level, filter based on document fields/attributes and faceted search, and filter based on the user or their group access to documents. You can also include certain fields in the response that might provide useful additional information.

A query response contains three types of results.

You can specify that the query return only one type of result using the QueryResultTypeFilter parameter. Each query returns the 100 most relevant results. If you filter result type to only question-answers, a maximum of four results are returned. If you filter result type to only answers, a maximum of three results are returned.

", - "Retrieve": "

Retrieves relevant passages or text excerpts given an input query.

This API is similar to the Query API. However, by default, the Query API only returns excerpt passages of up to 100 token words. With the Retrieve API, you can retrieve longer passages of up to 200 token words and up to 100 semantically relevant passages. This doesn't include question-answer or FAQ type responses from your index. The passages are text excerpts that can be semantically extracted from multiple documents and multiple parts of the same document. If in extreme cases your documents produce zero passages using the Retrieve API, you can alternatively use the Query API and its types of responses.

You can also do the following:

You can also include certain fields in the response that might provide useful additional information.

The Retrieve API shares the number of query capacity units that you set for your index. For more information on what's included in a single capacity unit and the default base capacity for an index, see Adjusting capacity.

", + "Query": "

Searches an index given an input query.

If you are working with large language models (LLMs) or implementing retrieval augmented generation (RAG) systems, you can use Amazon Kendra's Retrieve API, which can return longer semantically relevant passages. We recommend using the Retrieve API instead of filing a service limit increase to increase the Query API document excerpt length.

You can configure boosting or relevance tuning at the query level to override boosting at the index level, filter based on document fields/attributes and faceted search, and filter based on the user or their group access to documents. You can also include certain fields in the response that might provide useful additional information.

A query response contains three types of results.

You can specify that the query return only one type of result using the QueryResultTypeFilter parameter. Each query returns the 100 most relevant results. If you filter result type to only question-answers, a maximum of four results are returned. If you filter result type to only answers, a maximum of three results are returned.

", + "Retrieve": "

Retrieves relevant passages or text excerpts given an input query.

This API is similar to the Query API. However, by default, the Query API only returns excerpt passages of up to 100 token words. With the Retrieve API, you can retrieve longer passages of up to 200 token words and up to 100 semantically relevant passages. This doesn't include question-answer or FAQ type responses from your index. The passages are text excerpts that can be semantically extracted from multiple documents and multiple parts of the same document. If in extreme cases your documents produce zero passages using the Retrieve API, you can alternatively use the Query API and its types of responses.

You can also do the following:

You can also include certain fields in the response that might provide useful additional information.

The Retrieve API shares the number of query capacity units that you set for your index. For more information on what's included in a single capacity unit and the default base capacity for an index, see Adjusting capacity.

", "StartDataSourceSyncJob": "

Starts a synchronization job for a data source connector. If a synchronization job is already in progress, Amazon Kendra returns a ResourceInUseException exception.

Re-syncing your data source with your index after modifying, adding, or deleting documents from your data source respository could take up to an hour or more, depending on the number of documents to sync.

", "StopDataSourceSyncJob": "

Stops a synchronization job that is currently running. You can't stop a scheduled synchronization job.

", "SubmitFeedback": "

Enables you to provide feedback to Amazon Kendra to improve the performance of your index.

SubmitFeedback is currently not supported in the Amazon Web Services GovCloud (US-West) region.

", @@ -358,6 +358,7 @@ "BoxConfiguration$CrawlComments": "

TRUE to index comments.

", "BoxConfiguration$CrawlTasks": "

TRUE to index the contents of tasks.

", "BoxConfiguration$CrawlWebLinks": "

TRUE to index web links.

", + "CollapseConfiguration$Expand": "

Specifies whether to expand the collapsed results.

", "ConfluenceAttachmentConfiguration$CrawlAttachments": "

TRUE to index attachments of pages and blogs in Confluence.

", "ConfluenceSpaceConfiguration$CrawlPersonalSpaces": "

TRUE to index personal spaces. You can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see Filtering on user context.

", "ConfluenceSpaceConfiguration$CrawlArchivedSpaces": "

TRUE to index archived spaces.

", @@ -454,6 +455,18 @@ "CreateThesaurusRequest$ClientToken": "

A token that you provide to identify the request to create a thesaurus. Multiple calls to the CreateThesaurus API with the same client token will create only one thesaurus.

" } }, + "CollapseConfiguration": { + "base": "

Specifies how to group results by document attribute value, and how to display them collapsed/expanded under a designated primary document for each group.

", + "refs": { + "QueryRequest$CollapseConfiguration": "

Provides configuration to determine how to group results by document attribute value, and how to display them (collapsed or expanded) under a designated primary document for each group.

" + } + }, + "CollapsedResultDetail": { + "base": "

Provides details about a collapsed group of search results.

", + "refs": { + "QueryResultItem$CollapsedResultDetail": "

Provides details about a collapsed group of search results.

" + } + }, "ColumnConfiguration": { "base": "

Provides information about how Amazon Kendra should use the columns of a database in an index.

", "refs": { @@ -1261,6 +1274,7 @@ "AttributeFilter$GreaterThanOrEquals": "

Performs a greater or equals than operation on document attributes/fields and their values. Use with the document attribute type Date or Long.

", "AttributeFilter$LessThan": "

Performs a less than operation on document attributes/fields and their values. Use with the document attribute type Date or Long.

", "AttributeFilter$LessThanOrEquals": "

Performs a less than or equals operation on document attributes/fields and their values. Use with the document attribute type Date or Long.

", + "CollapsedResultDetail$DocumentAttribute": "

The value of the document attribute that results are collapsed on.

", "DocumentAttributeList$member": null } }, @@ -1274,6 +1288,7 @@ "DocumentAttributeKey": { "base": null, "refs": { + "CollapseConfiguration$DocumentAttributeKey": "

The document attribute used to group search results. You can use any attribute that has the Sortable flag set to true. You can also sort by any of the following built-in attributes:\"_category\",\"_created_at\", \"_last_updated_at\", \"_version\", \"_view_count\".

", "DocumentAttribute$Key": "

The identifier for the attribute.

", "DocumentAttributeCondition$ConditionDocumentAttributeKey": "

The identifier of the document attribute used for the condition.

For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.

Amazon Kendra currently does not support _document_body as an attribute key used for the condition.

", "DocumentAttributeKeyList$member": null, @@ -1299,6 +1314,7 @@ "refs": { "Document$Attributes": "

Custom attributes to apply to the document. Use the custom attributes to provide additional information for searching, to provide facets for refining searches, and to provide additional information in the query response.

For example, 'DataSourceId' and 'DataSourceSyncJobId' are custom attributes that provide information on the synchronization of documents running on a data source. Note, 'DataSourceSyncJobId' could be an optional custom attribute as Amazon Kendra will use the ID of a running sync job.

", "DocumentInfo$Attributes": "

Attributes that identify a specific version of a document to check.

The only valid attributes are:

The attributes follow these rules:

", + "ExpandedResultItem$DocumentAttributes": "

An array of document attributes assigned to a document in the search results. For example, the document author (\"_author\") or the source URI (\"_source_uri\") of the document.

", "FeaturedResultsItem$DocumentAttributes": "

An array of document attributes assigned to a featured document in the search results. For example, the document author (_author) or the source URI (_source_uri) of the document.

", "QueryResultItem$DocumentAttributes": "

An array of document fields/attributes assigned to a document in the search results. For example, the document author (_author) or the source URI (_source_uri) of the document.

", "RetrieveResultItem$DocumentAttributes": "

An array of document fields/attributes assigned to a document in the search results. For example, the document author (_author) or the source URI (_source_uri) of the document.

", @@ -1360,6 +1376,7 @@ "Document$Id": "

A identifier of the document in the index.

Note, each document ID must be unique per index. You cannot create a data source to index your documents with their unique IDs and then use the BatchPutDocument API to index the same documents, or vice versa. You can delete a data source and then use the BatchPutDocument API to index the same documents, or vice versa.

", "DocumentIdList$member": null, "DocumentInfo$DocumentId": "

The identifier of the document.

", + "ExpandedResultItem$DocumentId": "

The idenitifier of the document.

", "FeaturedDocument$Id": "

The identifier of the document to feature in the search results. You can use the Query API to search for specific documents with their document IDs included in the result items, or you can use the console.

", "FeaturedDocumentMissing$Id": "

The identifier of the document that doesn't exist but you have specified as a featured document.

", "FeaturedDocumentWithMetadata$Id": "

The identifier of the featured document with its metadata. You can use the Query API to search for specific documents with their document IDs included in the result items, or you can use the console.

", @@ -1598,6 +1615,24 @@ "GoogleDriveConfiguration$ExcludeUserAccounts": "

A list of email addresses of the users. Documents owned by these users are excluded from the index. Documents shared with excluded users are indexed unless they are excluded in another way.

" } }, + "ExpandConfiguration": { + "base": "

Specifies the configuration information needed to customize how collapsed search result groups expand.

", + "refs": { + "CollapseConfiguration$ExpandConfiguration": "

Provides configuration information to customize expansion options for a collapsed group.

" + } + }, + "ExpandedResultItem": { + "base": "

A single expanded result in a collapsed group of search results.

An expanded result item contains information about an expanded result document within a collapsed group of search results. This includes the original location of the document, a list of attributes assigned to the document, and relevant text from the document that satisfies the query.

", + "refs": { + "ExpandedResultList$member": null + } + }, + "ExpandedResultList": { + "base": null, + "refs": { + "CollapsedResultDetail$ExpandedResults": "

A list of results in the collapsed group.

" + } + }, "ExperienceConfiguration": { "base": "

Provides the configuration information for your Amazon Kendra experience. This includes the data source IDs and/or FAQ IDs, and user or group information to grant access to your Amazon Kendra experience.

", "refs": { @@ -2250,6 +2285,8 @@ "DescribeQuerySuggestionsConfigResponse$QueryLogLookBackWindowInDays": "

How recent your queries are in your query log time window (in days).

", "DescribeQuerySuggestionsConfigResponse$TotalSuggestionsCount": "

The current total count of query suggestions for an index.

This count can change when you update your query suggestions settings, if you filter out certain queries from suggestions using a block list, and as the query log accumulates more queries for Amazon Kendra to learn from.

If the count is much lower than you expected, it could be because Amazon Kendra needs more queries in the query history to learn from or your current query suggestions settings are too strict.

", "DocumentAttributeValueCountPair$Count": "

The number of documents in the response that have the attribute/field value for the key.

", + "ExpandConfiguration$MaxResultItemsToExpand": "

The number of collapsed search result groups to expand. If you set this value to 10, for example, only the first 10 out of 100 result groups will have expand functionality.

", + "ExpandConfiguration$MaxExpandedResultsPerItem": "

The number of expanded results to show per collapsed primary document. For instance, if you set this value to 3, then at most 3 results per collapsed group will be displayed.

", "GetQuerySuggestionsRequest$MaxSuggestionsCount": "

The maximum number of query suggestions you want to show to your users.

", "GetSnapshotsRequest$MaxResults": "

The maximum number of returned data for the metric.

", "Highlight$BeginOffset": "

The zero-based location in the response string where the highlight starts.

", @@ -2668,6 +2705,12 @@ "UpdateQuerySuggestionsConfigRequest$MinimumQueryCount": "

The the minimum number of times a query must be searched in order to be eligible to suggest to your users.

Decreasing this number increases the number of suggestions. However, this affects the quality of suggestions as it sets a low bar for a query to be considered popular to suggest to users.

How you tune this setting depends on your specific needs.

" } }, + "MissingAttributeKeyStrategy": { + "base": null, + "refs": { + "CollapseConfiguration$MissingAttributeKeyStrategy": "

Specifies the behavior for documents without a value for the collapse attribute.

Amazon Kendra offers three customization options:

" + } + }, "Mode": { "base": null, "refs": { @@ -3073,6 +3116,7 @@ "base": null, "refs": { "ClickFeedback$ResultId": "

The identifier of the search result that was clicked.

", + "ExpandedResultItem$Id": "

The identifier for the expanded result.

", "FeaturedResultsItem$Id": "

The identifier of the featured result.

", "QueryResultItem$Id": "

The identifier for the query result.

", "RelevanceFeedback$ResultId": "

The identifier of the search result that the user provided relevance feedback for.

", @@ -3107,7 +3151,7 @@ "refs": { "BatchPutDocumentRequest$RoleArn": "

The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket. For more information, see IAM access roles for Amazon Kendra.

", "CreateDataSourceRequest$RoleArn": "

The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources. For more information, see IAM access roles for Amazon Kendra..

You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The RoleArn parameter is required for all other data sources.

", - "CreateExperienceRequest$RoleArn": "

The Amazon Resource Name (ARN) of an IAM role with permission to access Query API, GetQuerySuggestions API, and other required APIs. The role also must include permission to access IAM Identity Center (successor to Single Sign-On) that stores your user and group information. For more information, see IAM access roles for Amazon Kendra.

", + "CreateExperienceRequest$RoleArn": "

The Amazon Resource Name (ARN) of an IAM role with permission to access Query API, GetQuerySuggestions API, and other required APIs. The role also must include permission to access IAM Identity Center that stores your user and group information. For more information, see IAM access roles for Amazon Kendra.

", "CreateFaqRequest$RoleArn": "

The Amazon Resource Name (ARN) of an IAM role with permission to access the S3 bucket that contains the FAQs. For more information, see IAM access roles for Amazon Kendra.

", "CreateIndexRequest$RoleArn": "

The Amazon Resource Name (ARN) of an IAM role with permission to access your Amazon CloudWatch logs and metrics. For more information, see IAM access roles for Amazon Kendra.

", "CreateQuerySuggestionsBlockListRequest$RoleArn": "

The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket that contains the block list text file. For more information, see IAM access roles for Amazon Kendra.

", @@ -3502,7 +3546,15 @@ "SortingConfiguration": { "base": "

Specifies the document attribute to use to sort the response to a Amazon Kendra query. You can specify a single attribute for sorting. The attribute must have the Sortable flag set to true, otherwise Amazon Kendra returns an exception.

You can sort attributes of the following types.

You can't sort attributes of the following type.

", "refs": { - "QueryRequest$SortingConfiguration": "

Provides information that determines how the results of the query are sorted. You can set the field that Amazon Kendra should sort the results on, and specify whether the results should be sorted in ascending or descending order. In the case of ties in sorting the results, the results are sorted by relevance.

If you don't provide sorting configuration, the results are sorted by the relevance that Amazon Kendra determines for the result.

" + "QueryRequest$SortingConfiguration": "

Provides information that determines how the results of the query are sorted. You can set the field that Amazon Kendra should sort the results on, and specify whether the results should be sorted in ascending or descending order. In the case of ties in sorting the results, the results are sorted by relevance.

If you don't provide sorting configuration, the results are sorted by the relevance that Amazon Kendra determines for the result.

", + "SortingConfigurationList$member": null + } + }, + "SortingConfigurationList": { + "base": null, + "refs": { + "CollapseConfiguration$SortingConfigurations": "

A prioritized list of document attributes/fields that determine the primary document among those in a collapsed group.

", + "QueryRequest$SortingConfigurations": "

Provides configuration information to determine how the results of a query are sorted.

You can set upto 3 fields that Amazon Kendra should sort the results on, and specify whether the results should be sorted in ascending or descending order. The sort field quota can be increased.

If you don't provide a sorting configuration, the results are sorted by the relevance that Amazon Kendra determines for the result. In the case of ties in sorting the results, the results are sorted by relevance.

" } }, "SourceDocument": { @@ -3821,6 +3873,8 @@ "base": "

Provides text and information about where to highlight the text.

", "refs": { "AdditionalResultAttributeValue$TextWithHighlightsValue": "

The text associated with the attribute and information about the highlight to apply to the text.

", + "ExpandedResultItem$DocumentTitle": null, + "ExpandedResultItem$DocumentExcerpt": null, "FeaturedResultsItem$DocumentTitle": null, "FeaturedResultsItem$DocumentExcerpt": null, "QueryResultItem$DocumentTitle": "

The title of the document. Contains the text of the title and information for highlighting the relevant terms in the title.

", @@ -4006,6 +4060,7 @@ "base": null, "refs": { "ConfluenceConfiguration$ServerUrl": "

The URL of your Confluence instance. Use the full URL of the server. For example, https://server.example.com:port/. You can also use an IP address, for example, https://192.168.1.113/.

", + "ExpandedResultItem$DocumentURI": "

The URI of the original location of the document.

", "FeaturedDocumentWithMetadata$URI": "

The source URI location of the featured document.

", "FeaturedResultsItem$DocumentURI": "

The source URI location of the featured document.

", "JwtTokenTypeConfiguration$URL": "

The signing key URL.

", @@ -4046,17 +4101,17 @@ } }, "UserGroupResolutionConfiguration": { - "base": "

Provides the configuration information to get users and groups from an IAM Identity Center (successor to Single Sign-On) identity source. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents. You can also use the PutPrincipalMapping API to map users to their groups so that you only need to provide the user ID when you issue the query.

To set up an IAM Identity Center identity source in the console to use with Amazon Kendra, see Getting started with an IAM Identity Center identity source. You must also grant the required permissions to use IAM Identity Center with Amazon Kendra. For more information, see IAM roles for IAM Identity Center.

Amazon Kendra currently does not support using UserGroupResolutionConfiguration with an Amazon Web Services organization member account for your IAM Identity Center identify source. You must create your index in the management account for the organization in order to use UserGroupResolutionConfiguration.

", + "base": "

Provides the configuration information to get users and groups from an IAM Identity Center identity source. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents. You can also use the PutPrincipalMapping API to map users to their groups so that you only need to provide the user ID when you issue the query.

To set up an IAM Identity Center identity source in the console to use with Amazon Kendra, see Getting started with an IAM Identity Center identity source. You must also grant the required permissions to use IAM Identity Center with Amazon Kendra. For more information, see IAM roles for IAM Identity Center.

Amazon Kendra currently does not support using UserGroupResolutionConfiguration with an Amazon Web Services organization member account for your IAM Identity Center identify source. You must create your index in the management account for the organization in order to use UserGroupResolutionConfiguration.

", "refs": { - "CreateIndexRequest$UserGroupResolutionConfiguration": "

Gets users and groups from IAM Identity Center (successor to Single Sign-On) identity source. To configure this, see UserGroupResolutionConfiguration.

", - "DescribeIndexResponse$UserGroupResolutionConfiguration": "

Whether you have enabled the configuration for fetching access levels of groups and users from an IAM Identity Center (successor to Single Sign-On) identity source.

", - "UpdateIndexRequest$UserGroupResolutionConfiguration": "

Enables fetching access levels of groups and users from an IAM Identity Center (successor to Single Sign-On) identity source. To configure this, see UserGroupResolutionConfiguration.

" + "CreateIndexRequest$UserGroupResolutionConfiguration": "

Gets users and groups from IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration.

", + "DescribeIndexResponse$UserGroupResolutionConfiguration": "

Whether you have enabled the configuration for fetching access levels of groups and users from an IAM Identity Center identity source.

", + "UpdateIndexRequest$UserGroupResolutionConfiguration": "

Enables fetching access levels of groups and users from an IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration.

" } }, "UserGroupResolutionMode": { "base": null, "refs": { - "UserGroupResolutionConfiguration$UserGroupResolutionMode": "

The identity store provider (mode) you want to use to get users and groups. IAM Identity Center (successor to Single Sign-On) is currently the only available mode. Your users and groups must exist in an IAM Identity Center identity source in order to use this mode.

" + "UserGroupResolutionConfiguration$UserGroupResolutionMode": "

The identity store provider (mode) you want to use to get users and groups. IAM Identity Center is currently the only available mode. Your users and groups must exist in an IAM Identity Center identity source in order to use this mode.

" } }, "UserId": { diff --git a/apis/kendra/2019-02-03/endpoint-rule-set-1.json b/apis/kendra/2019-02-03/endpoint-rule-set-1.json index 6caf5607266..02f854fd29b 100644 --- a/apis/kendra/2019-02-03/endpoint-rule-set-1.json +++ b/apis/kendra/2019-02-03/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/apis/rds/2013-01-10/endpoint-rule-set-1.json b/apis/rds/2013-01-10/endpoint-rule-set-1.json index 00bd15c3610..1dfb5f08259 100644 --- a/apis/rds/2013-01-10/endpoint-rule-set-1.json +++ b/apis/rds/2013-01-10/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,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -326,9 +324,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/apis/rds/2013-02-12/endpoint-rule-set-1.json b/apis/rds/2013-02-12/endpoint-rule-set-1.json index 00bd15c3610..1dfb5f08259 100644 --- a/apis/rds/2013-02-12/endpoint-rule-set-1.json +++ b/apis/rds/2013-02-12/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,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -326,9 +324,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/apis/rds/2013-09-09/endpoint-rule-set-1.json b/apis/rds/2013-09-09/endpoint-rule-set-1.json index 00bd15c3610..1dfb5f08259 100644 --- a/apis/rds/2013-09-09/endpoint-rule-set-1.json +++ b/apis/rds/2013-09-09/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,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -326,9 +324,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/apis/rds/2014-09-01/endpoint-rule-set-1.json b/apis/rds/2014-09-01/endpoint-rule-set-1.json index 00bd15c3610..1dfb5f08259 100644 --- a/apis/rds/2014-09-01/endpoint-rule-set-1.json +++ b/apis/rds/2014-09-01/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,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -326,9 +324,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/apis/rds/2014-10-31/api-2.json b/apis/rds/2014-10-31/api-2.json index 0461ab8522c..3c01c28d3db 100644 --- a/apis/rds/2014-10-31/api-2.json +++ b/apis/rds/2014-10-31/api-2.json @@ -3134,7 +3134,9 @@ "TargetEngineVersion":{"shape":"TargetEngineVersion"}, "TargetDBParameterGroupName":{"shape":"TargetDBParameterGroupName"}, "TargetDBClusterParameterGroupName":{"shape":"TargetDBClusterParameterGroupName"}, - "Tags":{"shape":"TagList"} + "Tags":{"shape":"TagList"}, + "TargetDBInstanceClass":{"shape":"TargetDBInstanceClass"}, + "UpgradeTargetStorageConfig":{"shape":"BooleanOptional"} } }, "CreateBlueGreenDeploymentResponse":{ @@ -3410,7 +3412,8 @@ "EnableCustomerOwnedIp":{"shape":"BooleanOptional"}, "AllocatedStorage":{"shape":"IntegerOptional"}, "SourceDBClusterIdentifier":{"shape":"String"}, - "DedicatedLogVolume":{"shape":"BooleanOptional"} + "DedicatedLogVolume":{"shape":"BooleanOptional"}, + "UpgradeStorageConfig":{"shape":"BooleanOptional"} } }, "CreateDBInstanceReadReplicaResult":{ @@ -4349,7 +4352,8 @@ "CertificateDetails":{"shape":"CertificateDetails"}, "ReadReplicaSourceDBClusterIdentifier":{"shape":"String"}, "PercentProgress":{"shape":"String"}, - "DedicatedLogVolume":{"shape":"Boolean"} + "DedicatedLogVolume":{"shape":"Boolean"}, + "IsStorageConfigUpgradeAvailable":{"shape":"BooleanOptional"} }, "wrapper":true }, @@ -8844,6 +8848,12 @@ "min":1, "pattern":"[A-Za-z](?!.*--)[0-9A-Za-z-]*[^-]|^default(?!.*--)(?!.*\\.\\.)[0-9A-Za-z-.]*[^-]" }, + "TargetDBInstanceClass":{ + "type":"string", + "max":20, + "min":5, + "pattern":"db\\.[0-9a-z]{2,6}\\.[0-9a-z]{4,9}" + }, "TargetDBParameterGroupName":{ "type":"string", "max":255, diff --git a/apis/rds/2014-10-31/docs-2.json b/apis/rds/2014-10-31/docs-2.json index bf89c86c8de..c4eea69e8db 100644 --- a/apis/rds/2014-10-31/docs-2.json +++ b/apis/rds/2014-10-31/docs-2.json @@ -531,6 +531,7 @@ "CopyDBClusterSnapshotMessage$CopyTags": "

Specifies whether to copy all tags from the source DB cluster snapshot to the target DB cluster snapshot. By default, tags are not copied.

", "CopyDBSnapshotMessage$CopyTags": "

Specifies whether to copy all tags from the source DB snapshot to the target DB snapshot. By default, tags aren't copied.

", "CopyDBSnapshotMessage$CopyOptionGroup": "

Specifies whether to copy the DB option group associated with the source DB snapshot to the target Amazon Web Services account and associate with the target DB snapshot. The associated option group can be copied only with cross-account snapshot copy calls.

", + "CreateBlueGreenDeploymentRequest$UpgradeTargetStorageConfig": "

Whether to upgrade the storage file system configuration on the green database. This option migrates the green DB instance from the older 32-bit file system to the preferred configuration. For more information, see Upgrading the storage file system for a DB instance.

", "CreateCustomDBEngineVersionMessage$UseAwsProvidedLatestImage": "

Reserved for future use.

", "CreateDBClusterMessage$StorageEncrypted": "

Specifies whether the DB cluster is encrypted.

Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

", "CreateDBClusterMessage$EnableIAMDatabaseAuthentication": "

Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled.

For more information, see IAM Database Authentication in the Amazon Aurora User Guide.

Valid for Cluster Type: Aurora DB clusters only

", @@ -564,6 +565,7 @@ "CreateDBInstanceReadReplicaMessage$DeletionProtection": "

Specifies whether to enable deletion protection for the DB instance. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled. For more information, see Deleting a DB Instance.

", "CreateDBInstanceReadReplicaMessage$EnableCustomerOwnedIp": "

Specifies whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts read replica.

A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the read replica from outside of its virtual private cloud (VPC) on your local network.

For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.

", "CreateDBInstanceReadReplicaMessage$DedicatedLogVolume": "

Indicates whether the DB instance has a dedicated log volume (DLV) enabled.

", + "CreateDBInstanceReadReplicaMessage$UpgradeStorageConfig": "

Whether to upgrade the storage file system configuration on the read replica. This option migrates the read replica from the old storage file system layout to the preferred layout.

", "CreateEventSubscriptionMessage$Enabled": "

Specifies whether to activate the subscription. If the event notification subscription isn't activated, the subscription is created but not active.

", "CreateGlobalClusterMessage$DeletionProtection": "

Specifies whether to enable deletion protection for the new global database cluster. The global database can't be deleted when deletion protection is enabled.

", "CreateGlobalClusterMessage$StorageEncrypted": "

Specifies whether to enable storage encryption for the new global database cluster.

Constraints:

", @@ -581,6 +583,7 @@ "DBInstance$PerformanceInsightsEnabled": "

Indicates whether Performance Insights is enabled for the DB instance.

", "DBInstance$CustomerOwnedIpEnabled": "

Indicates whether a customer-owned IP address (CoIP) is enabled for an RDS on Outposts DB instance.

A CoIP provides local or external connectivity to resources in your Outpost subnets through your on-premises network. For some use cases, a CoIP can provide lower latency for connections to the DB instance from outside of its virtual private cloud (VPC) on your local network.

For more information about RDS on Outposts, see Working with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

For more information about CoIPs, see Customer-owned IP addresses in the Amazon Web Services Outposts User Guide.

", "DBInstance$ActivityStreamEngineNativeAuditFieldsIncluded": "

Indicates whether engine-native audit fields are included in the database activity stream.

", + "DBInstance$IsStorageConfigUpgradeAvailable": "

Indicates whether an upgrade is recommended for the storage file system configuration on the DB instance. To migrate to the preferred configuration, you can either create a blue/green deployment, or create a read replica from the DB instance. For more information, see Upgrading the storage file system for a DB instance.

", "DBInstanceAutomatedBackup$DedicatedLogVolume": "

Indicates whether the DB instance has a dedicated log volume (DLV) enabled.

", "DeleteBlueGreenDeploymentRequest$DeleteTarget": "

Specifies whether to delete the resources in the green environment. You can't specify this option if the blue/green deployment status is SWITCHOVER_COMPLETED.

", "DeleteDBClusterMessage$DeleteAutomatedBackups": "

Specifies whether to remove automated backups immediately after the DB cluster is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB cluster is deleted.

", @@ -5286,6 +5289,12 @@ "CreateBlueGreenDeploymentRequest$TargetDBClusterParameterGroupName": "

The DB cluster parameter group associated with the Aurora DB cluster in the green environment.

To test parameter changes, specify a DB cluster parameter group that is different from the one associated with the source DB cluster.

" } }, + "TargetDBInstanceClass": { + "base": null, + "refs": { + "CreateBlueGreenDeploymentRequest$TargetDBInstanceClass": "

Specify the DB instance class for the databases in the green environment.

" + } + }, "TargetDBParameterGroupName": { "base": null, "refs": { diff --git a/apis/rds/2014-10-31/endpoint-rule-set-1.json b/apis/rds/2014-10-31/endpoint-rule-set-1.json index 00bd15c3610..1dfb5f08259 100644 --- a/apis/rds/2014-10-31/endpoint-rule-set-1.json +++ b/apis/rds/2014-10-31/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,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -326,9 +324,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/apis/wisdom/2020-10-19/api-2.json b/apis/wisdom/2020-10-19/api-2.json index af4a2d03a32..4439be5418f 100644 --- a/apis/wisdom/2020-10-19/api-2.json +++ b/apis/wisdom/2020-10-19/api-2.json @@ -1552,7 +1552,9 @@ }, "RecommendationIdList":{ "type":"list", - "member":{"shape":"String"} + "member":{"shape":"String"}, + "max":25, + "min":0 }, "RecommendationList":{ "type":"list", diff --git a/apis/wisdom/2020-10-19/endpoint-rule-set-1.json b/apis/wisdom/2020-10-19/endpoint-rule-set-1.json index 7bbf62b4649..47191e6df0b 100644 --- a/apis/wisdom/2020-10-19/endpoint-rule-set-1.json +++ b/apis/wisdom/2020-10-19/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/gems/aws-partitions/CHANGELOG.md b/gems/aws-partitions/CHANGELOG.md index 33ccd36b984..3e6c6d10e6b 100644 --- a/gems/aws-partitions/CHANGELOG.md +++ b/gems/aws-partitions/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.838.0 (2023-10-18) +------------------ + +* Feature - Updated the partitions source data the determines the AWS service regions and endpoints. + 1.837.0 (2023-10-17) ------------------ diff --git a/gems/aws-partitions/VERSION b/gems/aws-partitions/VERSION index 1350f135f85..6ae9c3f1df1 100644 --- a/gems/aws-partitions/VERSION +++ b/gems/aws-partitions/VERSION @@ -1 +1 @@ -1.837.0 +1.838.0 diff --git a/gems/aws-partitions/partitions.json b/gems/aws-partitions/partitions.json index a96e7262a4d..4b3a4413692 100644 --- a/gems/aws-partitions/partitions.json +++ b/gems/aws-partitions/partitions.json @@ -7042,6 +7042,7 @@ }, "finspace" : { "endpoints" : { + "ap-northeast-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ca-central-1" : { }, diff --git a/gems/aws-sdk-cloud9/CHANGELOG.md b/gems/aws-sdk-cloud9/CHANGELOG.md index 9b4598cba1d..a440a421a91 100644 --- a/gems/aws-sdk-cloud9/CHANGELOG.md +++ b/gems/aws-sdk-cloud9/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.60.0 (2023-10-18) +------------------ + +* Feature - Update to imageId parameter behavior and dates updated. + 1.59.0 (2023-09-27) ------------------ diff --git a/gems/aws-sdk-cloud9/VERSION b/gems/aws-sdk-cloud9/VERSION index bb120e876c6..4d5fde5bd16 100644 --- a/gems/aws-sdk-cloud9/VERSION +++ b/gems/aws-sdk-cloud9/VERSION @@ -1 +1 @@ -1.59.0 +1.60.0 diff --git a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9.rb b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9.rb index dc03ba2d17f..fcbb1129f23 100644 --- a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9.rb +++ b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9.rb @@ -52,6 +52,6 @@ # @!group service module Aws::Cloud9 - GEM_VERSION = '1.59.0' + GEM_VERSION = '1.60.0' end diff --git a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb index 9dfc4de25b3..a2787328e8e 100644 --- a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb +++ b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb @@ -436,15 +436,20 @@ def initialize(*args) # specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM) # path. # - # The default Amazon Linux AMI is currently used if the parameter isn't - # explicitly assigned a value in the request. Because Amazon Linux AMI - # has ended standard support as of December 31, 2020, we recommend you - # choose Amazon Linux 2, which includes long term support through 2023. - # - # From December 31, 2023, the parameter for Amazon Linux will no longer - # be available when you specify an AMI for your instance. Amazon Linux 2 - # will then become the default AMI, which is used to launch your - # instance if no parameter is explicitly defined. + # From November 20, 2023, you will be required to include the `imageId` + # parameter for the `CreateEnvironmentEC2` action. This change will be + # reflected across all direct methods of communicating with the API, + # such as Amazon Web Services SDK, Amazon Web Services CLI and Amazon + # Web Services CloudFormation. This change will only affect direct API + # consumers, and not Cloud9 console users. + # + # From January 22, 2024, Amazon Linux (AL1) will be removed from the + # list of available image IDs for Cloud9. This is necessary as AL1 will + # reach the end of maintenance support in December 2023, and as a result + # will no longer receive security updates. We recommend using Amazon + # Linux 2 as the AMI to create your environment as it is fully + # supported. This change will only affect direct API consumers, and not + # Cloud9 console users. # # Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we # recommend you choose Ubuntu 22.04. @@ -1261,7 +1266,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-cloud9' - context[:gem_version] = '1.59.0' + context[:gem_version] = '1.60.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/endpoint_provider.rb b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/endpoint_provider.rb index 40fe6d28db6..16146292c6c 100644 --- a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/endpoint_provider.rb +++ b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/endpoint_provider.rb @@ -32,7 +32,7 @@ def resolve_endpoint(parameters) raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both" end if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) + if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) return Aws::Endpoints::Endpoint.new(url: "https://cloud9-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) end raise ArgumentError, "FIPS is enabled but this partition does not support FIPS" diff --git a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/types.rb b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/types.rb index 625725d53e2..117ee5ed5dc 100644 --- a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/types.rb +++ b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/types.rb @@ -67,16 +67,20 @@ class ConflictException < Aws::EmptyStructure; end # specify a valid AMI alias or a valid Amazon EC2 Systems Manager # (SSM) path. # - # The default Amazon Linux AMI is currently used if the parameter - # isn't explicitly assigned a value in the request. Because Amazon - # Linux AMI has ended standard support as of December 31, 2020, we - # recommend you choose Amazon Linux 2, which includes long term - # support through 2023. - # - # From December 31, 2023, the parameter for Amazon Linux will no - # longer be available when you specify an AMI for your instance. - # Amazon Linux 2 will then become the default AMI, which is used to - # launch your instance if no parameter is explicitly defined. + # From November 20, 2023, you will be required to include the + # `imageId` parameter for the `CreateEnvironmentEC2` action. This + # change will be reflected across all direct methods of communicating + # with the API, such as Amazon Web Services SDK, Amazon Web Services + # CLI and Amazon Web Services CloudFormation. This change will only + # affect direct API consumers, and not Cloud9 console users. + # + # From January 22, 2024, Amazon Linux (AL1) will be removed from the + # list of available image IDs for Cloud9. This is necessary as AL1 + # will reach the end of maintenance support in December 2023, and as a + # result will no longer receive security updates. We recommend using + # Amazon Linux 2 as the AMI to create your environment as it is fully + # supported. This change will only affect direct API consumers, and + # not Cloud9 console users. # # Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we # recommend you choose Ubuntu 22.04. diff --git a/gems/aws-sdk-connectwisdomservice/CHANGELOG.md b/gems/aws-sdk-connectwisdomservice/CHANGELOG.md index 1880eb834b0..66ebf6277d8 100644 --- a/gems/aws-sdk-connectwisdomservice/CHANGELOG.md +++ b/gems/aws-sdk-connectwisdomservice/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.21.0 (2023-10-18) +------------------ + +* Feature - This release adds an max limit of 25 recommendation ids for NotifyRecommendationsReceived API. + 1.20.0 (2023-09-27) ------------------ diff --git a/gems/aws-sdk-connectwisdomservice/VERSION b/gems/aws-sdk-connectwisdomservice/VERSION index 39893559155..3500250a4b0 100644 --- a/gems/aws-sdk-connectwisdomservice/VERSION +++ b/gems/aws-sdk-connectwisdomservice/VERSION @@ -1 +1 @@ -1.20.0 +1.21.0 diff --git a/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice.rb b/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice.rb index 4beff470913..4483b4b47b1 100644 --- a/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice.rb +++ b/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice.rb @@ -52,6 +52,6 @@ # @!group service module Aws::ConnectWisdomService - GEM_VERSION = '1.20.0' + GEM_VERSION = '1.21.0' end diff --git a/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/client.rb b/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/client.rb index f828b633885..5f18365f66e 100644 --- a/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/client.rb +++ b/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/client.rb @@ -2035,7 +2035,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-connectwisdomservice' - context[:gem_version] = '1.20.0' + context[:gem_version] = '1.21.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/endpoint_provider.rb b/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/endpoint_provider.rb index c004858be4a..a11a0acfbfd 100644 --- a/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/endpoint_provider.rb +++ b/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/endpoint_provider.rb @@ -32,7 +32,7 @@ def resolve_endpoint(parameters) raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both" end if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) + if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) return Aws::Endpoints::Endpoint.new(url: "https://wisdom-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) end raise ArgumentError, "FIPS is enabled but this partition does not support FIPS" diff --git a/gems/aws-sdk-dynamodb/CHANGELOG.md b/gems/aws-sdk-dynamodb/CHANGELOG.md index 69ec60ac108..11ce0b925a1 100644 --- a/gems/aws-sdk-dynamodb/CHANGELOG.md +++ b/gems/aws-sdk-dynamodb/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.96.0 (2023-10-18) +------------------ + +* Feature - Updating descriptions for several APIs. + 1.95.0 (2023-09-27) ------------------ diff --git a/gems/aws-sdk-dynamodb/VERSION b/gems/aws-sdk-dynamodb/VERSION index 55f6ae93382..9141007a558 100644 --- a/gems/aws-sdk-dynamodb/VERSION +++ b/gems/aws-sdk-dynamodb/VERSION @@ -1 +1 @@ -1.95.0 +1.96.0 diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb index 1266531bff8..6105ddf429c 100644 --- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb +++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb @@ -54,6 +54,6 @@ # @!group service module Aws::DynamoDB - GEM_VERSION = '1.95.0' + GEM_VERSION = '1.96.0' end diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb index f6973fc58c0..6fcde1b60a5 100644 --- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb +++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb @@ -3467,9 +3467,9 @@ def execute_transaction(params = {}, options = {}) # # @option params [String] :export_type # Choice of whether to execute as a full export or incremental export. - # Valid values are `FULL_EXPORT` or `INCREMENTAL_EXPORT`. If - # `INCREMENTAL_EXPORT` is provided, the `IncrementalExportSpecification` - # must also be used. + # Valid values are FULL\_EXPORT or INCREMENTAL\_EXPORT. The default + # value is FULL\_EXPORT. If INCREMENTAL\_EXPORT is provided, the + # IncrementalExportSpecification must also be used. # # @option params [Types::IncrementalExportSpecification] :incremental_export_specification # Optional object containing the parameters specific to an incremental @@ -5839,7 +5839,7 @@ def restore_table_to_point_in_time(params = {}, options = {}) # # # - # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression + # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.FilterExpression # # @option params [Hash] :expression_attribute_names # One or more substitution tokens for attribute names in an expression. @@ -7861,7 +7861,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-dynamodb' - context[:gem_version] = '1.95.0' + context[:gem_version] = '1.96.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/endpoint_provider.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/endpoint_provider.rb index 64750b9fa86..1c7d8d28ad8 100644 --- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/endpoint_provider.rb +++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/endpoint_provider.rb @@ -32,8 +32,8 @@ def resolve_endpoint(parameters) raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both" end if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) - if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name")) + if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) + if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") return Aws::Endpoints::Endpoint.new(url: "https://dynamodb.#{region}.amazonaws.com", headers: {}, properties: {}) end return Aws::Endpoints::Endpoint.new(url: "https://dynamodb-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/table.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/table.rb index 297879dd17a..12235b92a16 100644 --- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/table.rb +++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/table.rb @@ -1681,7 +1681,7 @@ def query(options = {}) # # # - # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression + # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.FilterExpression # @option options [Hash] :expression_attribute_names # One or more substitution tokens for attribute names in an expression. # The following are some use cases for using `ExpressionAttributeNames`: diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb index c888df7f9e2..f9839a050c3 100644 --- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb +++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/types.rb @@ -3501,10 +3501,8 @@ class ExportConflictException < Struct.new( # @return [Integer] # # @!attribute [rw] export_type - # Choice of whether to execute as a full export or incremental export. - # Valid values are `FULL_EXPORT` or `INCREMENTAL_EXPORT`. If - # `INCREMENTAL_EXPORT` is provided, the - # `IncrementalExportSpecification` must also be used. + # The type of export that was performed. Valid values are + # `FULL_EXPORT` or `INCREMENTAL_EXPORT`. # @return [String] # # @!attribute [rw] incremental_export_specification @@ -3565,10 +3563,8 @@ class ExportNotFoundException < Struct.new( # @return [String] # # @!attribute [rw] export_type - # Choice of whether to execute as a full export or incremental export. - # Valid values are `FULL_EXPORT` or `INCREMENTAL_EXPORT`. If - # `INCREMENTAL_EXPORT` is provided, the - # `IncrementalExportSpecification` must also be used. + # The type of export that was performed. Valid values are + # `FULL_EXPORT` or `INCREMENTAL_EXPORT`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportSummary AWS API Documentation @@ -3645,9 +3641,9 @@ class ExportSummary < Struct.new( # # @!attribute [rw] export_type # Choice of whether to execute as a full export or incremental export. - # Valid values are `FULL_EXPORT` or `INCREMENTAL_EXPORT`. If - # `INCREMENTAL_EXPORT` is provided, the - # `IncrementalExportSpecification` must also be used. + # Valid values are FULL\_EXPORT or INCREMENTAL\_EXPORT. The default + # value is FULL\_EXPORT. If INCREMENTAL\_EXPORT is provided, the + # IncrementalExportSpecification must also be used. # @return [String] # # @!attribute [rw] incremental_export_specification @@ -4612,9 +4608,9 @@ class ImportTableOutput < Struct.new( # @return [Time] # # @!attribute [rw] export_view_type - # Choice of whether to output the previous item image prior to the - # start time of the incremental export. Valid values are - # `NEW_AND_OLD_IMAGES` and `NEW_IMAGES`. + # The view type that was chosen for the export. Valid values are + # `NEW_AND_OLD_IMAGES` and `NEW_IMAGES`. The default value is + # `NEW_AND_OLD_IMAGES`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/IncrementalExportSpecification AWS API Documentation @@ -7743,7 +7739,7 @@ class SSESpecification < Struct.new( # # # - # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression + # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.FilterExpression # @return [String] # # @!attribute [rw] expression_attribute_names @@ -8872,6 +8868,11 @@ class TransactWriteItemsOutput < Struct.new( # # * There is a user error, such as an invalid data format. # + # * There is an ongoing `TransactWriteItems` operation that conflicts + # with a concurrent `TransactWriteItems` request. In this case the + # `TransactWriteItems` operation fails with a + # `TransactionCanceledException`. + # # DynamoDB cancels a `TransactGetItems` request under the following # circumstances: # diff --git a/gems/aws-sdk-kendra/CHANGELOG.md b/gems/aws-sdk-kendra/CHANGELOG.md index 9ec6a61ba61..9165a9c212b 100644 --- a/gems/aws-sdk-kendra/CHANGELOG.md +++ b/gems/aws-sdk-kendra/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.74.0 (2023-10-18) +------------------ + +* Feature - Changes for a new feature in Amazon Kendra's Query API to Collapse/Expand query results + 1.73.0 (2023-09-27) ------------------ diff --git a/gems/aws-sdk-kendra/VERSION b/gems/aws-sdk-kendra/VERSION index 5e3a4256626..dc87e8af82f 100644 --- a/gems/aws-sdk-kendra/VERSION +++ b/gems/aws-sdk-kendra/VERSION @@ -1 +1 @@ -1.73.0 +1.74.0 diff --git a/gems/aws-sdk-kendra/lib/aws-sdk-kendra.rb b/gems/aws-sdk-kendra/lib/aws-sdk-kendra.rb index bd7057812e7..c20eca889d7 100644 --- a/gems/aws-sdk-kendra/lib/aws-sdk-kendra.rb +++ b/gems/aws-sdk-kendra/lib/aws-sdk-kendra.rb @@ -52,6 +52,6 @@ # @!group service module Aws::Kendra - GEM_VERSION = '1.73.0' + GEM_VERSION = '1.74.0' end diff --git a/gems/aws-sdk-kendra/lib/aws-sdk-kendra/client.rb b/gems/aws-sdk-kendra/lib/aws-sdk-kendra/client.rb index 7ee2599ceb4..84f6afdde07 100644 --- a/gems/aws-sdk-kendra/lib/aws-sdk-kendra/client.rb +++ b/gems/aws-sdk-kendra/lib/aws-sdk-kendra/client.rb @@ -1874,9 +1874,8 @@ def create_data_source(params = {}, options = {}) # The Amazon Resource Name (ARN) of an IAM role with permission to # access `Query` API, `GetQuerySuggestions` API, and other required # APIs. The role also must include permission to access IAM Identity - # Center (successor to Single Sign-On) that stores your user and group - # information. For more information, see [IAM access roles for Amazon - # Kendra][1]. + # Center that stores your user and group information. For more + # information, see [IAM access roles for Amazon Kendra][1]. # # # @@ -2251,9 +2250,8 @@ def create_featured_results_set(params = {}, options = {}) # accessible to the user will be searchable and displayable. # # @option params [Types::UserGroupResolutionConfiguration] :user_group_resolution_configuration - # Gets users and groups from IAM Identity Center (successor to Single - # Sign-On) identity source. To configure this, see - # [UserGroupResolutionConfiguration][1]. + # Gets users and groups from IAM Identity Center identity source. To + # configure this, see [UserGroupResolutionConfiguration][1]. # # # @@ -5068,6 +5066,15 @@ def put_principal_mapping(params = {}, options = {}) # Searches an index given an input query. # + # If you are working with large language models (LLMs) or implementing + # retrieval augmented generation (RAG) systems, you can use Amazon + # Kendra's [Retrieve][1] API, which can return longer semantically + # relevant passages. We recommend using the `Retrieve` API instead of + # filing a service limit increase to increase the `Query` API document + # excerpt length. + # + # + # # You can configure boosting or relevance tuning at the query level to # override boosting at the index level, filter based on document # fields/attributes and faceted search, and filter based on the user or @@ -5091,6 +5098,10 @@ def put_principal_mapping(params = {}, options = {}) # a maximum of four results are returned. If you filter result type to # only answers, a maximum of three results are returned. # + # + # + # [1]: https://docs.aws.amazon.com/kendra/latest/APIReference/API_Retrieve.html + # # @option params [required, String] :index_id # The identifier of the index for the search. # @@ -5156,6 +5167,19 @@ def put_principal_mapping(params = {}, options = {}) # If you don't provide sorting configuration, the results are sorted by # the relevance that Amazon Kendra determines for the result. # + # @option params [Array] :sorting_configurations + # Provides configuration information to determine how the results of a + # query are sorted. + # + # You can set upto 3 fields that Amazon Kendra should sort the results + # on, and specify whether the results should be sorted in ascending or + # descending order. The sort field quota can be increased. + # + # If you don't provide a sorting configuration, the results are sorted + # by the relevance that Amazon Kendra determines for the result. In the + # case of ties in sorting the results, the results are sorted by + # relevance. + # # @option params [Types::UserContext] :user_context # The user context token or user and group information. # @@ -5168,6 +5192,11 @@ def put_principal_mapping(params = {}, options = {}) # @option params [Types::SpellCorrectionConfiguration] :spell_correction_configuration # Enables suggested spell corrections for queries. # + # @option params [Types::CollapseConfiguration] :collapse_configuration + # Provides configuration to determine how to group results by document + # attribute value, and how to display them (collapsed or expanded) under + # a designated primary document for each group. + # # @return [Types::QueryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::QueryResult#query_id #query_id} => String @@ -5292,6 +5321,12 @@ def put_principal_mapping(params = {}, options = {}) # document_attribute_key: "DocumentAttributeKey", # required # sort_order: "DESC", # required, accepts DESC, ASC # }, + # sorting_configurations: [ + # { + # document_attribute_key: "DocumentAttributeKey", # required + # sort_order: "DESC", # required, accepts DESC, ASC + # }, + # ], # user_context: { # token: "Token", # user_id: "PrincipalName", @@ -5307,6 +5342,21 @@ def put_principal_mapping(params = {}, options = {}) # spell_correction_configuration: { # include_query_spell_check_suggestions: false, # required # }, + # collapse_configuration: { + # document_attribute_key: "DocumentAttributeKey", # required + # sorting_configurations: [ + # { + # document_attribute_key: "DocumentAttributeKey", # required + # sort_order: "DESC", # required, accepts DESC, ASC + # }, + # ], + # missing_attribute_key_strategy: "IGNORE", # accepts IGNORE, COLLAPSE, EXPAND + # expand: false, + # expand_configuration: { + # max_result_items_to_expand: 1, + # max_expanded_results_per_item: 1, + # }, + # }, # }) # # @example Response structure @@ -5355,6 +5405,35 @@ def put_principal_mapping(params = {}, options = {}) # resp.result_items[0].table_excerpt.rows[0].cells[0].highlighted #=> Boolean # resp.result_items[0].table_excerpt.rows[0].cells[0].header #=> Boolean # resp.result_items[0].table_excerpt.total_number_of_rows #=> Integer + # resp.result_items[0].collapsed_result_detail.document_attribute.key #=> String + # resp.result_items[0].collapsed_result_detail.document_attribute.value.string_value #=> String + # resp.result_items[0].collapsed_result_detail.document_attribute.value.string_list_value #=> Array + # resp.result_items[0].collapsed_result_detail.document_attribute.value.string_list_value[0] #=> String + # resp.result_items[0].collapsed_result_detail.document_attribute.value.long_value #=> Integer + # resp.result_items[0].collapsed_result_detail.document_attribute.value.date_value #=> Time + # resp.result_items[0].collapsed_result_detail.expanded_results #=> Array + # resp.result_items[0].collapsed_result_detail.expanded_results[0].id #=> String + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_id #=> String + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_title.text #=> String + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_title.highlights #=> Array + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_title.highlights[0].begin_offset #=> Integer + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_title.highlights[0].end_offset #=> Integer + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_title.highlights[0].top_answer #=> Boolean + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_title.highlights[0].type #=> String, one of "STANDARD", "THESAURUS_SYNONYM" + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_excerpt.text #=> String + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_excerpt.highlights #=> Array + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_excerpt.highlights[0].begin_offset #=> Integer + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_excerpt.highlights[0].end_offset #=> Integer + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_excerpt.highlights[0].top_answer #=> Boolean + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_excerpt.highlights[0].type #=> String, one of "STANDARD", "THESAURUS_SYNONYM" + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_uri #=> String + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_attributes #=> Array + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_attributes[0].key #=> String + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_attributes[0].value.string_value #=> String + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_attributes[0].value.string_list_value #=> Array + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_attributes[0].value.string_list_value[0] #=> String + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_attributes[0].value.long_value #=> Integer + # resp.result_items[0].collapsed_result_detail.expanded_results[0].document_attributes[0].value.date_value #=> Time # resp.facet_results #=> Array # resp.facet_results[0].document_attribute_key #=> String # resp.facet_results[0].document_attribute_value_type #=> String, one of "STRING_VALUE", "STRING_LIST_VALUE", "LONG_VALUE", "DATE_VALUE" @@ -5442,6 +5521,15 @@ def query(params = {}, options = {}) # # * Filter based on the user or their group access to documents # + # * View the confidence score bucket for a retrieved passage result. The + # confidence bucket provides a relative ranking that indicates how + # confident Amazon Kendra is that the response is relevant to the + # query. + # + # Confidence score buckets are currently available only for English. + # + # + # # You can also include certain fields in the response that might provide # useful additional information. # @@ -6892,8 +6980,8 @@ def update_featured_results_set(params = {}, options = {}) # # @option params [Types::UserGroupResolutionConfiguration] :user_group_resolution_configuration # Enables fetching access levels of groups and users from an IAM - # Identity Center (successor to Single Sign-On) identity source. To - # configure this, see [UserGroupResolutionConfiguration][1]. + # Identity Center identity source. To configure this, see + # [UserGroupResolutionConfiguration][1]. # # # @@ -7203,7 +7291,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-kendra' - context[:gem_version] = '1.73.0' + context[:gem_version] = '1.74.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-kendra/lib/aws-sdk-kendra/client_api.rb b/gems/aws-sdk-kendra/lib/aws-sdk-kendra/client_api.rb index 2f90a01d171..8913f642c29 100644 --- a/gems/aws-sdk-kendra/lib/aws-sdk-kendra/client_api.rb +++ b/gems/aws-sdk-kendra/lib/aws-sdk-kendra/client_api.rb @@ -68,6 +68,8 @@ module ClientApi ClickFeedback = Shapes::StructureShape.new(name: 'ClickFeedback') ClickFeedbackList = Shapes::ListShape.new(name: 'ClickFeedbackList') ClientTokenName = Shapes::StringShape.new(name: 'ClientTokenName') + CollapseConfiguration = Shapes::StructureShape.new(name: 'CollapseConfiguration') + CollapsedResultDetail = Shapes::StructureShape.new(name: 'CollapsedResultDetail') ColumnConfiguration = Shapes::StructureShape.new(name: 'ColumnConfiguration') ColumnName = Shapes::StringShape.new(name: 'ColumnName') ConditionOperator = Shapes::StringShape.new(name: 'ConditionOperator') @@ -229,6 +231,9 @@ module ClientApi ExcludeMimeTypesList = Shapes::ListShape.new(name: 'ExcludeMimeTypesList') ExcludeSharedDrivesList = Shapes::ListShape.new(name: 'ExcludeSharedDrivesList') ExcludeUserAccountsList = Shapes::ListShape.new(name: 'ExcludeUserAccountsList') + ExpandConfiguration = Shapes::StructureShape.new(name: 'ExpandConfiguration') + ExpandedResultItem = Shapes::StructureShape.new(name: 'ExpandedResultItem') + ExpandedResultList = Shapes::ListShape.new(name: 'ExpandedResultList') ExperienceConfiguration = Shapes::StructureShape.new(name: 'ExperienceConfiguration') ExperienceEndpoint = Shapes::StructureShape.new(name: 'ExperienceEndpoint') ExperienceEndpoints = Shapes::ListShape.new(name: 'ExperienceEndpoints') @@ -382,6 +387,7 @@ module ClientApi MimeType = Shapes::StringShape.new(name: 'MimeType') MinimumNumberOfQueryingUsers = Shapes::IntegerShape.new(name: 'MinimumNumberOfQueryingUsers') MinimumQueryCount = Shapes::IntegerShape.new(name: 'MinimumQueryCount') + MissingAttributeKeyStrategy = Shapes::StringShape.new(name: 'MissingAttributeKeyStrategy') Mode = Shapes::StringShape.new(name: 'Mode') NameType = Shapes::StringShape.new(name: 'NameType') NextToken = Shapes::StringShape.new(name: 'NextToken') @@ -502,6 +508,7 @@ module ClientApi SnapshotsDataRecords = Shapes::ListShape.new(name: 'SnapshotsDataRecords') SortOrder = Shapes::StringShape.new(name: 'SortOrder') SortingConfiguration = Shapes::StructureShape.new(name: 'SortingConfiguration') + SortingConfigurationList = Shapes::ListShape.new(name: 'SortingConfigurationList') SourceDocument = Shapes::StructureShape.new(name: 'SourceDocument') SourceDocuments = Shapes::ListShape.new(name: 'SourceDocuments') SpellCorrectedQuery = Shapes::StructureShape.new(name: 'SpellCorrectedQuery') @@ -785,6 +792,17 @@ module ClientApi ClickFeedbackList.member = Shapes::ShapeRef.new(shape: ClickFeedback) + CollapseConfiguration.add_member(:document_attribute_key, Shapes::ShapeRef.new(shape: DocumentAttributeKey, required: true, location_name: "DocumentAttributeKey")) + CollapseConfiguration.add_member(:sorting_configurations, Shapes::ShapeRef.new(shape: SortingConfigurationList, location_name: "SortingConfigurations")) + CollapseConfiguration.add_member(:missing_attribute_key_strategy, Shapes::ShapeRef.new(shape: MissingAttributeKeyStrategy, location_name: "MissingAttributeKeyStrategy")) + CollapseConfiguration.add_member(:expand, Shapes::ShapeRef.new(shape: Boolean, location_name: "Expand")) + CollapseConfiguration.add_member(:expand_configuration, Shapes::ShapeRef.new(shape: ExpandConfiguration, location_name: "ExpandConfiguration")) + CollapseConfiguration.struct_class = Types::CollapseConfiguration + + CollapsedResultDetail.add_member(:document_attribute, Shapes::ShapeRef.new(shape: DocumentAttribute, required: true, location_name: "DocumentAttribute")) + CollapsedResultDetail.add_member(:expanded_results, Shapes::ShapeRef.new(shape: ExpandedResultList, location_name: "ExpandedResults")) + CollapsedResultDetail.struct_class = Types::CollapsedResultDetail + ColumnConfiguration.add_member(:document_id_column_name, Shapes::ShapeRef.new(shape: ColumnName, required: true, location_name: "DocumentIdColumnName")) ColumnConfiguration.add_member(:document_data_column_name, Shapes::ShapeRef.new(shape: ColumnName, required: true, location_name: "DocumentDataColumnName")) ColumnConfiguration.add_member(:document_title_column_name, Shapes::ShapeRef.new(shape: ColumnName, location_name: "DocumentTitleColumnName")) @@ -1398,6 +1416,20 @@ module ClientApi ExcludeUserAccountsList.member = Shapes::ShapeRef.new(shape: UserAccount) + ExpandConfiguration.add_member(:max_result_items_to_expand, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResultItemsToExpand")) + ExpandConfiguration.add_member(:max_expanded_results_per_item, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxExpandedResultsPerItem")) + ExpandConfiguration.struct_class = Types::ExpandConfiguration + + ExpandedResultItem.add_member(:id, Shapes::ShapeRef.new(shape: ResultId, location_name: "Id")) + ExpandedResultItem.add_member(:document_id, Shapes::ShapeRef.new(shape: DocumentId, location_name: "DocumentId")) + ExpandedResultItem.add_member(:document_title, Shapes::ShapeRef.new(shape: TextWithHighlights, location_name: "DocumentTitle")) + ExpandedResultItem.add_member(:document_excerpt, Shapes::ShapeRef.new(shape: TextWithHighlights, location_name: "DocumentExcerpt")) + ExpandedResultItem.add_member(:document_uri, Shapes::ShapeRef.new(shape: Url, location_name: "DocumentURI")) + ExpandedResultItem.add_member(:document_attributes, Shapes::ShapeRef.new(shape: DocumentAttributeList, location_name: "DocumentAttributes")) + ExpandedResultItem.struct_class = Types::ExpandedResultItem + + ExpandedResultList.member = Shapes::ShapeRef.new(shape: ExpandedResultItem) + ExperienceConfiguration.add_member(:content_source_configuration, Shapes::ShapeRef.new(shape: ContentSourceConfiguration, location_name: "ContentSourceConfiguration")) ExperienceConfiguration.add_member(:user_identity_configuration, Shapes::ShapeRef.new(shape: UserIdentityConfiguration, location_name: "UserIdentityConfiguration")) ExperienceConfiguration.struct_class = Types::ExperienceConfiguration @@ -1890,9 +1922,11 @@ module ClientApi QueryRequest.add_member(:page_number, Shapes::ShapeRef.new(shape: Integer, location_name: "PageNumber")) QueryRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: Integer, location_name: "PageSize")) QueryRequest.add_member(:sorting_configuration, Shapes::ShapeRef.new(shape: SortingConfiguration, location_name: "SortingConfiguration")) + QueryRequest.add_member(:sorting_configurations, Shapes::ShapeRef.new(shape: SortingConfigurationList, location_name: "SortingConfigurations")) QueryRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, location_name: "UserContext")) QueryRequest.add_member(:visitor_id, Shapes::ShapeRef.new(shape: VisitorId, location_name: "VisitorId")) QueryRequest.add_member(:spell_correction_configuration, Shapes::ShapeRef.new(shape: SpellCorrectionConfiguration, location_name: "SpellCorrectionConfiguration")) + QueryRequest.add_member(:collapse_configuration, Shapes::ShapeRef.new(shape: CollapseConfiguration, location_name: "CollapseConfiguration")) QueryRequest.struct_class = Types::QueryRequest QueryResult.add_member(:query_id, Shapes::ShapeRef.new(shape: QueryId, location_name: "QueryId")) @@ -1916,6 +1950,7 @@ module ClientApi QueryResultItem.add_member(:score_attributes, Shapes::ShapeRef.new(shape: ScoreAttributes, location_name: "ScoreAttributes")) QueryResultItem.add_member(:feedback_token, Shapes::ShapeRef.new(shape: FeedbackToken, location_name: "FeedbackToken")) QueryResultItem.add_member(:table_excerpt, Shapes::ShapeRef.new(shape: TableExcerpt, location_name: "TableExcerpt")) + QueryResultItem.add_member(:collapsed_result_detail, Shapes::ShapeRef.new(shape: CollapsedResultDetail, location_name: "CollapsedResultDetail")) QueryResultItem.struct_class = Types::QueryResultItem QueryResultItemList.member = Shapes::ShapeRef.new(shape: QueryResultItem) @@ -2164,6 +2199,8 @@ module ClientApi SortingConfiguration.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "SortOrder")) SortingConfiguration.struct_class = Types::SortingConfiguration + SortingConfigurationList.member = Shapes::ShapeRef.new(shape: SortingConfiguration) + SourceDocument.add_member(:document_id, Shapes::ShapeRef.new(shape: String, location_name: "DocumentId")) SourceDocument.add_member(:suggestion_attributes, Shapes::ShapeRef.new(shape: DocumentAttributeKeyList, location_name: "SuggestionAttributes")) SourceDocument.add_member(:additional_attributes, Shapes::ShapeRef.new(shape: DocumentAttributeList, location_name: "AdditionalAttributes")) diff --git a/gems/aws-sdk-kendra/lib/aws-sdk-kendra/endpoint_provider.rb b/gems/aws-sdk-kendra/lib/aws-sdk-kendra/endpoint_provider.rb index 79101193c6b..474f0d831eb 100644 --- a/gems/aws-sdk-kendra/lib/aws-sdk-kendra/endpoint_provider.rb +++ b/gems/aws-sdk-kendra/lib/aws-sdk-kendra/endpoint_provider.rb @@ -32,7 +32,7 @@ def resolve_endpoint(parameters) raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both" end if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) + if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) return Aws::Endpoints::Endpoint.new(url: "https://kendra-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) end raise ArgumentError, "FIPS is enabled but this partition does not support FIPS" diff --git a/gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb b/gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb index e8f1720783b..29f6dc388c3 100644 --- a/gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb +++ b/gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb @@ -1192,6 +1192,79 @@ class ClickFeedback < Struct.new( include Aws::Structure end + # Specifies how to group results by document attribute value, and how to + # display them collapsed/expanded under a designated primary document + # for each group. + # + # @!attribute [rw] document_attribute_key + # The document attribute used to group search results. You can use any + # attribute that has the `Sortable` flag set to true. You can also + # sort by any of the following built-in + # attributes:"\_category","\_created\_at", + # "\_last\_updated\_at", "\_version", "\_view\_count". + # @return [String] + # + # @!attribute [rw] sorting_configurations + # A prioritized list of document attributes/fields that determine the + # primary document among those in a collapsed group. + # @return [Array] + # + # @!attribute [rw] missing_attribute_key_strategy + # Specifies the behavior for documents without a value for the + # collapse attribute. + # + # Amazon Kendra offers three customization options: + # + # * Choose to `COLLAPSE` all documents with null or missing values in + # one group. This is the default configuration. + # + # * Choose to `IGNORE` documents with null or missing values. Ignored + # documents will not appear in query results. + # + # * Choose to `EXPAND` each document with a null or missing value into + # a group of its own. + # @return [String] + # + # @!attribute [rw] expand + # Specifies whether to expand the collapsed results. + # @return [Boolean] + # + # @!attribute [rw] expand_configuration + # Provides configuration information to customize expansion options + # for a collapsed group. + # @return [Types::ExpandConfiguration] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CollapseConfiguration AWS API Documentation + # + class CollapseConfiguration < Struct.new( + :document_attribute_key, + :sorting_configurations, + :missing_attribute_key_strategy, + :expand, + :expand_configuration) + SENSITIVE = [] + include Aws::Structure + end + + # Provides details about a collapsed group of search results. + # + # @!attribute [rw] document_attribute + # The value of the document attribute that results are collapsed on. + # @return [Types::DocumentAttribute] + # + # @!attribute [rw] expanded_results + # A list of results in the collapsed group. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CollapsedResultDetail AWS API Documentation + # + class CollapsedResultDetail < Struct.new( + :document_attribute, + :expanded_results) + SENSITIVE = [] + include Aws::Structure + end + # Provides information about how Amazon Kendra should use the columns of # a database in an index. # @@ -2016,9 +2089,8 @@ class CreateDataSourceResponse < Struct.new( # The Amazon Resource Name (ARN) of an IAM role with permission to # access `Query` API, `GetQuerySuggestions` API, and other required # APIs. The role also must include permission to access IAM Identity - # Center (successor to Single Sign-On) that stores your user and group - # information. For more information, see [IAM access roles for Amazon - # Kendra][1]. + # Center that stores your user and group information. For more + # information, see [IAM access roles for Amazon Kendra][1]. # # # @@ -2340,9 +2412,8 @@ class CreateFeaturedResultsSetResponse < Struct.new( # @return [String] # # @!attribute [rw] user_group_resolution_configuration - # Gets users and groups from IAM Identity Center (successor to Single - # Sign-On) identity source. To configure this, see - # [UserGroupResolutionConfiguration][1]. + # Gets users and groups from IAM Identity Center identity source. To + # configure this, see [UserGroupResolutionConfiguration][1]. # # # @@ -3775,8 +3846,8 @@ class DescribeIndexRequest < Struct.new( # # @!attribute [rw] user_group_resolution_configuration # Whether you have enabled the configuration for fetching access - # levels of groups and users from an IAM Identity Center (successor to - # Single Sign-On) identity source. + # levels of groups and users from an IAM Identity Center identity + # source. # @return [Types::UserGroupResolutionConfiguration] # # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeIndexResponse AWS API Documentation @@ -4751,6 +4822,77 @@ class EntityPersonaConfiguration < Struct.new( include Aws::Structure end + # Specifies the configuration information needed to customize how + # collapsed search result groups expand. + # + # @!attribute [rw] max_result_items_to_expand + # The number of collapsed search result groups to expand. If you set + # this value to 10, for example, only the first 10 out of 100 result + # groups will have expand functionality. + # @return [Integer] + # + # @!attribute [rw] max_expanded_results_per_item + # The number of expanded results to show per collapsed primary + # document. For instance, if you set this value to 3, then at most 3 + # results per collapsed group will be displayed. + # @return [Integer] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ExpandConfiguration AWS API Documentation + # + class ExpandConfiguration < Struct.new( + :max_result_items_to_expand, + :max_expanded_results_per_item) + SENSITIVE = [] + include Aws::Structure + end + + # A single expanded result in a collapsed group of search results. + # + # An expanded result item contains information about an expanded result + # document within a collapsed group of search results. This includes the + # original location of the document, a list of attributes assigned to + # the document, and relevant text from the document that satisfies the + # query. + # + # @!attribute [rw] id + # The identifier for the expanded result. + # @return [String] + # + # @!attribute [rw] document_id + # The idenitifier of the document. + # @return [String] + # + # @!attribute [rw] document_title + # Provides text and information about where to highlight the text. + # @return [Types::TextWithHighlights] + # + # @!attribute [rw] document_excerpt + # Provides text and information about where to highlight the text. + # @return [Types::TextWithHighlights] + # + # @!attribute [rw] document_uri + # The URI of the original location of the document. + # @return [String] + # + # @!attribute [rw] document_attributes + # An array of document attributes assigned to a document in the search + # results. For example, the document author ("\_author") or the + # source URI ("\_source\_uri") of the document. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ExpandedResultItem AWS API Documentation + # + class ExpandedResultItem < Struct.new( + :id, + :document_id, + :document_title, + :document_excerpt, + :document_uri, + :document_attributes) + SENSITIVE = [] + include Aws::Structure + end + # Provides the configuration information for your Amazon Kendra # experience. This includes the data source IDs and/or FAQ IDs, and user # or group information to grant access to your Amazon Kendra experience. @@ -7641,6 +7783,20 @@ class PutPrincipalMappingRequest < Struct.new( # by the relevance that Amazon Kendra determines for the result. # @return [Types::SortingConfiguration] # + # @!attribute [rw] sorting_configurations + # Provides configuration information to determine how the results of a + # query are sorted. + # + # You can set upto 3 fields that Amazon Kendra should sort the results + # on, and specify whether the results should be sorted in ascending or + # descending order. The sort field quota can be increased. + # + # If you don't provide a sorting configuration, the results are + # sorted by the relevance that Amazon Kendra determines for the + # result. In the case of ties in sorting the results, the results are + # sorted by relevance. + # @return [Array] + # # @!attribute [rw] user_context # The user context token or user and group information. # @return [Types::UserContext] @@ -7656,6 +7812,12 @@ class PutPrincipalMappingRequest < Struct.new( # Enables suggested spell corrections for queries. # @return [Types::SpellCorrectionConfiguration] # + # @!attribute [rw] collapse_configuration + # Provides configuration to determine how to group results by document + # attribute value, and how to display them (collapsed or expanded) + # under a designated primary document for each group. + # @return [Types::CollapseConfiguration] + # # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/QueryRequest AWS API Documentation # class QueryRequest < Struct.new( @@ -7669,9 +7831,11 @@ class QueryRequest < Struct.new( :page_number, :page_size, :sorting_configuration, + :sorting_configurations, :user_context, :visitor_id, - :spell_correction_configuration) + :spell_correction_configuration, + :collapse_configuration) SENSITIVE = [] include Aws::Structure end @@ -7818,6 +7982,10 @@ class QueryResult < Struct.new( # An excerpt from a table within a document. # @return [Types::TableExcerpt] # + # @!attribute [rw] collapsed_result_detail + # Provides details about a collapsed group of search results. + # @return [Types::CollapsedResultDetail] + # # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/QueryResultItem AWS API Documentation # class QueryResultItem < Struct.new( @@ -7832,7 +8000,8 @@ class QueryResultItem < Struct.new( :document_attributes, :score_attributes, :feedback_token, - :table_excerpt) + :table_excerpt, + :collapsed_result_detail) SENSITIVE = [] include Aws::Structure end @@ -10351,8 +10520,8 @@ class UpdateFeaturedResultsSetResponse < Struct.new( # # @!attribute [rw] user_group_resolution_configuration # Enables fetching access levels of groups and users from an IAM - # Identity Center (successor to Single Sign-On) identity source. To - # configure this, see [UserGroupResolutionConfiguration][1]. + # Identity Center identity source. To configure this, see + # [UserGroupResolutionConfiguration][1]. # # # @@ -10639,11 +10808,11 @@ class UserContext < Struct.new( end # Provides the configuration information to get users and groups from an - # IAM Identity Center (successor to Single Sign-On) identity source. - # This is useful for user context filtering, where search results are - # filtered based on the user or their group access to documents. You can - # also use the [PutPrincipalMapping][1] API to map users to their groups - # so that you only need to provide the user ID when you issue the query. + # IAM Identity Center identity source. This is useful for user context + # filtering, where search results are filtered based on the user or + # their group access to documents. You can also use the + # [PutPrincipalMapping][1] API to map users to their groups so that you + # only need to provide the user ID when you issue the query. # # To set up an IAM Identity Center identity source in the console to use # with Amazon Kendra, see [Getting started with an IAM Identity Center @@ -10665,9 +10834,9 @@ class UserContext < Struct.new( # # @!attribute [rw] user_group_resolution_mode # The identity store provider (mode) you want to use to get users and - # groups. IAM Identity Center (successor to Single Sign-On) is - # currently the only available mode. Your users and groups must exist - # in an IAM Identity Center identity source in order to use this mode. + # groups. IAM Identity Center is currently the only available mode. + # Your users and groups must exist in an IAM Identity Center identity + # source in order to use this mode. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UserGroupResolutionConfiguration AWS API Documentation diff --git a/gems/aws-sdk-rds/CHANGELOG.md b/gems/aws-sdk-rds/CHANGELOG.md index c9b2e6cabf0..7a52de07fbd 100644 --- a/gems/aws-sdk-rds/CHANGELOG.md +++ b/gems/aws-sdk-rds/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.198.0 (2023-10-18) +------------------ + +* Feature - This release adds support for upgrading the storage file system configuration on the DB instance using a blue/green deployment or a read replica. + 1.197.0 (2023-10-12) ------------------ diff --git a/gems/aws-sdk-rds/VERSION b/gems/aws-sdk-rds/VERSION index 590ffad3eff..e5056a2d3d9 100644 --- a/gems/aws-sdk-rds/VERSION +++ b/gems/aws-sdk-rds/VERSION @@ -1 +1 @@ -1.197.0 +1.198.0 diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds.rb index c39a54bc11e..a65cb44f31c 100644 --- a/gems/aws-sdk-rds/lib/aws-sdk-rds.rb +++ b/gems/aws-sdk-rds/lib/aws-sdk-rds.rb @@ -78,6 +78,6 @@ # @!group service module Aws::RDS - GEM_VERSION = '1.197.0' + GEM_VERSION = '1.198.0' end diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds/client.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds/client.rb index 67080ebbb8c..3c5193ea4b2 100644 --- a/gems/aws-sdk-rds/lib/aws-sdk-rds/client.rb +++ b/gems/aws-sdk-rds/lib/aws-sdk-rds/client.rb @@ -2025,6 +2025,21 @@ def copy_option_group(params = {}, options = {}) # @option params [Array] :tags # Tags to assign to the blue/green deployment. # + # @option params [String] :target_db_instance_class + # Specify the DB instance class for the databases in the green + # environment. + # + # @option params [Boolean] :upgrade_target_storage_config + # Whether to upgrade the storage file system configuration on the green + # database. This option migrates the green DB instance from the older + # 32-bit file system to the preferred configuration. For more + # information, see [Upgrading the storage file system for a DB + # instance][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.UpgradeFileSystem + # # @return [Types::CreateBlueGreenDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateBlueGreenDeploymentResponse#blue_green_deployment #blue_green_deployment} => Types::BlueGreenDeployment @@ -2165,6 +2180,8 @@ def copy_option_group(params = {}, options = {}) # value: "String", # }, # ], + # target_db_instance_class: "TargetDBInstanceClass", + # upgrade_target_storage_config: false, # }) # # @example Response structure @@ -5560,6 +5577,7 @@ def create_db_cluster_snapshot(params = {}, options = {}) # resp.db_instance.read_replica_source_db_cluster_identifier #=> String # resp.db_instance.percent_progress #=> String # resp.db_instance.dedicated_log_volume #=> Boolean + # resp.db_instance.is_storage_config_upgrade_available #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance AWS API Documentation # @@ -6224,6 +6242,11 @@ def create_db_instance(params = {}, options = {}) # Indicates whether the DB instance has a dedicated log volume (DLV) # enabled. # + # @option params [Boolean] :upgrade_storage_config + # Whether to upgrade the storage file system configuration on the read + # replica. This option migrates the read replica from the old storage + # file system layout to the preferred layout. + # # @option params [String] :source_region # The source region of the snapshot. This is only needed when the # shapshot is encrypted and in a different region. @@ -6310,6 +6333,7 @@ def create_db_instance(params = {}, options = {}) # allocated_storage: 1, # source_db_cluster_identifier: "String", # dedicated_log_volume: false, + # upgrade_storage_config: false, # source_region: "String", # }) # @@ -6472,6 +6496,7 @@ def create_db_instance(params = {}, options = {}) # resp.db_instance.read_replica_source_db_cluster_identifier #=> String # resp.db_instance.percent_progress #=> String # resp.db_instance.dedicated_log_volume #=> Boolean + # resp.db_instance.is_storage_config_upgrade_available #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica AWS API Documentation # @@ -8887,6 +8912,7 @@ def delete_db_cluster_snapshot(params = {}, options = {}) # resp.db_instance.read_replica_source_db_cluster_identifier #=> String # resp.db_instance.percent_progress #=> String # resp.db_instance.dedicated_log_volume #=> Boolean + # resp.db_instance.is_storage_config_upgrade_available #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance AWS API Documentation # @@ -12224,6 +12250,7 @@ def describe_db_instance_automated_backups(params = {}, options = {}) # resp.db_instances[0].read_replica_source_db_cluster_identifier #=> String # resp.db_instances[0].percent_progress #=> String # resp.db_instances[0].dedicated_log_volume #=> Boolean + # resp.db_instances[0].is_storage_config_upgrade_available #=> Boolean # # # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage): @@ -19316,6 +19343,7 @@ def modify_db_cluster_snapshot_attribute(params = {}, options = {}) # resp.db_instance.read_replica_source_db_cluster_identifier #=> String # resp.db_instance.percent_progress #=> String # resp.db_instance.dedicated_log_volume #=> Boolean + # resp.db_instance.is_storage_config_upgrade_available #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance AWS API Documentation # @@ -20729,6 +20757,7 @@ def modify_option_group(params = {}, options = {}) # resp.db_instance.read_replica_source_db_cluster_identifier #=> String # resp.db_instance.percent_progress #=> String # resp.db_instance.dedicated_log_volume #=> Boolean + # resp.db_instance.is_storage_config_upgrade_available #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica AWS API Documentation # @@ -21402,6 +21431,7 @@ def reboot_db_cluster(params = {}, options = {}) # resp.db_instance.read_replica_source_db_cluster_identifier #=> String # resp.db_instance.percent_progress #=> String # resp.db_instance.dedicated_log_volume #=> Boolean + # resp.db_instance.is_storage_config_upgrade_available #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance AWS API Documentation # @@ -24770,6 +24800,7 @@ def restore_db_cluster_to_point_in_time(params = {}, options = {}) # resp.db_instance.read_replica_source_db_cluster_identifier #=> String # resp.db_instance.percent_progress #=> String # resp.db_instance.dedicated_log_volume #=> Boolean + # resp.db_instance.is_storage_config_upgrade_available #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot AWS API Documentation # @@ -25508,6 +25539,7 @@ def restore_db_instance_from_db_snapshot(params = {}, options = {}) # resp.db_instance.read_replica_source_db_cluster_identifier #=> String # resp.db_instance.percent_progress #=> String # resp.db_instance.dedicated_log_volume #=> Boolean + # resp.db_instance.is_storage_config_upgrade_available #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3 AWS API Documentation # @@ -26366,6 +26398,7 @@ def restore_db_instance_from_s3(params = {}, options = {}) # resp.db_instance.read_replica_source_db_cluster_identifier #=> String # resp.db_instance.percent_progress #=> String # resp.db_instance.dedicated_log_volume #=> Boolean + # resp.db_instance.is_storage_config_upgrade_available #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime AWS API Documentation # @@ -26962,6 +26995,7 @@ def start_db_cluster(params = {}, options = {}) # resp.db_instance.read_replica_source_db_cluster_identifier #=> String # resp.db_instance.percent_progress #=> String # resp.db_instance.dedicated_log_volume #=> Boolean + # resp.db_instance.is_storage_config_upgrade_available #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance AWS API Documentation # @@ -27788,6 +27822,7 @@ def stop_db_cluster(params = {}, options = {}) # resp.db_instance.read_replica_source_db_cluster_identifier #=> String # resp.db_instance.percent_progress #=> String # resp.db_instance.dedicated_log_volume #=> Boolean + # resp.db_instance.is_storage_config_upgrade_available #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance AWS API Documentation # @@ -28384,6 +28419,7 @@ def switchover_global_cluster(params = {}, options = {}) # resp.db_instance.read_replica_source_db_cluster_identifier #=> String # resp.db_instance.percent_progress #=> String # resp.db_instance.dedicated_log_volume #=> Boolean + # resp.db_instance.is_storage_config_upgrade_available #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverReadReplica AWS API Documentation # @@ -28407,7 +28443,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-rds' - context[:gem_version] = '1.197.0' + context[:gem_version] = '1.198.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds/client_api.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds/client_api.rb index 398591291c0..48929521fb8 100644 --- a/gems/aws-sdk-rds/lib/aws-sdk-rds/client_api.rb +++ b/gems/aws-sdk-rds/lib/aws-sdk-rds/client_api.rb @@ -638,6 +638,7 @@ module ClientApi TagList = Shapes::ListShape.new(name: 'TagList') TagListMessage = Shapes::StructureShape.new(name: 'TagListMessage') TargetDBClusterParameterGroupName = Shapes::StringShape.new(name: 'TargetDBClusterParameterGroupName') + TargetDBInstanceClass = Shapes::StringShape.new(name: 'TargetDBInstanceClass') TargetDBParameterGroupName = Shapes::StringShape.new(name: 'TargetDBParameterGroupName') TargetEngineVersion = Shapes::StringShape.new(name: 'TargetEngineVersion') TargetGroupList = Shapes::ListShape.new(name: 'TargetGroupList') @@ -889,6 +890,8 @@ module ClientApi CreateBlueGreenDeploymentRequest.add_member(:target_db_parameter_group_name, Shapes::ShapeRef.new(shape: TargetDBParameterGroupName, location_name: "TargetDBParameterGroupName")) CreateBlueGreenDeploymentRequest.add_member(:target_db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: TargetDBClusterParameterGroupName, location_name: "TargetDBClusterParameterGroupName")) CreateBlueGreenDeploymentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags")) + CreateBlueGreenDeploymentRequest.add_member(:target_db_instance_class, Shapes::ShapeRef.new(shape: TargetDBInstanceClass, location_name: "TargetDBInstanceClass")) + CreateBlueGreenDeploymentRequest.add_member(:upgrade_target_storage_config, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UpgradeTargetStorageConfig")) CreateBlueGreenDeploymentRequest.struct_class = Types::CreateBlueGreenDeploymentRequest CreateBlueGreenDeploymentResponse.add_member(:blue_green_deployment, Shapes::ShapeRef.new(shape: BlueGreenDeployment, location_name: "BlueGreenDeployment")) @@ -1096,6 +1099,7 @@ module ClientApi CreateDBInstanceReadReplicaMessage.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "AllocatedStorage")) CreateDBInstanceReadReplicaMessage.add_member(:source_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceDBClusterIdentifier")) CreateDBInstanceReadReplicaMessage.add_member(:dedicated_log_volume, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DedicatedLogVolume")) + CreateDBInstanceReadReplicaMessage.add_member(:upgrade_storage_config, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UpgradeStorageConfig")) CreateDBInstanceReadReplicaMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion")) CreateDBInstanceReadReplicaMessage.struct_class = Types::CreateDBInstanceReadReplicaMessage @@ -1600,6 +1604,7 @@ module ClientApi DBInstance.add_member(:read_replica_source_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ReadReplicaSourceDBClusterIdentifier")) DBInstance.add_member(:percent_progress, Shapes::ShapeRef.new(shape: String, location_name: "PercentProgress")) DBInstance.add_member(:dedicated_log_volume, Shapes::ShapeRef.new(shape: Boolean, location_name: "DedicatedLogVolume")) + DBInstance.add_member(:is_storage_config_upgrade_available, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "IsStorageConfigUpgradeAvailable")) DBInstance.struct_class = Types::DBInstance DBInstanceAlreadyExistsFault.struct_class = Types::DBInstanceAlreadyExistsFault diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds/db_instance.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds/db_instance.rb index 7b7b157c5d5..8f92c6c6561 100644 --- a/gems/aws-sdk-rds/lib/aws-sdk-rds/db_instance.rb +++ b/gems/aws-sdk-rds/lib/aws-sdk-rds/db_instance.rb @@ -764,6 +764,20 @@ def dedicated_log_volume data[:dedicated_log_volume] end + # Indicates whether an upgrade is recommended for the storage file + # system configuration on the DB instance. To migrate to the preferred + # configuration, you can either create a blue/green deployment, or + # create a read replica from the DB instance. For more information, see + # [Upgrading the storage file system for a DB instance][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.UpgradeFileSystem + # @return [Boolean] + def is_storage_config_upgrade_available + data[:is_storage_config_upgrade_available] + end + # @!endgroup # @return [Client] @@ -2145,6 +2159,7 @@ def create(options = {}) # allocated_storage: 1, # source_db_cluster_identifier: "String", # dedicated_log_volume: false, + # upgrade_storage_config: false, # source_region: "String", # }) # @param [Hash] options ({}) @@ -2699,6 +2714,10 @@ def create(options = {}) # @option options [Boolean] :dedicated_log_volume # Indicates whether the DB instance has a dedicated log volume (DLV) # enabled. + # @option options [Boolean] :upgrade_storage_config + # Whether to upgrade the storage file system configuration on the read + # replica. This option migrates the read replica from the old storage + # file system layout to the preferred layout. # @option options [String] :source_region # The source region of the snapshot. This is only needed when the # shapshot is encrypted and in a different region. diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds/endpoint_provider.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds/endpoint_provider.rb index 0d5edfa5c39..43e90c382d6 100644 --- a/gems/aws-sdk-rds/lib/aws-sdk-rds/endpoint_provider.rb +++ b/gems/aws-sdk-rds/lib/aws-sdk-rds/endpoint_provider.rb @@ -32,8 +32,8 @@ def resolve_endpoint(parameters) raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both" end if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) - if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name")) + if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) + if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") return Aws::Endpoints::Endpoint.new(url: "https://rds.#{region}.amazonaws.com", headers: {}, properties: {}) end return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb index e5417769113..63b748f1c75 100644 --- a/gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb +++ b/gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb @@ -1757,6 +1757,23 @@ class CopyOptionGroupResult < Struct.new( # Tags to assign to the blue/green deployment. # @return [Array] # + # @!attribute [rw] target_db_instance_class + # Specify the DB instance class for the databases in the green + # environment. + # @return [String] + # + # @!attribute [rw] upgrade_target_storage_config + # Whether to upgrade the storage file system configuration on the + # green database. This option migrates the green DB instance from the + # older 32-bit file system to the preferred configuration. For more + # information, see [Upgrading the storage file system for a DB + # instance][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.UpgradeFileSystem + # @return [Boolean] + # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateBlueGreenDeploymentRequest AWS API Documentation # class CreateBlueGreenDeploymentRequest < Struct.new( @@ -1765,7 +1782,9 @@ class CreateBlueGreenDeploymentRequest < Struct.new( :target_engine_version, :target_db_parameter_group_name, :target_db_cluster_parameter_group_name, - :tags) + :tags, + :target_db_instance_class, + :upgrade_target_storage_config) SENSITIVE = [] include Aws::Structure end @@ -5090,6 +5109,12 @@ class CreateDBInstanceMessage < Struct.new( # enabled. # @return [Boolean] # + # @!attribute [rw] upgrade_storage_config + # Whether to upgrade the storage file system configuration on the read + # replica. This option migrates the read replica from the old storage + # file system layout to the preferred layout. + # @return [Boolean] + # # @!attribute [rw] source_region # The source region of the snapshot. This is only needed when the # shapshot is encrypted and in a different region. @@ -5141,6 +5166,7 @@ class CreateDBInstanceReadReplicaMessage < Struct.new( :allocated_storage, :source_db_cluster_identifier, :dedicated_log_volume, + :upgrade_storage_config, :source_region) SENSITIVE = [] include Aws::Structure @@ -8369,6 +8395,18 @@ class DBEngineVersionMessage < Struct.new( # enabled. # @return [Boolean] # + # @!attribute [rw] is_storage_config_upgrade_available + # Indicates whether an upgrade is recommended for the storage file + # system configuration on the DB instance. To migrate to the preferred + # configuration, you can either create a blue/green deployment, or + # create a read replica from the DB instance. For more information, + # see [Upgrading the storage file system for a DB instance][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.UpgradeFileSystem + # @return [Boolean] + # # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstance AWS API Documentation # class DBInstance < Struct.new( @@ -8454,7 +8492,8 @@ class DBInstance < Struct.new( :certificate_details, :read_replica_source_db_cluster_identifier, :percent_progress, - :dedicated_log_volume) + :dedicated_log_volume, + :is_storage_config_upgrade_available) SENSITIVE = [] include Aws::Structure end