diff --git a/CHANGELOG.md b/CHANGELOG.md index 25c1a3073be..89fb7094b58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +Release v1.43.18 (2022-03-14) +=== + +### Service Client Updates +* `service/config`: Updates service API and documentation +* `service/elasticache`: Updates service documentation + * Doc only update for ElastiCache +* `service/kendra`: Updates service API and documentation + * Amazon Kendra now provides a data source connector for Slack. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-slack.html +* `service/timestream-query`: Updates service API + Release v1.43.17 (2022-03-11) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 95f5502d768..9cc03dbf90e 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -3636,6 +3636,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-northeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-3", + }: endpoint{}, endpointKey{ Region: "ap-south-1", }: endpoint{}, @@ -3645,6 +3648,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 79bafc1c11a..0d0de376c7b 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.43.17" +const SDKVersion = "1.43.18" diff --git a/models/apis/config/2014-11-12/api-2.json b/models/apis/config/2014-11-12/api-2.json index f9448fe66c9..d2b945466b4 100644 --- a/models/apis/config/2014-11-12/api-2.json +++ b/models/apis/config/2014-11-12/api-2.json @@ -4373,7 +4373,9 @@ "AWS::Kinesis::StreamConsumer", "AWS::CodeDeploy::Application", "AWS::CodeDeploy::DeploymentConfig", - "AWS::CodeDeploy::DeploymentGroup" + "AWS::CodeDeploy::DeploymentGroup", + "AWS::EC2::LaunchTemplate", + "AWS::ECR::PublicRepository" ] }, "ResourceTypeList":{ diff --git a/models/apis/config/2014-11-12/docs-2.json b/models/apis/config/2014-11-12/docs-2.json index c1aa6f48b0d..bc6f38dec8d 100644 --- a/models/apis/config/2014-11-12/docs-2.json +++ b/models/apis/config/2014-11-12/docs-2.json @@ -67,7 +67,7 @@ "ListTagsForResource": "

List the tags for Config resource.

", "PutAggregationAuthorization": "

Authorizes the aggregator account and region to collect data from the source account and region.

", "PutConfigRule": "

Adds or updates an Config rule for evaluating whether your Amazon Web Services resources comply with your desired configurations.

You can use this action for custom Config rules and Config managed rules. A custom Config rule is a rule that you develop and maintain. An Config managed rule is a customizable, predefined rule that Config provides.

If you are adding a new custom Config rule, you must first create the Lambda function that the rule invokes to evaluate your resources. When you use the PutConfigRule action to add the rule to Config, you must specify the Amazon Resource Name (ARN) that Lambda assigns to the function. Specify the ARN for the SourceIdentifier key. This key is part of the Source object, which is part of the ConfigRule object.

If you are adding an Config managed rule, specify the rule's identifier for the SourceIdentifier key. To reference Config managed rule identifiers, see About Config managed rules.

For any new rule that you add, specify the ConfigRuleName in the ConfigRule object. Do not specify the ConfigRuleArn or the ConfigRuleId. These values are generated by Config for new rules.

If you are updating a rule that you added previously, you can specify the rule by ConfigRuleName, ConfigRuleId, or ConfigRuleArn in the ConfigRule data type that you use in this request.

The maximum number of rules that Config supports is 150.

For information about requesting a rule limit increase, see Config Limits in the Amazon Web Services General Reference Guide.

For more information about developing and using Config rules, see Evaluating Amazon Web Services resource Configurations with Config in the Config Developer Guide.

", - "PutConfigurationAggregator": "

Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an organization.

accountIds that are passed will be replaced with existing accounts. If you want to add additional accounts into the aggregator, call DescribeAggregator to get the previous accounts and then append new ones.

Config should be enabled in source accounts and regions you want to aggregate.

If your source type is an organization, you must be signed in to the management account or a registered delegated administrator and all the features must be enabled in your organization. If the caller is a management account, Config calls EnableAwsServiceAccess API to enable integration between Config and Organizations. If the caller is a registered delegated administrator, Config calls ListDelegatedAdministrators API to verify whether the caller is a valid delegated administrator.

To register a delegated administrator, see Register a Delegated Administrator in the Config developer guide.

", + "PutConfigurationAggregator": "

Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an organization.

accountIds that are passed will be replaced with existing accounts. If you want to add additional accounts into the aggregator, call DescribeConfigurationAggregators to get the previous accounts and then append new ones.

Config should be enabled in source accounts and regions you want to aggregate.

If your source type is an organization, you must be signed in to the management account or a registered delegated administrator and all the features must be enabled in your organization. If the caller is a management account, Config calls EnableAwsServiceAccess API to enable integration between Config and Organizations. If the caller is a registered delegated administrator, Config calls ListDelegatedAdministrators API to verify whether the caller is a valid delegated administrator.

To register a delegated administrator, see Register a Delegated Administrator in the Config developer guide.

", "PutConfigurationRecorder": "

Creates a new configuration recorder to record the selected resource configurations.

You can use this action to change the role roleARN or the recordingGroup of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role.

Currently, you can specify only one configuration recorder per region in your account.

If ConfigurationRecorder does not have the recordingGroup parameter specified, the default is to record all supported resource types.

", "PutConformancePack": "

Creates or updates a conformance pack. A conformance pack is a collection of Config rules that can be easily deployed in an account and a region and across Amazon Web Services Organization.

This API creates a service linked role AWSServiceRoleForConfigConforms in your account. The service linked role is created only when the role does not exist in your account.

You must specify either the TemplateS3Uri or the TemplateBody parameter, but not both. If you provide both Config uses the TemplateS3Uri parameter and ignores the TemplateBody parameter.

", "PutDeliveryChannel": "

Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS topic.

Before you can create a delivery channel, you must create a configuration recorder.

You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed.

You can have only one delivery channel per region in your account.

", @@ -3311,7 +3311,7 @@ "TemplateBody": { "base": null, "refs": { - "PutConformancePackRequest$TemplateBody": "

A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

You can only use a YAML template with one resource type, that is, config rule and a remediation action.

", + "PutConformancePackRequest$TemplateBody": "

A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

You can only use a YAML template with two resource types: config rule (AWS::Config::ConfigRule) and a remediation action (AWS::Config::RemediationConfiguration).

", "PutOrganizationConformancePackRequest$TemplateBody": "

A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

" } }, diff --git a/models/apis/elasticache/2015-02-02/docs-2.json b/models/apis/elasticache/2015-02-02/docs-2.json index b5a8b65184c..b4ae25fc0d5 100644 --- a/models/apis/elasticache/2015-02-02/docs-2.json +++ b/models/apis/elasticache/2015-02-02/docs-2.json @@ -2017,7 +2017,7 @@ "CacheClusterMessage$Marker": "

Provides an identifier to allow retrieval of paginated results.

", "CacheEngineVersion$Engine": "

The name of the cache engine.

", "CacheEngineVersion$EngineVersion": "

The version number of the cache engine.

", - "CacheEngineVersion$CacheParameterGroupFamily": "

The name of the cache parameter group family associated with this cache engine.

Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.0 | redis6.2

", + "CacheEngineVersion$CacheParameterGroupFamily": "

The name of the cache parameter group family associated with this cache engine.

Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x

", "CacheEngineVersion$CacheEngineDescription": "

The description of the cache engine.

", "CacheEngineVersion$CacheEngineVersionDescription": "

The description of the cache engine version.

", "CacheEngineVersionMessage$Marker": "

Provides an identifier to allow retrieval of paginated results.

", @@ -2183,7 +2183,7 @@ "EC2SecurityGroup$EC2SecurityGroupName": "

The name of the Amazon EC2 security group.

", "EC2SecurityGroup$EC2SecurityGroupOwnerId": "

The Amazon account ID of the Amazon EC2 security group owner.

", "Endpoint$Address": "

The DNS hostname of the cache node.

", - "EngineDefaults$CacheParameterGroupFamily": "

Specifies the name of the cache parameter group family to which the engine default parameters apply.

Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.0 | redis6.2

", + "EngineDefaults$CacheParameterGroupFamily": "

Specifies the name of the cache parameter group family to which the engine default parameters apply.

Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.0 | redis6.x

", "EngineDefaults$Marker": "

Provides an identifier to allow retrieval of paginated results.

", "Event$SourceIdentifier": "

The identifier for the source of the event. For example, if the event occurred at the cluster level, the identifier would be the name of the cluster.

", "Event$Message": "

The text of the event.

", diff --git a/models/apis/kendra/2019-02-03/api-2.json b/models/apis/kendra/2019-02-03/api-2.json index f9c33e5a8bf..a5fab8fe0d8 100644 --- a/models/apis/kendra/2019-02-03/api-2.json +++ b/models/apis/kendra/2019-02-03/api-2.json @@ -1677,7 +1677,8 @@ "GoogleDriveConfiguration":{"shape":"GoogleDriveConfiguration"}, "WebCrawlerConfiguration":{"shape":"WebCrawlerConfiguration"}, "WorkDocsConfiguration":{"shape":"WorkDocsConfiguration"}, - "FsxConfiguration":{"shape":"FsxConfiguration"} + "FsxConfiguration":{"shape":"FsxConfiguration"}, + "SlackConfiguration":{"shape":"SlackConfiguration"} } }, "DataSourceDateFieldFormat":{ @@ -1849,7 +1850,8 @@ "GOOGLEDRIVE", "WEBCRAWLER", "WORKDOCS", - "FSX" + "FSX", + "SLACK" ] }, "DataSourceVpcConfiguration":{ @@ -3282,6 +3284,11 @@ } }, "Long":{"type":"long"}, + "LookBackPeriod":{ + "type":"integer", + "max":168, + "min":0 + }, "MaxContentSizePerPageInMegaBytes":{ "type":"float", "max":50, @@ -3540,6 +3547,10 @@ "GROUP" ] }, + "PrivateChannelFilter":{ + "type":"list", + "member":{"shape":"String"} + }, "ProxyConfiguration":{ "type":"structure", "required":[ @@ -3552,6 +3563,10 @@ "Credentials":{"shape":"SecretArn"} } }, + "PublicChannelFilter":{ + "type":"list", + "member":{"shape":"String"} + }, "PutPrincipalMappingRequest":{ "type":"structure", "required":[ @@ -4135,6 +4150,12 @@ "min":1, "pattern":"^\\P{C}*$" }, + "SinceCrawlDate":{ + "type":"string", + "max":10, + "min":10, + "pattern":"(20\\d{2})-(0?[1-9]|1[0-2])-(0?[1-9]|1\\d|2\\d|3[01])" + }, "SiteMap":{ "type":"string", "max":2048, @@ -4154,6 +4175,46 @@ "max":3, "min":0 }, + "SlackConfiguration":{ + "type":"structure", + "required":[ + "TeamId", + "SecretArn", + "SlackEntityList", + "SinceCrawlDate" + ], + "members":{ + "TeamId":{"shape":"TeamId"}, + "SecretArn":{"shape":"SecretArn"}, + "VpcConfiguration":{"shape":"DataSourceVpcConfiguration"}, + "SlackEntityList":{"shape":"SlackEntityList"}, + "UseChangeLog":{"shape":"Boolean"}, + "CrawlBotMessage":{"shape":"Boolean"}, + "ExcludeArchived":{"shape":"Boolean"}, + "SinceCrawlDate":{"shape":"SinceCrawlDate"}, + "LookBackPeriod":{"shape":"LookBackPeriod"}, + "PrivateChannelFilter":{"shape":"PrivateChannelFilter"}, + "PublicChannelFilter":{"shape":"PublicChannelFilter"}, + "InclusionPatterns":{"shape":"DataSourceInclusionsExclusionsStrings"}, + "ExclusionPatterns":{"shape":"DataSourceInclusionsExclusionsStrings"}, + "FieldMappings":{"shape":"DataSourceToIndexFieldMappingList"} + } + }, + "SlackEntity":{ + "type":"string", + "enum":[ + "PUBLIC_CHANNEL", + "PRIVATE_CHANNEL", + "GROUP_MESSAGE", + "DIRECT_MESSAGE" + ] + }, + "SlackEntityList":{ + "type":"list", + "member":{"shape":"SlackEntity"}, + "max":4, + "min":1 + }, "SnapshotsDataHeaderFields":{ "type":"list", "member":{"shape":"String"} @@ -4378,6 +4439,12 @@ "max":256, "min":0 }, + "TeamId":{ + "type":"string", + "max":64, + "min":1, + "pattern":"[A-Z0-9]*" + }, "TenantDomain":{ "type":"string", "max":256, diff --git a/models/apis/kendra/2019-02-03/docs-2.json b/models/apis/kendra/2019-02-03/docs-2.json index c6c6c4dd958..0849c12b428 100644 --- a/models/apis/kendra/2019-02-03/docs-2.json +++ b/models/apis/kendra/2019-02-03/docs-2.json @@ -264,11 +264,14 @@ "ServiceNowKnowledgeArticleConfiguration$CrawlAttachments": "

Indicates whether Amazon Kendra should index attachments to knowledge articles.

", "ServiceNowServiceCatalogConfiguration$CrawlAttachments": "

Indicates whether Amazon Kendra should crawl attachments to the service catalog items.

", "SharePointConfiguration$CrawlAttachments": "

TRUE to include attachments to documents stored in your Microsoft SharePoint site in the index; otherwise, FALSE.

", - "SharePointConfiguration$UseChangeLog": "

Set to TRUE to use the Microsoft SharePoint change log to determine the documents that need to be updated in the index. Depending on the size of the SharePoint change log, it may take longer for Amazon Kendra to use the change log than it takes it to determine the changed documents using the Amazon Kendra document crawler.

", + "SharePointConfiguration$UseChangeLog": "

TRUE to use the SharePoint change log to determine which documents require updating in the index. Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in SharePoint.

", "SharePointConfiguration$DisableLocalGroups": "

A Boolean value that specifies whether local groups are disabled (True) or enabled (False).

", + "SlackConfiguration$UseChangeLog": "

TRUE to use the Slack change log to determine which documents require updating in the index. Depending on the Slack change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in Slack.

", + "SlackConfiguration$CrawlBotMessage": "

TRUE to index bot messages from your Slack workspace team.

", + "SlackConfiguration$ExcludeArchived": "

TRUE to exclude archived messages to index from your Slack workspace team.

", "SpellCorrectionConfiguration$IncludeQuerySpellCheckSuggestions": "

TRUE to suggest spell corrections for queries.

", "WorkDocsConfiguration$CrawlComments": "

TRUE to include comments on documents in your index. Including comments in your index means each comment is a document that can be searched on.

The default is set to FALSE.

", - "WorkDocsConfiguration$UseChangeLog": "

TRUE to use the change logs to update documents in your index instead of scanning all documents.

If you are syncing your Amazon WorkDocs data source with your index for the first time, all documents are scanned. After your first sync, you can use the change logs to update your documents in your index for future syncs.

The default is set to FALSE.

" + "WorkDocsConfiguration$UseChangeLog": "

TRUE to use the Amazon WorkDocs change log to determine which documents require updating in the index. Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in Amazon WorkDocs.

" } }, "CapacityUnitsConfiguration": { @@ -346,15 +349,15 @@ } }, "ConfluenceAttachmentConfiguration": { - "base": "

Specifies the attachment settings for the Confluence data source. Attachment settings are optional, if you don't specify settings attachments, Amazon Kendra won't index them.

", + "base": "

Configuration of attachment settings for the Confluence data source. Attachment settings are optional, if you don't specify settings attachments, Amazon Kendra won't index them.

", "refs": { - "ConfluenceConfiguration$AttachmentConfiguration": "

Specifies configuration information for indexing attachments to Confluence blogs and pages.

" + "ConfluenceConfiguration$AttachmentConfiguration": "

Configuration information for indexing attachments to Confluence blogs and pages.

" } }, "ConfluenceAttachmentFieldMappingsList": { "base": null, "refs": { - "ConfluenceAttachmentConfiguration$AttachmentFieldMappings": "

Defines how attachment metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex API.

If you specify the AttachentFieldMappings parameter, you must specify at least one field mapping.

" + "ConfluenceAttachmentConfiguration$AttachmentFieldMappings": "

Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.

If you specify the AttachentFieldMappings parameter, you must specify at least one field mapping.

" } }, "ConfluenceAttachmentFieldName": { @@ -364,21 +367,21 @@ } }, "ConfluenceAttachmentToIndexFieldMapping": { - "base": "

Defines the mapping between a field in the Confluence data source to a Amazon Kendra index field.

You must first create the index field using the UpdateIndex API.

", + "base": "

Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confuence data source field names must exist in your Confluence custom metadata.

", "refs": { "ConfluenceAttachmentFieldMappingsList$member": null } }, "ConfluenceBlogConfiguration": { - "base": "

Specifies the blog settings for the Confluence data source. Blogs are always indexed unless filtered from the index by the ExclusionPatterns or InclusionPatterns fields in the ConfluenceConfiguration object.

", + "base": "

Configuration of blog settings for the Confluence data source. Blogs are always indexed unless filtered from the index by the ExclusionPatterns or InclusionPatterns fields in the ConfluenceConfiguration object.

", "refs": { - "ConfluenceConfiguration$BlogConfiguration": "

Specifies configuration information for indexing Confluence blogs.

" + "ConfluenceConfiguration$BlogConfiguration": "

Configuration information for indexing Confluence blogs.

" } }, "ConfluenceBlogFieldMappingsList": { "base": null, "refs": { - "ConfluenceBlogConfiguration$BlogFieldMappings": "

Defines how blog metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex API.

If you specify the BlogFieldMappings parameter, you must specify at least one field mapping.

" + "ConfluenceBlogConfiguration$BlogFieldMappings": "

Maps attributes or field names of Confluence blogs to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.

If you specify the BlogFieldMappings parameter, you must specify at least one field mapping.

" } }, "ConfluenceBlogFieldName": { @@ -388,7 +391,7 @@ } }, "ConfluenceBlogToIndexFieldMapping": { - "base": "

Defines the mapping between a blog field in the Confluence data source to a Amazon Kendra index field.

You must first create the index field using the UpdateIndex API.

", + "base": "

Maps attributes or field names of Confluence blog to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.

", "refs": { "ConfluenceBlogFieldMappingsList$member": null } @@ -396,43 +399,43 @@ "ConfluenceConfiguration": { "base": "

Provides the configuration information to connect to Confluence as your data source.

", "refs": { - "DataSourceConfiguration$ConfluenceConfiguration": "

Provides configuration information for connecting to a Confluence data source.

" + "DataSourceConfiguration$ConfluenceConfiguration": "

Provides the configuration information to connect to Confluence as your data source.

" } }, "ConfluencePageConfiguration": { - "base": "

Specifies the page settings for the Confluence data source.

", + "base": "

Configuration of the page settings for the Confluence data source.

", "refs": { - "ConfluenceConfiguration$PageConfiguration": "

Specifies configuration information for indexing Confluence pages.

" + "ConfluenceConfiguration$PageConfiguration": "

Configuration information for indexing Confluence pages.

" } }, "ConfluencePageFieldMappingsList": { "base": null, "refs": { - "ConfluencePageConfiguration$PageFieldMappings": "

Defines how page metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex API.

If you specify the PageFieldMappings parameter, you must specify at least one field mapping.

" + "ConfluencePageConfiguration$PageFieldMappings": "

>Maps attributes or field names of Confluence pages to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.

If you specify the PageFieldMappings parameter, you must specify at least one field mapping.

" } }, "ConfluencePageFieldName": { "base": null, "refs": { - "ConfluencePageToIndexFieldMapping$DataSourceFieldName": "

The name of the field in the data source.

" + "ConfluencePageToIndexFieldMapping$DataSourceFieldName": "

The name of the field in the data source.

" } }, "ConfluencePageToIndexFieldMapping": { - "base": "

Defines the mapping between a field in the Confluence data source to a Amazon Kendra index field.

You must first create the index field using the UpdateIndex API.

", + "base": "

>Maps attributes or field names of Confluence pages to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.

", "refs": { "ConfluencePageFieldMappingsList$member": null } }, "ConfluenceSpaceConfiguration": { - "base": "

Specifies the configuration for indexing Confluence spaces.

", + "base": "

Configuration information for indexing Confluence spaces.

", "refs": { - "ConfluenceConfiguration$SpaceConfiguration": "

Specifies configuration information for indexing Confluence spaces.

" + "ConfluenceConfiguration$SpaceConfiguration": "

Configuration information for indexing Confluence spaces.

" } }, "ConfluenceSpaceFieldMappingsList": { "base": null, "refs": { - "ConfluenceSpaceConfiguration$SpaceFieldMappings": "

Defines how space metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the UpdateIndex API.

If you specify the SpaceFieldMappings parameter, you must specify at least one field mapping.

" + "ConfluenceSpaceConfiguration$SpaceFieldMappings": "

Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.

If you specify the SpaceFieldMappings parameter, you must specify at least one field mapping.

" } }, "ConfluenceSpaceFieldName": { @@ -455,7 +458,7 @@ } }, "ConfluenceSpaceToIndexFieldMapping": { - "base": "

Defines the mapping between a field in the Confluence data source to an Amazon Kendra index field.

You must first create the index field using the UpdateIndex API.

", + "base": "

>Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.

", "refs": { "ConfluenceSpaceFieldMappingsList$member": null } @@ -654,29 +657,31 @@ "DataSourceInclusionsExclusionsStrings": { "base": null, "refs": { - "ConfluenceConfiguration$InclusionPatterns": "

A list of regular expression patterns that apply to a URL on the Confluence server. An inclusion pattern can apply to a blog post, a page, a space, or an attachment. Items that match the patterns are included in the index. Items that don't match the pattern are excluded from the index. If an item matches both an inclusion pattern and an exclusion pattern, the item isn't included in the index.

", - "ConfluenceConfiguration$ExclusionPatterns": "

A list of regular expression patterns that apply to a URL on the Confluence server. An exclusion pattern can apply to a blog post, a page, a space, or an attachment. Items that match the pattern are excluded from the index. Items that don't match the pattern are included in the index. If a item matches both an exclusion pattern and an inclusion pattern, the item isn't included in the index.

", - "FsxConfiguration$InclusionPatterns": "

A list of regular expression patterns to include certain files in your Amazon FSx file system. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

", - "FsxConfiguration$ExclusionPatterns": "

A list of regular expression patterns to exclude certain files in your Amazon FSx file system. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

", - "GoogleDriveConfiguration$InclusionPatterns": "

A list of regular expression patterns that apply to path on Google Drive. Items that match the pattern are included in the index from both shared drives and users' My Drives. Items that don't match the pattern are excluded from the index. If an item matches both an inclusion pattern and an exclusion pattern, it is excluded from the index.

", - "GoogleDriveConfiguration$ExclusionPatterns": "

A list of regular expression patterns that apply to the path on Google Drive. Items that match the pattern are excluded from the index from both shared drives and users' My Drives. Items that don't match the pattern are included in the index. If an item matches both an exclusion pattern and an inclusion pattern, it is excluded from the index.

", - "OneDriveConfiguration$InclusionPatterns": "

A list of regular expression patterns. Documents that match the pattern are included in the index. Documents that don't match the pattern are excluded from the index. If a document matches both an inclusion pattern and an exclusion pattern, the document is not included in the index.

The exclusion pattern is applied to the file name.

", - "OneDriveConfiguration$ExclusionPatterns": "

List of regular expressions applied to documents. Items that match the exclusion pattern are not indexed. If you provide both an inclusion pattern and an exclusion pattern, any item that matches the exclusion pattern isn't indexed.

The exclusion pattern is applied to the file name.

", + "ConfluenceConfiguration$InclusionPatterns": "

A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are included in the index. Content that doesn't match the patterns is excluded from the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.

", + "ConfluenceConfiguration$ExclusionPatterns": "

>A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are excluded from the index. Content that doesn't match the patterns is included in the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.

", + "FsxConfiguration$InclusionPatterns": "

A list of regular expression patterns to include certain files in your Amazon FSx file system. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

", + "FsxConfiguration$ExclusionPatterns": "

A list of regular expression patterns to exclude certain files in your Amazon FSx file system. Files that match the patterns are excluded from the index. Files that don't match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

", + "GoogleDriveConfiguration$InclusionPatterns": "

A list of regular expression patterns to include certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.

", + "GoogleDriveConfiguration$ExclusionPatterns": "

A list of regular expression patterns to exclude certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.

", + "OneDriveConfiguration$InclusionPatterns": "

A list of regular expression patterns to include certain documents in your OneDrive. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The pattern is applied to the file name.

", + "OneDriveConfiguration$ExclusionPatterns": "

A list of regular expression patterns to exclude certain documents in your OneDrive. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The pattern is applied to the file name.

", "S3DataSourceConfiguration$InclusionPrefixes": "

A list of S3 prefixes for the documents that should be included in the index.

", "S3DataSourceConfiguration$InclusionPatterns": "

A list of glob patterns for documents that should be indexed. If a document that matches an inclusion pattern also matches an exclusion pattern, the document is not indexed.

Some examples are:

", "S3DataSourceConfiguration$ExclusionPatterns": "

A list of glob patterns for documents that should not be indexed. If a document that matches an inclusion prefix or inclusion pattern also matches an exclusion pattern, the document is not indexed.

Some examples are:

", - "SalesforceConfiguration$IncludeAttachmentFilePatterns": "

A list of regular expression patterns. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion pattern and an exclusion pattern, the document is not included in the index.

The regex is applied to the name of the attached file.

", - "SalesforceConfiguration$ExcludeAttachmentFilePatterns": "

A list of regular expression patterns. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not included in the index.

The regex is applied to the name of the attached file.

", - "ServiceNowKnowledgeArticleConfiguration$IncludeAttachmentFilePatterns": "

List of regular expressions applied to knowledge articles. Items that don't match the inclusion pattern are not indexed. The regex is applied to the field specified in the PatternTargetField.

", - "ServiceNowKnowledgeArticleConfiguration$ExcludeAttachmentFilePatterns": "

List of regular expressions applied to knowledge articles. Items that don't match the inclusion pattern are not indexed. The regex is applied to the field specified in the PatternTargetField

", - "ServiceNowServiceCatalogConfiguration$IncludeAttachmentFilePatterns": "

A list of regular expression patterns. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not included in the index.

The regex is applied to the file name of the attachment.

", - "ServiceNowServiceCatalogConfiguration$ExcludeAttachmentFilePatterns": "

A list of regular expression patterns. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not included in the index.

The regex is applied to the file name of the attachment.

", - "SharePointConfiguration$InclusionPatterns": "

A list of regular expression patterns. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion pattern and an exclusion pattern, the document is not included in the index.

The regex is applied to the display URL of the SharePoint document.

", - "SharePointConfiguration$ExclusionPatterns": "

A list of regular expression patterns. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not included in the index.

The regex is applied to the display URL of the SharePoint document.

", - "WebCrawlerConfiguration$UrlInclusionPatterns": "

The regular expression pattern to include certain URLs to crawl.

If there is a regular expression pattern to exclude certain URLs that conflicts with the include pattern, the exclude pattern takes precedence.

", - "WebCrawlerConfiguration$UrlExclusionPatterns": "

The regular expression pattern to exclude certain URLs to crawl.

If there is a regular expression pattern to include certain URLs that conflicts with the exclude pattern, the exclude pattern takes precedence.

", - "WorkDocsConfiguration$InclusionPatterns": "

A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn’t included in the index.

", - "WorkDocsConfiguration$ExclusionPatterns": "

A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn’t included in the index.

" + "SalesforceConfiguration$IncludeAttachmentFilePatterns": "

A list of regular expression patterns to include certain documents in your Salesforce. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The pattern is applied to the name of the attached file.

", + "SalesforceConfiguration$ExcludeAttachmentFilePatterns": "

A list of regular expression patterns to exclude certain documents in your Salesforce. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The pattern is applied to the name of the attached file.

", + "ServiceNowKnowledgeArticleConfiguration$IncludeAttachmentFilePatterns": "

A list of regular expression patterns to include certain attachments of knowledge articles in your ServiceNow. Item that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.

The regex is applied to the field specified in the PatternTargetField.

", + "ServiceNowKnowledgeArticleConfiguration$ExcludeAttachmentFilePatterns": "

A list of regular expression patterns to exclude certain attachments of knowledge articles in your ServiceNow. Item that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.

The regex is applied to the field specified in the PatternTargetField.

", + "ServiceNowServiceCatalogConfiguration$IncludeAttachmentFilePatterns": "

A list of regular expression patterns to include certain attachments of catalogs in your ServiceNow. Item that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.

The regex is applied to the file name of the attachment.

", + "ServiceNowServiceCatalogConfiguration$ExcludeAttachmentFilePatterns": "

A list of regular expression patterns to exclude certain attachments of catalogs in your ServiceNow. Item that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.

The regex is applied to the file name of the attachment.

", + "SharePointConfiguration$InclusionPatterns": "

A list of regular expression patterns to include certain documents in your SharePoint. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The regex is applied to the display URL of the SharePoint document.

", + "SharePointConfiguration$ExclusionPatterns": "

A list of regular expression patterns to exclude certain documents in your SharePoint. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.

The regex is applied to the display URL of the SharePoint document.

", + "SlackConfiguration$InclusionPatterns": "

A list of regular expression patterns to include certain attached files in your Slack workspace team. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

", + "SlackConfiguration$ExclusionPatterns": "

A list of regular expression patterns to exclude certain attached files in your Slack workspace team. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

", + "WebCrawlerConfiguration$UrlInclusionPatterns": "

A list of regular expression patterns to include certain URLs to crawl. URLs that match the patterns are included in the index. URLs that don't match the patterns are excluded from the index. If a URL matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the URL file isn't included in the index.

", + "WebCrawlerConfiguration$UrlExclusionPatterns": "

A list of regular expression patterns to exclude certain URLs to crawl. URLs that match the patterns are excluded from the index. URLs that don't match the patterns are included in the index. If a URL matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the URL file isn't included in the index.

", + "WorkDocsConfiguration$InclusionPatterns": "

A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

", + "WorkDocsConfiguration$ExclusionPatterns": "

A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.

" } }, "DataSourceInclusionsExclusionsStringsMember": { @@ -761,17 +766,18 @@ "refs": { "ColumnConfiguration$FieldMappings": "

An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the UpdateIndex API.

", "FsxConfiguration$FieldMappings": "

A list of DataSourceToIndexFieldMapping objects that map Amazon FSx data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Amazon FSx fields. For more information, see Mapping data source fields. The Amazon FSx data source field names must exist in your Amazon FSx custom metadata.

", - "GoogleDriveConfiguration$FieldMappings": "

Defines mapping between a field in the Google Drive and a Amazon Kendra index field.

If you are using the console, you can define index fields when creating the mapping. If you are using the API, you must first create the field using the UpdateIndex API.

", - "OneDriveConfiguration$FieldMappings": "

A list of DataSourceToIndexFieldMapping objects that map Microsoft OneDrive fields to custom fields in the Amazon Kendra index. You must first create the index fields before you map OneDrive fields.

", + "GoogleDriveConfiguration$FieldMappings": "

Maps Google Drive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Google Drive fields. For more information, see Mapping data source fields. The Google Drive data source field names must exist in your Google Drive custom metadata.

", + "OneDriveConfiguration$FieldMappings": "

A list of DataSourceToIndexFieldMapping objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to OneDrive fields. For more information, see Mapping data source fields. The OneDrive data source field names must exist in your OneDrive custom metadata.

", "SalesforceChatterFeedConfiguration$FieldMappings": "

Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.

", - "SalesforceCustomKnowledgeArticleTypeConfiguration$FieldMappings": "

One or more objects that map fields in the custom knowledge article to fields in the Amazon Kendra index.

", - "SalesforceStandardKnowledgeArticleTypeConfiguration$FieldMappings": "

One or more objects that map fields in the knowledge article to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.

", + "SalesforceCustomKnowledgeArticleTypeConfiguration$FieldMappings": "

Maps attributes or field names of the custom knowledge article to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Salesforce fields. For more information, see Mapping data source fields. The Salesforce data source field names must exist in your Salesforce custom metadata.

", + "SalesforceStandardKnowledgeArticleTypeConfiguration$FieldMappings": "

Maps attributes or field names of the knowledge article to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Salesforce fields. For more information, see Mapping data source fields. The Salesforce data source field names must exist in your Salesforce custom metadata.

", "SalesforceStandardObjectAttachmentConfiguration$FieldMappings": "

One or more objects that map fields in attachments to Amazon Kendra index fields.

", - "SalesforceStandardObjectConfiguration$FieldMappings": "

One or more objects that map fields in the standard object to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.

", - "ServiceNowKnowledgeArticleConfiguration$FieldMappings": "

Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before you map the field.

", - "ServiceNowServiceCatalogConfiguration$FieldMappings": "

Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before you map the field.

", - "SharePointConfiguration$FieldMappings": "

A list of DataSourceToIndexFieldMapping objects that map Microsoft SharePoint attributes to custom fields in the Amazon Kendra index. You must first create the index fields using the UpdateIndex API before you map SharePoint attributes. For more information, see Mapping Data Source Fields.

", - "WorkDocsConfiguration$FieldMappings": "

A list of DataSourceToIndexFieldMapping objects that map Amazon WorkDocs field names to custom index field names in Amazon Kendra. You must first create the custom index fields using the UpdateIndex API before you map to Amazon WorkDocs fields. For more information, see Mapping Data Source Fields. The Amazon WorkDocs data source field names need to exist in your Amazon WorkDocs custom metadata.

" + "SalesforceStandardObjectConfiguration$FieldMappings": "

Maps attributes or field names of the standard object to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Salesforce fields. For more information, see Mapping data source fields. The Salesforce data source field names must exist in your Salesforce custom metadata.

", + "ServiceNowKnowledgeArticleConfiguration$FieldMappings": "

Maps attributes or field names of knoweldge articles to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to ServiceNow fields. For more information, see Mapping data source fields. The ServiceNow data source field names must exist in your ServiceNow custom metadata.

", + "ServiceNowServiceCatalogConfiguration$FieldMappings": "

Maps attributes or field names of catalogs to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to ServiceNow fields. For more information, see Mapping data source fields. The ServiceNow data source field names must exist in your ServiceNow custom metadata.

", + "SharePointConfiguration$FieldMappings": "

A list of DataSourceToIndexFieldMapping objects that map SharePoint data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to SharePoint fields. For more information, see Mapping data source fields. The SharePoint data source field names must exist in your SharePoint custom metadata.

", + "SlackConfiguration$FieldMappings": "

A list of DataSourceToIndexFieldMapping objects that map Slack data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Slack fields. For more information, see Mapping data source fields. The Slack data source field names must exist in your Slack custom metadata.

", + "WorkDocsConfiguration$FieldMappings": "

A list of DataSourceToIndexFieldMapping objects that map Amazon WorkDocs data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Amazon WorkDocs fields. For more information, see Mapping data source fields. The Amazon WorkDocs data source field names must exist in your Amazon WorkDocs custom metadata.

" } }, "DataSourceType": { @@ -785,10 +791,11 @@ "DataSourceVpcConfiguration": { "base": "

Provides the configuration information to connect to an Amazon VPC.

", "refs": { - "ConfluenceConfiguration$VpcConfiguration": "

Specifies the information for connecting to an Amazon VPC.

", + "ConfluenceConfiguration$VpcConfiguration": "

Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence. For more information, see Configuring a VPC.

", "DatabaseConfiguration$VpcConfiguration": null, - "FsxConfiguration$VpcConfiguration": "

Configuration information for connecting to an Amazon Virtual Private Cloud for your Amazon FSx. Your Amazon FSx instance must reside inside your VPC.

", - "SharePointConfiguration$VpcConfiguration": null + "FsxConfiguration$VpcConfiguration": "

Configuration information for an Amazon Virtual Private Cloud to connect to your Amazon FSx. Your Amazon FSx instance must reside inside your VPC.

", + "SharePointConfiguration$VpcConfiguration": null, + "SlackConfiguration$VpcConfiguration": "

Configuration information for an Amazon Virtual Private Cloud to connect to your Slack. For more information, see Configuring a VPC.

" } }, "DatabaseConfiguration": { @@ -1529,7 +1536,7 @@ "GoogleDriveConfiguration": { "base": "

Provides the configuration information to connect to Google Drive as your data source.

", "refs": { - "DataSourceConfiguration$GoogleDriveConfiguration": "

Provides the configuration information to connect to Google Drive as your data source.

" + "DataSourceConfiguration$GoogleDriveConfiguration": "

Provides the configuration information to connect to Google Drive as your data source.

" } }, "GroupAttributeField": { @@ -1994,6 +2001,12 @@ "DocumentAttributeValue$LongValue": "

A long integer value.

" } }, + "LookBackPeriod": { + "base": null, + "refs": { + "SlackConfiguration$LookBackPeriod": "

The number of hours for change log to look back from when you last synchronized your data. You can look back up to 7 days or 168 hours.

Change log updates your index only if new content was added since you last synced your data. Updated or deleted content from before you last synced does not get updated in your index. To capture updated or deleted content before you last synced, set the LookBackPeriod to the number of hours you want change log to look back.

" + } + }, "MaxContentSizePerPageInMegaBytes": { "base": null, "refs": { @@ -2283,12 +2296,24 @@ "Principal$Type": "

The type of principal.

" } }, + "PrivateChannelFilter": { + "base": null, + "refs": { + "SlackConfiguration$PrivateChannelFilter": "

The list of private channel names from your Slack workspace team. You use this if you want to index specific private channels, not all private channels. You can also use regular expression patterns to filter private channels.

" + } + }, "ProxyConfiguration": { "base": "

Provides the configuration information for a web proxy to connect to website hosts.

", "refs": { "WebCrawlerConfiguration$ProxyConfiguration": "

Configuration information required to connect to your internal websites via a web proxy.

You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is \"a.example.com\" and the port is 443, the standard port for HTTPS.

Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication. To store web proxy credentials, you use a secret in Secrets Manager.

" } }, + "PublicChannelFilter": { + "base": null, + "refs": { + "SlackConfiguration$PublicChannelFilter": "

The list of public channel names to index from your Slack workspace team. You use this if you want to index specific public channels, not all public channels. You can also use regular expression patterns to filter public channels.

" + } + }, "PutPrincipalMappingRequest": { "base": null, "refs": { @@ -2527,7 +2552,7 @@ "SalesforceChatterFeedConfiguration": { "base": "

The configuration information for syncing a Salesforce chatter feed. The contents of the object comes from the Salesforce FeedItem table.

", "refs": { - "SalesforceConfiguration$ChatterFeedConfiguration": "

Specifies configuration information for Salesforce chatter feeds.

" + "SalesforceConfiguration$ChatterFeedConfiguration": "

Configuration information for Salesforce chatter feeds.

" } }, "SalesforceChatterFeedIncludeFilterType": { @@ -2543,13 +2568,13 @@ } }, "SalesforceConfiguration": { - "base": "

Provides configuration information for connecting to a Salesforce data source.

", + "base": "

Provides the configuration information to connect to Salesforce as your data source.

", "refs": { "DataSourceConfiguration$SalesforceConfiguration": "

Provides the configuration information to connect to Salesforce as your data source.

" } }, "SalesforceCustomKnowledgeArticleTypeConfiguration": { - "base": "

Provides configuration information for indexing Salesforce custom articles.

", + "base": "

Provides the configuration information for indexing Salesforce custom articles.

", "refs": { "SalesforceCustomKnowledgeArticleTypeConfigurationList$member": null } @@ -2569,7 +2594,7 @@ "SalesforceKnowledgeArticleConfiguration": { "base": "

Provides the configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both

", "refs": { - "SalesforceConfiguration$KnowledgeArticleConfiguration": "

Specifies configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both.

" + "SalesforceConfiguration$KnowledgeArticleConfiguration": "

Configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both.

" } }, "SalesforceKnowledgeArticleState": { @@ -2585,13 +2610,13 @@ } }, "SalesforceStandardKnowledgeArticleTypeConfiguration": { - "base": "

Configuration information for standard Salesforce knowledge articles.

", + "base": "

Provides the configuration information for standard Salesforce knowledge articles.

", "refs": { "SalesforceKnowledgeArticleConfiguration$StandardKnowledgeArticleTypeConfiguration": "

Configuration information for standard Salesforce knowledge articles.

" } }, "SalesforceStandardObjectAttachmentConfiguration": { - "base": "

Provides the configuration information for processing attachments to Salesforce standard objects.

", + "base": "

Provides the configuration information for processing attachments to Salesforce standard objects.

", "refs": { "SalesforceConfiguration$StandardObjectAttachmentConfiguration": "

Configuration information for processing attachments to Salesforce standard objects.

" } @@ -2605,7 +2630,7 @@ "SalesforceStandardObjectConfigurationList": { "base": null, "refs": { - "SalesforceConfiguration$StandardObjectConfigurations": "

Specifies the Salesforce standard objects that Amazon Kendra indexes.

" + "SalesforceConfiguration$StandardObjectConfigurations": "

Configuration of the Salesforce standard objects that Amazon Kendra indexes.

" } }, "SalesforceStandardObjectName": { @@ -2644,7 +2669,7 @@ "base": null, "refs": { "BasicAuthenticationConfiguration$Credentials": "

Your secret ARN, which you can create in Secrets Manager

You use a secret if basic authentication credentials are required to connect to a website. The secret stores your credentials of user name and password.

", - "ConfluenceConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key/value pairs required to connect to your Confluence server. The secret must contain a JSON structure with the following keys:

", + "ConfluenceConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Confluence server. The secret must contain a JSON structure with the following keys:

", "ConnectionConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see Using a Database Data Source. For more information about Secrets Manager, see What Is Secrets Manager in the Secrets Manager user guide.

", "FsxConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Amazon FSx file system. Windows is currently the only supported type. The secret must contain a JSON structure with the following keys:

", "GoogleDriveConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of a Secrets Managersecret that contains the credentials required to connect to Google Drive. For more information, see Using a Google Workspace Drive data source.

", @@ -2652,7 +2677,8 @@ "ProxyConfiguration$Credentials": "

Your secret ARN, which you can create in Secrets Manager

The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials.

", "SalesforceConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the key/value pairs required to connect to your Salesforce instance. The secret must contain a JSON structure with the following keys:

", "ServiceNowConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the user name and password required to connect to the ServiceNow instance.

", - "SharePointConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. If you use SharePoint Server, you also need to provide the sever domain name as part of the credentials. For more information, see Using a Microsoft SharePoint Data Source. For more information about Secrets Manager see What Is Secrets Manager in the Secrets Manager user guide.

" + "SharePointConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. If you use SharePoint Server, you also need to provide the sever domain name as part of the credentials. For more information, see Using a Microsoft SharePoint Data Source. For more information about Secrets Manager see What Is Secrets Manager in the Secrets Manager user guide.

", + "SlackConfiguration$SecretArn": "

The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Slack workspace team. The secret must contain a JSON structure with the following keys:

" } }, "SecurityGroupIdList": { @@ -2689,7 +2715,7 @@ "ServiceNowAuthenticationType": { "base": null, "refs": { - "ServiceNowConfiguration$AuthenticationType": "

Determines the type of authentication used to connect to the ServiceNow instance. If you choose HTTP_BASIC, Amazon Kendra is authenticated using the user name and password provided in the Secrets Manager secret in the SecretArn field. When you choose OAUTH2, Amazon Kendra is authenticated using the OAuth token and secret provided in the Secrets Manager secret, and the user name and password are used to determine which information Amazon Kendra has access to.

When you use OAUTH2 authentication, you must generate a token and a client secret using the ServiceNow console. For more information, see Using a ServiceNow data source.

" + "ServiceNowConfiguration$AuthenticationType": "

The type of authentication used to connect to the ServiceNow instance. If you choose HTTP_BASIC, Amazon Kendra is authenticated using the user name and password provided in the Secrets Manager secret in the SecretArn field. When you choose OAUTH2, Amazon Kendra is authenticated using the OAuth token and secret provided in the Secrets Manager secret, and the user name and password are used to determine which information Amazon Kendra has access to.

When you use OAUTH2 authentication, you must generate a token and a client secret using the ServiceNow console. For more information, see Using a ServiceNow data source.

" } }, "ServiceNowBuildVersionType": { @@ -2707,7 +2733,7 @@ "ServiceNowHostUrl": { "base": null, "refs": { - "ServiceNowConfiguration$HostUrl": "

The ServiceNow instance that the data source connects to. The host endpoint should look like the following: {instance}.service-now.com.

" + "ServiceNowConfiguration$HostUrl": "

The ServiceNow instance that the data source connects to. The host endpoint should look like the following: {instance}.service-now.com.

" } }, "ServiceNowKnowledgeArticleConfiguration": { @@ -2757,6 +2783,12 @@ "ExcludeSharedDrivesList$member": null } }, + "SinceCrawlDate": { + "base": null, + "refs": { + "SlackConfiguration$SinceCrawlDate": "

The date to start crawling your data from your Slack workspace team. The date must follow this format: yyyy-mm-dd.

" + } + }, "SiteMap": { "base": null, "refs": { @@ -2775,6 +2807,24 @@ "SiteMapsConfiguration$SiteMaps": "

The list of sitemap URLs of the websites you want to crawl.

The list can include a maximum of three sitemap URLs.

" } }, + "SlackConfiguration": { + "base": "

Provides the configuration information to connect to Slack as your data source.

", + "refs": { + "DataSourceConfiguration$SlackConfiguration": "

Provides the configuration information to connect to Slack as your data source.

" + } + }, + "SlackEntity": { + "base": null, + "refs": { + "SlackEntityList$member": null + } + }, + "SlackEntityList": { + "base": null, + "refs": { + "SlackConfiguration$SlackEntityList": "

Specify whether to index public channels, private channels, group messages, and direct messages. You can specify one or more of these options.

" + } + }, "SnapshotsDataHeaderFields": { "base": null, "refs": { @@ -2867,6 +2917,8 @@ "DocumentAttributeStringListValue$member": null, "JsonTokenTypeConfiguration$UserNameAttributeField": "

The user name attribute field.

", "JsonTokenTypeConfiguration$GroupAttributeField": "

The group attribute field.

", + "PrivateChannelFilter$member": null, + "PublicChannelFilter$member": null, "SnapshotsDataHeaderFields$member": null, "SnapshotsDataRecord$member": null, "StartDataSourceSyncJobResponse$ExecutionId": "

Identifies a particular synchronization job.

", @@ -2994,6 +3046,12 @@ "Tag$Value": "

The value associated with the tag. The value may be an empty string but it can't be null.

" } }, + "TeamId": { + "base": null, + "refs": { + "SlackConfiguration$TeamId": "

The identifier of the team in the Slack workspace. For example, T0123456789.

You can find your team ID in the URL of the main page of your Slack workspace. When you log in to Slack via a browser, you are directed to the URL of the main page. For example, https://app.slack.com/client/T0123456789/....

" + } + }, "TenantDomain": { "base": null, "refs": { @@ -3160,7 +3218,7 @@ "Url": { "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/.

", + "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/.

", "JwtTokenTypeConfiguration$URL": "

The signing key URL.

", "QueryResultItem$DocumentURI": "

The URI of the original location of the document.

", "SalesforceConfiguration$ServerUrl": "

The instance URL for the Salesforce site that you want to index.

", diff --git a/models/apis/timestream-query/2018-11-01/api-2.json b/models/apis/timestream-query/2018-11-01/api-2.json index e0cdad4df6a..d71920f693e 100644 --- a/models/apis/timestream-query/2018-11-01/api-2.json +++ b/models/apis/timestream-query/2018-11-01/api-2.json @@ -742,7 +742,8 @@ "BIGINT", "BOOLEAN", "DOUBLE", - "VARCHAR" + "VARCHAR", + "TIMESTAMP" ] }, "ScalarType":{ diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 07103e01c79..26d352acbb6 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -1949,9 +1949,11 @@ "ap-east-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, + "ap-northeast-3" : { }, "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, diff --git a/service/configservice/api.go b/service/configservice/api.go index 16b2194cb47..ff28c79bc62 100644 --- a/service/configservice/api.go +++ b/service/configservice/api.go @@ -8574,7 +8574,7 @@ func (c *ConfigService) PutConfigurationAggregatorRequest(input *PutConfiguratio // an organization. // // accountIds that are passed will be replaced with existing accounts. If you -// want to add additional accounts into the aggregator, call DescribeAggregator +// want to add additional accounts into the aggregator, call DescribeConfigurationAggregators // to get the previous accounts and then append new ones. // // Config should be enabled in source accounts and regions you want to aggregate. @@ -25857,8 +25857,8 @@ type PutConformancePackInput struct { // the template body with a minimum length of 1 byte and a maximum length of // 51,200 bytes. // - // You can only use a YAML template with one resource type, that is, config - // rule and a remediation action. + // You can only use a YAML template with two resource types: config rule (AWS::Config::ConfigRule) + // and a remediation action (AWS::Config::RemediationConfiguration). TemplateBody *string `min:"1" type:"string"` // Location of file containing the template body (s3://bucketname/prefix). The @@ -31099,6 +31099,12 @@ const ( // ResourceTypeAwsCodeDeployDeploymentGroup is a ResourceType enum value ResourceTypeAwsCodeDeployDeploymentGroup = "AWS::CodeDeploy::DeploymentGroup" + + // ResourceTypeAwsEc2LaunchTemplate is a ResourceType enum value + ResourceTypeAwsEc2LaunchTemplate = "AWS::EC2::LaunchTemplate" + + // ResourceTypeAwsEcrPublicRepository is a ResourceType enum value + ResourceTypeAwsEcrPublicRepository = "AWS::ECR::PublicRepository" ) // ResourceType_Values returns all elements of the ResourceType enum @@ -31219,6 +31225,8 @@ func ResourceType_Values() []string { ResourceTypeAwsCodeDeployApplication, ResourceTypeAwsCodeDeployDeploymentConfig, ResourceTypeAwsCodeDeployDeploymentGroup, + ResourceTypeAwsEc2LaunchTemplate, + ResourceTypeAwsEcrPublicRepository, } } diff --git a/service/elasticache/api.go b/service/elasticache/api.go index 35494eaeaa6..b2c9e6114db 100644 --- a/service/elasticache/api.go +++ b/service/elasticache/api.go @@ -8402,7 +8402,7 @@ type CacheEngineVersion struct { // The name of the cache parameter group family associated with this cache engine. // // Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | - // redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.0 | redis6.2 + // redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x CacheParameterGroupFamily *string `type:"string"` // The name of the cache engine. @@ -15329,7 +15329,7 @@ type EngineDefaults struct { // default parameters apply. // // Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | - // redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.0 | redis6.2 + // redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.0 | redis6.x CacheParameterGroupFamily *string `type:"string"` // Provides an identifier to allow retrieval of paginated results. diff --git a/service/kendra/api.go b/service/kendra/api.go index 1b6abf3e392..370988c19ff 100644 --- a/service/kendra/api.go +++ b/service/kendra/api.go @@ -7275,15 +7275,18 @@ func (s *ConflictException) RequestID() string { return s.RespMetadata.RequestID } -// Specifies the attachment settings for the Confluence data source. Attachment +// Configuration of attachment settings for the Confluence data source. Attachment // settings are optional, if you don't specify settings attachments, Amazon // Kendra won't index them. type ConfluenceAttachmentConfiguration struct { _ struct{} `type:"structure"` - // Defines how attachment metadata fields should be mapped to index fields. - // Before you can map a field, you must first create an index field with a matching - // type using the console or the UpdateIndex API. + // Maps attributes or field names of Confluence attachments to Amazon Kendra + // index field names. To create custom fields, use the UpdateIndex API before + // you map to Confluence fields. For more information, see Mapping data source + // fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The Confluence data source field names must exist in your Confluence custom + // metadata. // // If you specify the AttachentFieldMappings parameter, you must specify at // least one field mapping. @@ -7347,10 +7350,12 @@ func (s *ConfluenceAttachmentConfiguration) SetCrawlAttachments(v bool) *Conflue return s } -// Defines the mapping between a field in the Confluence data source to a Amazon -// Kendra index field. -// -// You must first create the index field using the UpdateIndex API. +// Maps attributes or field names of Confluence attachments to Amazon Kendra +// index field names. To create custom fields, use the UpdateIndex API before +// you map to Confluence fields. For more information, see Mapping data source +// fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). +// The Confuence data source field names must exist in your Confluence custom +// metadata. type ConfluenceAttachmentToIndexFieldMapping struct { _ struct{} `type:"structure"` @@ -7421,15 +7426,17 @@ func (s *ConfluenceAttachmentToIndexFieldMapping) SetIndexFieldName(v string) *C return s } -// Specifies the blog settings for the Confluence data source. Blogs are always -// indexed unless filtered from the index by the ExclusionPatterns or InclusionPatterns -// fields in the ConfluenceConfiguration object. +// Configuration of blog settings for the Confluence data source. Blogs are +// always indexed unless filtered from the index by the ExclusionPatterns or +// InclusionPatterns fields in the ConfluenceConfiguration object. type ConfluenceBlogConfiguration struct { _ struct{} `type:"structure"` - // Defines how blog metadata fields should be mapped to index fields. Before - // you can map a field, you must first create an index field with a matching - // type using the console or the UpdateIndex API. + // Maps attributes or field names of Confluence blogs to Amazon Kendra index + // field names. To create custom fields, use the UpdateIndex API before you + // map to Confluence fields. For more information, see Mapping data source fields + // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The Confluence + // data source field names must exist in your Confluence custom metadata. // // If you specify the BlogFieldMappings parameter, you must specify at least // one field mapping. @@ -7483,10 +7490,11 @@ func (s *ConfluenceBlogConfiguration) SetBlogFieldMappings(v []*ConfluenceBlogTo return s } -// Defines the mapping between a blog field in the Confluence data source to -// a Amazon Kendra index field. -// -// You must first create the index field using the UpdateIndex API. +// Maps attributes or field names of Confluence blog to Amazon Kendra index +// field names. To create custom fields, use the UpdateIndex API before you +// map to Confluence fields. For more information, see Mapping data source fields +// (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The Confluence +// data source field names must exist in your Confluence custom metadata. type ConfluenceBlogToIndexFieldMapping struct { _ struct{} `type:"structure"` @@ -7560,40 +7568,40 @@ func (s *ConfluenceBlogToIndexFieldMapping) SetIndexFieldName(v string) *Conflue type ConfluenceConfiguration struct { _ struct{} `type:"structure"` - // Specifies configuration information for indexing attachments to Confluence - // blogs and pages. + // Configuration information for indexing attachments to Confluence blogs and + // pages. AttachmentConfiguration *ConfluenceAttachmentConfiguration `type:"structure"` - // Specifies configuration information for indexing Confluence blogs. + // Configuration information for indexing Confluence blogs. BlogConfiguration *ConfluenceBlogConfiguration `type:"structure"` - // A list of regular expression patterns that apply to a URL on the Confluence - // server. An exclusion pattern can apply to a blog post, a page, a space, or - // an attachment. Items that match the pattern are excluded from the index. - // Items that don't match the pattern are included in the index. If a item matches - // both an exclusion pattern and an inclusion pattern, the item isn't included - // in the index. + // >A list of regular expression patterns to exclude certain blog posts, pages, + // spaces, or attachments in your Confluence. Content that matches the patterns + // are excluded from the index. Content that doesn't match the patterns is included + // in the index. If content matches both an inclusion and exclusion pattern, + // the exclusion pattern takes precedence and the content isn't included in + // the index. ExclusionPatterns []*string `type:"list"` - // A list of regular expression patterns that apply to a URL on the Confluence - // server. An inclusion pattern can apply to a blog post, a page, a space, or - // an attachment. Items that match the patterns are included in the index. Items - // that don't match the pattern are excluded from the index. If an item matches - // both an inclusion pattern and an exclusion pattern, the item isn't included - // in the index. + // A list of regular expression patterns to include certain blog posts, pages, + // spaces, or attachments in your Confluence. Content that matches the patterns + // are included in the index. Content that doesn't match the patterns is excluded + // from the index. If content matches both an inclusion and exclusion pattern, + // the exclusion pattern takes precedence and the content isn't included in + // the index. InclusionPatterns []*string `type:"list"` - // Specifies configuration information for indexing Confluence pages. + // Configuration information for indexing Confluence pages. PageConfiguration *ConfluencePageConfiguration `type:"structure"` // The Amazon Resource Name (ARN) of an Secrets Manager secret that contains - // the key/value pairs required to connect to your Confluence server. The secret + // the key-value pairs required to connect to your Confluence server. The secret // must contain a JSON structure with the following keys: // - // * username - The user name or email address of a user with administrative + // * username—The user name or email address of a user with administrative // privileges for the Confluence server. // - // * password - The password associated with the user logging in to the Confluence + // * password—The password associated with the user logging in to the Confluence // server. // // SecretArn is a required field @@ -7606,7 +7614,7 @@ type ConfluenceConfiguration struct { // ServerUrl is a required field ServerUrl *string `min:"1" type:"string" required:"true"` - // Specifies configuration information for indexing Confluence spaces. + // Configuration information for indexing Confluence spaces. SpaceConfiguration *ConfluenceSpaceConfiguration `type:"structure"` // Specifies the version of the Confluence installation that you are connecting @@ -7615,7 +7623,8 @@ type ConfluenceConfiguration struct { // Version is a required field Version *string `type:"string" required:"true" enum:"ConfluenceVersion"` - // Specifies the information for connecting to an Amazon VPC. + // Configuration information for an Amazon Virtual Private Cloud to connect + // to your Confluence. For more information, see Configuring a VPC (https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html). VpcConfiguration *DataSourceVpcConfiguration `type:"structure"` } @@ -7747,13 +7756,15 @@ func (s *ConfluenceConfiguration) SetVpcConfiguration(v *DataSourceVpcConfigurat return s } -// Specifies the page settings for the Confluence data source. +// Configuration of the page settings for the Confluence data source. type ConfluencePageConfiguration struct { _ struct{} `type:"structure"` - // Defines how page metadata fields should be mapped to index fields. Before - // you can map a field, you must first create an index field with a matching - // type using the console or the UpdateIndex API. + // >Maps attributes or field names of Confluence pages to Amazon Kendra index + // field names. To create custom fields, use the UpdateIndex API before you + // map to Confluence fields. For more information, see Mapping data source fields + // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The Confluence + // data source field names must exist in your Confluence custom metadata. // // If you specify the PageFieldMappings parameter, you must specify at least // one field mapping. @@ -7807,10 +7818,11 @@ func (s *ConfluencePageConfiguration) SetPageFieldMappings(v []*ConfluencePageTo return s } -// Defines the mapping between a field in the Confluence data source to a Amazon -// Kendra index field. -// -// You must first create the index field using the UpdateIndex API. +// >Maps attributes or field names of Confluence pages to Amazon Kendra index +// field names. To create custom fields, use the UpdateIndex API before you +// map to Confluence fields. For more information, see Mapping data source fields +// (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The Confluence +// data source field names must exist in your Confluence custom metadata. type ConfluencePageToIndexFieldMapping struct { _ struct{} `type:"structure"` @@ -7879,7 +7891,7 @@ func (s *ConfluencePageToIndexFieldMapping) SetIndexFieldName(v string) *Conflue return s } -// Specifies the configuration for indexing Confluence spaces. +// Configuration information for indexing Confluence spaces. type ConfluenceSpaceConfiguration struct { _ struct{} `type:"structure"` @@ -7905,9 +7917,11 @@ type ConfluenceSpaceConfiguration struct { // in both the IncludeSpaces and the ExcludeSpaces list, the space is excluded. IncludeSpaces []*string `min:"1" type:"list"` - // Defines how space metadata fields should be mapped to index fields. Before - // you can map a field, you must first create an index field with a matching - // type using the console or the UpdateIndex API. + // Maps attributes or field names of Confluence spaces to Amazon Kendra index + // field names. To create custom fields, use the UpdateIndex API before you + // map to Confluence fields. For more information, see Mapping data source fields + // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The Confluence + // data source field names must exist in your Confluence custom metadata. // // If you specify the SpaceFieldMappings parameter, you must specify at least // one field mapping. @@ -7991,10 +8005,11 @@ func (s *ConfluenceSpaceConfiguration) SetSpaceFieldMappings(v []*ConfluenceSpac return s } -// Defines the mapping between a field in the Confluence data source to an Amazon -// Kendra index field. -// -// You must first create the index field using the UpdateIndex API. +// >Maps attributes or field names of Confluence spaces to Amazon Kendra index +// field names. To create custom fields, use the UpdateIndex API before you +// map to Confluence fields. For more information, see Mapping data source fields +// (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The Confluence +// data source field names must exist in your Confluence custom metadata. type ConfluenceSpaceToIndexFieldMapping struct { _ struct{} `type:"structure"` @@ -9614,7 +9629,8 @@ func (s *CustomDocumentEnrichmentConfiguration) SetRoleArn(v string) *CustomDocu type DataSourceConfiguration struct { _ struct{} `type:"structure"` - // Provides configuration information for connecting to a Confluence data source. + // Provides the configuration information to connect to Confluence as your data + // source. ConfluenceConfiguration *ConfluenceConfiguration `type:"structure"` // Provides the configuration information to connect to a database as your data @@ -9649,6 +9665,9 @@ type DataSourceConfiguration struct { // as your data source. SharePointConfiguration *SharePointConfiguration `type:"structure"` + // Provides the configuration information to connect to Slack as your data source. + SlackConfiguration *SlackConfiguration `type:"structure"` + // Provides the configuration information required for Amazon Kendra Web Crawler. WebCrawlerConfiguration *WebCrawlerConfiguration `type:"structure"` @@ -9723,6 +9742,11 @@ func (s *DataSourceConfiguration) Validate() error { invalidParams.AddNested("SharePointConfiguration", err.(request.ErrInvalidParams)) } } + if s.SlackConfiguration != nil { + if err := s.SlackConfiguration.Validate(); err != nil { + invalidParams.AddNested("SlackConfiguration", err.(request.ErrInvalidParams)) + } + } if s.WebCrawlerConfiguration != nil { if err := s.WebCrawlerConfiguration.Validate(); err != nil { invalidParams.AddNested("WebCrawlerConfiguration", err.(request.ErrInvalidParams)) @@ -9794,6 +9818,12 @@ func (s *DataSourceConfiguration) SetSharePointConfiguration(v *SharePointConfig return s } +// SetSlackConfiguration sets the SlackConfiguration field's value. +func (s *DataSourceConfiguration) SetSlackConfiguration(v *SlackConfiguration) *DataSourceConfiguration { + s.SlackConfiguration = v + return s +} + // SetWebCrawlerConfiguration sets the WebCrawlerConfiguration field's value. func (s *DataSourceConfiguration) SetWebCrawlerConfiguration(v *WebCrawlerConfiguration) *DataSourceConfiguration { s.WebCrawlerConfiguration = v @@ -14561,9 +14591,9 @@ type FsxConfiguration struct { // A list of regular expression patterns to exclude certain files in your Amazon // FSx file system. Files that match the patterns are excluded from the index. - // Files that don’t match the patterns are included in the index. If a file - // matches both an inclusion pattern and an exclusion pattern, the exclusion - // pattern takes precedence and the file isn't included in the index. + // Files that don't match the patterns are included in the index. If a file + // matches both an inclusion and exclusion pattern, the exclusion pattern takes + // precedence and the file isn't included in the index. ExclusionPatterns []*string `type:"list"` // A list of DataSourceToIndexFieldMapping objects that map Amazon FSx data @@ -14593,8 +14623,8 @@ type FsxConfiguration struct { // A list of regular expression patterns to include certain files in your Amazon // FSx file system. Files that match the patterns are included in the index. // Files that don't match the patterns are excluded from the index. If a file - // matches both an inclusion pattern and an exclusion pattern, the exclusion - // pattern takes precedence and the file isn't included in the index. + // matches both an inclusion and exclusion pattern, the exclusion pattern takes + // precedence and the file isn't included in the index. InclusionPatterns []*string `type:"list"` // The Amazon Resource Name (ARN) of an Secrets Manager secret that contains @@ -14611,8 +14641,8 @@ type FsxConfiguration struct { // and mounting access to the Amazon FSx Windows file system. SecretArn *string `min:"1" type:"string"` - // Configuration information for connecting to an Amazon Virtual Private Cloud - // for your Amazon FSx. Your Amazon FSx instance must reside inside your VPC. + // Configuration information for an Amazon Virtual Private Cloud to connect + // to your Amazon FSx. Your Amazon FSx instance must reside inside your VPC. // // VpcConfiguration is a required field VpcConfiguration *DataSourceVpcConfiguration `type:"structure" required:"true"` @@ -15045,26 +15075,28 @@ type GoogleDriveConfiguration struct { // unless they are excluded in another way. ExcludeUserAccounts []*string `type:"list"` - // A list of regular expression patterns that apply to the path on Google Drive. - // Items that match the pattern are excluded from the index from both shared - // drives and users' My Drives. Items that don't match the pattern are included - // in the index. If an item matches both an exclusion pattern and an inclusion - // pattern, it is excluded from the index. + // A list of regular expression patterns to exclude certain items in your Google + // Drive, including shared drives and users' My Drives. Items that match the + // patterns are excluded from the index. Items that don't match the patterns + // are included in the index. If an item matches both an inclusion and exclusion + // pattern, the exclusion pattern takes precedence and the item isn't included + // in the index. ExclusionPatterns []*string `type:"list"` - // Defines mapping between a field in the Google Drive and a Amazon Kendra index - // field. - // - // If you are using the console, you can define index fields when creating the - // mapping. If you are using the API, you must first create the field using - // the UpdateIndex API. + // Maps Google Drive data source attributes or field names to Amazon Kendra + // index field names. To create custom fields, use the UpdateIndex API before + // you map to Google Drive fields. For more information, see Mapping data source + // fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The Google Drive data source field names must exist in your Google Drive + // custom metadata. FieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` - // A list of regular expression patterns that apply to path on Google Drive. - // Items that match the pattern are included in the index from both shared drives - // and users' My Drives. Items that don't match the pattern are excluded from - // the index. If an item matches both an inclusion pattern and an exclusion - // pattern, it is excluded from the index. + // A list of regular expression patterns to include certain items in your Google + // Drive, including shared drives and users' My Drives. Items that match the + // patterns are included in the index. Items that don't match the patterns are + // excluded from the index. If an item matches both an inclusion and exclusion + // pattern, the exclusion pattern takes precedence and the item isn't included + // in the index. InclusionPatterns []*string `type:"list"` // The Amazon Resource Name (ARN) of a Secrets Managersecret that contains the @@ -17584,24 +17616,29 @@ type OneDriveConfiguration struct { // enabled (False). DisableLocalGroups *bool `type:"boolean"` - // List of regular expressions applied to documents. Items that match the exclusion - // pattern are not indexed. If you provide both an inclusion pattern and an - // exclusion pattern, any item that matches the exclusion pattern isn't indexed. + // A list of regular expression patterns to exclude certain documents in your + // OneDrive. Documents that match the patterns are excluded from the index. + // Documents that don't match the patterns are included in the index. If a document + // matches both an inclusion and exclusion pattern, the exclusion pattern takes + // precedence and the document isn't included in the index. // - // The exclusion pattern is applied to the file name. + // The pattern is applied to the file name. ExclusionPatterns []*string `type:"list"` - // A list of DataSourceToIndexFieldMapping objects that map Microsoft OneDrive - // fields to custom fields in the Amazon Kendra index. You must first create - // the index fields before you map OneDrive fields. + // A list of DataSourceToIndexFieldMapping objects that map OneDrive data source + // attributes or field names to Amazon Kendra index field names. To create custom + // fields, use the UpdateIndex API before you map to OneDrive fields. For more + // information, see Mapping data source fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The OneDrive data source field names must exist in your OneDrive custom metadata. FieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` - // A list of regular expression patterns. Documents that match the pattern are - // included in the index. Documents that don't match the pattern are excluded - // from the index. If a document matches both an inclusion pattern and an exclusion - // pattern, the document is not included in the index. + // A list of regular expression patterns to include certain documents in your + // OneDrive. Documents that match the patterns are included in the index. Documents + // that don't match the patterns are excluded from the index. If a document + // matches both an inclusion and exclusion pattern, the exclusion pattern takes + // precedence and the document isn't included in the index. // - // The exclusion pattern is applied to the file name. + // The pattern is applied to the file name. InclusionPatterns []*string `type:"list"` // A list of user accounts whose documents should be indexed. @@ -19487,36 +19524,39 @@ func (s *SalesforceChatterFeedConfiguration) SetIncludeFilterTypes(v []*string) return s } -// Provides configuration information for connecting to a Salesforce data source. +// Provides the configuration information to connect to Salesforce as your data +// source. type SalesforceConfiguration struct { _ struct{} `type:"structure"` - // Specifies configuration information for Salesforce chatter feeds. + // Configuration information for Salesforce chatter feeds. ChatterFeedConfiguration *SalesforceChatterFeedConfiguration `type:"structure"` // Indicates whether Amazon Kendra should index attachments to Salesforce objects. CrawlAttachments *bool `type:"boolean"` - // A list of regular expression patterns. Documents that match the patterns - // are excluded from the index. Documents that don't match the patterns are - // included in the index. If a document matches both an exclusion pattern and - // an inclusion pattern, the document is not included in the index. + // A list of regular expression patterns to exclude certain documents in your + // Salesforce. Documents that match the patterns are excluded from the index. + // Documents that don't match the patterns are included in the index. If a document + // matches both an inclusion and exclusion pattern, the exclusion pattern takes + // precedence and the document isn't included in the index. // - // The regex is applied to the name of the attached file. + // The pattern is applied to the name of the attached file. ExcludeAttachmentFilePatterns []*string `type:"list"` - // A list of regular expression patterns. Documents that match the patterns - // are included in the index. Documents that don't match the patterns are excluded - // from the index. If a document matches both an inclusion pattern and an exclusion - // pattern, the document is not included in the index. + // A list of regular expression patterns to include certain documents in your + // Salesforce. Documents that match the patterns are included in the index. + // Documents that don't match the patterns are excluded from the index. If a + // document matches both an inclusion and exclusion pattern, the exclusion pattern + // takes precedence and the document isn't included in the index. // - // The regex is applied to the name of the attached file. + // The pattern is applied to the name of the attached file. IncludeAttachmentFilePatterns []*string `type:"list"` - // Specifies configuration information for the knowledge article types that - // Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles - // and the standard fields of knowledge articles, or the custom fields of custom - // knowledge articles, but not both. + // Configuration information for the knowledge article types that Amazon Kendra + // indexes. Amazon Kendra indexes standard knowledge articles and the standard + // fields of knowledge articles, or the custom fields of custom knowledge articles, + // but not both. KnowledgeArticleConfiguration *SalesforceKnowledgeArticleConfiguration `type:"structure"` // The Amazon Resource Name (ARN) of an Secrets Managersecret that contains @@ -19552,7 +19592,7 @@ type SalesforceConfiguration struct { // objects. StandardObjectAttachmentConfiguration *SalesforceStandardObjectAttachmentConfiguration `type:"structure"` - // Specifies the Salesforce standard objects that Amazon Kendra indexes. + // Configuration of the Salesforce standard objects that Amazon Kendra indexes. StandardObjectConfigurations []*SalesforceStandardObjectConfiguration `min:"1" type:"list"` } @@ -19678,7 +19718,7 @@ func (s *SalesforceConfiguration) SetStandardObjectConfigurations(v []*Salesforc return s } -// Provides configuration information for indexing Salesforce custom articles. +// Provides the configuration information for indexing Salesforce custom articles. type SalesforceCustomKnowledgeArticleTypeConfiguration struct { _ struct{} `type:"structure"` @@ -19692,8 +19732,12 @@ type SalesforceCustomKnowledgeArticleTypeConfiguration struct { // title. DocumentTitleFieldName *string `min:"1" type:"string"` - // One or more objects that map fields in the custom knowledge article to fields - // in the Amazon Kendra index. + // Maps attributes or field names of the custom knowledge article to Amazon + // Kendra index field names. To create custom fields, use the UpdateIndex API + // before you map to Salesforce fields. For more information, see Mapping data + // source fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The Salesforce data source field names must exist in your Salesforce custom + // metadata. FieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` // The name of the configuration. @@ -19872,7 +19916,8 @@ func (s *SalesforceKnowledgeArticleConfiguration) SetStandardKnowledgeArticleTyp return s } -// Configuration information for standard Salesforce knowledge articles. +// Provides the configuration information for standard Salesforce knowledge +// articles. type SalesforceStandardKnowledgeArticleTypeConfiguration struct { _ struct{} `type:"structure"` @@ -19884,9 +19929,12 @@ type SalesforceStandardKnowledgeArticleTypeConfiguration struct { // The name of the field that contains the document title. DocumentTitleFieldName *string `min:"1" type:"string"` - // One or more objects that map fields in the knowledge article to Amazon Kendra - // index fields. The index field must exist before you can map a Salesforce - // field to it. + // Maps attributes or field names of the knowledge article to Amazon Kendra + // index field names. To create custom fields, use the UpdateIndex API before + // you map to Salesforce fields. For more information, see Mapping data source + // fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The Salesforce data source field names must exist in your Salesforce custom + // metadata. FieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` } @@ -20041,9 +20089,11 @@ type SalesforceStandardObjectConfiguration struct { // title. DocumentTitleFieldName *string `min:"1" type:"string"` - // One or more objects that map fields in the standard object to Amazon Kendra - // index fields. The index field must exist before you can map a Salesforce - // field to it. + // Maps attributes or field names of the standard object to Amazon Kendra index + // field names. To create custom fields, use the UpdateIndex API before you + // map to Salesforce fields. For more information, see Mapping data source fields + // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The Salesforce + // data source field names must exist in your Salesforce custom metadata. FieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` // The name of the standard object. @@ -20361,8 +20411,8 @@ func (s *ServerSideEncryptionConfiguration) SetKmsKeyId(v string) *ServerSideEnc type ServiceNowConfiguration struct { _ struct{} `type:"structure"` - // Determines the type of authentication used to connect to the ServiceNow instance. - // If you choose HTTP_BASIC, Amazon Kendra is authenticated using the user name + // The type of authentication used to connect to the ServiceNow instance. If + // you choose HTTP_BASIC, Amazon Kendra is authenticated using the user name // and password provided in the Secrets Manager secret in the SecretArn field. // When you choose OAUTH2, Amazon Kendra is authenticated using the OAuth token // and secret provided in the Secrets Manager secret, and the user name and @@ -20508,13 +20558,20 @@ type ServiceNowKnowledgeArticleConfiguration struct { // field. DocumentTitleFieldName *string `min:"1" type:"string"` - // List of regular expressions applied to knowledge articles. Items that don't - // match the inclusion pattern are not indexed. The regex is applied to the - // field specified in the PatternTargetField + // A list of regular expression patterns to exclude certain attachments of knowledge + // articles in your ServiceNow. Item that match the patterns are excluded from + // the index. Items that don't match the patterns are included in the index. + // If an item matches both an inclusion and exclusion pattern, the exclusion + // pattern takes precedence and the item isn't included in the index. + // + // The regex is applied to the field specified in the PatternTargetField. ExcludeAttachmentFilePatterns []*string `type:"list"` - // Mapping between ServiceNow fields and Amazon Kendra index fields. You must - // create the index field before you map the field. + // Maps attributes or field names of knoweldge articles to Amazon Kendra index + // field names. To create custom fields, use the UpdateIndex API before you + // map to ServiceNow fields. For more information, see Mapping data source fields + // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The ServiceNow + // data source field names must exist in your ServiceNow custom metadata. FieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` // A query that selects the knowledge articles to index. The query can return @@ -20525,9 +20582,13 @@ type ServiceNowKnowledgeArticleConfiguration struct { // information, see Specifying documents to index with a query (https://docs.aws.amazon.com/kendra/latest/dg/servicenow-query.html). FilterQuery *string `min:"1" type:"string"` - // List of regular expressions applied to knowledge articles. Items that don't - // match the inclusion pattern are not indexed. The regex is applied to the - // field specified in the PatternTargetField. + // A list of regular expression patterns to include certain attachments of knowledge + // articles in your ServiceNow. Item that match the patterns are included in + // the index. Items that don't match the patterns are excluded from the index. + // If an item matches both an inclusion and exclusion pattern, the exclusion + // pattern takes precedence and the item isn't included in the index. + // + // The regex is applied to the field specified in the PatternTargetField. IncludeAttachmentFilePatterns []*string `type:"list"` } @@ -20645,22 +20706,27 @@ type ServiceNowServiceCatalogConfiguration struct { // field. DocumentTitleFieldName *string `min:"1" type:"string"` - // A list of regular expression patterns. Documents that match the patterns - // are excluded from the index. Documents that don't match the patterns are - // included in the index. If a document matches both an exclusion pattern and - // an inclusion pattern, the document is not included in the index. + // A list of regular expression patterns to exclude certain attachments of catalogs + // in your ServiceNow. Item that match the patterns are excluded from the index. + // Items that don't match the patterns are included in the index. If an item + // matches both an inclusion and exclusion pattern, the exclusion pattern takes + // precedence and the item isn't included in the index. // // The regex is applied to the file name of the attachment. ExcludeAttachmentFilePatterns []*string `type:"list"` - // Mapping between ServiceNow fields and Amazon Kendra index fields. You must - // create the index field before you map the field. + // Maps attributes or field names of catalogs to Amazon Kendra index field names. + // To create custom fields, use the UpdateIndex API before you map to ServiceNow + // fields. For more information, see Mapping data source fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The ServiceNow data source field names must exist in your ServiceNow custom + // metadata. FieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` - // A list of regular expression patterns. Documents that match the patterns - // are included in the index. Documents that don't match the patterns are excluded - // from the index. If a document matches both an exclusion pattern and an inclusion - // pattern, the document is not included in the index. + // A list of regular expression patterns to include certain attachments of catalogs + // in your ServiceNow. Item that match the patterns are included in the index. + // Items that don't match the patterns are excluded from the index. If an item + // matches both an inclusion and exclusion pattern, the exclusion pattern takes + // precedence and the item isn't included in the index. // // The regex is applied to the file name of the attachment. IncludeAttachmentFilePatterns []*string `type:"list"` @@ -20831,24 +20897,28 @@ type SharePointConfiguration struct { // The Microsoft SharePoint attribute field that contains the title of the document. DocumentTitleFieldName *string `min:"1" type:"string"` - // A list of regular expression patterns. Documents that match the patterns - // are excluded from the index. Documents that don't match the patterns are - // included in the index. If a document matches both an exclusion pattern and - // an inclusion pattern, the document is not included in the index. + // A list of regular expression patterns to exclude certain documents in your + // SharePoint. Documents that match the patterns are excluded from the index. + // Documents that don't match the patterns are included in the index. If a document + // matches both an inclusion and exclusion pattern, the exclusion pattern takes + // precedence and the document isn't included in the index. // // The regex is applied to the display URL of the SharePoint document. ExclusionPatterns []*string `type:"list"` - // A list of DataSourceToIndexFieldMapping objects that map Microsoft SharePoint - // attributes to custom fields in the Amazon Kendra index. You must first create - // the index fields using the UpdateIndex API before you map SharePoint attributes. - // For more information, see Mapping Data Source Fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // A list of DataSourceToIndexFieldMapping objects that map SharePoint data + // source attributes or field names to Amazon Kendra index field names. To create + // custom fields, use the UpdateIndex API before you map to SharePoint fields. + // For more information, see Mapping data source fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The SharePoint data source field names must exist in your SharePoint custom + // metadata. FieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` - // A list of regular expression patterns. Documents that match the patterns - // are included in the index. Documents that don't match the patterns are excluded - // from the index. If a document matches both an inclusion pattern and an exclusion - // pattern, the document is not included in the index. + // A list of regular expression patterns to include certain documents in your + // SharePoint. Documents that match the patterns are included in the index. + // Documents that don't match the patterns are excluded from the index. If a + // document matches both an inclusion and exclusion pattern, the exclusion pattern + // takes precedence and the document isn't included in the index. // // The regex is applied to the display URL of the SharePoint document. InclusionPatterns []*string `type:"list"` @@ -20877,11 +20947,10 @@ type SharePointConfiguration struct { // Urls is a required field Urls []*string `min:"1" type:"list" required:"true"` - // Set to TRUE to use the Microsoft SharePoint change log to determine the documents - // that need to be updated in the index. Depending on the size of the SharePoint - // change log, it may take longer for Amazon Kendra to use the change log than - // it takes it to determine the changed documents using the Amazon Kendra document - // crawler. + // TRUE to use the SharePoint change log to determine which documents require + // updating in the index. Depending on the change log's size, it may take longer + // for Amazon Kendra to use the change log than to scan all of your documents + // in SharePoint. UseChangeLog *bool `type:"boolean"` // Provides the configuration information to connect to an Amazon VPC. @@ -21083,6 +21152,254 @@ func (s *SiteMapsConfiguration) SetSiteMaps(v []*string) *SiteMapsConfiguration return s } +// Provides the configuration information to connect to Slack as your data source. +type SlackConfiguration struct { + _ struct{} `type:"structure"` + + // TRUE to index bot messages from your Slack workspace team. + CrawlBotMessage *bool `type:"boolean"` + + // TRUE to exclude archived messages to index from your Slack workspace team. + ExcludeArchived *bool `type:"boolean"` + + // A list of regular expression patterns to exclude certain attached files in + // your Slack workspace team. Files that match the patterns are excluded from + // the index. Files that don’t match the patterns are included in the index. + // If a file matches both an inclusion and exclusion pattern, the exclusion + // pattern takes precedence and the file isn't included in the index. + ExclusionPatterns []*string `type:"list"` + + // A list of DataSourceToIndexFieldMapping objects that map Slack data source + // attributes or field names to Amazon Kendra index field names. To create custom + // fields, use the UpdateIndex API before you map to Slack fields. For more + // information, see Mapping data source fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The Slack data source field names must exist in your Slack custom metadata. + FieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` + + // A list of regular expression patterns to include certain attached files in + // your Slack workspace team. Files that match the patterns are included in + // the index. Files that don't match the patterns are excluded from the index. + // If a file matches both an inclusion and exclusion pattern, the exclusion + // pattern takes precedence and the file isn't included in the index. + InclusionPatterns []*string `type:"list"` + + // The number of hours for change log to look back from when you last synchronized + // your data. You can look back up to 7 days or 168 hours. + // + // Change log updates your index only if new content was added since you last + // synced your data. Updated or deleted content from before you last synced + // does not get updated in your index. To capture updated or deleted content + // before you last synced, set the LookBackPeriod to the number of hours you + // want change log to look back. + LookBackPeriod *int64 `type:"integer"` + + // The list of private channel names from your Slack workspace team. You use + // this if you want to index specific private channels, not all private channels. + // You can also use regular expression patterns to filter private channels. + PrivateChannelFilter []*string `type:"list"` + + // The list of public channel names to index from your Slack workspace team. + // You use this if you want to index specific public channels, not all public + // channels. You can also use regular expression patterns to filter public channels. + PublicChannelFilter []*string `type:"list"` + + // The Amazon Resource Name (ARN) of an Secrets Manager secret that contains + // the key-value pairs required to connect to your Slack workspace team. The + // secret must contain a JSON structure with the following keys: + // + // * slackToken—The user or bot token created in Slack. For more information + // on creating a token in Slack, see Authentication for a Slack data source + // (https://docs.aws.amazon.com/kendra/latest/dg/data-source-slack.html#slack-authentication). + // + // SecretArn is a required field + SecretArn *string `min:"1" type:"string" required:"true"` + + // The date to start crawling your data from your Slack workspace team. The + // date must follow this format: yyyy-mm-dd. + // + // SinceCrawlDate is a required field + SinceCrawlDate *string `min:"10" type:"string" required:"true"` + + // Specify whether to index public channels, private channels, group messages, + // and direct messages. You can specify one or more of these options. + // + // SlackEntityList is a required field + SlackEntityList []*string `min:"1" type:"list" required:"true"` + + // The identifier of the team in the Slack workspace. For example, T0123456789. + // + // You can find your team ID in the URL of the main page of your Slack workspace. + // When you log in to Slack via a browser, you are directed to the URL of the + // main page. For example, https://app.slack.com/client/T0123456789/.... + // + // TeamId is a required field + TeamId *string `min:"1" type:"string" required:"true"` + + // TRUE to use the Slack change log to determine which documents require updating + // in the index. Depending on the Slack change log's size, it may take longer + // for Amazon Kendra to use the change log than to scan all of your documents + // in Slack. + UseChangeLog *bool `type:"boolean"` + + // Configuration information for an Amazon Virtual Private Cloud to connect + // to your Slack. For more information, see Configuring a VPC (https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html). + VpcConfiguration *DataSourceVpcConfiguration `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SlackConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SlackConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SlackConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SlackConfiguration"} + if s.FieldMappings != nil && len(s.FieldMappings) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FieldMappings", 1)) + } + if s.SecretArn == nil { + invalidParams.Add(request.NewErrParamRequired("SecretArn")) + } + if s.SecretArn != nil && len(*s.SecretArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1)) + } + if s.SinceCrawlDate == nil { + invalidParams.Add(request.NewErrParamRequired("SinceCrawlDate")) + } + if s.SinceCrawlDate != nil && len(*s.SinceCrawlDate) < 10 { + invalidParams.Add(request.NewErrParamMinLen("SinceCrawlDate", 10)) + } + if s.SlackEntityList == nil { + invalidParams.Add(request.NewErrParamRequired("SlackEntityList")) + } + if s.SlackEntityList != nil && len(s.SlackEntityList) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SlackEntityList", 1)) + } + if s.TeamId == nil { + invalidParams.Add(request.NewErrParamRequired("TeamId")) + } + if s.TeamId != nil && len(*s.TeamId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TeamId", 1)) + } + if s.FieldMappings != nil { + for i, v := range s.FieldMappings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FieldMappings", i), err.(request.ErrInvalidParams)) + } + } + } + if s.VpcConfiguration != nil { + if err := s.VpcConfiguration.Validate(); err != nil { + invalidParams.AddNested("VpcConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCrawlBotMessage sets the CrawlBotMessage field's value. +func (s *SlackConfiguration) SetCrawlBotMessage(v bool) *SlackConfiguration { + s.CrawlBotMessage = &v + return s +} + +// SetExcludeArchived sets the ExcludeArchived field's value. +func (s *SlackConfiguration) SetExcludeArchived(v bool) *SlackConfiguration { + s.ExcludeArchived = &v + return s +} + +// SetExclusionPatterns sets the ExclusionPatterns field's value. +func (s *SlackConfiguration) SetExclusionPatterns(v []*string) *SlackConfiguration { + s.ExclusionPatterns = v + return s +} + +// SetFieldMappings sets the FieldMappings field's value. +func (s *SlackConfiguration) SetFieldMappings(v []*DataSourceToIndexFieldMapping) *SlackConfiguration { + s.FieldMappings = v + return s +} + +// SetInclusionPatterns sets the InclusionPatterns field's value. +func (s *SlackConfiguration) SetInclusionPatterns(v []*string) *SlackConfiguration { + s.InclusionPatterns = v + return s +} + +// SetLookBackPeriod sets the LookBackPeriod field's value. +func (s *SlackConfiguration) SetLookBackPeriod(v int64) *SlackConfiguration { + s.LookBackPeriod = &v + return s +} + +// SetPrivateChannelFilter sets the PrivateChannelFilter field's value. +func (s *SlackConfiguration) SetPrivateChannelFilter(v []*string) *SlackConfiguration { + s.PrivateChannelFilter = v + return s +} + +// SetPublicChannelFilter sets the PublicChannelFilter field's value. +func (s *SlackConfiguration) SetPublicChannelFilter(v []*string) *SlackConfiguration { + s.PublicChannelFilter = v + return s +} + +// SetSecretArn sets the SecretArn field's value. +func (s *SlackConfiguration) SetSecretArn(v string) *SlackConfiguration { + s.SecretArn = &v + return s +} + +// SetSinceCrawlDate sets the SinceCrawlDate field's value. +func (s *SlackConfiguration) SetSinceCrawlDate(v string) *SlackConfiguration { + s.SinceCrawlDate = &v + return s +} + +// SetSlackEntityList sets the SlackEntityList field's value. +func (s *SlackConfiguration) SetSlackEntityList(v []*string) *SlackConfiguration { + s.SlackEntityList = v + return s +} + +// SetTeamId sets the TeamId field's value. +func (s *SlackConfiguration) SetTeamId(v string) *SlackConfiguration { + s.TeamId = &v + return s +} + +// SetUseChangeLog sets the UseChangeLog field's value. +func (s *SlackConfiguration) SetUseChangeLog(v bool) *SlackConfiguration { + s.UseChangeLog = &v + return s +} + +// SetVpcConfiguration sets the VpcConfiguration field's value. +func (s *SlackConfiguration) SetVpcConfiguration(v *DataSourceVpcConfiguration) *SlackConfiguration { + s.VpcConfiguration = v + return s +} + // 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 @@ -23826,16 +24143,18 @@ type WebCrawlerConfiguration struct { // you use a secret in Secrets Manager (https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html). ProxyConfiguration *ProxyConfiguration `type:"structure"` - // The regular expression pattern to exclude certain URLs to crawl. - // - // If there is a regular expression pattern to include certain URLs that conflicts - // with the exclude pattern, the exclude pattern takes precedence. + // A list of regular expression patterns to exclude certain URLs to crawl. URLs + // that match the patterns are excluded from the index. URLs that don't match + // the patterns are included in the index. If a URL matches both an inclusion + // and exclusion pattern, the exclusion pattern takes precedence and the URL + // file isn't included in the index. UrlExclusionPatterns []*string `type:"list"` - // The regular expression pattern to include certain URLs to crawl. - // - // If there is a regular expression pattern to exclude certain URLs that conflicts - // with the include pattern, the exclude pattern takes precedence. + // A list of regular expression patterns to include certain URLs to crawl. URLs + // that match the patterns are included in the index. URLs that don't match + // the patterns are excluded from the index. If a URL matches both an inclusion + // and exclusion pattern, the exclusion pattern takes precedence and the URL + // file isn't included in the index. UrlInclusionPatterns []*string `type:"list"` // Specifies the seed or starting point URLs of the websites or the sitemap @@ -23983,24 +24302,23 @@ type WorkDocsConfiguration struct { // A list of regular expression patterns to exclude certain files in your Amazon // WorkDocs site repository. Files that match the patterns are excluded from // the index. Files that don’t match the patterns are included in the index. - // If a file matches both an inclusion pattern and an exclusion pattern, the - // exclusion pattern takes precedence and the file isn’t included in the index. + // If a file matches both an inclusion and exclusion pattern, the exclusion + // pattern takes precedence and the file isn't included in the index. ExclusionPatterns []*string `type:"list"` // A list of DataSourceToIndexFieldMapping objects that map Amazon WorkDocs - // field names to custom index field names in Amazon Kendra. You must first - // create the custom index fields using the UpdateIndex API before you map to - // Amazon WorkDocs fields. For more information, see Mapping Data Source Fields - // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The Amazon - // WorkDocs data source field names need to exist in your Amazon WorkDocs custom - // metadata. + // data source attributes or field names to Amazon Kendra index field names. + // To create custom fields, use the UpdateIndex API before you map to Amazon + // WorkDocs fields. For more information, see Mapping data source fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The Amazon WorkDocs data source field names must exist in your Amazon WorkDocs + // custom metadata. FieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` // A list of regular expression patterns to include certain files in your Amazon // WorkDocs site repository. Files that match the patterns are included in the // index. Files that don't match the patterns are excluded from the index. If - // a file matches both an inclusion pattern and an exclusion pattern, the exclusion - // pattern takes precedence and the file isn’t included in the index. + // a file matches both an inclusion and exclusion pattern, the exclusion pattern + // takes precedence and the file isn't included in the index. InclusionPatterns []*string `type:"list"` // The identifier of the directory corresponding to your Amazon WorkDocs site @@ -24015,14 +24333,10 @@ type WorkDocsConfiguration struct { // OrganizationId is a required field OrganizationId *string `min:"12" type:"string" required:"true"` - // TRUE to use the change logs to update documents in your index instead of - // scanning all documents. - // - // If you are syncing your Amazon WorkDocs data source with your index for the - // first time, all documents are scanned. After your first sync, you can use - // the change logs to update your documents in your index for future syncs. - // - // The default is set to FALSE. + // TRUE to use the Amazon WorkDocs change log to determine which documents require + // updating in the index. Depending on the change log's size, it may take longer + // for Amazon Kendra to use the change log than to scan all of your documents + // in Amazon WorkDocs. UseChangeLog *bool `type:"boolean"` } @@ -24493,6 +24807,9 @@ const ( // DataSourceTypeFsx is a DataSourceType enum value DataSourceTypeFsx = "FSX" + + // DataSourceTypeSlack is a DataSourceType enum value + DataSourceTypeSlack = "SLACK" ) // DataSourceType_Values returns all elements of the DataSourceType enum @@ -24510,6 +24827,7 @@ func DataSourceType_Values() []string { DataSourceTypeWebcrawler, DataSourceTypeWorkdocs, DataSourceTypeFsx, + DataSourceTypeSlack, } } @@ -25266,6 +25584,30 @@ func SharePointVersion_Values() []string { } } +const ( + // SlackEntityPublicChannel is a SlackEntity enum value + SlackEntityPublicChannel = "PUBLIC_CHANNEL" + + // SlackEntityPrivateChannel is a SlackEntity enum value + SlackEntityPrivateChannel = "PRIVATE_CHANNEL" + + // SlackEntityGroupMessage is a SlackEntity enum value + SlackEntityGroupMessage = "GROUP_MESSAGE" + + // SlackEntityDirectMessage is a SlackEntity enum value + SlackEntityDirectMessage = "DIRECT_MESSAGE" +) + +// SlackEntity_Values returns all elements of the SlackEntity enum +func SlackEntity_Values() []string { + return []string{ + SlackEntityPublicChannel, + SlackEntityPrivateChannel, + SlackEntityGroupMessage, + SlackEntityDirectMessage, + } +} + const ( // SortOrderDesc is a SortOrder enum value SortOrderDesc = "DESC" diff --git a/service/timestreamquery/api.go b/service/timestreamquery/api.go index d7f430036ee..6ad25c08e87 100644 --- a/service/timestreamquery/api.go +++ b/service/timestreamquery/api.go @@ -5858,6 +5858,9 @@ const ( // ScalarMeasureValueTypeVarchar is a ScalarMeasureValueType enum value ScalarMeasureValueTypeVarchar = "VARCHAR" + + // ScalarMeasureValueTypeTimestamp is a ScalarMeasureValueType enum value + ScalarMeasureValueTypeTimestamp = "TIMESTAMP" ) // ScalarMeasureValueType_Values returns all elements of the ScalarMeasureValueType enum @@ -5867,6 +5870,7 @@ func ScalarMeasureValueType_Values() []string { ScalarMeasureValueTypeBoolean, ScalarMeasureValueTypeDouble, ScalarMeasureValueTypeVarchar, + ScalarMeasureValueTypeTimestamp, } }