AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi
aws.kendra.getExperience
Explore with Pulumi AI
Provides details about a specific Amazon Kendra Experience.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.kendra.getExperience({
experienceId: "87654321-1234-4321-4321-321987654321",
indexId: "12345678-1234-1234-1234-123456789123",
});
import pulumi
import pulumi_aws as aws
example = aws.kendra.get_experience(experience_id="87654321-1234-4321-4321-321987654321",
index_id="12345678-1234-1234-1234-123456789123")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kendra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := kendra.LookupExperience(ctx, &kendra.LookupExperienceArgs{
ExperienceId: "87654321-1234-4321-4321-321987654321",
IndexId: "12345678-1234-1234-1234-123456789123",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Kendra.GetExperience.Invoke(new()
{
ExperienceId = "87654321-1234-4321-4321-321987654321",
IndexId = "12345678-1234-1234-1234-123456789123",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.kendra.KendraFunctions;
import com.pulumi.aws.kendra.inputs.GetExperienceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = KendraFunctions.getExperience(GetExperienceArgs.builder()
.experienceId("87654321-1234-4321-4321-321987654321")
.indexId("12345678-1234-1234-1234-123456789123")
.build());
}
}
variables:
example:
fn::invoke:
Function: aws:kendra:getExperience
Arguments:
experienceId: 87654321-1234-4321-4321-321987654321
indexId: 12345678-1234-1234-1234-123456789123
Using getExperience
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getExperience(args: GetExperienceArgs, opts?: InvokeOptions): Promise<GetExperienceResult>
function getExperienceOutput(args: GetExperienceOutputArgs, opts?: InvokeOptions): Output<GetExperienceResult>
def get_experience(experience_id: Optional[str] = None,
index_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetExperienceResult
def get_experience_output(experience_id: Optional[pulumi.Input[str]] = None,
index_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetExperienceResult]
func LookupExperience(ctx *Context, args *LookupExperienceArgs, opts ...InvokeOption) (*LookupExperienceResult, error)
func LookupExperienceOutput(ctx *Context, args *LookupExperienceOutputArgs, opts ...InvokeOption) LookupExperienceResultOutput
> Note: This function is named LookupExperience
in the Go SDK.
public static class GetExperience
{
public static Task<GetExperienceResult> InvokeAsync(GetExperienceArgs args, InvokeOptions? opts = null)
public static Output<GetExperienceResult> Invoke(GetExperienceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExperienceResult> getExperience(GetExperienceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:kendra/getExperience:getExperience
arguments:
# arguments dictionary
The following arguments are supported:
- Experience
Id string - Identifier of the Experience.
- Index
Id string - Identifier of the index that contains the Experience.
- Experience
Id string - Identifier of the Experience.
- Index
Id string - Identifier of the index that contains the Experience.
- experience
Id String - Identifier of the Experience.
- index
Id String - Identifier of the index that contains the Experience.
- experience
Id string - Identifier of the Experience.
- index
Id string - Identifier of the index that contains the Experience.
- experience_
id str - Identifier of the Experience.
- index_
id str - Identifier of the index that contains the Experience.
- experience
Id String - Identifier of the Experience.
- index
Id String - Identifier of the index that contains the Experience.
getExperience Result
The following output properties are available:
- Arn string
- ARN of the Experience.
- Configurations
List<Get
Experience Configuration> - Block that specifies the configuration information for your Amazon Kendra Experience. This includes
content_source_configuration
, which specifies the data source IDs and/or FAQ IDs, anduser_identity_configuration
, which specifies the user or group information to grant access to your Amazon Kendra Experience. Documented below. - Created
At string - Unix datetime that the Experience was created.
- Description string
- Description of the Experience.
- Endpoints
List<Get
Experience Endpoint> - Shows the endpoint URLs for your Amazon Kendra Experiences. The URLs are unique and fully hosted by AWS. Documented below.
- Error
Message string - Reason your Amazon Kendra Experience could not properly process.
- Experience
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Index
Id string - Name string
- Name of the Experience.
- Role
Arn string - Shows the ARN of a role with permission to access
Query
API,QuerySuggestions
API,SubmitFeedback
API, and AWS SSO that stores your user and group information. - Status string
- Current processing status of your Amazon Kendra Experience. When the status is
ACTIVE
, your Amazon Kendra Experience is ready to use. When the status isFAILED
, theerror_message
field contains the reason that this failed. - Updated
At string - Date and time that the Experience was last updated.
- Arn string
- ARN of the Experience.
- Configurations
[]Get
Experience Configuration - Block that specifies the configuration information for your Amazon Kendra Experience. This includes
content_source_configuration
, which specifies the data source IDs and/or FAQ IDs, anduser_identity_configuration
, which specifies the user or group information to grant access to your Amazon Kendra Experience. Documented below. - Created
At string - Unix datetime that the Experience was created.
- Description string
- Description of the Experience.
- Endpoints
[]Get
Experience Endpoint - Shows the endpoint URLs for your Amazon Kendra Experiences. The URLs are unique and fully hosted by AWS. Documented below.
- Error
Message string - Reason your Amazon Kendra Experience could not properly process.
- Experience
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Index
Id string - Name string
- Name of the Experience.
- Role
Arn string - Shows the ARN of a role with permission to access
Query
API,QuerySuggestions
API,SubmitFeedback
API, and AWS SSO that stores your user and group information. - Status string
- Current processing status of your Amazon Kendra Experience. When the status is
ACTIVE
, your Amazon Kendra Experience is ready to use. When the status isFAILED
, theerror_message
field contains the reason that this failed. - Updated
At string - Date and time that the Experience was last updated.
- arn String
- ARN of the Experience.
- configurations
List<Get
Experience Configuration> - Block that specifies the configuration information for your Amazon Kendra Experience. This includes
content_source_configuration
, which specifies the data source IDs and/or FAQ IDs, anduser_identity_configuration
, which specifies the user or group information to grant access to your Amazon Kendra Experience. Documented below. - created
At String - Unix datetime that the Experience was created.
- description String
- Description of the Experience.
- endpoints
List<Get
Experience Endpoint> - Shows the endpoint URLs for your Amazon Kendra Experiences. The URLs are unique and fully hosted by AWS. Documented below.
- error
Message String - Reason your Amazon Kendra Experience could not properly process.
- experience
Id String - id String
- The provider-assigned unique ID for this managed resource.
- index
Id String - name String
- Name of the Experience.
- role
Arn String - Shows the ARN of a role with permission to access
Query
API,QuerySuggestions
API,SubmitFeedback
API, and AWS SSO that stores your user and group information. - status String
- Current processing status of your Amazon Kendra Experience. When the status is
ACTIVE
, your Amazon Kendra Experience is ready to use. When the status isFAILED
, theerror_message
field contains the reason that this failed. - updated
At String - Date and time that the Experience was last updated.
- arn string
- ARN of the Experience.
- configurations
Get
Experience Configuration[] - Block that specifies the configuration information for your Amazon Kendra Experience. This includes
content_source_configuration
, which specifies the data source IDs and/or FAQ IDs, anduser_identity_configuration
, which specifies the user or group information to grant access to your Amazon Kendra Experience. Documented below. - created
At string - Unix datetime that the Experience was created.
- description string
- Description of the Experience.
- endpoints
Get
Experience Endpoint[] - Shows the endpoint URLs for your Amazon Kendra Experiences. The URLs are unique and fully hosted by AWS. Documented below.
- error
Message string - Reason your Amazon Kendra Experience could not properly process.
- experience
Id string - id string
- The provider-assigned unique ID for this managed resource.
- index
Id string - name string
- Name of the Experience.
- role
Arn string - Shows the ARN of a role with permission to access
Query
API,QuerySuggestions
API,SubmitFeedback
API, and AWS SSO that stores your user and group information. - status string
- Current processing status of your Amazon Kendra Experience. When the status is
ACTIVE
, your Amazon Kendra Experience is ready to use. When the status isFAILED
, theerror_message
field contains the reason that this failed. - updated
At string - Date and time that the Experience was last updated.
- arn str
- ARN of the Experience.
- configurations
Sequence[Get
Experience Configuration] - Block that specifies the configuration information for your Amazon Kendra Experience. This includes
content_source_configuration
, which specifies the data source IDs and/or FAQ IDs, anduser_identity_configuration
, which specifies the user or group information to grant access to your Amazon Kendra Experience. Documented below. - created_
at str - Unix datetime that the Experience was created.
- description str
- Description of the Experience.
- endpoints
Sequence[Get
Experience Endpoint] - Shows the endpoint URLs for your Amazon Kendra Experiences. The URLs are unique and fully hosted by AWS. Documented below.
- error_
message str - Reason your Amazon Kendra Experience could not properly process.
- experience_
id str - id str
- The provider-assigned unique ID for this managed resource.
- index_
id str - name str
- Name of the Experience.
- role_
arn str - Shows the ARN of a role with permission to access
Query
API,QuerySuggestions
API,SubmitFeedback
API, and AWS SSO that stores your user and group information. - status str
- Current processing status of your Amazon Kendra Experience. When the status is
ACTIVE
, your Amazon Kendra Experience is ready to use. When the status isFAILED
, theerror_message
field contains the reason that this failed. - updated_
at str - Date and time that the Experience was last updated.
- arn String
- ARN of the Experience.
- configurations List<Property Map>
- Block that specifies the configuration information for your Amazon Kendra Experience. This includes
content_source_configuration
, which specifies the data source IDs and/or FAQ IDs, anduser_identity_configuration
, which specifies the user or group information to grant access to your Amazon Kendra Experience. Documented below. - created
At String - Unix datetime that the Experience was created.
- description String
- Description of the Experience.
- endpoints List<Property Map>
- Shows the endpoint URLs for your Amazon Kendra Experiences. The URLs are unique and fully hosted by AWS. Documented below.
- error
Message String - Reason your Amazon Kendra Experience could not properly process.
- experience
Id String - id String
- The provider-assigned unique ID for this managed resource.
- index
Id String - name String
- Name of the Experience.
- role
Arn String - Shows the ARN of a role with permission to access
Query
API,QuerySuggestions
API,SubmitFeedback
API, and AWS SSO that stores your user and group information. - status String
- Current processing status of your Amazon Kendra Experience. When the status is
ACTIVE
, your Amazon Kendra Experience is ready to use. When the status isFAILED
, theerror_message
field contains the reason that this failed. - updated
At String - Date and time that the Experience was last updated.
Supporting Types
GetExperienceConfiguration
- Content
Source List<GetConfigurations Experience Configuration Content Source Configuration> - The identifiers of your data sources and FAQs. This is the content you want to use for your Amazon Kendra Experience. Documented below.
- User
Identity List<GetConfigurations Experience Configuration User Identity Configuration> - The AWS SSO field name that contains the identifiers of your users, such as their emails. Documented below.
- Content
Source []GetConfigurations Experience Configuration Content Source Configuration - The identifiers of your data sources and FAQs. This is the content you want to use for your Amazon Kendra Experience. Documented below.
- User
Identity []GetConfigurations Experience Configuration User Identity Configuration - The AWS SSO field name that contains the identifiers of your users, such as their emails. Documented below.
- content
Source List<GetConfigurations Experience Configuration Content Source Configuration> - The identifiers of your data sources and FAQs. This is the content you want to use for your Amazon Kendra Experience. Documented below.
- user
Identity List<GetConfigurations Experience Configuration User Identity Configuration> - The AWS SSO field name that contains the identifiers of your users, such as their emails. Documented below.
- content
Source GetConfigurations Experience Configuration Content Source Configuration[] - The identifiers of your data sources and FAQs. This is the content you want to use for your Amazon Kendra Experience. Documented below.
- user
Identity GetConfigurations Experience Configuration User Identity Configuration[] - The AWS SSO field name that contains the identifiers of your users, such as their emails. Documented below.
- content_
source_ Sequence[Getconfigurations Experience Configuration Content Source Configuration] - The identifiers of your data sources and FAQs. This is the content you want to use for your Amazon Kendra Experience. Documented below.
- user_
identity_ Sequence[Getconfigurations Experience Configuration User Identity Configuration] - The AWS SSO field name that contains the identifiers of your users, such as their emails. Documented below.
- content
Source List<Property Map>Configurations - The identifiers of your data sources and FAQs. This is the content you want to use for your Amazon Kendra Experience. Documented below.
- user
Identity List<Property Map>Configurations - The AWS SSO field name that contains the identifiers of your users, such as their emails. Documented below.
GetExperienceConfigurationContentSourceConfiguration
- Data
Source List<string>Ids - Identifiers of the data sources you want to use for your Amazon Kendra Experience.
- Direct
Put boolContent - Whether to use documents you indexed directly using the
BatchPutDocument API
. - Faq
Ids List<string> - Identifier of the FAQs that you want to use for your Amazon Kendra Experience.
- Data
Source []stringIds - Identifiers of the data sources you want to use for your Amazon Kendra Experience.
- Direct
Put boolContent - Whether to use documents you indexed directly using the
BatchPutDocument API
. - Faq
Ids []string - Identifier of the FAQs that you want to use for your Amazon Kendra Experience.
- data
Source List<String>Ids - Identifiers of the data sources you want to use for your Amazon Kendra Experience.
- direct
Put BooleanContent - Whether to use documents you indexed directly using the
BatchPutDocument API
. - faq
Ids List<String> - Identifier of the FAQs that you want to use for your Amazon Kendra Experience.
- data
Source string[]Ids - Identifiers of the data sources you want to use for your Amazon Kendra Experience.
- direct
Put booleanContent - Whether to use documents you indexed directly using the
BatchPutDocument API
. - faq
Ids string[] - Identifier of the FAQs that you want to use for your Amazon Kendra Experience.
- data_
source_ Sequence[str]ids - Identifiers of the data sources you want to use for your Amazon Kendra Experience.
- direct_
put_ boolcontent - Whether to use documents you indexed directly using the
BatchPutDocument API
. - faq_
ids Sequence[str] - Identifier of the FAQs that you want to use for your Amazon Kendra Experience.
- data
Source List<String>Ids - Identifiers of the data sources you want to use for your Amazon Kendra Experience.
- direct
Put BooleanContent - Whether to use documents you indexed directly using the
BatchPutDocument API
. - faq
Ids List<String> - Identifier of the FAQs that you want to use for your Amazon Kendra Experience.
GetExperienceConfigurationUserIdentityConfiguration
- Identity
Attribute stringName - The AWS SSO field name that contains the identifiers of your users, such as their emails.
- Identity
Attribute stringName - The AWS SSO field name that contains the identifiers of your users, such as their emails.
- identity
Attribute StringName - The AWS SSO field name that contains the identifiers of your users, such as their emails.
- identity
Attribute stringName - The AWS SSO field name that contains the identifiers of your users, such as their emails.
- identity_
attribute_ strname - The AWS SSO field name that contains the identifiers of your users, such as their emails.
- identity
Attribute StringName - The AWS SSO field name that contains the identifiers of your users, such as their emails.
GetExperienceEndpoint
- Endpoint string
- Endpoint of your Amazon Kendra Experience.
- Endpoint
Type string - Type of endpoint for your Amazon Kendra Experience.
- Endpoint string
- Endpoint of your Amazon Kendra Experience.
- Endpoint
Type string - Type of endpoint for your Amazon Kendra Experience.
- endpoint String
- Endpoint of your Amazon Kendra Experience.
- endpoint
Type String - Type of endpoint for your Amazon Kendra Experience.
- endpoint string
- Endpoint of your Amazon Kendra Experience.
- endpoint
Type string - Type of endpoint for your Amazon Kendra Experience.
- endpoint str
- Endpoint of your Amazon Kendra Experience.
- endpoint_
type str - Type of endpoint for your Amazon Kendra Experience.
- endpoint String
- Endpoint of your Amazon Kendra Experience.
- endpoint
Type String - Type of endpoint for your Amazon Kendra Experience.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.