UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

1,611 lines 369 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Bedrock = void 0; const shared_1 = require("../../shared"); /** * Statement provider for service [bedrock](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonbedrock.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ class Bedrock extends shared_1.PolicyStatement { /** * Grants permission to configure vended log delivery for a knowledge base * * Access Level: Permissions management * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toAllowVendedLogDeliveryForResource() { return this.to('AllowVendedLogDeliveryForResource'); } /** * Grants permission to apply a guardrail * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toApplyGuardrail() { return this.to('ApplyGuardrail'); } /** * Grants permission to associate another existing agent as a collaborator to an existing agent * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_AssociateAgentCollaborator.html */ toAssociateAgentCollaborator() { return this.to('AssociateAgentCollaborator'); } /** * Grants permission to associate a knowledge base with an agent * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_AssociateAgentKnowledgeBase.html */ toAssociateAgentKnowledgeBase() { return this.to('AssociateAgentKnowledgeBase'); } /** * Grants permission to use 3rd party platform to store knowledge data * * Access Level: Write * * Possible conditions: * - .ifThirdPartyKnowledgeBaseCredentialsSecretArn() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toAssociateThirdPartyKnowledgeBase() { return this.to('AssociateThirdPartyKnowledgeBase'); } /** * Grants permission to batch delete list of bedrock evaluation jobs * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_BatchDeleteEvaluationJob.html */ toBatchDeleteEvaluationJob() { return this.to('BatchDeleteEvaluationJob'); } /** * Grants permission to use bearer token * * Access Level: Read * * Possible conditions: * - .ifBearerTokenType() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toCallWithBearerToken() { return this.to('CallWithBearerToken'); } /** * Grants permission to cancel a build workflow for an automated reasoning policy * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toCancelAutomatedReasoningPolicyBuildWorkflow() { return this.to('CancelAutomatedReasoningPolicyBuildWorkflow'); } /** * Grants permission to copy a blueprint from one stage to another * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_Operations_Data_Automation_for_Amazon_Bedrock.html */ toCopyBlueprintStage() { return this.to('CopyBlueprintStage'); } /** * Grants permission to count the number of tokens in an input prompt * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_CountTokens.html */ toCountTokens() { return this.to('CountTokens'); } /** * Grants permission to create a new agent and a test agent alias pointing to the DRAFT agent version * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgent.html */ toCreateAgent() { return this.to('CreateAgent'); } /** * Grants permission to create a new action group in an existing agent * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html */ toCreateAgentActionGroup() { return this.to('CreateAgentActionGroup'); } /** * Grants permission to create a new alias for an agent * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentAlias.html */ toCreateAgentAlias() { return this.to('CreateAgentAlias'); } /** * Grants permission to create a new automated reasoning policy * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toCreateAutomatedReasoningPolicy() { return this.to('CreateAutomatedReasoningPolicy'); } /** * Grants permission to create a test case for an automated reasoning policy * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toCreateAutomatedReasoningPolicyTestCase() { return this.to('CreateAutomatedReasoningPolicyTestCase'); } /** * Grants permission to create a new automated reasoning policy version * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toCreateAutomatedReasoningPolicyVersion() { return this.to('CreateAutomatedReasoningPolicyVersion'); } /** * Grants permission to create a blueprint for custom output from data automation * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation_CreateBlueprint.html */ toCreateBlueprint() { return this.to('CreateBlueprint'); } /** * Grants permission to create a new version for an existing blueprint * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation_CreateBlueprintVersion.html */ toCreateBlueprintVersion() { return this.to('CreateBlueprintVersion'); } /** * Grants permission to create a custom model into Bedrock * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateCustomModel.html */ toCreateCustomModel() { return this.to('CreateCustomModel'); } /** * Grants permission to create a custom model deployment for custom model * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateCustomModelDeployment.html */ toCreateCustomModelDeployment() { return this.to('CreateCustomModelDeployment'); } /** * Grants permission to create a Data Automation Library * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation_CreateDataAutomationLibrary.html */ toCreateDataAutomationLibrary() { return this.to('CreateDataAutomationLibrary'); } /** * Grants permission to create a data automation project * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation_CreateDataAutomationProject.html */ toCreateDataAutomationProject() { return this.to('CreateDataAutomationProject'); } /** * Grants permission to create a data source * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateDataSource.html */ toCreateDataSource() { return this.to('CreateDataSource'); } /** * Grants permission to create a job for evaluation foundation models or custom models * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateEvaluationJob.html */ toCreateEvaluationJob() { return this.to('CreateEvaluationJob'); } /** * Grants permission to create a prompt flow * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateFlow.html */ toCreateFlow() { return this.to('CreateFlow'); } /** * Grants permission to create an alias of a prompt flow * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateFlowAlias.html */ toCreateFlowAlias() { return this.to('CreateFlowAlias'); } /** * Grants permission to create an immutable version of a prompt flow * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateFlowVersion.html */ toCreateFlowVersion() { return this.to('CreateFlowVersion'); } /** * Grants permission to create a new foundation model agreement * * Access Level: Write * * https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonbedrock.html */ toCreateFoundationModelAgreement() { return this.to('CreateFoundationModelAgreement'); } /** * Grants permission to create a new guardrail * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toCreateGuardrail() { return this.to('CreateGuardrail'); } /** * Grants permission to create a new guardrail version * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toCreateGuardrailVersion() { return this.to('CreateGuardrailVersion'); } /** * Grants permission to create inference profiles * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateInferenceProfile.html */ toCreateInferenceProfile() { return this.to('CreateInferenceProfile'); } /** * Grants permission to create a new invocation in an existing session * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_CreateInvocation.html */ toCreateInvocation() { return this.to('CreateInvocation'); } /** * Grants permission to create a knowledge base * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateKnowledgeBase.html */ toCreateKnowledgeBase() { return this.to('CreateKnowledgeBase'); } /** * Grants permission to create a marketplace model endpoint * * Access Level: Write */ toCreateMarketplaceModelEndpoint() { return this.to('CreateMarketplaceModelEndpoint'); } /** * Grants permission to create a job for copying a custom model across region or across account * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelCopyJob.html */ toCreateModelCopyJob() { return this.to('CreateModelCopyJob'); } /** * Grants permission to create a job for customizing the model with your custom training data * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelCustomizationJob.html */ toCreateModelCustomizationJob() { return this.to('CreateModelCustomizationJob'); } /** * Grants permission to create a job for evaluation foundation models or custom models * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelEvaluationJob.html */ toCreateModelEvaluationJob() { return this.to('CreateModelEvaluationJob'); } /** * Grants permission to create a job for importing model into Bedrock * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html */ toCreateModelImportJob() { return this.to('CreateModelImportJob'); } /** * Grants permission to create a new model invocation job * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelInvocationJob.html */ toCreateModelInvocationJob() { return this.to('CreateModelInvocationJob'); } /** * Grants permission to create a prompt * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreatePrompt.html */ toCreatePrompt() { return this.to('CreatePrompt'); } /** * Grants permission to create a custom prompt router * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreatePromptRouter.html */ toCreatePromptRouter() { return this.to('CreatePromptRouter'); } /** * Grants permission to create a version of a prompt * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreatePromptVersion.html */ toCreatePromptVersion() { return this.to('CreatePromptVersion'); } /** * Grants permission to create a new provisioned model throughput * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateProvisionedModelThroughput.html */ toCreateProvisionedModelThroughput() { return this.to('CreateProvisionedModelThroughput'); } /** * Grants permission to create a new session * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_CreateSession.html */ toCreateSession() { return this.to('CreateSession'); } /** * Grants permission to delete an Agent that you created earlier * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DeleteAgent.html */ toDeleteAgent() { return this.to('DeleteAgent'); } /** * Grants permission to delete an actionGroup that you created earlier * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DeleteAgentActionGroup.html */ toDeleteAgentActionGroup() { return this.to('DeleteAgentActionGroup'); } /** * Grants permission to delete an AgentAlias that you created earlier * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DeleteAgentAlias.html */ toDeleteAgentAlias() { return this.to('DeleteAgentAlias'); } /** * Grants permission to delete existing memory for an alias * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_DeleteAgentMemory.html */ toDeleteAgentMemory() { return this.to('DeleteAgentMemory'); } /** * Grants permission to delete an Agent Version that you created earlier * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DeleteAgentVersion.html */ toDeleteAgentVersion() { return this.to('DeleteAgentVersion'); } /** * Grants permission to delete an automated reasoning policy or its version * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toDeleteAutomatedReasoningPolicy() { return this.to('DeleteAutomatedReasoningPolicy'); } /** * Grants permission to delete a build workflow for an automated reasoning policy * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toDeleteAutomatedReasoningPolicyBuildWorkflow() { return this.to('DeleteAutomatedReasoningPolicyBuildWorkflow'); } /** * Grants permission to delete a test case for an automated reasoning policy * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toDeleteAutomatedReasoningPolicyTestCase() { return this.to('DeleteAutomatedReasoningPolicyTestCase'); } /** * Grants permission to delete a blueprint for data automation * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation_DeleteBlueprint.html */ toDeleteBlueprint() { return this.to('DeleteBlueprint'); } /** * Grants permission to delete a custom model that you created earlier * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteCustomModel.html */ toDeleteCustomModel() { return this.to('DeleteCustomModel'); } /** * Grants permission to delete a custom model deployment that you created earlier * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteCustomModelDeployment.html */ toDeleteCustomModelDeployment() { return this.to('DeleteCustomModelDeployment'); } /** * Grants permission to delete a Data Automation Library * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation_DeleteDataAutomationLibrary.html */ toDeleteDataAutomationLibrary() { return this.to('DeleteDataAutomationLibrary'); } /** * Grants permission to delete a data automation project * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation_DeleteDataAutomationProject.html */ toDeleteDataAutomationProject() { return this.to('DeleteDataAutomationProject'); } /** * Grants permission to delete a data source * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DeleteDataSource.html */ toDeleteDataSource() { return this.to('DeleteDataSource'); } /** * Grants permission to delete account-level enforced guardrail configuration * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteEnforcedGuardrailConfiguration.html */ toDeleteEnforcedGuardrailConfiguration() { return this.to('DeleteEnforcedGuardrailConfiguration'); } /** * Grants permission to delete a prompt flow * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DeleteFlow.html */ toDeleteFlow() { return this.to('DeleteFlow'); } /** * Grants permission to delete an alias of a prompt flow * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DeleteFlowAlias.html */ toDeleteFlowAlias() { return this.to('DeleteFlowAlias'); } /** * Grants permission to delete a version of a prompt flow * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DeleteFlowVersion.html */ toDeleteFlowVersion() { return this.to('DeleteFlowVersion'); } /** * Grants permission to delete a foundation model agreement that you created earlier * * Access Level: Write * * https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonbedrock.html */ toDeleteFoundationModelAgreement() { return this.to('DeleteFoundationModelAgreement'); } /** * Grants permission to delete a guardrail or its version * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toDeleteGuardrail() { return this.to('DeleteGuardrail'); } /** * Grants permission to delete previously created Bedrock imported model * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteImportedModel.html */ toDeleteImportedModel() { return this.to('DeleteImportedModel'); } /** * Grants permission to delete inference profiles * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteInferenceProfile.html */ toDeleteInferenceProfile() { return this.to('DeleteInferenceProfile'); } /** * Grants permission to delete a knowledge base * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DeleteKnowledgeBase.html */ toDeleteKnowledgeBase() { return this.to('DeleteKnowledgeBase'); } /** * Grants permission to delete documents from a knowledge base * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DeleteKnowledgeBaseDocuments.html */ toDeleteKnowledgeBaseDocuments() { return this.to('DeleteKnowledgeBaseDocuments'); } /** * Grants permission to unsubscribe from a bedrock marketplace enabled AWS marketplace model * * Access Level: Write * * https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonbedrock.html */ toDeleteMarketplaceModelAgreement() { return this.to('DeleteMarketplaceModelAgreement'); } /** * Grants permission to delete a marketplace model endpoint * * Access Level: Write */ toDeleteMarketplaceModelEndpoint() { return this.to('DeleteMarketplaceModelEndpoint'); } /** * Grants permission to delete an existing Invocation logging configuration * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteModelInvocationLoggingConfiguration.html */ toDeleteModelInvocationLoggingConfiguration() { return this.to('DeleteModelInvocationLoggingConfiguration'); } /** * Grants permission to delete a prompt or its version * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DeletePrompt.html */ toDeletePrompt() { return this.to('DeletePrompt'); } /** * Grants permission to delete a custom prompt router * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeletePromptRouter.html */ toDeletePromptRouter() { return this.to('DeletePromptRouter'); } /** * Grants permission to delete a provisioned model throughput that you created earlier * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteProvisionedModelThroughput.html */ toDeleteProvisionedModelThroughput() { return this.to('DeleteProvisionedModelThroughput'); } /** * Deletes a previously created Bedrock resource policy * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteResourcePolicy.html */ toDeleteResourcePolicy() { return this.to('DeleteResourcePolicy'); } /** * Grants permission to delete a Session that you created earlier * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_DeleteSession.html */ toDeleteSession() { return this.to('DeleteSession'); } /** * Grants permission to deregister a marketplace model endpoint to make it unusable in Bedrock Marketplace * * Access Level: Write */ toDeregisterMarketplaceModelEndpoint() { return this.to('DeregisterMarketplaceModelEndpoint'); } /** * Grants permission to detect if the provided content is generated using Amazon Bedrock * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toDetectGeneratedContent() { return this.to('DetectGeneratedContent'); } /** * Grants permission to diassociate a collaborator that you associated earlier * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DisassociateAgentCollaborator.html */ toDisassociateAgentCollaborator() { return this.to('DisassociateAgentCollaborator'); } /** * Grants permission to disassociate a knowledge base from the agent * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DisassociateAgentKnowledgeBase.html */ toDisassociateAgentKnowledgeBase() { return this.to('DisassociateAgentKnowledgeBase'); } /** * Grants permission to end a Session that you created earlier * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_EndSession.html */ toEndSession() { return this.to('EndSession'); } /** * Grants permission to retrieve an automated reasoning policy version artifact * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toExportAutomatedReasoningPolicyVersion() { return this.to('ExportAutomatedReasoningPolicyVersion'); } /** * Grants permission to generate queries associated with user input * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toGenerateQuery() { return this.to('GenerateQuery'); } /** * Grants permission to retrieve an existing agent * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetAgent.html */ toGetAgent() { return this.to('GetAgent'); } /** * Grants permission to retrieve an existing action group * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetAgentActionGroup.html */ toGetAgentActionGroup() { return this.to('GetAgentActionGroup'); } /** * Grants permission to retrieve an existing alias * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetAgentAlias.html */ toGetAgentAlias() { return this.to('GetAgentAlias'); } /** * Grants permission to retrieve an existing collaborator * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetAgentCollaborator.html */ toGetAgentCollaborator() { return this.to('GetAgentCollaborator'); } /** * Grants permission to describe a knowledge base associated with an agent * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetAgentKnowledgeBase.html */ toGetAgentKnowledgeBase() { return this.to('GetAgentKnowledgeBase'); } /** * Grants permission to retrieve existing memory for an alias * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_GetAgentMemory.html */ toGetAgentMemory() { return this.to('GetAgentMemory'); } /** * Grants permission to retrieve an existing version of an agent * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetAgentVersion.html */ toGetAgentVersion() { return this.to('GetAgentVersion'); } /** * Grants permission to get the properties associated with an asynchronous invocation that you have submitted * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetAsyncInvoke.html */ toGetAsyncInvoke() { return this.to('GetAsyncInvoke'); } /** * Grants permission to retrieve an automated reasoning policy or its version * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toGetAutomatedReasoningPolicy() { return this.to('GetAutomatedReasoningPolicy'); } /** * Grants permission to retrieve annotations for a build workflow for an automated reasoning policy * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toGetAutomatedReasoningPolicyAnnotations() { return this.to('GetAutomatedReasoningPolicyAnnotations'); } /** * Grants permission to retrieve a build workflow for an automated reasoning policy * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toGetAutomatedReasoningPolicyBuildWorkflow() { return this.to('GetAutomatedReasoningPolicyBuildWorkflow'); } /** * Grants permission to retrieve assets for a build workflow for an automated reasoning policy * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toGetAutomatedReasoningPolicyBuildWorkflowResultAssets() { return this.to('GetAutomatedReasoningPolicyBuildWorkflowResultAssets'); } /** * Grants permission to retrieve the next unreviewed generated scenario for a build workflow for an automated reasoning policy * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toGetAutomatedReasoningPolicyNextScenario() { return this.to('GetAutomatedReasoningPolicyNextScenario'); } /** * Grants permission to retrieve a test case for an automated reasoning policy * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toGetAutomatedReasoningPolicyTestCase() { return this.to('GetAutomatedReasoningPolicyTestCase'); } /** * Grants permission to retrieve result for a test case for an automated reasoning policy * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toGetAutomatedReasoningPolicyTestResult() { return this.to('GetAutomatedReasoningPolicyTestResult'); } /** * Grants permission to retrieve an existing blueprint for data automation * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation_GetBlueprint.html */ toGetBlueprint() { return this.to('GetBlueprint'); } /** * Grants permission to get the status of a blueprint optimization job * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_Operations_Data_Automation_for_Amazon_Bedrock.html */ toGetBlueprintOptimizationStatus() { return this.to('GetBlueprintOptimizationStatus'); } /** * Grants permission to retrieve blueprint recommendation * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toGetBlueprintRecommendation() { return this.to('GetBlueprintRecommendation'); } /** * Grants permission to get the properties associated with a Bedrock custom model that you have created * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetCustomModel.html */ toGetCustomModel() { return this.to('GetCustomModel'); } /** * Grants permission to get the properties associated with a custom model deployment. Use this operation to get the status of a custom model deployment * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetCustomModelDeployment.html */ toGetCustomModelDeployment() { return this.to('GetCustomModelDeployment'); } /** * Grants permission to retrieve an existing Data Automation Library * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation_GetDataAutomationLibrary.html */ toGetDataAutomationLibrary() { return this.to('GetDataAutomationLibrary'); } /** * Grants permission to get a Data Automation Library entity * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation_GetDataAutomationLibraryEntity.html */ toGetDataAutomationLibraryEntity() { return this.to('GetDataAutomationLibraryEntity'); } /** * Grants permission to get details about a Data Automation Library ingestion job * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation_GetDataAutomationLibraryIngestionJob.html */ toGetDataAutomationLibraryIngestionJob() { return this.to('GetDataAutomationLibraryIngestionJob'); } /** * Grants permission to retrieve an existing data automation project * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation_GetDataAutomationProject.html */ toGetDataAutomationProject() { return this.to('GetDataAutomationProject'); } /** * Grants permission to retrieve the status of a data automation invocation job * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation-runtime_GetDataAutomationStatus.html */ toGetDataAutomationStatus() { return this.to('GetDataAutomationStatus'); } /** * Grants permission to retrieve an existing data source * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetDataSource.html */ toGetDataSource() { return this.to('GetDataSource'); } /** * Grants permission to get the properties associated with a evaluation job. Use this operation to get the status of a evaluation job * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetEvaluationJob.html */ toGetEvaluationJob() { return this.to('GetEvaluationJob'); } /** * Grants permission to retrieve the flow definition for a flow execution * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_GetExecutionFlowSnapshot.html */ toGetExecutionFlowSnapshot() { return this.to('GetExecutionFlowSnapshot'); } /** * Grants permission to retrieve an existing prompt flow * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlow.html */ toGetFlow() { return this.to('GetFlow'); } /** * Grants permission to retrieve an existing alias of a prompt flow * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlowAlias.html */ toGetFlowAlias() { return this.to('GetFlowAlias'); } /** * Grants permission to retrieve an existing execution of a flow alias * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_GetFlowExecution.html */ toGetFlowExecution() { return this.to('GetFlowExecution'); } /** * Grants permission to retrieve an existing version of a prompt flow * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetFlowVersion.html */ toGetFlowVersion() { return this.to('GetFlowVersion'); } /** * Grants permission to get the properties associated with a Bedrock foundation model * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html */ toGetFoundationModel() { return this.to('GetFoundationModel'); } /** * Grants permission to get the availability of a foundation model * * Access Level: Read * * https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonbedrock.html */ toGetFoundationModelAvailability() { return this.to('GetFoundationModelAvailability'); } /** * Grants permission to retrieve a guardrail or its version * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toGetGuardrail() { return this.to('GetGuardrail'); } /** * Grants permission to get the properties associated with Bedrock imported model * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetImportedModel.html */ toGetImportedModel() { return this.to('GetImportedModel'); } /** * Grants permission to get the properties associated with an inference profile * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetInferenceProfile.html */ toGetInferenceProfile() { return this.to('GetInferenceProfile'); } /** * Grants permission to retrieve an existing ingestion job * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetIngestionJob.html */ toGetIngestionJob() { return this.to('GetIngestionJob'); } /** * Grants permission to get an invocation step from a session * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_GetInvocationStep.html */ toGetInvocationStep() { return this.to('GetInvocationStep'); } /** * Grants permission to retrieve an existing knowledge base * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetKnowledgeBase.html */ toGetKnowledgeBase() { return this.to('GetKnowledgeBase'); } /** * Grants permission to get details for documents in a knowledge base * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetKnowledgeBaseDocuments.html */ toGetKnowledgeBaseDocuments() { return this.to('GetKnowledgeBaseDocuments'); } /** * Grants permission to get the properties of a marketplace model endpoint * * Access Level: Read */ toGetMarketplaceModelEndpoint() { return this.to('GetMarketplaceModelEndpoint'); } /** * Grants permission to get the properties associated with a model-copy job. Use this operation to get the status of a model-copy job * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetModelCopyJob.html */ toGetModelCopyJob() { return this.to('GetModelCopyJob'); } /** * Grants permission to get the properties associated with a model-customization job. Use this operation to get the status of a model-customization job * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetModelCustomizationJob.html */ toGetModelCustomizationJob() { return this.to('GetModelCustomizationJob'); } /** * Grants permission to get the properties associated with a model-evaluation job. Use this operation to get the status of a model-evaluation job * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetModelEvaluationJob.html */ toGetModelEvaluationJob() { return this.to('GetModelEvaluationJob'); } /** * Grants permission to get the properties associated with a model import job and is used to get the status of a model import job * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetModelImportJob.html */ toGetModelImportJob() { return this.to('GetModelImportJob'); } /** * Grants permission to retrieve a model invocation job * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetModelInvocationJob.html */ toGetModelInvocationJob() { return this.to('GetModelInvocationJob'); } /** * Grants permission to retrieve an existing Invocation logging configuration * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetModelInvocationLoggingConfiguration.html */ toGetModelInvocationLoggingConfiguration() { return this.to('GetModelInvocationLoggingConfiguration'); } /** * Grants permission to retrieve an existing prompt or its version * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetPrompt.html */ toGetPrompt() { return this.to('GetPrompt'); } /** * Grants permission to get the properties associated with a prompt router * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetPromptRouter.html */ toGetPromptRouter() { return this.to('GetPromptRouter'); } /** * Grants permission to retrieve a provisioned model throughput * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetProvisionedModelThroughput.html */ toGetProvisionedModelThroughput() { return this.to('GetProvisionedModelThroughput'); } /** * Gets the resource policy document for a Bedrock resource * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetResourePolicy.html */ toGetResourcePolicy() { return this.to('GetResourcePolicy'); } /** * Grants permission to retrieve an existing session * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_GetSession.html */ toGetSession() { return this.to('GetSession'); } /** * Grants permission to retrieve a use case for model access * * Access Level: Read * * https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonbedrock.html */ toGetUseCaseForModelAccess() { return this.to('GetUseCaseForModelAccess'); } /** * Grants permission to directly ingest documents into a knowledge base * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_IngestKnowledgeBaseDocuments.html */ toIngestKnowledgeBaseDocuments() { return this.to('IngestKnowledgeBaseDocuments'); } /** * Grants permission to send user input (text-only) to the alias of an agent for Bedrock * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html */ toInvokeAgent() { return this.to('InvokeAgent'); } /** * Grants permission to invoke an Automated Reasoning policy * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toInvokeAutomatedReasoningPolicy() { return this.to('InvokeAutomatedReasoningPolicy'); } /** * Grants permission to invoke an async job to perform blueprint optimization * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_Operations_Data_Automation_for_Amazon_Bedrock.html */ toInvokeBlueprintOptimizationAsync() { return this.to('InvokeBlueprintOptimizationAsync'); } /** * Grants permission to invoke blueprint recommendations asynchronously * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html */ toInvokeBlueprintRecommendationAsync() { return this.to('InvokeBlueprintRecommendationAsync'); } /** * Grants permission to use the conversational builder which aids in building supported bedrock resources * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/userguide/agents-create-cb.html */ toInvokeBuilder() { return this.to('InvokeBuilder'); } /** * Grants permission to invoke a call to Sync API of Bedrock data automation * * Access Level: Write * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation-runtime_InvokeDataAutomation.html */ toInvokeDataAutomation() { return this.to('InvokeDataAutomation'); } /** * Grants permission to invoke a Bedrock data automation job * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation-runtime_InvokeDataAutomationAsync.html */ toInvokeDataAutomationAsync() { return this.to('InvokeDataAutomationAsync'); } /** * Grants permission to invoke a Data Automation Library ingestion job * * Access Level: Write * * Possible conditions: * - .ifAwsRequestTag() * - .ifAwsTagKeys() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_data-automation_InvokeDataAutomationLibraryIngestionJob.html */ toInvokeDataAutomationLibraryIngestionJob() { return this.to('InvokeDataAutomationLibraryIngestionJob'); } /** * Grants permission to invoke a prompt flow with user input * * Access Level: Read * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html */ toInvokeFlow() { return this.to('InvokeFlow'); } /** * Grants permission to send user input (text-only) to the inline agent for Bedrock * * Access Level: Read * * Possible conditions: * - .ifInlineAgentName() * * https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeInlineAgent.html */ toInvokeInlineAgent() { return this.to('InvokeInlineAgent'); } /** * Grants permission to invoke the specified Bedrock model to run inference using the input provided in the request body * * Access L