diff --git a/.changes/2.1658.0.json b/.changes/2.1658.0.json new file mode 100644 index 0000000000..f40a44e3c1 --- /dev/null +++ b/.changes/2.1658.0.json @@ -0,0 +1,47 @@ +[ + { + "type": "feature", + "category": "Batch", + "description": "This feature allows AWS Batch Jobs with EKS container orchestration type to be run as Multi-Node Parallel Jobs." + }, + { + "type": "feature", + "category": "Bedrock", + "description": "Add support for contextual grounding check for Guardrails for Amazon Bedrock." + }, + { + "type": "feature", + "category": "BedrockAgent", + "description": "Introduces new data sources and chunking strategies for Knowledge bases, advanced parsing logic using FMs, session summary generation, and code interpretation (preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational models, and resources." + }, + { + "type": "feature", + "category": "BedrockAgentRuntime", + "description": "Introduces query decomposition, enhanced Agents integration with Knowledge bases, session summary generation, and code interpretation (preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational models, and resources for end-to-end solutions." + }, + { + "type": "feature", + "category": "BedrockRuntime", + "description": "Add support for contextual grounding check and ApplyGuardrail API for Guardrails for Amazon Bedrock." + }, + { + "type": "feature", + "category": "EC2", + "description": "Add parameters to enable provisioning IPAM BYOIPv4 space at a Local Zone Network Border Group level" + }, + { + "type": "feature", + "category": "Glue", + "description": "Add recipe step support for recipe node" + }, + { + "type": "feature", + "category": "LicenseManagerLinuxSubscriptions", + "description": "Add support for third party subscription providers, starting with RHEL subscriptions through Red Hat Subscription Manager (RHSM). Additionally, add support for tagging subscription provider resources, and detect when an instance has more than one Linux subscription and notify the customer." + }, + { + "type": "feature", + "category": "MediaConnect", + "description": "AWS Elemental MediaConnect introduces the ability to disable outputs. Disabling an output allows you to keep the output attached to the flow, but stop streaming to the output destination. A disabled output does not incur data transfer costs." + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5941b580bc..43d845ba26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,18 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1658.0 +* feature: Batch: This feature allows AWS Batch Jobs with EKS container orchestration type to be run as Multi-Node Parallel Jobs. +* feature: Bedrock: Add support for contextual grounding check for Guardrails for Amazon Bedrock. +* feature: BedrockAgent: Introduces new data sources and chunking strategies for Knowledge bases, advanced parsing logic using FMs, session summary generation, and code interpretation (preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational models, and resources. +* feature: BedrockAgentRuntime: Introduces query decomposition, enhanced Agents integration with Knowledge bases, session summary generation, and code interpretation (preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational models, and resources for end-to-end solutions. +* feature: BedrockRuntime: Add support for contextual grounding check and ApplyGuardrail API for Guardrails for Amazon Bedrock. +* feature: EC2: Add parameters to enable provisioning IPAM BYOIPv4 space at a Local Zone Network Border Group level +* feature: Glue: Add recipe step support for recipe node +* feature: LicenseManagerLinuxSubscriptions: Add support for third party subscription providers, starting with RHEL subscriptions through Red Hat Subscription Manager (RHSM). Additionally, add support for tagging subscription provider resources, and detect when an instance has more than one Linux subscription and notify the customer. +* feature: MediaConnect: AWS Elemental MediaConnect introduces the ability to disable outputs. Disabling an output allows you to keep the output attached to the flow, but stop streaming to the output destination. A disabled output does not incur data transfer costs. + ## 2.1657.0 * feature: DataZone: This release deprecates dataProductItem field from SearchInventoryResultItem, along with some unused DataProduct shapes * feature: FSx: Adds support for FSx for NetApp ONTAP 2nd Generation file systems, and FSx for OpenZFS Single AZ HA file systems. diff --git a/README.md b/README.md index 5ebe1380d0..9a25eab065 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true; To use the SDK in the browser, simply add the following script tag to your HTML pages: - + You can also build a custom browser SDK with your specified set of AWS services. This can allow you to reduce the SDK's size, specify different API versions of diff --git a/apis/batch-2016-08-10.min.json b/apis/batch-2016-08-10.min.json index 95237b45fd..4f161abc88 100644 --- a/apis/batch-2016-08-10.min.json +++ b/apis/batch-2016-08-10.min.json @@ -343,13 +343,13 @@ "type": "boolean" }, "platformCapabilities": { - "shape": "S33" + "shape": "S3q" }, "ecsProperties": { "shape": "S2w" }, "eksProperties": { - "shape": "S35" + "shape": "S33" }, "containerOrchestrationType": {} } @@ -648,7 +648,7 @@ "type": "boolean" }, "platformCapabilities": { - "shape": "S33" + "shape": "S3q" }, "eksProperties": { "type": "structure", @@ -662,7 +662,7 @@ }, "dnsPolicy": {}, "imagePullSecrets": { - "shape": "S37" + "shape": "S35" }, "containers": { "shape": "S4k" @@ -671,12 +671,12 @@ "shape": "S4k" }, "volumes": { - "shape": "S3l" + "shape": "S3j" }, "podName": {}, "nodeName": {}, "metadata": { - "shape": "S3q" + "shape": "S3o" }, "shareProcessNamespace": { "type": "boolean" @@ -696,6 +696,7 @@ "initContainers": { "shape": "S4o" }, + "eksClusterArn": {}, "podName": {}, "nodeName": {}, "startedAt": { @@ -1086,10 +1087,10 @@ "shape": "Sj" }, "platformCapabilities": { - "shape": "S33" + "shape": "S3q" }, "eksProperties": { - "shape": "S35" + "shape": "S33" }, "ecsProperties": { "shape": "S2w" @@ -1171,6 +1172,9 @@ }, "instanceTypes": { "shape": "Sb" + }, + "eksPropertiesOverride": { + "shape": "S5x" } } } @@ -1190,23 +1194,7 @@ "shape": "Sj" }, "eksPropertiesOverride": { - "type": "structure", - "members": { - "podProperties": { - "type": "structure", - "members": { - "containers": { - "shape": "S5z" - }, - "initContainers": { - "shape": "S5z" - }, - "metadata": { - "shape": "S3q" - } - } - } - } + "shape": "S5x" }, "ecsPropertiesOverride": { "shape": "S5s" @@ -1949,6 +1937,9 @@ }, "ecsProperties": { "shape": "S2w" + }, + "eksProperties": { + "shape": "S33" } } } @@ -2055,10 +2046,6 @@ } }, "S33": { - "type": "list", - "member": {} - }, - "S35": { "type": "structure", "members": { "podProperties": { @@ -2070,19 +2057,19 @@ }, "dnsPolicy": {}, "imagePullSecrets": { - "shape": "S37" + "shape": "S35" }, "containers": { - "shape": "S39" + "shape": "S37" }, "initContainers": { - "shape": "S39" + "shape": "S37" }, "volumes": { - "shape": "S3l" + "shape": "S3j" }, "metadata": { - "shape": "S3q" + "shape": "S3o" }, "shareProcessNamespace": { "type": "boolean" @@ -2091,7 +2078,7 @@ } } }, - "S37": { + "S35": { "type": "list", "member": { "type": "structure", @@ -2103,7 +2090,7 @@ } } }, - "S39": { + "S37": { "type": "list", "member": { "type": "structure", @@ -2121,21 +2108,21 @@ "shape": "Sb" }, "env": { - "shape": "S3b" + "shape": "S39" }, "resources": { - "shape": "S3d" + "shape": "S3b" }, "volumeMounts": { - "shape": "S3h" + "shape": "S3f" }, "securityContext": { - "shape": "S3j" + "shape": "S3h" } } } }, - "S3b": { + "S39": { "type": "list", "member": { "type": "structure", @@ -2148,7 +2135,7 @@ } } }, - "S3d": { + "S3b": { "type": "structure", "members": { "limits": { @@ -2163,7 +2150,7 @@ } } }, - "S3h": { + "S3f": { "type": "list", "member": { "type": "structure", @@ -2176,7 +2163,7 @@ } } }, - "S3j": { + "S3h": { "type": "structure", "members": { "runAsUser": { @@ -2199,7 +2186,7 @@ } } }, - "S3l": { + "S3j": { "type": "list", "member": { "type": "structure", @@ -2236,7 +2223,7 @@ } } }, - "S3q": { + "S3o": { "type": "structure", "members": { "labels": { @@ -2246,6 +2233,10 @@ } } }, + "S3q": { + "type": "list", + "member": {} + }, "S45": { "type": "list", "member": { @@ -2282,20 +2273,20 @@ "shape": "Sb" }, "env": { - "shape": "S3b" + "shape": "S39" }, "resources": { - "shape": "S3d" + "shape": "S3b" }, "exitCode": { "type": "integer" }, "reason": {}, "volumeMounts": { - "shape": "S3h" + "shape": "S3f" }, "securityContext": { - "shape": "S3j" + "shape": "S3h" } } } @@ -2369,6 +2360,25 @@ } } }, + "S5x": { + "type": "structure", + "members": { + "podProperties": { + "type": "structure", + "members": { + "containers": { + "shape": "S5z" + }, + "initContainers": { + "shape": "S5z" + }, + "metadata": { + "shape": "S3o" + } + } + } + } + }, "S5z": { "type": "list", "member": { @@ -2383,10 +2393,10 @@ "shape": "Sb" }, "env": { - "shape": "S3b" + "shape": "S39" }, "resources": { - "shape": "S3d" + "shape": "S3b" } } } diff --git a/apis/batch-2016-08-10.normal.json b/apis/batch-2016-08-10.normal.json index 0c9d6c630e..8031149404 100644 --- a/apis/batch-2016-08-10.normal.json +++ b/apis/batch-2016-08-10.normal.json @@ -2001,6 +2001,10 @@ "shape": "EksAttemptContainerDetails", "documentation": "
The details for the init containers.
" }, + "eksClusterArn": { + "shape": "String", + "documentation": "The Amazon Resource Name (ARN) of the Amazon EKS cluster.
" + }, "podName": { "shape": "String", "documentation": "The name of the pod for this job attempt.
" @@ -3601,6 +3605,10 @@ "instanceTypes": { "shape": "StringList", "documentation": "An object that contains the instance types that you want to replace for the existing resources of a job.
" + }, + "eksPropertiesOverride": { + "shape": "EksPropertiesOverride", + "documentation": "An object that contains the properties that you want to replace for the existing Amazon EKS resources of a job.
" } }, "documentation": "The object that represents any node overrides to a job definition that's used in a SubmitJob API operation.
" @@ -3638,6 +3646,10 @@ "ecsProperties": { "shape": "EcsProperties", "documentation": "This is an object that represents the properties of the node range for a multi-node parallel job.
" + }, + "eksProperties": { + "shape": "EksProperties", + "documentation": "This is an object that represents the properties of the node range for a multi-node parallel job.
" } }, "documentation": "This is an object that represents the properties of the node range for a multi-node parallel job.
" diff --git a/apis/bedrock-2023-04-20.min.json b/apis/bedrock-2023-04-20.min.json index 65a5c05f40..3936cf90aa 100644 --- a/apis/bedrock-2023-04-20.min.json +++ b/apis/bedrock-2023-04-20.min.json @@ -92,11 +92,14 @@ "sensitiveInformationPolicyConfig": { "shape": "S1q" }, - "blockedInputMessaging": { + "contextualGroundingPolicyConfig": { "shape": "S20" }, + "blockedInputMessaging": { + "shape": "S25" + }, "blockedOutputsMessaging": { - "shape": "S20" + "shape": "S25" }, "kmsKeyId": {}, "tags": { @@ -120,7 +123,7 @@ "guardrailArn": {}, "version": {}, "createdAt": { - "shape": "S25" + "shape": "S2a" } } } @@ -193,19 +196,19 @@ "shape": "S7" }, "trainingDataConfig": { - "shape": "S2f" + "shape": "S2k" }, "validationDataConfig": { - "shape": "S2g" + "shape": "S2l" }, "outputDataConfig": { - "shape": "S2j" + "shape": "S2o" }, "hyperParameters": { - "shape": "S2k" + "shape": "S2p" }, "vpcConfig": { - "shape": "S2m" + "shape": "S2r" } } }, @@ -388,25 +391,25 @@ "customizationType": {}, "modelKmsKeyArn": {}, "hyperParameters": { - "shape": "S2k" + "shape": "S2p" }, "trainingDataConfig": { - "shape": "S2f" + "shape": "S2k" }, "validationDataConfig": { - "shape": "S2g" + "shape": "S2l" }, "outputDataConfig": { - "shape": "S2j" + "shape": "S2o" }, "trainingMetrics": { - "shape": "S3d" + "shape": "S3i" }, "validationMetrics": { - "shape": "S3f" + "shape": "S3k" }, "creationTime": { - "shape": "S25" + "shape": "S2a" } } } @@ -424,7 +427,7 @@ ], "members": { "jobIdentifier": { - "shape": "S3i", + "shape": "S3n", "location": "uri", "locationName": "jobIdentifier" } @@ -463,10 +466,10 @@ "shape": "S10" }, "creationTime": { - "shape": "S25" + "shape": "S2a" }, "lastModifiedTime": { - "shape": "S25" + "shape": "S2a" }, "failureMessages": { "type": "list", @@ -508,22 +511,22 @@ "modelName": {}, "providerName": {}, "inputModalities": { - "shape": "S3u" + "shape": "S3z" }, "outputModalities": { - "shape": "S3u" + "shape": "S3z" }, "responseStreamingSupported": { "type": "boolean" }, "customizationsSupported": { - "shape": "S3x" + "shape": "S42" }, "inferenceTypesSupported": { - "shape": "S3z" + "shape": "S44" }, "modelLifecycle": { - "shape": "S41" + "shape": "S46" } } } @@ -692,11 +695,35 @@ } } }, + "contextualGroundingPolicy": { + "type": "structure", + "required": [ + "filters" + ], + "members": { + "filters": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "type", + "threshold" + ], + "members": { + "type": {}, + "threshold": { + "type": "double" + } + } + } + } + } + }, "createdAt": { - "shape": "S25" + "shape": "S2a" }, "updatedAt": { - "shape": "S25" + "shape": "S2a" }, "statusReasons": { "type": "list", @@ -713,10 +740,10 @@ } }, "blockedInputMessaging": { - "shape": "S20" + "shape": "S25" }, "blockedOutputsMessaging": { - "shape": "S20" + "shape": "S25" }, "kmsKeyArn": {} } @@ -764,37 +791,37 @@ "status": {}, "failureMessage": {}, "creationTime": { - "shape": "S25" + "shape": "S2a" }, "lastModifiedTime": { - "shape": "S25" + "shape": "S2a" }, "endTime": { - "shape": "S25" + "shape": "S2a" }, "baseModelArn": {}, "hyperParameters": { - "shape": "S2k" + "shape": "S2p" }, "trainingDataConfig": { - "shape": "S2f" + "shape": "S2k" }, "validationDataConfig": { - "shape": "S2g" + "shape": "S2l" }, "outputDataConfig": { - "shape": "S2j" + "shape": "S2o" }, "customizationType": {}, "outputModelKmsKeyArn": {}, "trainingMetrics": { - "shape": "S3d" + "shape": "S3i" }, "validationMetrics": { - "shape": "S3f" + "shape": "S3k" }, "vpcConfig": { - "shape": "S2m" + "shape": "S2r" } } } @@ -813,7 +840,7 @@ "type": "structure", "members": { "loggingConfig": { - "shape": "S52" + "shape": "S5b" } } } @@ -864,15 +891,15 @@ "foundationModelArn": {}, "status": {}, "creationTime": { - "shape": "S25" + "shape": "S2a" }, "lastModifiedTime": { - "shape": "S25" + "shape": "S2a" }, "failureMessage": {}, "commitmentDuration": {}, "commitmentExpirationTime": { - "shape": "S25" + "shape": "S2a" } } } @@ -887,12 +914,12 @@ "type": "structure", "members": { "creationTimeBefore": { - "shape": "S25", + "shape": "S2a", "location": "querystring", "locationName": "creationTimeBefore" }, "creationTimeAfter": { - "shape": "S25", + "shape": "S2a", "location": "querystring", "locationName": "creationTimeAfter" }, @@ -946,7 +973,7 @@ "modelArn": {}, "modelName": {}, "creationTime": { - "shape": "S25" + "shape": "S2a" }, "baseModelArn": {}, "baseModelName": {}, @@ -967,12 +994,12 @@ "type": "structure", "members": { "creationTimeAfter": { - "shape": "S25", + "shape": "S2a", "location": "querystring", "locationName": "creationTimeAfter" }, "creationTimeBefore": { - "shape": "S25", + "shape": "S2a", "location": "querystring", "locationName": "creationTimeBefore" }, @@ -1025,7 +1052,7 @@ "jobName": {}, "status": {}, "creationTime": { - "shape": "S25" + "shape": "S2a" }, "jobType": {}, "evaluationTaskTypes": { @@ -1086,22 +1113,22 @@ "modelName": {}, "providerName": {}, "inputModalities": { - "shape": "S3u" + "shape": "S3z" }, "outputModalities": { - "shape": "S3u" + "shape": "S3z" }, "responseStreamingSupported": { "type": "boolean" }, "customizationsSupported": { - "shape": "S3x" + "shape": "S42" }, "inferenceTypesSupported": { - "shape": "S3z" + "shape": "S44" }, "modelLifecycle": { - "shape": "S41" + "shape": "S46" } } } @@ -1164,10 +1191,10 @@ }, "version": {}, "createdAt": { - "shape": "S25" + "shape": "S2a" }, "updatedAt": { - "shape": "S25" + "shape": "S2a" } } } @@ -1186,12 +1213,12 @@ "type": "structure", "members": { "creationTimeAfter": { - "shape": "S25", + "shape": "S2a", "location": "querystring", "locationName": "creationTimeAfter" }, "creationTimeBefore": { - "shape": "S25", + "shape": "S2a", "location": "querystring", "locationName": "creationTimeBefore" }, @@ -1243,13 +1270,13 @@ "jobName": {}, "status": {}, "lastModifiedTime": { - "shape": "S25" + "shape": "S2a" }, "creationTime": { - "shape": "S25" + "shape": "S2a" }, "endTime": { - "shape": "S25" + "shape": "S2a" }, "customModelArn": {}, "customModelName": {}, @@ -1270,12 +1297,12 @@ "type": "structure", "members": { "creationTimeAfter": { - "shape": "S25", + "shape": "S2a", "location": "querystring", "locationName": "creationTimeAfter" }, "creationTimeBefore": { - "shape": "S25", + "shape": "S2a", "location": "querystring", "locationName": "creationTimeBefore" }, @@ -1345,13 +1372,13 @@ "status": {}, "commitmentDuration": {}, "commitmentExpirationTime": { - "shape": "S25" + "shape": "S2a" }, "creationTime": { - "shape": "S25" + "shape": "S2a" }, "lastModifiedTime": { - "shape": "S25" + "shape": "S2a" } } } @@ -1395,7 +1422,7 @@ ], "members": { "loggingConfig": { - "shape": "S52" + "shape": "S5b" } } }, @@ -1417,7 +1444,7 @@ ], "members": { "jobIdentifier": { - "shape": "S3i", + "shape": "S3n", "location": "uri", "locationName": "jobIdentifier" } @@ -1535,11 +1562,14 @@ "sensitiveInformationPolicyConfig": { "shape": "S1q" }, - "blockedInputMessaging": { + "contextualGroundingPolicyConfig": { "shape": "S20" }, + "blockedInputMessaging": { + "shape": "S25" + }, "blockedOutputsMessaging": { - "shape": "S20" + "shape": "S25" }, "kmsKeyId": {} } @@ -1557,7 +1587,7 @@ "guardrailArn": {}, "version": {}, "updatedAt": { - "shape": "S25" + "shape": "S2a" } } }, @@ -1895,14 +1925,38 @@ } }, "S20": { + "type": "structure", + "required": [ + "filtersConfig" + ], + "members": { + "filtersConfig": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "type", + "threshold" + ], + "members": { + "type": {}, + "threshold": { + "type": "double" + } + } + } + } + } + }, + "S25": { "type": "string", "sensitive": true }, - "S25": { + "S2a": { "type": "timestamp", "timestampFormat": "iso8601" }, - "S2f": { + "S2k": { "type": "structure", "required": [ "s3Uri" @@ -1911,7 +1965,7 @@ "s3Uri": {} } }, - "S2g": { + "S2l": { "type": "structure", "required": [ "validators" @@ -1931,7 +1985,7 @@ } } }, - "S2j": { + "S2o": { "type": "structure", "required": [ "s3Uri" @@ -1940,12 +1994,12 @@ "s3Uri": {} } }, - "S2k": { + "S2p": { "type": "map", "key": {}, "value": {} }, - "S2m": { + "S2r": { "type": "structure", "required": [ "subnetIds", @@ -1962,7 +2016,7 @@ } } }, - "S3d": { + "S3i": { "type": "structure", "members": { "trainingLoss": { @@ -1970,7 +2024,7 @@ } } }, - "S3f": { + "S3k": { "type": "list", "member": { "type": "structure", @@ -1981,23 +2035,23 @@ } } }, - "S3i": { + "S3n": { "type": "string", "sensitive": true }, - "S3u": { + "S3z": { "type": "list", "member": {} }, - "S3x": { + "S42": { "type": "list", "member": {} }, - "S3z": { + "S44": { "type": "list", "member": {} }, - "S41": { + "S46": { "type": "structure", "required": [ "status" @@ -2006,7 +2060,7 @@ "status": {} } }, - "S52": { + "S5b": { "type": "structure", "members": { "cloudWatchConfig": { @@ -2019,12 +2073,12 @@ "logGroupName": {}, "roleArn": {}, "largeDataDeliveryS3Config": { - "shape": "S55" + "shape": "S5e" } } }, "s3Config": { - "shape": "S55" + "shape": "S5e" }, "textDataDeliveryEnabled": { "type": "boolean" @@ -2037,7 +2091,7 @@ } } }, - "S55": { + "S5e": { "type": "structure", "required": [ "bucketName" diff --git a/apis/bedrock-2023-04-20.normal.json b/apis/bedrock-2023-04-20.normal.json index e8a598e2df..ad4fea0a00 100644 --- a/apis/bedrock-2023-04-20.normal.json +++ b/apis/bedrock-2023-04-20.normal.json @@ -90,7 +90,7 @@ "shape": "ThrottlingException" } ], - "documentation": "Creates a guardrail to block topics and to filter out harmful content.
Specify a name
and optional description
.
Specify messages for when the guardrail successfully blocks a prompt or a model response in the blockedInputMessaging
and blockedOutputsMessaging
fields.
Specify topics for the guardrail to deny in the topicPolicyConfig
object. Each GuardrailTopicConfig object in the topicsConfig
list pertains to one topic.
Give a name
and description
so that the guardrail can properly identify the topic.
Specify DENY
in the type
field.
(Optional) Provide up to five prompts that you would categorize as belonging to the topic in the examples
list.
Specify filter strengths for the harmful categories defined in Amazon Bedrock in the contentPolicyConfig
object. Each GuardrailContentFilterConfig object in the filtersConfig
list pertains to a harmful category. For more information, see Content filters. For more information about the fields in a content filter, see GuardrailContentFilterConfig.
Specify the category in the type
field.
Specify the strength of the filter for prompts in the inputStrength
field and for model responses in the strength
field of the GuardrailContentFilterConfig.
(Optional) For security, include the ARN of a KMS key in the kmsKeyId
field.
(Optional) Attach any tags to the guardrail in the tags
object. For more information, see Tag resources.
Creates a guardrail to block topics and to implement safeguards for your generative AI applications.
You can configure the following policies in a guardrail to avoid undesirable and harmful content, filter out denied topics and words, and remove sensitive information for privacy protection.
Content filters - Adjust filter strengths to block input prompts or model responses containing harmful content.
Denied topics - Define a set of topics that are undesirable in the context of your application. These topics will be blocked if detected in user queries or model responses.
Word filters - Configure filters to block undesirable words, phrases, and profanity. Such words can include offensive terms, competitor names etc.
Sensitive information filters - Block or mask sensitive information such as personally identifiable information (PII) or custom regex in user inputs and model responses.
In addition to the above policies, you can also configure the messages to be returned to the user if a user input or model response is in violation of the policies defined in the guardrail.
For more information, see Guardrails for Amazon Bedrock in the Amazon Bedrock User Guide.
" }, "CreateGuardrailVersion": { "name": "CreateGuardrailVersion", @@ -977,7 +977,7 @@ "shape": "ThrottlingException" } ], - "documentation": "Updates a guardrail with the values you specify.
Specify a name
and optional description
.
Specify messages for when the guardrail successfully blocks a prompt or a model response in the blockedInputMessaging
and blockedOutputsMessaging
fields.
Specify topics for the guardrail to deny in the topicPolicyConfig
object. Each GuardrailTopicConfig object in the topicsConfig
list pertains to one topic.
Give a name
and description
so that the guardrail can properly identify the topic.
Specify DENY
in the type
field.
(Optional) Provide up to five prompts that you would categorize as belonging to the topic in the examples
list.
Specify filter strengths for the harmful categories defined in Amazon Bedrock in the contentPolicyConfig
object. Each GuardrailContentFilterConfig object in the filtersConfig
list pertains to a harmful category. For more information, see Content filters. For more information about the fields in a content filter, see GuardrailContentFilterConfig.
Specify the category in the type
field.
Specify the strength of the filter for prompts in the inputStrength
field and for model responses in the strength
field of the GuardrailContentFilterConfig.
(Optional) For security, include the ARN of a KMS key in the kmsKeyId
field.
(Optional) Attach any tags to the guardrail in the tags
object. For more information, see Tag resources.
Updates a guardrail with the values you specify.
Specify a name
and optional description
.
Specify messages for when the guardrail successfully blocks a prompt or a model response in the blockedInputMessaging
and blockedOutputsMessaging
fields.
Specify topics for the guardrail to deny in the topicPolicyConfig
object. Each GuardrailTopicConfig object in the topicsConfig
list pertains to one topic.
Give a name
and description
so that the guardrail can properly identify the topic.
Specify DENY
in the type
field.
(Optional) Provide up to five prompts that you would categorize as belonging to the topic in the examples
list.
Specify filter strengths for the harmful categories defined in Amazon Bedrock in the contentPolicyConfig
object. Each GuardrailContentFilterConfig object in the filtersConfig
list pertains to a harmful category. For more information, see Content filters. For more information about the fields in a content filter, see GuardrailContentFilterConfig.
Specify the category in the type
field.
Specify the strength of the filter for prompts in the inputStrength
field and for model responses in the strength
field of the GuardrailContentFilterConfig.
(Optional) For security, include the ARN of a KMS key in the kmsKeyId
field.
The sensitive information policy to configure for the guardrail.
" }, + "contextualGroundingPolicyConfig": { + "shape": "GuardrailContextualGroundingPolicyConfig", + "documentation": "The contextual grounding policy configuration used to create a guardrail.
" + }, "blockedInputMessaging": { "shape": "GuardrailBlockedMessaging", "documentation": "The message to return when the guardrail blocks a prompt.
" @@ -1215,11 +1219,11 @@ }, "guardrailArn": { "shape": "GuardrailArn", - "documentation": "The ARN of the guardrail that was created.
" + "documentation": "The ARN of the guardrail.
" }, "version": { "shape": "GuardrailDraftVersion", - "documentation": "The version of the guardrail that was created. This value should be 1.
" + "documentation": "The version of the guardrail that was created. This value will always be DRAFT
.
The unique identifier of the guardrail.
", + "documentation": "The unique identifier of the guardrail. This can be an ID or the ARN.
", "location": "uri", "locationName": "guardrailIdentifier" }, @@ -1485,7 +1489,7 @@ "members": { "guardrailIdentifier": { "shape": "GuardrailIdentifier", - "documentation": "The unique identifier of the guardrail.
", + "documentation": "The unique identifier of the guardrail. This can be an ID or the ARN.
", "location": "uri", "locationName": "guardrailIdentifier" }, @@ -2182,7 +2186,7 @@ "members": { "guardrailIdentifier": { "shape": "GuardrailIdentifier", - "documentation": "The unique identifier of the guardrail for which to get details.
", + "documentation": "The unique identifier of the guardrail for which to get details. This can be an ID or the ARN.
", "location": "uri", "locationName": "guardrailIdentifier" }, @@ -2222,7 +2226,7 @@ }, "guardrailArn": { "shape": "GuardrailArn", - "documentation": "The ARN of the guardrail that was created.
" + "documentation": "The ARN of the guardrail.
" }, "version": { "shape": "GuardrailVersion", @@ -2248,6 +2252,10 @@ "shape": "GuardrailSensitiveInformationPolicy", "documentation": "The sensitive information policy that was configured for the guardrail.
" }, + "contextualGroundingPolicy": { + "shape": "GuardrailContextualGroundingPolicy", + "documentation": "The contextual grounding policy used in the guardrail.
" + }, "createdAt": { "shape": "Timestamp", "documentation": "The date and time at which the guardrail was created.
" @@ -2545,7 +2553,7 @@ "documentation": "The strength of the content filter to apply to model responses. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
" } }, - "documentation": "Contains filter strengths for harmful content. Guardrails support the following content filters to detect and filter harmful user inputs and FM-generated outputs.
Hate – Describes language or a statement that discriminates, criticizes, insults, denounces, or dehumanizes a person or group on the basis of an identity (such as race, ethnicity, gender, religion, sexual orientation, ability, and national origin).
Insults – Describes language or a statement that includes demeaning, humiliating, mocking, insulting, or belittling language. This type of language is also labeled as bullying.
Sexual – Describes language or a statement that indicates sexual interest, activity, or arousal using direct or indirect references to body parts, physical traits, or sex.
Violence – Describes language or a statement that includes glorification of or threats to inflict physical pain, hurt, or injury toward a person, group or thing.
Content filtering depends on the confidence classification of user inputs and FM responses across each of the four harmful categories. All input and output statements are classified into one of four confidence levels (NONE, LOW, MEDIUM, HIGH) for each harmful category. For example, if a statement is classified as Hate with HIGH confidence, the likelihood of the statement representing hateful content is high. A single statement can be classified across multiple categories with varying confidence levels. For example, a single statement can be classified as Hate with HIGH confidence, Insults with LOW confidence, Sexual with NONE confidence, and Violence with MEDIUM confidence.
For more information, see Guardrails content filters.
This data type is used in the following API operations:
" + "documentation": "Contains filter strengths for harmful content. Guardrails support the following content filters to detect and filter harmful user inputs and FM-generated outputs.
Hate – Describes language or a statement that discriminates, criticizes, insults, denounces, or dehumanizes a person or group on the basis of an identity (such as race, ethnicity, gender, religion, sexual orientation, ability, and national origin).
Insults – Describes language or a statement that includes demeaning, humiliating, mocking, insulting, or belittling language. This type of language is also labeled as bullying.
Sexual – Describes language or a statement that indicates sexual interest, activity, or arousal using direct or indirect references to body parts, physical traits, or sex.
Violence – Describes language or a statement that includes glorification of or threats to inflict physical pain, hurt, or injury toward a person, group or thing.
Content filtering depends on the confidence classification of user inputs and FM responses across each of the four harmful categories. All input and output statements are classified into one of four confidence levels (NONE, LOW, MEDIUM, HIGH) for each harmful category. For example, if a statement is classified as Hate with HIGH confidence, the likelihood of the statement representing hateful content is high. A single statement can be classified across multiple categories with varying confidence levels. For example, a single statement can be classified as Hate with HIGH confidence, Insults with LOW confidence, Sexual with NONE confidence, and Violence with MEDIUM confidence.
For more information, see Guardrails content filters.
" }, "GuardrailContentFilterType": { "type": "string", @@ -2595,7 +2603,100 @@ "documentation": "Contains the type of the content filter and how strongly it should apply to prompts and model responses.
" } }, - "documentation": "Contains details about how to handle harmful content.
This data type is used in the following API operations:
" + "documentation": "Contains details about how to handle harmful content.
" + }, + "GuardrailContextualGroundingFilter": { + "type": "structure", + "required": [ + "type", + "threshold" + ], + "members": { + "type": { + "shape": "GuardrailContextualGroundingFilterType", + "documentation": "The filter type details for the guardrails contextual grounding filter.
" + }, + "threshold": { + "shape": "GuardrailContextualGroundingFilterThresholdDouble", + "documentation": "The threshold details for the guardrails contextual grounding filter.
" + } + }, + "documentation": "The details for the guardrails contextual grounding filter.
" + }, + "GuardrailContextualGroundingFilterConfig": { + "type": "structure", + "required": [ + "type", + "threshold" + ], + "members": { + "type": { + "shape": "GuardrailContextualGroundingFilterType", + "documentation": "The filter details for the guardrails contextual grounding filter.
" + }, + "threshold": { + "shape": "GuardrailContextualGroundingFilterConfigThresholdDouble", + "documentation": "The threshold details for the guardrails contextual grounding filter.
" + } + }, + "documentation": "The filter configuration details for the guardrails contextual grounding filter.
" + }, + "GuardrailContextualGroundingFilterConfigThresholdDouble": { + "type": "double", + "box": true, + "min": 0 + }, + "GuardrailContextualGroundingFilterThresholdDouble": { + "type": "double", + "box": true, + "min": 0 + }, + "GuardrailContextualGroundingFilterType": { + "type": "string", + "enum": [ + "GROUNDING", + "RELEVANCE" + ] + }, + "GuardrailContextualGroundingFilters": { + "type": "list", + "member": { + "shape": "GuardrailContextualGroundingFilter" + }, + "min": 1 + }, + "GuardrailContextualGroundingFiltersConfig": { + "type": "list", + "member": { + "shape": "GuardrailContextualGroundingFilterConfig" + }, + "min": 1 + }, + "GuardrailContextualGroundingPolicy": { + "type": "structure", + "required": [ + "filters" + ], + "members": { + "filters": { + "shape": "GuardrailContextualGroundingFilters", + "documentation": "The filter details for the guardrails contextual grounding policy.
" + } + }, + "documentation": "The details for the guardrails contextual grounding policy.
" + }, + "GuardrailContextualGroundingPolicyConfig": { + "type": "structure", + "required": [ + "filtersConfig" + ], + "members": { + "filtersConfig": { + "shape": "GuardrailContextualGroundingFiltersConfig", + "documentation": "The filter configuration details for the guardrails contextual grounding policy.
" + } + }, + "documentation": "The policy configuration details for the guardrails contextual grounding policy.
" }, "GuardrailDescription": { "type": "string", @@ -2667,7 +2768,7 @@ "documentation": "ManagedWords$type The managed word type that was configured for the guardrail. (For now, we only offer profanity word list)
" } }, - "documentation": "The managed word list that was configured for the guardrail. (This is a list of words that are pre-defined and managed by Guardrails only.)
" + "documentation": "The managed word list that was configured for the guardrail. (This is a list of words that are pre-defined and managed by guardrails only.)
" }, "GuardrailManagedWordsConfig": { "type": "structure", @@ -2740,7 +2841,7 @@ "members": { "type": { "shape": "GuardrailPiiEntityType", - "documentation": "Configure guardrail type when the PII entity is detected.
" + "documentation": "Configure guardrail type when the PII entity is detected.
The following PIIs are used to block or mask sensitive information:
General
ADDRESS
A physical address, such as \"100 Main Street, Anytown, USA\" or \"Suite #12, Building 123\". An address can include information such as the street, building, location, city, state, country, county, zip code, precinct, and neighborhood.
AGE
An individual's age, including the quantity and unit of time. For example, in the phrase \"I am 40 years old,\" Guarrails recognizes \"40 years\" as an age.
NAME
An individual's name. This entity type does not include titles, such as Dr., Mr., Mrs., or Miss. guardrails doesn't apply this entity type to names that are part of organizations or addresses. For example, guardrails recognizes the \"John Doe Organization\" as an organization, and it recognizes \"Jane Doe Street\" as an address.
An email address, such as marymajor@email.com.
PHONE
A phone number. This entity type also includes fax and pager numbers.
USERNAME
A user name that identifies an account, such as a login name, screen name, nick name, or handle.
PASSWORD
An alphanumeric string that is used as a password, such as \"*very20special#pass*\".
DRIVER_ID
The number assigned to a driver's license, which is an official document permitting an individual to operate one or more motorized vehicles on a public road. A driver's license number consists of alphanumeric characters.
LICENSE_PLATE
A license plate for a vehicle is issued by the state or country where the vehicle is registered. The format for passenger vehicles is typically five to eight digits, consisting of upper-case letters and numbers. The format varies depending on the location of the issuing state or country.
VEHICLE_IDENTIFICATION_NUMBER
A Vehicle Identification Number (VIN) uniquely identifies a vehicle. VIN content and format are defined in the ISO 3779 specification. Each country has specific codes and formats for VINs.
Finance
REDIT_DEBIT_CARD_CVV
A three-digit card verification code (CVV) that is present on VISA, MasterCard, and Discover credit and debit cards. For American Express credit or debit cards, the CVV is a four-digit numeric code.
CREDIT_DEBIT_CARD_EXPIRY
The expiration date for a credit or debit card. This number is usually four digits long and is often formatted as month/year or MM/YY. Guardrails recognizes expiration dates such as 01/21, 01/2021, and Jan 2021.
CREDIT_DEBIT_CARD_NUMBER
The number for a credit or debit card. These numbers can vary from 13 to 16 digits in length. However, Amazon Comprehend also recognizes credit or debit card numbers when only the last four digits are present.
PIN
A four-digit personal identification number (PIN) with which you can access your bank account.
INTERNATIONAL_BANK_ACCOUNT_NUMBER
An International Bank Account Number has specific formats in each country. For more information, see www.iban.com/structure.
SWIFT_CODE
A SWIFT code is a standard format of Bank Identifier Code (BIC) used to specify a particular bank or branch. Banks use these codes for money transfers such as international wire transfers.
SWIFT codes consist of eight or 11 characters. The 11-digit codes refer to specific branches, while eight-digit codes (or 11-digit codes ending in 'XXX') refer to the head or primary office.
IT
IP_ADDRESS
An IPv4 address, such as 198.51.100.0.
MAC_ADDRESS
A media access control (MAC) address is a unique identifier assigned to a network interface controller (NIC).
URL
A web address, such as www.example.com.
AWS_ACCESS_KEY
A unique identifier that's associated with a secret access key; you use the access key ID and secret access key to sign programmatic Amazon Web Services requests cryptographically.
AWS_SECRET_KEY
A unique identifier that's associated with an access key. You use the access key ID and secret access key to sign programmatic Amazon Web Services requests cryptographically.
USA specific
US_BANK_ACCOUNT_NUMBER
A US bank account number, which is typically 10 to 12 digits long.
US_BANK_ROUTING_NUMBER
A US bank account routing number. These are typically nine digits long,
US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER
A US Individual Taxpayer Identification Number (ITIN) is a nine-digit number that starts with a \"9\" and contain a \"7\" or \"8\" as the fourth digit. An ITIN can be formatted with a space or a dash after the third and forth digits.
US_PASSPORT_NUMBER
A US passport number. Passport numbers range from six to nine alphanumeric characters.
US_SOCIAL_SECURITY_NUMBER
A US Social Security Number (SSN) is a nine-digit number that is issued to US citizens, permanent residents, and temporary working residents.
Canada specific
CA_HEALTH_NUMBER
A Canadian Health Service Number is a 10-digit unique identifier, required for individuals to access healthcare benefits.
CA_SOCIAL_INSURANCE_NUMBER
A Canadian Social Insurance Number (SIN) is a nine-digit unique identifier, required for individuals to access government programs and benefits.
The SIN is formatted as three groups of three digits, such as 123-456-789. A SIN can be validated through a simple check-digit process called the Luhn algorithm.
UK Specific
UK_NATIONAL_HEALTH_SERVICE_NUMBER
A UK National Health Service Number is a 10-17 digit number, such as 485 777 3456. The current system formats the 10-digit number with spaces after the third and sixth digits. The final digit is an error-detecting checksum.
UK_NATIONAL_INSURANCE_NUMBER
A UK National Insurance Number (NINO) provides individuals with access to National Insurance (social security) benefits. It is also used for some purposes in the UK tax system.
The number is nine digits long and starts with two letters, followed by six numbers and one letter. A NINO can be formatted with a space or a dash after the two letters and after the second, forth, and sixth digits.
UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER
A UK Unique Taxpayer Reference (UTR) is a 10-digit number that identifies a taxpayer or a business.
Custom
Regex filter - You can use a regular expressions to define patterns for a guardrail to recognize and act upon such as serial number, booking ID etc..
Specifies to deny the topic.
" } }, - "documentation": "Details about topics for the guardrail to identify and deny.
This data type is used in the following API operations:
" + "documentation": "Details about topics for the guardrail to identify and deny.
" }, "GuardrailTopicDefinition": { "type": "string", @@ -3102,7 +3203,7 @@ "documentation": "A list of policies related to topics that the guardrail should deny.
" } }, - "documentation": "Contains details about topics that the guardrail should identify and deny.
This data type is used in the following API operations:
" + "documentation": "Contains details about topics that the guardrail should identify and deny.
" }, "GuardrailTopicType": { "type": "string", @@ -3508,7 +3609,7 @@ "members": { "guardrailIdentifier": { "shape": "GuardrailIdentifier", - "documentation": "The unique identifier of the guardrail.
", + "documentation": "The unique identifier of the guardrail. This can be an ID or the ARN.
", "location": "querystring", "locationName": "guardrailIdentifier" }, @@ -4275,7 +4376,7 @@ "members": { "guardrailIdentifier": { "shape": "GuardrailIdentifier", - "documentation": "The unique identifier of the guardrail
", + "documentation": "The unique identifier of the guardrail. This can be an ID or the ARN.
", "location": "uri", "locationName": "guardrailIdentifier" }, @@ -4303,6 +4404,10 @@ "shape": "GuardrailSensitiveInformationPolicyConfig", "documentation": "The sensitive information policy to configure for the guardrail.
" }, + "contextualGroundingPolicyConfig": { + "shape": "GuardrailContextualGroundingPolicyConfig", + "documentation": "The contextual grounding policy configuration used to update a guardrail.
" + }, "blockedInputMessaging": { "shape": "GuardrailBlockedMessaging", "documentation": "The message to return when the guardrail blocks a prompt.
" @@ -4332,7 +4437,7 @@ }, "guardrailArn": { "shape": "GuardrailArn", - "documentation": "The ARN of the guardrail that was created.
" + "documentation": "The ARN of the guardrail.
" }, "version": { "shape": "GuardrailDraftVersion", diff --git a/apis/bedrock-agent-2023-06-05.min.json b/apis/bedrock-agent-2023-06-05.min.json index a7e0de5ab7..ff1b6f96e9 100644 --- a/apis/bedrock-agent-2023-06-05.min.json +++ b/apis/bedrock-agent-2023-06-05.min.json @@ -82,11 +82,14 @@ "instruction": { "shape": "Sk" }, - "promptOverrideConfiguration": { + "memoryConfiguration": { "shape": "Sl" }, + "promptOverrideConfiguration": { + "shape": "Sp" + }, "tags": { - "shape": "S10" + "shape": "S14" } } }, @@ -97,7 +100,7 @@ ], "members": { "agent": { - "shape": "S14" + "shape": "S18" } } }, @@ -118,7 +121,7 @@ ], "members": { "actionGroupExecutor": { - "shape": "S1c" + "shape": "S1g" }, "actionGroupName": {}, "actionGroupState": {}, @@ -131,14 +134,14 @@ "locationName": "agentVersion" }, "apiSchema": { - "shape": "S1f" + "shape": "S1j" }, "clientToken": { "idempotencyToken": true }, "description": {}, "functionSchema": { - "shape": "S1k" + "shape": "S1o" }, "parentActionGroupSignature": {} } @@ -150,7 +153,7 @@ ], "members": { "agentActionGroup": { - "shape": "S1v" + "shape": "S1z" } } }, @@ -179,10 +182,10 @@ }, "description": {}, "routingConfiguration": { - "shape": "S1x" + "shape": "S21" }, "tags": { - "shape": "S10" + "shape": "S14" } } }, @@ -193,7 +196,7 @@ ], "members": { "agentAlias": { - "shape": "S21" + "shape": "S25" } } }, @@ -218,7 +221,7 @@ }, "dataDeletionPolicy": {}, "dataSourceConfiguration": { - "shape": "S29" + "shape": "S2d" }, "description": {}, "knowledgeBaseId": { @@ -227,10 +230,10 @@ }, "name": {}, "serverSideEncryptionConfiguration": { - "shape": "S2g" + "shape": "S3l" }, "vectorIngestionConfiguration": { - "shape": "S2h" + "shape": "S3m" } } }, @@ -241,10 +244,182 @@ ], "members": { "dataSource": { - "shape": "S2o" + "shape": "S4h" + } + } + }, + "idempotent": true + }, + "CreateFlow": { + "http": { + "requestUri": "/flows/", + "responseCode": 201 + }, + "input": { + "type": "structure", + "required": [ + "executionRoleArn", + "name" + ], + "members": { + "clientToken": { + "idempotencyToken": true + }, + "customerEncryptionKeyArn": {}, + "definition": { + "shape": "S4k" + }, + "description": {}, + "executionRoleArn": {}, + "name": {}, + "tags": { + "shape": "S14" + } + } + }, + "output": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "executionRoleArn", + "id", + "name", + "status", + "updatedAt", + "version" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "customerEncryptionKeyArn": {}, + "definition": { + "shape": "S4k" + }, + "description": {}, + "executionRoleArn": {}, + "id": {}, + "name": {}, + "status": {}, + "updatedAt": { + "shape": "S9" + }, + "version": {} + } + }, + "idempotent": true + }, + "CreateFlowAlias": { + "http": { + "requestUri": "/flows/{flowIdentifier}/aliases", + "responseCode": 201 + }, + "input": { + "type": "structure", + "required": [ + "flowIdentifier", + "name", + "routingConfiguration" + ], + "members": { + "clientToken": { + "idempotencyToken": true + }, + "description": {}, + "flowIdentifier": { + "location": "uri", + "locationName": "flowIdentifier" + }, + "name": {}, + "routingConfiguration": { + "shape": "S6f" + }, + "tags": { + "shape": "S14" + } + } + }, + "output": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "flowId", + "id", + "name", + "routingConfiguration", + "updatedAt" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "description": {}, + "flowId": {}, + "id": {}, + "name": {}, + "routingConfiguration": { + "shape": "S6f" + }, + "updatedAt": { + "shape": "S9" + } + } + }, + "idempotent": true + }, + "CreateFlowVersion": { + "http": { + "requestUri": "/flows/{flowIdentifier}/versions", + "responseCode": 201 + }, + "input": { + "type": "structure", + "required": [ + "flowIdentifier" + ], + "members": { + "clientToken": { + "idempotencyToken": true + }, + "description": {}, + "flowIdentifier": { + "location": "uri", + "locationName": "flowIdentifier" } } }, + "output": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "executionRoleArn", + "id", + "name", + "status", + "version" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "customerEncryptionKeyArn": {}, + "definition": { + "shape": "S4k" + }, + "description": {}, + "executionRoleArn": {}, + "id": {}, + "name": {}, + "status": {}, + "version": {} + } + }, "idempotent": true }, "CreateKnowledgeBase": { @@ -267,15 +442,15 @@ }, "description": {}, "knowledgeBaseConfiguration": { - "shape": "S2r" + "shape": "S6o" }, "name": {}, "roleArn": {}, "storageConfiguration": { - "shape": "S2z" + "shape": "S6w" }, "tags": { - "shape": "S10" + "shape": "S14" } } }, @@ -286,10 +461,122 @@ ], "members": { "knowledgeBase": { - "shape": "S3t" + "shape": "S7p" + } + } + }, + "idempotent": true + }, + "CreatePrompt": { + "http": { + "requestUri": "/prompts/", + "responseCode": 201 + }, + "input": { + "type": "structure", + "required": [ + "name" + ], + "members": { + "clientToken": { + "idempotencyToken": true + }, + "customerEncryptionKeyArn": {}, + "defaultVariant": {}, + "description": {}, + "name": {}, + "tags": { + "shape": "S14" + }, + "variants": { + "shape": "S7w" + } + } + }, + "output": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "id", + "name", + "updatedAt", + "version" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "customerEncryptionKeyArn": {}, + "defaultVariant": {}, + "description": {}, + "id": {}, + "name": {}, + "updatedAt": { + "shape": "S9" + }, + "variants": { + "shape": "S7w" + }, + "version": {} + } + }, + "idempotent": true + }, + "CreatePromptVersion": { + "http": { + "requestUri": "/prompts/{promptIdentifier}/versions", + "responseCode": 201 + }, + "input": { + "type": "structure", + "required": [ + "promptIdentifier" + ], + "members": { + "clientToken": { + "idempotencyToken": true + }, + "description": {}, + "promptIdentifier": { + "location": "uri", + "locationName": "promptIdentifier" + }, + "tags": { + "shape": "S14" } } }, + "output": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "id", + "name", + "updatedAt", + "version" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "customerEncryptionKeyArn": {}, + "defaultVariant": {}, + "description": {}, + "id": {}, + "name": {}, + "updatedAt": { + "shape": "S9" + }, + "variants": { + "shape": "S7w" + }, + "version": {} + } + }, "idempotent": true }, "DeleteAgent": { @@ -486,108 +773,253 @@ }, "idempotent": true }, - "DeleteKnowledgeBase": { + "DeleteFlow": { "http": { "method": "DELETE", - "requestUri": "/knowledgebases/{knowledgeBaseId}", - "responseCode": 202 + "requestUri": "/flows/{flowIdentifier}/", + "responseCode": 200 }, "input": { "type": "structure", "required": [ - "knowledgeBaseId" + "flowIdentifier" ], "members": { - "knowledgeBaseId": { + "flowIdentifier": { "location": "uri", - "locationName": "knowledgeBaseId" + "locationName": "flowIdentifier" + }, + "skipResourceInUseCheck": { + "location": "querystring", + "locationName": "skipResourceInUseCheck", + "type": "boolean" } } }, "output": { "type": "structure", "required": [ - "knowledgeBaseId", - "status" + "id" ], "members": { - "knowledgeBaseId": {}, - "status": {} + "id": {} } }, "idempotent": true }, - "DisassociateAgentKnowledgeBase": { + "DeleteFlowAlias": { "http": { "method": "DELETE", - "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", - "responseCode": 204 + "requestUri": "/flows/{flowIdentifier}/aliases/{aliasIdentifier}", + "responseCode": 200 }, "input": { "type": "structure", "required": [ - "agentId", - "agentVersion", - "knowledgeBaseId" + "aliasIdentifier", + "flowIdentifier" ], "members": { - "agentId": { + "aliasIdentifier": { "location": "uri", - "locationName": "agentId" - }, - "agentVersion": { - "location": "uri", - "locationName": "agentVersion" + "locationName": "aliasIdentifier" }, - "knowledgeBaseId": { + "flowIdentifier": { "location": "uri", - "locationName": "knowledgeBaseId" + "locationName": "flowIdentifier" } } }, "output": { "type": "structure", - "members": {} + "required": [ + "flowId", + "id" + ], + "members": { + "flowId": {}, + "id": {} + } }, "idempotent": true }, - "GetAgent": { + "DeleteFlowVersion": { "http": { - "method": "GET", - "requestUri": "/agents/{agentId}/", + "method": "DELETE", + "requestUri": "/flows/{flowIdentifier}/versions/{flowVersion}/", "responseCode": 200 }, "input": { "type": "structure", "required": [ - "agentId" + "flowIdentifier", + "flowVersion" ], "members": { - "agentId": { + "flowIdentifier": { "location": "uri", - "locationName": "agentId" + "locationName": "flowIdentifier" + }, + "flowVersion": { + "location": "uri", + "locationName": "flowVersion" + }, + "skipResourceInUseCheck": { + "location": "querystring", + "locationName": "skipResourceInUseCheck", + "type": "boolean" } } }, "output": { "type": "structure", "required": [ - "agent" + "id", + "version" ], "members": { - "agent": { - "shape": "S14" - } + "id": {}, + "version": {} } - } + }, + "idempotent": true }, - "GetAgentActionGroup": { + "DeleteKnowledgeBase": { "http": { - "method": "GET", - "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", - "responseCode": 200 - }, - "input": { + "method": "DELETE", + "requestUri": "/knowledgebases/{knowledgeBaseId}", + "responseCode": 202 + }, + "input": { + "type": "structure", + "required": [ + "knowledgeBaseId" + ], + "members": { + "knowledgeBaseId": { + "location": "uri", + "locationName": "knowledgeBaseId" + } + } + }, + "output": { + "type": "structure", + "required": [ + "knowledgeBaseId", + "status" + ], + "members": { + "knowledgeBaseId": {}, + "status": {} + } + }, + "idempotent": true + }, + "DeletePrompt": { + "http": { + "method": "DELETE", + "requestUri": "/prompts/{promptIdentifier}/", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "promptIdentifier" + ], + "members": { + "promptIdentifier": { + "location": "uri", + "locationName": "promptIdentifier" + }, + "promptVersion": { + "location": "querystring", + "locationName": "promptVersion" + } + } + }, + "output": { + "type": "structure", + "required": [ + "id" + ], + "members": { + "id": {}, + "version": {} + } + }, + "idempotent": true + }, + "DisassociateAgentKnowledgeBase": { + "http": { + "method": "DELETE", + "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", + "responseCode": 204 + }, + "input": { + "type": "structure", + "required": [ + "agentId", + "agentVersion", + "knowledgeBaseId" + ], + "members": { + "agentId": { + "location": "uri", + "locationName": "agentId" + }, + "agentVersion": { + "location": "uri", + "locationName": "agentVersion" + }, + "knowledgeBaseId": { + "location": "uri", + "locationName": "knowledgeBaseId" + } + } + }, + "output": { + "type": "structure", + "members": {} + }, + "idempotent": true + }, + "GetAgent": { + "http": { + "method": "GET", + "requestUri": "/agents/{agentId}/", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "agentId" + ], + "members": { + "agentId": { + "location": "uri", + "locationName": "agentId" + } + } + }, + "output": { + "type": "structure", + "required": [ + "agent" + ], + "members": { + "agent": { + "shape": "S18" + } + } + } + }, + "GetAgentActionGroup": { + "http": { + "method": "GET", + "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", + "responseCode": 200 + }, + "input": { "type": "structure", "required": [ "actionGroupId", @@ -616,7 +1048,7 @@ ], "members": { "agentActionGroup": { - "shape": "S1v" + "shape": "S1z" } } } @@ -651,7 +1083,7 @@ ], "members": { "agentAlias": { - "shape": "S21" + "shape": "S25" } } } @@ -750,7 +1182,7 @@ "customerEncryptionKeyArn": {}, "description": {}, "failureReasons": { - "shape": "S17" + "shape": "S1b" }, "foundationModel": {}, "guardrailConfiguration": { @@ -762,11 +1194,14 @@ "instruction": { "shape": "Sk" }, - "promptOverrideConfiguration": { + "memoryConfiguration": { "shape": "Sl" }, + "promptOverrideConfiguration": { + "shape": "Sp" + }, "recommendedActions": { - "shape": "S19" + "shape": "S1d" }, "updatedAt": { "shape": "S9" @@ -807,9 +1242,178 @@ ], "members": { "dataSource": { - "shape": "S2o" + "shape": "S4h" + } + } + } + }, + "GetFlow": { + "http": { + "method": "GET", + "requestUri": "/flows/{flowIdentifier}/", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "flowIdentifier" + ], + "members": { + "flowIdentifier": { + "location": "uri", + "locationName": "flowIdentifier" + } + } + }, + "output": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "executionRoleArn", + "id", + "name", + "status", + "updatedAt", + "version" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "customerEncryptionKeyArn": {}, + "definition": { + "shape": "S4k" + }, + "description": {}, + "executionRoleArn": {}, + "id": {}, + "name": {}, + "status": {}, + "updatedAt": { + "shape": "S9" + }, + "validations": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "message", + "severity" + ], + "members": { + "message": {}, + "severity": {} + } + } + }, + "version": {} + } + } + }, + "GetFlowAlias": { + "http": { + "method": "GET", + "requestUri": "/flows/{flowIdentifier}/aliases/{aliasIdentifier}", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "aliasIdentifier", + "flowIdentifier" + ], + "members": { + "aliasIdentifier": { + "location": "uri", + "locationName": "aliasIdentifier" + }, + "flowIdentifier": { + "location": "uri", + "locationName": "flowIdentifier" + } + } + }, + "output": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "flowId", + "id", + "name", + "routingConfiguration", + "updatedAt" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "description": {}, + "flowId": {}, + "id": {}, + "name": {}, + "routingConfiguration": { + "shape": "S6f" + }, + "updatedAt": { + "shape": "S9" + } + } + } + }, + "GetFlowVersion": { + "http": { + "method": "GET", + "requestUri": "/flows/{flowIdentifier}/versions/{flowVersion}/", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "flowIdentifier", + "flowVersion" + ], + "members": { + "flowIdentifier": { + "location": "uri", + "locationName": "flowIdentifier" + }, + "flowVersion": { + "location": "uri", + "locationName": "flowVersion" } } + }, + "output": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "executionRoleArn", + "id", + "name", + "status", + "version" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "customerEncryptionKeyArn": {}, + "definition": { + "shape": "S4k" + }, + "description": {}, + "executionRoleArn": {}, + "id": {}, + "name": {}, + "status": {}, + "version": {} + } } }, "GetIngestionJob": { @@ -847,7 +1451,7 @@ ], "members": { "ingestionJob": { - "shape": "S4q" + "shape": "S9f" } } } @@ -877,52 +1481,104 @@ ], "members": { "knowledgeBase": { - "shape": "S3t" + "shape": "S7p" } } } }, - "ListAgentActionGroups": { + "GetPrompt": { "http": { - "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/", + "method": "GET", + "requestUri": "/prompts/{promptIdentifier}/", "responseCode": 200 }, "input": { "type": "structure", "required": [ - "agentId", - "agentVersion" + "promptIdentifier" ], "members": { - "agentId": { - "location": "uri", - "locationName": "agentId" - }, - "agentVersion": { + "promptIdentifier": { "location": "uri", - "locationName": "agentVersion" - }, - "maxResults": { - "type": "integer" + "locationName": "promptIdentifier" }, - "nextToken": {} + "promptVersion": { + "location": "querystring", + "locationName": "promptVersion" + } } }, "output": { "type": "structure", "required": [ - "actionGroupSummaries" + "arn", + "createdAt", + "id", + "name", + "updatedAt", + "version" ], "members": { - "actionGroupSummaries": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "actionGroupId", - "actionGroupName", - "actionGroupState", - "updatedAt" + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "customerEncryptionKeyArn": {}, + "defaultVariant": {}, + "description": {}, + "id": {}, + "name": {}, + "updatedAt": { + "shape": "S9" + }, + "variants": { + "shape": "S7w" + }, + "version": {} + } + } + }, + "ListAgentActionGroups": { + "http": { + "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "agentId", + "agentVersion" + ], + "members": { + "agentId": { + "location": "uri", + "locationName": "agentId" + }, + "agentVersion": { + "location": "uri", + "locationName": "agentVersion" + }, + "maxResults": { + "type": "integer" + }, + "nextToken": {} + } + }, + "output": { + "type": "structure", + "required": [ + "actionGroupSummaries" + ], + "members": { + "actionGroupSummaries": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "actionGroupId", + "actionGroupName", + "actionGroupState", + "updatedAt" ], "members": { "actionGroupId": {}, @@ -986,7 +1642,7 @@ }, "description": {}, "routingConfiguration": { - "shape": "S1x" + "shape": "S21" }, "updatedAt": { "shape": "S9" @@ -1215,6 +1871,192 @@ } } }, + "ListFlowAliases": { + "http": { + "method": "GET", + "requestUri": "/flows/{flowIdentifier}/aliases", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "flowIdentifier" + ], + "members": { + "flowIdentifier": { + "location": "uri", + "locationName": "flowIdentifier" + }, + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "type": "integer" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "output": { + "type": "structure", + "required": [ + "flowAliasSummaries" + ], + "members": { + "flowAliasSummaries": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "flowId", + "id", + "name", + "routingConfiguration", + "updatedAt" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "description": {}, + "flowId": {}, + "id": {}, + "name": {}, + "routingConfiguration": { + "shape": "S6f" + }, + "updatedAt": { + "shape": "S9" + } + } + } + }, + "nextToken": {} + } + } + }, + "ListFlowVersions": { + "http": { + "method": "GET", + "requestUri": "/flows/{flowIdentifier}/versions", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "flowIdentifier" + ], + "members": { + "flowIdentifier": { + "location": "uri", + "locationName": "flowIdentifier" + }, + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "type": "integer" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "output": { + "type": "structure", + "required": [ + "flowVersionSummaries" + ], + "members": { + "flowVersionSummaries": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "id", + "status", + "version" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "id": {}, + "status": {}, + "version": {} + } + } + }, + "nextToken": {} + } + } + }, + "ListFlows": { + "http": { + "method": "GET", + "requestUri": "/flows/", + "responseCode": 200 + }, + "input": { + "type": "structure", + "members": { + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "type": "integer" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "output": { + "type": "structure", + "required": [ + "flowSummaries" + ], + "members": { + "flowSummaries": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "id", + "name", + "status", + "updatedAt", + "version" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "description": {}, + "id": {}, + "name": {}, + "status": {}, + "updatedAt": { + "shape": "S9" + }, + "version": {} + } + } + }, + "nextToken": {} + } + } + }, "ListIngestionJobs": { "http": { "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", @@ -1298,7 +2140,7 @@ "shape": "S9" }, "statistics": { - "shape": "S4r" + "shape": "S9g" }, "status": {}, "updatedAt": { @@ -1356,6 +2198,67 @@ } } }, + "ListPrompts": { + "http": { + "method": "GET", + "requestUri": "/prompts/", + "responseCode": 200 + }, + "input": { + "type": "structure", + "members": { + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "type": "integer" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken" + }, + "promptIdentifier": { + "location": "querystring", + "locationName": "promptIdentifier" + } + } + }, + "output": { + "type": "structure", + "required": [ + "promptSummaries" + ], + "members": { + "nextToken": {}, + "promptSummaries": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "id", + "name", + "updatedAt", + "version" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "description": {}, + "id": {}, + "name": {}, + "updatedAt": { + "shape": "S9" + }, + "version": {} + } + } + } + } + } + }, "ListTagsForResource": { "http": { "method": "GET", @@ -1378,7 +2281,7 @@ "type": "structure", "members": { "tags": { - "shape": "S10" + "shape": "S14" } } } @@ -1418,42 +2321,71 @@ } } }, - "StartIngestionJob": { + "PrepareFlow": { "http": { - "method": "PUT", - "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", + "requestUri": "/flows/{flowIdentifier}/", "responseCode": 202 }, "input": { "type": "structure", "required": [ - "dataSourceId", - "knowledgeBaseId" + "flowIdentifier" ], "members": { - "clientToken": { - "idempotencyToken": true - }, - "dataSourceId": { - "location": "uri", - "locationName": "dataSourceId" - }, - "description": {}, - "knowledgeBaseId": { + "flowIdentifier": { "location": "uri", - "locationName": "knowledgeBaseId" + "locationName": "flowIdentifier" } } }, "output": { "type": "structure", "required": [ - "ingestionJob" + "id", + "status" ], "members": { - "ingestionJob": { - "shape": "S4q" - } + "id": {}, + "status": {} + } + } + }, + "StartIngestionJob": { + "http": { + "method": "PUT", + "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", + "responseCode": 202 + }, + "input": { + "type": "structure", + "required": [ + "dataSourceId", + "knowledgeBaseId" + ], + "members": { + "clientToken": { + "idempotencyToken": true + }, + "dataSourceId": { + "location": "uri", + "locationName": "dataSourceId" + }, + "description": {}, + "knowledgeBaseId": { + "location": "uri", + "locationName": "knowledgeBaseId" + } + } + }, + "output": { + "type": "structure", + "required": [ + "ingestionJob" + ], + "members": { + "ingestionJob": { + "shape": "S9f" + } } }, "idempotent": true @@ -1475,7 +2407,7 @@ "locationName": "resourceArn" }, "tags": { - "shape": "S10" + "shape": "S14" } } }, @@ -1548,8 +2480,11 @@ "instruction": { "shape": "Sk" }, - "promptOverrideConfiguration": { + "memoryConfiguration": { "shape": "Sl" + }, + "promptOverrideConfiguration": { + "shape": "Sp" } } }, @@ -1560,7 +2495,7 @@ ], "members": { "agent": { - "shape": "S14" + "shape": "S18" } } }, @@ -1582,7 +2517,7 @@ ], "members": { "actionGroupExecutor": { - "shape": "S1c" + "shape": "S1g" }, "actionGroupId": { "location": "uri", @@ -1599,11 +2534,11 @@ "locationName": "agentVersion" }, "apiSchema": { - "shape": "S1f" + "shape": "S1j" }, "description": {}, "functionSchema": { - "shape": "S1k" + "shape": "S1o" }, "parentActionGroupSignature": {} } @@ -1615,7 +2550,7 @@ ], "members": { "agentActionGroup": { - "shape": "S1v" + "shape": "S1z" } } }, @@ -1646,7 +2581,7 @@ }, "description": {}, "routingConfiguration": { - "shape": "S1x" + "shape": "S21" } } }, @@ -1657,7 +2592,7 @@ ], "members": { "agentAlias": { - "shape": "S21" + "shape": "S25" } } }, @@ -1723,7 +2658,7 @@ "members": { "dataDeletionPolicy": {}, "dataSourceConfiguration": { - "shape": "S29" + "shape": "S2d" }, "dataSourceId": { "location": "uri", @@ -1736,10 +2671,10 @@ }, "name": {}, "serverSideEncryptionConfiguration": { - "shape": "S2g" + "shape": "S3l" }, "vectorIngestionConfiguration": { - "shape": "S2h" + "shape": "S3m" } } }, @@ -1750,7 +2685,128 @@ ], "members": { "dataSource": { - "shape": "S2o" + "shape": "S4h" + } + } + }, + "idempotent": true + }, + "UpdateFlow": { + "http": { + "method": "PUT", + "requestUri": "/flows/{flowIdentifier}/", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "executionRoleArn", + "flowIdentifier", + "name" + ], + "members": { + "customerEncryptionKeyArn": {}, + "definition": { + "shape": "S4k" + }, + "description": {}, + "executionRoleArn": {}, + "flowIdentifier": { + "location": "uri", + "locationName": "flowIdentifier" + }, + "name": {} + } + }, + "output": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "executionRoleArn", + "id", + "name", + "status", + "updatedAt", + "version" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "customerEncryptionKeyArn": {}, + "definition": { + "shape": "S4k" + }, + "description": {}, + "executionRoleArn": {}, + "id": {}, + "name": {}, + "status": {}, + "updatedAt": { + "shape": "S9" + }, + "version": {} + } + }, + "idempotent": true + }, + "UpdateFlowAlias": { + "http": { + "method": "PUT", + "requestUri": "/flows/{flowIdentifier}/aliases/{aliasIdentifier}", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "aliasIdentifier", + "flowIdentifier", + "name", + "routingConfiguration" + ], + "members": { + "aliasIdentifier": { + "location": "uri", + "locationName": "aliasIdentifier" + }, + "description": {}, + "flowIdentifier": { + "location": "uri", + "locationName": "flowIdentifier" + }, + "name": {}, + "routingConfiguration": { + "shape": "S6f" + } + } + }, + "output": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "flowId", + "id", + "name", + "routingConfiguration", + "updatedAt" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "description": {}, + "flowId": {}, + "id": {}, + "name": {}, + "routingConfiguration": { + "shape": "S6f" + }, + "updatedAt": { + "shape": "S9" } } }, @@ -1774,7 +2830,7 @@ "members": { "description": {}, "knowledgeBaseConfiguration": { - "shape": "S2r" + "shape": "S6o" }, "knowledgeBaseId": { "location": "uri", @@ -1783,7 +2839,7 @@ "name": {}, "roleArn": {}, "storageConfiguration": { - "shape": "S2z" + "shape": "S6w" } } }, @@ -1794,10 +2850,67 @@ ], "members": { "knowledgeBase": { - "shape": "S3t" + "shape": "S7p" + } + } + }, + "idempotent": true + }, + "UpdatePrompt": { + "http": { + "method": "PUT", + "requestUri": "/prompts/{promptIdentifier}/", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "name", + "promptIdentifier" + ], + "members": { + "customerEncryptionKeyArn": {}, + "defaultVariant": {}, + "description": {}, + "name": {}, + "promptIdentifier": { + "location": "uri", + "locationName": "promptIdentifier" + }, + "variants": { + "shape": "S7w" } } }, + "output": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "id", + "name", + "updatedAt", + "version" + ], + "members": { + "arn": {}, + "createdAt": { + "shape": "S9" + }, + "customerEncryptionKeyArn": {}, + "defaultVariant": {}, + "description": {}, + "id": {}, + "name": {}, + "updatedAt": { + "shape": "S9" + }, + "variants": { + "shape": "S7w" + }, + "version": {} + } + }, "idempotent": true } }, @@ -1843,6 +2956,21 @@ "sensitive": true }, "Sl": { + "type": "structure", + "required": [ + "enabledMemoryTypes" + ], + "members": { + "enabledMemoryTypes": { + "type": "list", + "member": {} + }, + "storageDays": { + "type": "integer" + } + } + }, + "Sp": { "type": "structure", "required": [ "promptConfigurations" @@ -1854,7 +2982,10 @@ "member": { "type": "structure", "members": { - "basePromptTemplate": {}, + "basePromptTemplate": { + "type": "string", + "sensitive": true + }, "inferenceConfiguration": { "type": "structure", "members": { @@ -1862,8 +2993,7 @@ "type": "integer" }, "stopSequences": { - "type": "list", - "member": {} + "shape": "Sw" }, "temperature": { "type": "float" @@ -1886,12 +3016,16 @@ }, "sensitive": true }, - "S10": { + "Sw": { + "type": "list", + "member": {} + }, + "S14": { "type": "map", "key": {}, "value": {} }, - "S14": { + "S18": { "type": "structure", "required": [ "agentArn", @@ -1918,7 +3052,7 @@ "customerEncryptionKeyArn": {}, "description": {}, "failureReasons": { - "shape": "S17" + "shape": "S1b" }, "foundationModel": {}, "guardrailConfiguration": { @@ -1930,29 +3064,32 @@ "instruction": { "shape": "Sk" }, + "memoryConfiguration": { + "shape": "Sl" + }, "preparedAt": { "shape": "S9" }, "promptOverrideConfiguration": { - "shape": "Sl" + "shape": "Sp" }, "recommendedActions": { - "shape": "S19" + "shape": "S1d" }, "updatedAt": { "shape": "S9" } } }, - "S17": { + "S1b": { "type": "list", "member": {} }, - "S19": { + "S1d": { "type": "list", "member": {} }, - "S1c": { + "S1g": { "type": "structure", "members": { "customControl": {}, @@ -1960,7 +3097,7 @@ }, "union": true }, - "S1f": { + "S1j": { "type": "structure", "members": { "payload": { @@ -1977,7 +3114,7 @@ }, "union": true }, - "S1k": { + "S1o": { "type": "structure", "members": { "functions": { @@ -2013,7 +3150,7 @@ }, "union": true }, - "S1v": { + "S1z": { "type": "structure", "required": [ "actionGroupId", @@ -2026,7 +3163,7 @@ ], "members": { "actionGroupExecutor": { - "shape": "S1c" + "shape": "S1g" }, "actionGroupId": {}, "actionGroupName": {}, @@ -2034,7 +3171,7 @@ "agentId": {}, "agentVersion": {}, "apiSchema": { - "shape": "S1f" + "shape": "S1j" }, "clientToken": {}, "createdAt": { @@ -2042,7 +3179,7 @@ }, "description": {}, "functionSchema": { - "shape": "S1k" + "shape": "S1o" }, "parentActionSignature": {}, "updatedAt": { @@ -2050,7 +3187,7 @@ } } }, - "S1x": { + "S21": { "type": "list", "member": { "type": "structure", @@ -2060,7 +3197,7 @@ } } }, - "S21": { + "S25": { "type": "structure", "required": [ "agentAliasArn", @@ -2083,7 +3220,7 @@ "shape": "S9" }, "routingConfiguration": { - "shape": "S1x" + "shape": "S21" }, "startDate": { "shape": "S9" @@ -2101,22 +3238,53 @@ }, "description": {}, "failureReasons": { - "shape": "S17" + "shape": "S1b" }, "routingConfiguration": { - "shape": "S1x" + "shape": "S21" }, "updatedAt": { "shape": "S9" } } }, - "S29": { + "S2d": { "type": "structure", "required": [ "type" ], "members": { + "confluenceConfiguration": { + "type": "structure", + "required": [ + "sourceConfiguration" + ], + "members": { + "crawlerConfiguration": { + "type": "structure", + "members": { + "filterConfiguration": { + "shape": "S2g" + } + } + }, + "sourceConfiguration": { + "type": "structure", + "required": [ + "authType", + "credentialsSecretArn", + "hostType", + "hostUrl" + ], + "members": { + "authType": {}, + "credentialsSecretArn": {}, + "hostType": {}, + "hostUrl": {} + } + } + } + }, "s3Configuration": { "type": "structure", "required": [ @@ -2127,20 +3295,186 @@ "bucketOwnerAccountId": {}, "inclusionPrefixes": { "type": "list", - "member": {} + "member": { + "type": "string", + "sensitive": true + } } } }, - "type": {} + "salesforceConfiguration": { + "type": "structure", + "required": [ + "sourceConfiguration" + ], + "members": { + "crawlerConfiguration": { + "type": "structure", + "members": { + "filterConfiguration": { + "shape": "S2g" + } + } + }, + "sourceConfiguration": { + "type": "structure", + "required": [ + "authType", + "credentialsSecretArn", + "hostUrl" + ], + "members": { + "authType": {}, + "credentialsSecretArn": {}, + "hostUrl": {} + } + } + } + }, + "sharePointConfiguration": { + "type": "structure", + "required": [ + "sourceConfiguration" + ], + "members": { + "crawlerConfiguration": { + "type": "structure", + "members": { + "filterConfiguration": { + "shape": "S2g" + } + } + }, + "sourceConfiguration": { + "type": "structure", + "required": [ + "authType", + "credentialsSecretArn", + "domain", + "hostType", + "siteUrls" + ], + "members": { + "authType": {}, + "credentialsSecretArn": {}, + "domain": {}, + "hostType": {}, + "siteUrls": { + "type": "list", + "member": {} + }, + "tenantId": {} + } + } + } + }, + "type": {}, + "webConfiguration": { + "type": "structure", + "required": [ + "sourceConfiguration" + ], + "members": { + "crawlerConfiguration": { + "type": "structure", + "members": { + "crawlerLimits": { + "type": "structure", + "members": { + "rateLimit": { + "type": "integer" + } + } + }, + "exclusionFilters": { + "shape": "S2k" + }, + "inclusionFilters": { + "shape": "S2k" + }, + "scope": {} + } + }, + "sourceConfiguration": { + "type": "structure", + "required": [ + "urlConfiguration" + ], + "members": { + "urlConfiguration": { + "type": "structure", + "members": { + "seedUrls": { + "type": "list", + "member": { + "type": "structure", + "members": { + "url": {} + } + } + } + } + } + } + } + } + } } }, "S2g": { + "type": "structure", + "required": [ + "type" + ], + "members": { + "patternObjectFilter": { + "type": "structure", + "required": [ + "filters" + ], + "members": { + "filters": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "objectType" + ], + "members": { + "exclusionFilters": { + "shape": "S2k" + }, + "inclusionFilters": { + "shape": "S2k" + }, + "objectType": { + "type": "string", + "sensitive": true + } + } + }, + "sensitive": true + } + } + }, + "type": {} + } + }, + "S2k": { + "type": "list", + "member": { + "type": "string", + "sensitive": true + }, + "sensitive": true + }, + "S3l": { "type": "structure", "members": { "kmsKeyArn": {} } }, - "S2h": { + "S3m": { "type": "structure", "members": { "chunkingConfiguration": { @@ -2164,12 +3498,140 @@ "type": "integer" } } + }, + "hierarchicalChunkingConfiguration": { + "type": "structure", + "required": [ + "levelConfigurations", + "overlapTokens" + ], + "members": { + "levelConfigurations": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "maxTokens" + ], + "members": { + "maxTokens": { + "type": "integer" + } + } + } + }, + "overlapTokens": { + "type": "integer" + } + } + }, + "semanticChunkingConfiguration": { + "type": "structure", + "required": [ + "breakpointPercentileThreshold", + "bufferSize", + "maxTokens" + ], + "members": { + "breakpointPercentileThreshold": { + "type": "integer" + }, + "bufferSize": { + "type": "integer" + }, + "maxTokens": { + "type": "integer" + } + } } } + }, + "customTransformationConfiguration": { + "type": "structure", + "required": [ + "intermediateStorage", + "transformations" + ], + "members": { + "intermediateStorage": { + "type": "structure", + "required": [ + "s3Location" + ], + "members": { + "s3Location": { + "type": "structure", + "required": [ + "uri" + ], + "members": { + "uri": {} + } + } + } + }, + "transformations": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "stepToApply", + "transformationFunction" + ], + "members": { + "stepToApply": {}, + "transformationFunction": { + "type": "structure", + "required": [ + "transformationLambdaConfiguration" + ], + "members": { + "transformationLambdaConfiguration": { + "type": "structure", + "required": [ + "lambdaArn" + ], + "members": { + "lambdaArn": {} + } + } + } + } + } + } + } + } + }, + "parsingConfiguration": { + "type": "structure", + "required": [ + "parsingStrategy" + ], + "members": { + "bedrockFoundationModelConfiguration": { + "type": "structure", + "required": [ + "modelArn" + ], + "members": { + "modelArn": {}, + "parsingPrompt": { + "type": "structure", + "required": [ + "parsingPromptText" + ], + "members": { + "parsingPromptText": {} + } + } + } + }, + "parsingStrategy": {} + } } } }, - "S2o": { + "S4h": { "type": "structure", "required": [ "createdAt", @@ -2186,28 +3648,363 @@ }, "dataDeletionPolicy": {}, "dataSourceConfiguration": { - "shape": "S29" + "shape": "S2d" }, "dataSourceId": {}, "description": {}, "failureReasons": { - "shape": "S17" + "shape": "S1b" }, "knowledgeBaseId": {}, "name": {}, "serverSideEncryptionConfiguration": { - "shape": "S2g" + "shape": "S3l" }, "status": {}, "updatedAt": { "shape": "S9" }, "vectorIngestionConfiguration": { - "shape": "S2h" + "shape": "S3m" + } + } + }, + "S4k": { + "type": "structure", + "members": { + "connections": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "name", + "source", + "target", + "type" + ], + "members": { + "configuration": { + "type": "structure", + "members": { + "conditional": { + "type": "structure", + "required": [ + "condition" + ], + "members": { + "condition": {} + } + }, + "data": { + "type": "structure", + "required": [ + "sourceOutput", + "targetInput" + ], + "members": { + "sourceOutput": {}, + "targetInput": {} + } + } + }, + "union": true + }, + "name": {}, + "source": {}, + "target": {}, + "type": {} + } + } + }, + "nodes": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "name", + "type" + ], + "members": { + "configuration": { + "type": "structure", + "members": { + "agent": { + "type": "structure", + "required": [ + "agentAliasArn" + ], + "members": { + "agentAliasArn": {} + } + }, + "collector": { + "type": "structure", + "members": {} + }, + "condition": { + "type": "structure", + "required": [ + "conditions" + ], + "members": { + "conditions": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "name" + ], + "members": { + "expression": { + "type": "string", + "sensitive": true + }, + "name": {} + }, + "sensitive": true + }, + "sensitive": true + } + } + }, + "input": { + "type": "structure", + "members": {} + }, + "iterator": { + "type": "structure", + "members": {} + }, + "knowledgeBase": { + "type": "structure", + "required": [ + "knowledgeBaseId" + ], + "members": { + "knowledgeBaseId": {}, + "modelId": {} + } + }, + "lambdaFunction": { + "type": "structure", + "required": [ + "lambdaArn" + ], + "members": { + "lambdaArn": {} + } + }, + "lex": { + "type": "structure", + "required": [ + "botAliasArn", + "localeId" + ], + "members": { + "botAliasArn": {}, + "localeId": {} + } + }, + "output": { + "type": "structure", + "members": {} + }, + "prompt": { + "type": "structure", + "required": [ + "sourceConfiguration" + ], + "members": { + "sourceConfiguration": { + "type": "structure", + "members": { + "inline": { + "type": "structure", + "required": [ + "modelId", + "templateConfiguration", + "templateType" + ], + "members": { + "inferenceConfiguration": { + "shape": "S5h" + }, + "modelId": {}, + "templateConfiguration": { + "shape": "S5k" + }, + "templateType": {} + } + }, + "resource": { + "type": "structure", + "required": [ + "promptArn" + ], + "members": { + "promptArn": {} + } + } + }, + "union": true + } + } + }, + "retrieval": { + "type": "structure", + "required": [ + "serviceConfiguration" + ], + "members": { + "serviceConfiguration": { + "type": "structure", + "members": { + "s3": { + "type": "structure", + "required": [ + "bucketName" + ], + "members": { + "bucketName": {} + } + } + }, + "union": true + } + } + }, + "storage": { + "type": "structure", + "required": [ + "serviceConfiguration" + ], + "members": { + "serviceConfiguration": { + "type": "structure", + "members": { + "s3": { + "type": "structure", + "required": [ + "bucketName" + ], + "members": { + "bucketName": {} + } + } + }, + "union": true + } + } + } + }, + "union": true + }, + "inputs": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "expression", + "name", + "type" + ], + "members": { + "expression": { + "type": "string", + "sensitive": true + }, + "name": {}, + "type": {} + } + } + }, + "name": {}, + "outputs": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "name", + "type" + ], + "members": { + "name": {}, + "type": {} + } + } + }, + "type": {} + } + }, + "sensitive": true } } }, - "S2r": { + "S5h": { + "type": "structure", + "members": { + "text": { + "type": "structure", + "members": { + "maxTokens": { + "type": "integer" + }, + "stopSequences": { + "shape": "Sw" + }, + "temperature": { + "type": "float" + }, + "topK": { + "type": "integer" + }, + "topP": { + "type": "float" + } + } + } + }, + "union": true + }, + "S5k": { + "type": "structure", + "members": { + "text": { + "type": "structure", + "required": [ + "text" + ], + "members": { + "inputVariables": { + "type": "list", + "member": { + "type": "structure", + "members": { + "name": {} + } + }, + "sensitive": true + }, + "text": { + "type": "string", + "sensitive": true + } + }, + "sensitive": true + } + }, + "union": true + }, + "S6f": { + "type": "list", + "member": { + "type": "structure", + "members": { + "flowVersion": {} + } + } + }, + "S6o": { "type": "structure", "required": [ "type" @@ -2238,7 +4035,7 @@ } } }, - "S2z": { + "S6w": { "type": "structure", "required": [ "type" @@ -2386,7 +4183,7 @@ "type": {} } }, - "S3t": { + "S7p": { "type": "structure", "required": [ "createdAt", @@ -2405,25 +4202,48 @@ }, "description": {}, "failureReasons": { - "shape": "S17" + "shape": "S1b" }, "knowledgeBaseArn": {}, "knowledgeBaseConfiguration": { - "shape": "S2r" + "shape": "S6o" }, "knowledgeBaseId": {}, "name": {}, "roleArn": {}, "status": {}, "storageConfiguration": { - "shape": "S2z" + "shape": "S6w" }, "updatedAt": { "shape": "S9" } } }, - "S4q": { + "S7w": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "name", + "templateType" + ], + "members": { + "inferenceConfiguration": { + "shape": "S5h" + }, + "modelId": {}, + "name": {}, + "templateConfiguration": { + "shape": "S5k" + }, + "templateType": {} + }, + "sensitive": true + }, + "sensitive": true + }, + "S9f": { "type": "structure", "required": [ "dataSourceId", @@ -2437,7 +4257,7 @@ "dataSourceId": {}, "description": {}, "failureReasons": { - "shape": "S17" + "shape": "S1b" }, "ingestionJobId": {}, "knowledgeBaseId": {}, @@ -2445,7 +4265,7 @@ "shape": "S9" }, "statistics": { - "shape": "S4r" + "shape": "S9g" }, "status": {}, "updatedAt": { @@ -2453,7 +4273,7 @@ } } }, - "S4r": { + "S9g": { "type": "structure", "members": { "numberOfDocumentsDeleted": { diff --git a/apis/bedrock-agent-2023-06-05.normal.json b/apis/bedrock-agent-2023-06-05.normal.json index 2373bcb7ee..fffe0d0033 100644 --- a/apis/bedrock-agent-2023-06-05.normal.json +++ b/apis/bedrock-agent-2023-06-05.normal.json @@ -84,7 +84,7 @@ "shape": "ServiceQuotaExceededException" } ], - "documentation": "Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.
Specify the following fields for security purposes.
agentResourceRoleArn
– The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent.
(Optional) customerEncryptionKeyArn
– The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.
(Optional) idleSessionTTLinSeconds
– Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeAgent
request begins a new session.
To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration
object. For more information, see Advanced prompts.
If you agent fails to be created, the response returns a list of failureReasons
alongside a list of recommendedActions
for you to troubleshoot.
Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers.
Specify the following fields for security purposes.
agentResourceRoleArn
– The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent.
(Optional) customerEncryptionKeyArn
– The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.
(Optional) idleSessionTTLinSeconds
– Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeAgent
request begins a new session.
To enable your agent to retain conversational context across multiple sessions, include a memoryConfiguration
object. For more information, see Configure memory.
To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration
object. For more information, see Advanced prompts.
If you agent fails to be created, the response returns a list of failureReasons
alongside a list of recommendedActions
for you to troubleshoot.
Creates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them.
To allow your agent to request the user for additional information when trying to complete a task, add an action group with the parentActionGroupSignature
field set to AMAZON.UserInput
. You must leave the description
, apiSchema
, and actionGroupExecutor
fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
Creates an action group for an agent. An action group represents the actions that an agent can carry out for the customer by defining the APIs that an agent can call and the logic for calling them.
To allow your agent to request the user for additional information when trying to complete a task, add an action group with the parentActionGroupSignature
field set to AMAZON.UserInput
.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, add an action group with the parentActionGroupSignature
field set to AMAZON.CodeInterpreter
.
You must leave the description
, apiSchema
, and actionGroupExecutor
fields blank for this action group. During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
Sets up a data source to be added to a knowledge base.
You can't change the chunkingConfiguration
after you create the data source.
Creates a data source connector for a knowledge base.
You can't change the chunkingConfiguration
after you create the data source connector.
Creates a knowledge base that contains data sources from which information can be queried and used by LLMs. To create a knowledge base, you must first set up your data sources and configure a supported vector store. For more information, see Set up your data for ingestion.
If you prefer to let Amazon Bedrock create and manage a vector store for you in Amazon OpenSearch Service, use the console. For more information, see Create a knowledge base.
Provide the name
and an optional description
.
Provide the Amazon Resource Name (ARN) with permissions to create a knowledge base in the roleArn
field.
Provide the embedding model to use in the embeddingModelArn
field in the knowledgeBaseConfiguration
object.
Provide the configuration for your vector store in the storageConfiguration
object.
For an Amazon OpenSearch Service database, use the opensearchServerlessConfiguration
object. For more information, see Create a vector store in Amazon OpenSearch Service.
For an Amazon Aurora database, use the RdsConfiguration
object. For more information, see Create a vector store in Amazon Aurora.
For a Pinecone database, use the pineconeConfiguration
object. For more information, see Create a vector store in Pinecone.
For a Redis Enterprise Cloud database, use the redisEnterpriseCloudConfiguration
object. For more information, see Create a vector store in Redis Enterprise Cloud.
Creates a prompt flow that you can use to send an input through various steps to yield an output. Configure nodes, each of which corresponds to a step of the flow, and create connections between the nodes to create paths to different outputs. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", "idempotent": true }, - "DeleteAgent": { - "name": "DeleteAgent", + "CreateFlowAlias": { + "name": "CreateFlowAlias", "http": { - "method": "DELETE", - "requestUri": "/agents/{agentId}/", - "responseCode": 202 + "method": "POST", + "requestUri": "/flows/{flowIdentifier}/aliases", + "responseCode": 201 }, "input": { - "shape": "DeleteAgentRequest" + "shape": "CreateFlowAliasRequest" }, "output": { - "shape": "DeleteAgentResponse" + "shape": "CreateFlowAliasResponse" }, "errors": [ { @@ -271,23 +271,26 @@ }, { "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" } ], - "documentation": "Deletes an agent.
", + "documentation": "Creates an alias of a flow for deployment. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", "idempotent": true }, - "DeleteAgentActionGroup": { - "name": "DeleteAgentActionGroup", + "CreateFlowVersion": { + "name": "CreateFlowVersion", "http": { - "method": "DELETE", - "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", - "responseCode": 204 + "method": "POST", + "requestUri": "/flows/{flowIdentifier}/versions", + "responseCode": 201 }, "input": { - "shape": "DeleteAgentActionGroupRequest" + "shape": "CreateFlowVersionRequest" }, "output": { - "shape": "DeleteAgentActionGroupResponse" + "shape": "CreateFlowVersionResponse" }, "errors": [ { @@ -307,23 +310,26 @@ }, { "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" } ], - "documentation": "Deletes an action group in an agent.
", + "documentation": "Creates a version of the flow that you can deploy. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", "idempotent": true }, - "DeleteAgentAlias": { - "name": "DeleteAgentAlias", + "CreateKnowledgeBase": { + "name": "CreateKnowledgeBase", "http": { - "method": "DELETE", - "requestUri": "/agents/{agentId}/agentaliases/{agentAliasId}/", + "method": "PUT", + "requestUri": "/knowledgebases/", "responseCode": 202 }, "input": { - "shape": "DeleteAgentAliasRequest" + "shape": "CreateKnowledgeBaseRequest" }, "output": { - "shape": "DeleteAgentAliasResponse" + "shape": "CreateKnowledgeBaseResponse" }, "errors": [ { @@ -339,24 +345,27 @@ "shape": "InternalServerException" }, { - "shape": "ResourceNotFoundException" + "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" } ], - "documentation": "Deletes an alias of an agent.
", + "documentation": "Creates a knowledge base that contains data sources from which information can be queried and used by LLMs. To create a knowledge base, you must first set up your data sources and configure a supported vector store. For more information, see Set up your data for ingestion.
If you prefer to let Amazon Bedrock create and manage a vector store for you in Amazon OpenSearch Service, use the console. For more information, see Create a knowledge base.
Provide the name
and an optional description
.
Provide the Amazon Resource Name (ARN) with permissions to create a knowledge base in the roleArn
field.
Provide the embedding model to use in the embeddingModelArn
field in the knowledgeBaseConfiguration
object.
Provide the configuration for your vector store in the storageConfiguration
object.
For an Amazon OpenSearch Service database, use the opensearchServerlessConfiguration
object. For more information, see Create a vector store in Amazon OpenSearch Service.
For an Amazon Aurora database, use the RdsConfiguration
object. For more information, see Create a vector store in Amazon Aurora.
For a Pinecone database, use the pineconeConfiguration
object. For more information, see Create a vector store in Pinecone.
For a Redis Enterprise Cloud database, use the redisEnterpriseCloudConfiguration
object. For more information, see Create a vector store in Redis Enterprise Cloud.
Deletes a version of an agent.
", + "documentation": "Creates a prompt in your prompt library that you can add to a flow. For more information, see Prompt management in Amazon Bedrock, Create a prompt using Prompt management and Prompt flows in Amazon Bedrock in the Amazon Bedrock User Guide.
", "idempotent": true }, - "DeleteDataSource": { - "name": "DeleteDataSource", + "CreatePromptVersion": { + "name": "CreatePromptVersion", "http": { - "method": "DELETE", - "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", - "responseCode": 202 + "method": "POST", + "requestUri": "/prompts/{promptIdentifier}/versions", + "responseCode": 201 }, "input": { - "shape": "DeleteDataSourceRequest" + "shape": "CreatePromptVersionRequest" }, "output": { - "shape": "DeleteDataSourceResponse" + "shape": "CreatePromptVersionResponse" }, "errors": [ { @@ -412,23 +421,26 @@ }, { "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" } ], - "documentation": "Deletes a data source from a knowledge base.
", + "documentation": "Creates a static snapshot of your prompt that can be deployed to production. For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.
", "idempotent": true }, - "DeleteKnowledgeBase": { - "name": "DeleteKnowledgeBase", + "DeleteAgent": { + "name": "DeleteAgent", "http": { "method": "DELETE", - "requestUri": "/knowledgebases/{knowledgeBaseId}", + "requestUri": "/agents/{agentId}/", "responseCode": 202 }, "input": { - "shape": "DeleteKnowledgeBaseRequest" + "shape": "DeleteAgentRequest" }, "output": { - "shape": "DeleteKnowledgeBaseResponse" + "shape": "DeleteAgentResponse" }, "errors": [ { @@ -450,21 +462,21 @@ "shape": "ConflictException" } ], - "documentation": "Deletes a knowledge base. Before deleting a knowledge base, you should disassociate the knowledge base from any agents that it is associated with by making a DisassociateAgentKnowledgeBase request.
", + "documentation": "Deletes an agent.
", "idempotent": true }, - "DisassociateAgentKnowledgeBase": { - "name": "DisassociateAgentKnowledgeBase", + "DeleteAgentActionGroup": { + "name": "DeleteAgentActionGroup", "http": { "method": "DELETE", - "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", + "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", "responseCode": 204 }, "input": { - "shape": "DisassociateAgentKnowledgeBaseRequest" + "shape": "DeleteAgentActionGroupRequest" }, "output": { - "shape": "DisassociateAgentKnowledgeBaseResponse" + "shape": "DeleteAgentActionGroupResponse" }, "errors": [ { @@ -486,21 +498,21 @@ "shape": "ConflictException" } ], - "documentation": "Disassociates a knowledge base from an agent.
", + "documentation": "Deletes an action group in an agent.
", "idempotent": true }, - "GetAgent": { - "name": "GetAgent", + "DeleteAgentAlias": { + "name": "DeleteAgentAlias", "http": { - "method": "GET", - "requestUri": "/agents/{agentId}/", - "responseCode": 200 + "method": "DELETE", + "requestUri": "/agents/{agentId}/agentaliases/{agentAliasId}/", + "responseCode": 202 }, "input": { - "shape": "GetAgentRequest" + "shape": "DeleteAgentAliasRequest" }, "output": { - "shape": "GetAgentResponse" + "shape": "DeleteAgentAliasResponse" }, "errors": [ { @@ -519,20 +531,21 @@ "shape": "ResourceNotFoundException" } ], - "documentation": "Gets information about an agent.
" + "documentation": "Deletes an alias of an agent.
", + "idempotent": true }, - "GetAgentActionGroup": { - "name": "GetAgentActionGroup", + "DeleteAgentVersion": { + "name": "DeleteAgentVersion", "http": { - "method": "GET", - "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", - "responseCode": 200 + "method": "DELETE", + "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/", + "responseCode": 202 }, "input": { - "shape": "GetAgentActionGroupRequest" + "shape": "DeleteAgentVersionRequest" }, "output": { - "shape": "GetAgentActionGroupResponse" + "shape": "DeleteAgentVersionResponse" }, "errors": [ { @@ -549,22 +562,26 @@ }, { "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" } ], - "documentation": "Gets information about an action group for an agent.
" + "documentation": "Deletes a version of an agent.
", + "idempotent": true }, - "GetAgentAlias": { - "name": "GetAgentAlias", + "DeleteDataSource": { + "name": "DeleteDataSource", "http": { - "method": "GET", - "requestUri": "/agents/{agentId}/agentaliases/{agentAliasId}/", - "responseCode": 200 + "method": "DELETE", + "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", + "responseCode": 202 }, "input": { - "shape": "GetAgentAliasRequest" + "shape": "DeleteDataSourceRequest" }, "output": { - "shape": "GetAgentAliasResponse" + "shape": "DeleteDataSourceResponse" }, "errors": [ { @@ -581,22 +598,26 @@ }, { "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" } ], - "documentation": "Gets information about an alias of an agent.
" + "documentation": "Deletes a data source from a knowledge base.
", + "idempotent": true }, - "GetAgentKnowledgeBase": { - "name": "GetAgentKnowledgeBase", + "DeleteFlow": { + "name": "DeleteFlow", "http": { - "method": "GET", - "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", + "method": "DELETE", + "requestUri": "/flows/{flowIdentifier}/", "responseCode": 200 }, "input": { - "shape": "GetAgentKnowledgeBaseRequest" + "shape": "DeleteFlowRequest" }, "output": { - "shape": "GetAgentKnowledgeBaseResponse" + "shape": "DeleteFlowResponse" }, "errors": [ { @@ -613,22 +634,26 @@ }, { "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" } ], - "documentation": "Gets information about a knowledge base associated with an agent.
" + "documentation": "Deletes a flow.
", + "idempotent": true }, - "GetAgentVersion": { - "name": "GetAgentVersion", + "DeleteFlowAlias": { + "name": "DeleteFlowAlias", "http": { - "method": "GET", - "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/", + "method": "DELETE", + "requestUri": "/flows/{flowIdentifier}/aliases/{aliasIdentifier}", "responseCode": 200 }, "input": { - "shape": "GetAgentVersionRequest" + "shape": "DeleteFlowAliasRequest" }, "output": { - "shape": "GetAgentVersionResponse" + "shape": "DeleteFlowAliasResponse" }, "errors": [ { @@ -645,22 +670,26 @@ }, { "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" } ], - "documentation": "Gets details about a version of an agent.
" + "documentation": "Deletes an alias of a flow.
", + "idempotent": true }, - "GetDataSource": { - "name": "GetDataSource", + "DeleteFlowVersion": { + "name": "DeleteFlowVersion", "http": { - "method": "GET", - "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", + "method": "DELETE", + "requestUri": "/flows/{flowIdentifier}/versions/{flowVersion}/", "responseCode": 200 }, "input": { - "shape": "GetDataSourceRequest" + "shape": "DeleteFlowVersionRequest" }, "output": { - "shape": "GetDataSourceResponse" + "shape": "DeleteFlowVersionResponse" }, "errors": [ { @@ -677,22 +706,26 @@ }, { "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" } ], - "documentation": "Gets information about a data source.
" + "documentation": "Deletes a version of a flow.
", + "idempotent": true }, - "GetIngestionJob": { - "name": "GetIngestionJob", + "DeleteKnowledgeBase": { + "name": "DeleteKnowledgeBase", "http": { - "method": "GET", - "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}", - "responseCode": 200 + "method": "DELETE", + "requestUri": "/knowledgebases/{knowledgeBaseId}", + "responseCode": 202 }, "input": { - "shape": "GetIngestionJobRequest" + "shape": "DeleteKnowledgeBaseRequest" }, "output": { - "shape": "GetIngestionJobResponse" + "shape": "DeleteKnowledgeBaseResponse" }, "errors": [ { @@ -709,22 +742,26 @@ }, { "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" } ], - "documentation": "Gets information about a ingestion job, in which a data source is added to a knowledge base.
" + "documentation": "Deletes a knowledge base. Before deleting a knowledge base, you should disassociate the knowledge base from any agents that it is associated with by making a DisassociateAgentKnowledgeBase request.
", + "idempotent": true }, - "GetKnowledgeBase": { - "name": "GetKnowledgeBase", + "DeletePrompt": { + "name": "DeletePrompt", "http": { - "method": "GET", - "requestUri": "/knowledgebases/{knowledgeBaseId}", + "method": "DELETE", + "requestUri": "/prompts/{promptIdentifier}/", "responseCode": 200 }, "input": { - "shape": "GetKnowledgeBaseRequest" + "shape": "DeletePromptRequest" }, "output": { - "shape": "GetKnowledgeBaseResponse" + "shape": "DeletePromptResponse" }, "errors": [ { @@ -741,22 +778,26 @@ }, { "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" } ], - "documentation": "Gets information about a knoweldge base.
" + "documentation": "Deletes a prompt or a prompt version from the Prompt management tool. For more information, see Delete prompts from the Prompt management tool and Delete a version of a prompt from the Prompt management tool in the Amazon Bedrock User Guide.
", + "idempotent": true }, - "ListAgentActionGroups": { - "name": "ListAgentActionGroups", + "DisassociateAgentKnowledgeBase": { + "name": "DisassociateAgentKnowledgeBase", "http": { - "method": "POST", - "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/", - "responseCode": 200 + "method": "DELETE", + "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", + "responseCode": 204 }, "input": { - "shape": "ListAgentActionGroupsRequest" + "shape": "DisassociateAgentKnowledgeBaseRequest" }, "output": { - "shape": "ListAgentActionGroupsResponse" + "shape": "DisassociateAgentKnowledgeBaseResponse" }, "errors": [ { @@ -773,22 +814,26 @@ }, { "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" } ], - "documentation": "Lists the action groups for an agent and information about each one.
" + "documentation": "Disassociates a knowledge base from an agent.
", + "idempotent": true }, - "ListAgentAliases": { - "name": "ListAgentAliases", + "GetAgent": { + "name": "GetAgent", "http": { - "method": "POST", - "requestUri": "/agents/{agentId}/agentaliases/", + "method": "GET", + "requestUri": "/agents/{agentId}/", "responseCode": 200 }, "input": { - "shape": "ListAgentAliasesRequest" + "shape": "GetAgentRequest" }, "output": { - "shape": "ListAgentAliasesResponse" + "shape": "GetAgentResponse" }, "errors": [ { @@ -807,20 +852,20 @@ "shape": "ResourceNotFoundException" } ], - "documentation": "Lists the aliases of an agent and information about each one.
" + "documentation": "Gets information about an agent.
" }, - "ListAgentKnowledgeBases": { - "name": "ListAgentKnowledgeBases", + "GetAgentActionGroup": { + "name": "GetAgentActionGroup", "http": { - "method": "POST", - "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/", + "method": "GET", + "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", "responseCode": 200 }, "input": { - "shape": "ListAgentKnowledgeBasesRequest" + "shape": "GetAgentActionGroupRequest" }, "output": { - "shape": "ListAgentKnowledgeBasesResponse" + "shape": "GetAgentActionGroupResponse" }, "errors": [ { @@ -839,20 +884,20 @@ "shape": "ResourceNotFoundException" } ], - "documentation": "Lists knowledge bases associated with an agent and information about each one.
" + "documentation": "Gets information about an action group for an agent.
" }, - "ListAgentVersions": { - "name": "ListAgentVersions", + "GetAgentAlias": { + "name": "GetAgentAlias", "http": { - "method": "POST", - "requestUri": "/agents/{agentId}/agentversions/", + "method": "GET", + "requestUri": "/agents/{agentId}/agentaliases/{agentAliasId}/", "responseCode": 200 }, "input": { - "shape": "ListAgentVersionsRequest" + "shape": "GetAgentAliasRequest" }, "output": { - "shape": "ListAgentVersionsResponse" + "shape": "GetAgentAliasResponse" }, "errors": [ { @@ -871,20 +916,20 @@ "shape": "ResourceNotFoundException" } ], - "documentation": "Lists the versions of an agent and information about each version.
" + "documentation": "Gets information about an alias of an agent.
" }, - "ListAgents": { - "name": "ListAgents", + "GetAgentKnowledgeBase": { + "name": "GetAgentKnowledgeBase", "http": { - "method": "POST", - "requestUri": "/agents/", + "method": "GET", + "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", "responseCode": 200 }, "input": { - "shape": "ListAgentsRequest" + "shape": "GetAgentKnowledgeBaseRequest" }, "output": { - "shape": "ListAgentsResponse" + "shape": "GetAgentKnowledgeBaseResponse" }, "errors": [ { @@ -898,22 +943,25 @@ }, { "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" } ], - "documentation": "Lists the agents belonging to an account and information about each agent.
" + "documentation": "Gets information about a knowledge base associated with an agent.
" }, - "ListDataSources": { - "name": "ListDataSources", + "GetAgentVersion": { + "name": "GetAgentVersion", "http": { - "method": "POST", - "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/", + "method": "GET", + "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/", "responseCode": 200 }, "input": { - "shape": "ListDataSourcesRequest" + "shape": "GetAgentVersionRequest" }, "output": { - "shape": "ListDataSourcesResponse" + "shape": "GetAgentVersionResponse" }, "errors": [ { @@ -932,20 +980,20 @@ "shape": "ResourceNotFoundException" } ], - "documentation": "Lists the data sources in a knowledge base and information about each one.
" + "documentation": "Gets details about a version of an agent.
" }, - "ListIngestionJobs": { - "name": "ListIngestionJobs", + "GetDataSource": { + "name": "GetDataSource", "http": { - "method": "POST", - "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", + "method": "GET", + "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", "responseCode": 200 }, "input": { - "shape": "ListIngestionJobsRequest" + "shape": "GetDataSourceRequest" }, "output": { - "shape": "ListIngestionJobsResponse" + "shape": "GetDataSourceResponse" }, "errors": [ { @@ -964,20 +1012,20 @@ "shape": "ResourceNotFoundException" } ], - "documentation": "Lists the ingestion jobs for a data source and information about each of them.
" + "documentation": "Gets information about a data source.
" }, - "ListKnowledgeBases": { - "name": "ListKnowledgeBases", + "GetFlow": { + "name": "GetFlow", "http": { - "method": "POST", - "requestUri": "/knowledgebases/", + "method": "GET", + "requestUri": "/flows/{flowIdentifier}/", "responseCode": 200 }, "input": { - "shape": "ListKnowledgeBasesRequest" + "shape": "GetFlowRequest" }, "output": { - "shape": "ListKnowledgeBasesResponse" + "shape": "GetFlowResponse" }, "errors": [ { @@ -991,22 +1039,25 @@ }, { "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" } ], - "documentation": "Lists the knowledge bases in an account and information about each of them.
" + "documentation": "Retrieves information about a flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
" }, - "ListTagsForResource": { - "name": "ListTagsForResource", + "GetFlowAlias": { + "name": "GetFlowAlias", "http": { "method": "GET", - "requestUri": "/tags/{resourceArn}", + "requestUri": "/flows/{flowIdentifier}/aliases/{aliasIdentifier}", "responseCode": 200 }, "input": { - "shape": "ListTagsForResourceRequest" + "shape": "GetFlowAliasRequest" }, "output": { - "shape": "ListTagsForResourceResponse" + "shape": "GetFlowAliasResponse" }, "errors": [ { @@ -1025,20 +1076,20 @@ "shape": "ResourceNotFoundException" } ], - "documentation": "List all the tags for the resource you specify.
" + "documentation": "Retrieves information about a flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
" }, - "PrepareAgent": { - "name": "PrepareAgent", + "GetFlowVersion": { + "name": "GetFlowVersion", "http": { - "method": "POST", - "requestUri": "/agents/{agentId}/", - "responseCode": 202 + "method": "GET", + "requestUri": "/flows/{flowIdentifier}/versions/{flowVersion}/", + "responseCode": 200 }, "input": { - "shape": "PrepareAgentRequest" + "shape": "GetFlowVersionRequest" }, "output": { - "shape": "PrepareAgentResponse" + "shape": "GetFlowVersionResponse" }, "errors": [ { @@ -1055,28 +1106,22 @@ }, { "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ServiceQuotaExceededException" } ], - "documentation": "Creates a DRAFT
version of the agent that can be used for internal testing.
Retrieves information about a version of a flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
" }, - "StartIngestionJob": { - "name": "StartIngestionJob", + "GetIngestionJob": { + "name": "GetIngestionJob", "http": { - "method": "PUT", - "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", - "responseCode": 202 + "method": "GET", + "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}", + "responseCode": 200 }, "input": { - "shape": "StartIngestionJobRequest" + "shape": "GetIngestionJobRequest" }, "output": { - "shape": "StartIngestionJobResponse" + "shape": "GetIngestionJobResponse" }, "errors": [ { @@ -1093,29 +1138,22 @@ }, { "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ServiceQuotaExceededException" } ], - "documentation": "Begins an ingestion job, in which a data source is added to a knowledge base.
", - "idempotent": true + "documentation": "Gets information about a ingestion job, in which a data source is added to a knowledge base.
" }, - "TagResource": { - "name": "TagResource", + "GetKnowledgeBase": { + "name": "GetKnowledgeBase", "http": { - "method": "POST", - "requestUri": "/tags/{resourceArn}", + "method": "GET", + "requestUri": "/knowledgebases/{knowledgeBaseId}", "responseCode": 200 }, "input": { - "shape": "TagResourceRequest" + "shape": "GetKnowledgeBaseRequest" }, "output": { - "shape": "TagResourceResponse" + "shape": "GetKnowledgeBaseResponse" }, "errors": [ { @@ -1132,25 +1170,22 @@ }, { "shape": "ResourceNotFoundException" - }, - { - "shape": "ServiceQuotaExceededException" } ], - "documentation": "Associate tags with a resource. For more information, see Tagging resources in the Amazon Bedrock User Guide.
" + "documentation": "Gets information about a knoweldge base.
" }, - "UntagResource": { - "name": "UntagResource", + "GetPrompt": { + "name": "GetPrompt", "http": { - "method": "DELETE", - "requestUri": "/tags/{resourceArn}", + "method": "GET", + "requestUri": "/prompts/{promptIdentifier}/", "responseCode": 200 }, "input": { - "shape": "UntagResourceRequest" + "shape": "GetPromptRequest" }, "output": { - "shape": "UntagResourceResponse" + "shape": "GetPromptResponse" }, "errors": [ { @@ -1169,21 +1204,20 @@ "shape": "ResourceNotFoundException" } ], - "documentation": "Remove tags from a resource.
", - "idempotent": true + "documentation": "Retrieves information about a prompt or a version of it. For more information, see View information about prompts using Prompt management and View information about a version of your prompt in the Amazon Bedrock User Guide.
" }, - "UpdateAgent": { - "name": "UpdateAgent", + "ListAgentActionGroups": { + "name": "ListAgentActionGroups", "http": { - "method": "PUT", - "requestUri": "/agents/{agentId}/", - "responseCode": 202 + "method": "POST", + "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/", + "responseCode": 200 }, "input": { - "shape": "UpdateAgentRequest" + "shape": "ListAgentActionGroupsRequest" }, "output": { - "shape": "UpdateAgentResponse" + "shape": "ListAgentActionGroupsResponse" }, "errors": [ { @@ -1200,29 +1234,22 @@ }, { "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ServiceQuotaExceededException" } ], - "documentation": "Updates the configuration of an agent.
", - "idempotent": true + "documentation": "Lists the action groups for an agent and information about each one.
" }, - "UpdateAgentActionGroup": { - "name": "UpdateAgentActionGroup", + "ListAgentAliases": { + "name": "ListAgentAliases", "http": { - "method": "PUT", - "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", + "method": "POST", + "requestUri": "/agents/{agentId}/agentaliases/", "responseCode": 200 }, "input": { - "shape": "UpdateAgentActionGroupRequest" + "shape": "ListAgentAliasesRequest" }, "output": { - "shape": "UpdateAgentActionGroupResponse" + "shape": "ListAgentAliasesResponse" }, "errors": [ { @@ -1239,29 +1266,22 @@ }, { "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ServiceQuotaExceededException" } ], - "documentation": "Updates the configuration for an action group for an agent.
", - "idempotent": true + "documentation": "Lists the aliases of an agent and information about each one.
" }, - "UpdateAgentAlias": { - "name": "UpdateAgentAlias", + "ListAgentKnowledgeBases": { + "name": "ListAgentKnowledgeBases", "http": { - "method": "PUT", - "requestUri": "/agents/{agentId}/agentaliases/{agentAliasId}/", - "responseCode": 202 + "method": "POST", + "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/", + "responseCode": 200 }, "input": { - "shape": "UpdateAgentAliasRequest" + "shape": "ListAgentKnowledgeBasesRequest" }, "output": { - "shape": "UpdateAgentAliasResponse" + "shape": "ListAgentKnowledgeBasesResponse" }, "errors": [ { @@ -1278,29 +1298,22 @@ }, { "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ServiceQuotaExceededException" } ], - "documentation": "Updates configurations for an alias of an agent.
", - "idempotent": true + "documentation": "Lists knowledge bases associated with an agent and information about each one.
" }, - "UpdateAgentKnowledgeBase": { - "name": "UpdateAgentKnowledgeBase", + "ListAgentVersions": { + "name": "ListAgentVersions", "http": { - "method": "PUT", - "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", + "method": "POST", + "requestUri": "/agents/{agentId}/agentversions/", "responseCode": 200 }, "input": { - "shape": "UpdateAgentKnowledgeBaseRequest" + "shape": "ListAgentVersionsRequest" }, "output": { - "shape": "UpdateAgentKnowledgeBaseResponse" + "shape": "ListAgentVersionsResponse" }, "errors": [ { @@ -1317,26 +1330,22 @@ }, { "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" } ], - "documentation": "Updates the configuration for a knowledge base that has been associated with an agent.
", - "idempotent": true + "documentation": "Lists the versions of an agent and information about each version.
" }, - "UpdateDataSource": { - "name": "UpdateDataSource", + "ListAgents": { + "name": "ListAgents", "http": { - "method": "PUT", - "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", + "method": "POST", + "requestUri": "/agents/", "responseCode": 200 }, "input": { - "shape": "UpdateDataSourceRequest" + "shape": "ListAgentsRequest" }, "output": { - "shape": "UpdateDataSourceResponse" + "shape": "ListAgentsResponse" }, "errors": [ { @@ -1350,29 +1359,54 @@ }, { "shape": "InternalServerException" + } + ], + "documentation": "Lists the agents belonging to an account and information about each agent.
" + }, + "ListDataSources": { + "name": "ListDataSources", + "http": { + "method": "POST", + "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/", + "responseCode": 200 + }, + "input": { + "shape": "ListDataSourcesRequest" + }, + "output": { + "shape": "ListDataSourcesResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" }, { - "shape": "ResourceNotFoundException" + "shape": "AccessDeniedException" }, { - "shape": "ConflictException" + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" } ], - "documentation": "Updates configurations for a data source.
You can't change the chunkingConfiguration
after you create the data source. Specify the existing chunkingConfiguration
.
Lists the data sources in a knowledge base and information about each one.
" }, - "UpdateKnowledgeBase": { - "name": "UpdateKnowledgeBase", + "ListFlowAliases": { + "name": "ListFlowAliases", "http": { - "method": "PUT", - "requestUri": "/knowledgebases/{knowledgeBaseId}", - "responseCode": 202 + "method": "GET", + "requestUri": "/flows/{flowIdentifier}/aliases", + "responseCode": 200 }, "input": { - "shape": "UpdateKnowledgeBaseRequest" + "shape": "ListFlowAliasesRequest" }, "output": { - "shape": "UpdateKnowledgeBaseResponse" + "shape": "ListFlowAliasesResponse" }, "errors": [ { @@ -1389,164 +1423,1862 @@ }, { "shape": "ResourceNotFoundException" - }, - { - "shape": "ConflictException" } ], - "documentation": "Updates the configuration of a knowledge base with the fields that you specify. Because all fields will be overwritten, you must include the same values for fields that you want to keep the same.
You can change the following fields:
name
description
roleArn
You can't change the knowledgeBaseConfiguration
or storageConfiguration
fields, so you must specify the same configurations as when you created the knowledge base. You can send a GetKnowledgeBase request and copy the same configurations.
The JSON or YAML-formatted payload defining the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
" - }, - "s3": { - "shape": "S3Identifier", - "documentation": "Contains details about the S3 object containing the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
" - } - }, - "documentation": "Contains details about the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas. You can either include the schema directly in the payload
field or you can upload it to an S3 bucket and specify the S3 bucket location in the s3
field.
Returns a list of aliases for a flow.
" }, - "ActionGroupExecutor": { - "type": "structure", - "members": { - "customControl": { - "shape": "CustomControlMethod", - "documentation": "To return the action group invocation results directly in the InvokeAgent
response, specify RETURN_CONTROL
.
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
" - } + "ListFlowVersions": { + "name": "ListFlowVersions", + "http": { + "method": "GET", + "requestUri": "/flows/{flowIdentifier}/versions", + "responseCode": 200 }, - "documentation": "Contains details about the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
", - "union": true - }, - "ActionGroupSignature": { - "type": "string", - "enum": [ - "AMAZON.UserInput" - ] - }, - "ActionGroupState": { - "type": "string", - "enum": [ - "ENABLED", - "DISABLED" - ] - }, - "ActionGroupSummaries": { - "type": "list", - "member": { - "shape": "ActionGroupSummary" + "input": { + "shape": "ListFlowVersionsRequest" }, - "max": 10, - "min": 0 - }, - "ActionGroupSummary": { - "type": "structure", - "required": [ - "actionGroupId", - "actionGroupName", - "actionGroupState", - "updatedAt" - ], - "members": { - "actionGroupId": { - "shape": "Id", - "documentation": "The unique identifier of the action group.
" + "output": { + "shape": "ListFlowVersionsResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" }, - "actionGroupName": { - "shape": "Name", - "documentation": "The name of the action group.
" + { + "shape": "AccessDeniedException" }, - "actionGroupState": { - "shape": "ActionGroupState", - "documentation": "Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
" + { + "shape": "ValidationException" }, - "description": { - "shape": "Description", - "documentation": "The description of the action group.
" + { + "shape": "InternalServerException" }, - "updatedAt": { - "shape": "DateTimestamp", - "documentation": "The time at which the action group was last updated.
" + { + "shape": "ResourceNotFoundException" } - }, - "documentation": "Contains details about an action group.
" - }, - "Agent": { - "type": "structure", - "required": [ - "agentArn", - "agentId", - "agentName", - "agentResourceRoleArn", - "agentStatus", - "agentVersion", - "createdAt", - "idleSessionTTLInSeconds", - "updatedAt" ], - "members": { - "agentArn": { - "shape": "AgentArn", - "documentation": "The Amazon Resource Name (ARN) of the agent.
" - }, - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent.
" + "documentation": "Returns a list of information about each flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
" + }, + "ListFlows": { + "name": "ListFlows", + "http": { + "method": "GET", + "requestUri": "/flows/", + "responseCode": 200 + }, + "input": { + "shape": "ListFlowsRequest" + }, + "output": { + "shape": "ListFlowsResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" }, - "agentName": { - "shape": "Name", - "documentation": "The name of the agent.
" + { + "shape": "AccessDeniedException" }, - "agentResourceRoleArn": { - "shape": "AgentRoleArn", - "documentation": "The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
" + { + "shape": "ValidationException" }, - "agentStatus": { - "shape": "AgentStatus", - "documentation": "The status of the agent and whether it is ready for use. The following statuses are possible:
CREATING – The agent is being created.
PREPARING – The agent is being prepared.
PREPARED – The agent is prepared and ready to be invoked.
NOT_PREPARED – The agent has been created but not yet prepared.
FAILED – The agent API operation failed.
UPDATING – The agent is being updated.
DELETING – The agent is being deleted.
Returns a list of flows and information about each flow. For more information, see Manage a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
" + }, + "ListIngestionJobs": { + "name": "ListIngestionJobs", + "http": { + "method": "POST", + "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", + "responseCode": 200 + }, + "input": { + "shape": "ListIngestionJobsRequest" + }, + "output": { + "shape": "ListIngestionJobsResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" }, - "agentVersion": { - "shape": "DraftVersion", - "documentation": "The version of the agent.
" + { + "shape": "AccessDeniedException" }, - "clientToken": { - "shape": "ClientToken", - "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
" + { + "shape": "ValidationException" }, - "createdAt": { - "shape": "DateTimestamp", - "documentation": "The time at which the agent was created.
" + { + "shape": "InternalServerException" }, - "customerEncryptionKeyArn": { - "shape": "KmsKeyArn", - "documentation": "The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.
" + { + "shape": "ResourceNotFoundException" + } + ], + "documentation": "Lists the ingestion jobs for a data source and information about each of them.
" + }, + "ListKnowledgeBases": { + "name": "ListKnowledgeBases", + "http": { + "method": "POST", + "requestUri": "/knowledgebases/", + "responseCode": 200 + }, + "input": { + "shape": "ListKnowledgeBasesRequest" + }, + "output": { + "shape": "ListKnowledgeBasesResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" }, - "description": { - "shape": "Description", - "documentation": "The description of the agent.
" + { + "shape": "AccessDeniedException" }, - "failureReasons": { - "shape": "FailureReasons", - "documentation": "Contains reasons that the agent-related API that you invoked failed.
" + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "Lists the knowledge bases in an account and information about each of them.
" + }, + "ListPrompts": { + "name": "ListPrompts", + "http": { + "method": "GET", + "requestUri": "/prompts/", + "responseCode": 200 + }, + "input": { + "shape": "ListPromptsRequest" + }, + "output": { + "shape": "ListPromptsResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "documentation": "Returns a list of prompts from the Prompt management tool and information about each prompt. For more information, see View information about prompts using Prompt management in the Amazon Bedrock User Guide.
" + }, + "ListTagsForResource": { + "name": "ListTagsForResource", + "http": { + "method": "GET", + "requestUri": "/tags/{resourceArn}", + "responseCode": 200 + }, + "input": { + "shape": "ListTagsForResourceRequest" + }, + "output": { + "shape": "ListTagsForResourceResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "documentation": "List all the tags for the resource you specify.
" + }, + "PrepareAgent": { + "name": "PrepareAgent", + "http": { + "method": "POST", + "requestUri": "/agents/{agentId}/", + "responseCode": 202 + }, + "input": { + "shape": "PrepareAgentRequest" + }, + "output": { + "shape": "PrepareAgentResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "documentation": "Creates a DRAFT
version of the agent that can be used for internal testing.
Prepares the DRAFT
version of a flow so that it can be invoked. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
Begins an ingestion job, in which a data source is added to a knowledge base.
", + "idempotent": true + }, + "TagResource": { + "name": "TagResource", + "http": { + "method": "POST", + "requestUri": "/tags/{resourceArn}", + "responseCode": 200 + }, + "input": { + "shape": "TagResourceRequest" + }, + "output": { + "shape": "TagResourceResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "documentation": "Associate tags with a resource. For more information, see Tagging resources in the Amazon Bedrock User Guide.
" + }, + "UntagResource": { + "name": "UntagResource", + "http": { + "method": "DELETE", + "requestUri": "/tags/{resourceArn}", + "responseCode": 200 + }, + "input": { + "shape": "UntagResourceRequest" + }, + "output": { + "shape": "UntagResourceResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "documentation": "Remove tags from a resource.
", + "idempotent": true + }, + "UpdateAgent": { + "name": "UpdateAgent", + "http": { + "method": "PUT", + "requestUri": "/agents/{agentId}/", + "responseCode": 202 + }, + "input": { + "shape": "UpdateAgentRequest" + }, + "output": { + "shape": "UpdateAgentResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "documentation": "Updates the configuration of an agent.
", + "idempotent": true + }, + "UpdateAgentActionGroup": { + "name": "UpdateAgentActionGroup", + "http": { + "method": "PUT", + "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", + "responseCode": 200 + }, + "input": { + "shape": "UpdateAgentActionGroupRequest" + }, + "output": { + "shape": "UpdateAgentActionGroupResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "documentation": "Updates the configuration for an action group for an agent.
", + "idempotent": true + }, + "UpdateAgentAlias": { + "name": "UpdateAgentAlias", + "http": { + "method": "PUT", + "requestUri": "/agents/{agentId}/agentaliases/{agentAliasId}/", + "responseCode": 202 + }, + "input": { + "shape": "UpdateAgentAliasRequest" + }, + "output": { + "shape": "UpdateAgentAliasResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "documentation": "Updates configurations for an alias of an agent.
", + "idempotent": true + }, + "UpdateAgentKnowledgeBase": { + "name": "UpdateAgentKnowledgeBase", + "http": { + "method": "PUT", + "requestUri": "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", + "responseCode": 200 + }, + "input": { + "shape": "UpdateAgentKnowledgeBaseRequest" + }, + "output": { + "shape": "UpdateAgentKnowledgeBaseResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" + } + ], + "documentation": "Updates the configuration for a knowledge base that has been associated with an agent.
", + "idempotent": true + }, + "UpdateDataSource": { + "name": "UpdateDataSource", + "http": { + "method": "PUT", + "requestUri": "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateDataSourceRequest" + }, + "output": { + "shape": "UpdateDataSourceResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" + } + ], + "documentation": "Updates the configurations for a data source connector.
You can't change the chunkingConfiguration
after you create the data source connector. Specify the existing chunkingConfiguration
.
Modifies a flow. Include both fields that you want to keep and fields that you want to change. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", + "idempotent": true + }, + "UpdateFlowAlias": { + "name": "UpdateFlowAlias", + "http": { + "method": "PUT", + "requestUri": "/flows/{flowIdentifier}/aliases/{aliasIdentifier}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateFlowAliasRequest" + }, + "output": { + "shape": "UpdateFlowAliasResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "documentation": "Modifies the alias of a flow. Include both fields that you want to keep and ones that you want to change. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
", + "idempotent": true + }, + "UpdateKnowledgeBase": { + "name": "UpdateKnowledgeBase", + "http": { + "method": "PUT", + "requestUri": "/knowledgebases/{knowledgeBaseId}", + "responseCode": 202 + }, + "input": { + "shape": "UpdateKnowledgeBaseRequest" + }, + "output": { + "shape": "UpdateKnowledgeBaseResponse" + }, + "errors": [ + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ConflictException" + } + ], + "documentation": "Updates the configuration of a knowledge base with the fields that you specify. Because all fields will be overwritten, you must include the same values for fields that you want to keep the same.
You can change the following fields:
name
description
roleArn
You can't change the knowledgeBaseConfiguration
or storageConfiguration
fields, so you must specify the same configurations as when you created the knowledge base. You can send a GetKnowledgeBase request and copy the same configurations.
Modifies a prompt in your prompt library. Include both fields that you want to keep and fields that you want to replace. For more information, see Prompt management in Amazon Bedrock and Edit prompts in your prompt library in the Amazon Bedrock User Guide.
", + "idempotent": true + } + }, + "shapes": { + "APISchema": { + "type": "structure", + "members": { + "payload": { + "shape": "Payload", + "documentation": "The JSON or YAML-formatted payload defining the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
" + }, + "s3": { + "shape": "S3Identifier", + "documentation": "Contains details about the S3 object containing the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
" + } + }, + "documentation": "Contains details about the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas. You can either include the schema directly in the payload
field or you can upload it to an S3 bucket and specify the S3 bucket location in the s3
field.
To return the action group invocation results directly in the InvokeAgent
response, specify RETURN_CONTROL
.
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
" + } + }, + "documentation": "Contains details about the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
", + "union": true + }, + "ActionGroupSignature": { + "type": "string", + "enum": [ + "AMAZON.UserInput", + "AMAZON.CodeInterpreter" + ] + }, + "ActionGroupState": { + "type": "string", + "enum": [ + "ENABLED", + "DISABLED" + ] + }, + "ActionGroupSummaries": { + "type": "list", + "member": { + "shape": "ActionGroupSummary" + }, + "max": 10, + "min": 0 + }, + "ActionGroupSummary": { + "type": "structure", + "required": [ + "actionGroupId", + "actionGroupName", + "actionGroupState", + "updatedAt" + ], + "members": { + "actionGroupId": { + "shape": "Id", + "documentation": "The unique identifier of the action group.
" + }, + "actionGroupName": { + "shape": "Name", + "documentation": "The name of the action group.
" + }, + "actionGroupState": { + "shape": "ActionGroupState", + "documentation": "Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
" + }, + "description": { + "shape": "Description", + "documentation": "The description of the action group.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the action group was last updated.
" + } + }, + "documentation": "Contains details about an action group.
" + }, + "Agent": { + "type": "structure", + "required": [ + "agentArn", + "agentId", + "agentName", + "agentResourceRoleArn", + "agentStatus", + "agentVersion", + "createdAt", + "idleSessionTTLInSeconds", + "updatedAt" + ], + "members": { + "agentArn": { + "shape": "AgentArn", + "documentation": "The Amazon Resource Name (ARN) of the agent.
" + }, + "agentId": { + "shape": "Id", + "documentation": "The unique identifier of the agent.
" + }, + "agentName": { + "shape": "Name", + "documentation": "The name of the agent.
" + }, + "agentResourceRoleArn": { + "shape": "AgentRoleArn", + "documentation": "The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
" + }, + "agentStatus": { + "shape": "AgentStatus", + "documentation": "The status of the agent and whether it is ready for use. The following statuses are possible:
CREATING – The agent is being created.
PREPARING – The agent is being prepared.
PREPARED – The agent is prepared and ready to be invoked.
NOT_PREPARED – The agent has been created but not yet prepared.
FAILED – The agent API operation failed.
UPDATING – The agent is being updated.
DELETING – The agent is being deleted.
The version of the agent.
" + }, + "clientToken": { + "shape": "ClientToken", + "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the agent was created.
" + }, + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.
" + }, + "description": { + "shape": "Description", + "documentation": "The description of the agent.
" + }, + "failureReasons": { + "shape": "FailureReasons", + "documentation": "Contains reasons that the agent-related API that you invoked failed.
" + }, + "foundationModel": { + "shape": "ModelIdentifier", + "documentation": "The foundation model used for orchestration by the agent.
" + }, + "guardrailConfiguration": { + "shape": "GuardrailConfiguration", + "documentation": "Details about the guardrail associated with the agent.
" + }, + "idleSessionTTLInSeconds": { + "shape": "SessionTTL", + "documentation": "The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
" + }, + "instruction": { + "shape": "Instruction", + "documentation": "Instructions that tell the agent what it should do and how it should interact with users.
" + }, + "memoryConfiguration": { + "shape": "MemoryConfiguration", + "documentation": "Contains memory configuration for the agent.
" + }, + "preparedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the agent was last prepared.
" + }, + "promptOverrideConfiguration": { + "shape": "PromptOverrideConfiguration", + "documentation": "Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see Advanced prompts.
" + }, + "recommendedActions": { + "shape": "RecommendedActions", + "documentation": "Contains recommended actions to take for the agent-related API that you invoked to succeed.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the agent was last updated.
" + } + }, + "documentation": "Contains details about an agent.
" + }, + "AgentActionGroup": { + "type": "structure", + "required": [ + "actionGroupId", + "actionGroupName", + "actionGroupState", + "agentId", + "agentVersion", + "createdAt", + "updatedAt" + ], + "members": { + "actionGroupExecutor": { + "shape": "ActionGroupExecutor", + "documentation": "The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
" + }, + "actionGroupId": { + "shape": "Id", + "documentation": "The unique identifier of the action group.
" + }, + "actionGroupName": { + "shape": "Name", + "documentation": "The name of the action group.
" + }, + "actionGroupState": { + "shape": "ActionGroupState", + "documentation": "Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
" + }, + "agentId": { + "shape": "Id", + "documentation": "The unique identifier of the agent to which the action group belongs.
" + }, + "agentVersion": { + "shape": "Version", + "documentation": "The version of the agent to which the action group belongs.
" + }, + "apiSchema": { + "shape": "APISchema", + "documentation": "Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas.
" + }, + "clientToken": { + "shape": "ClientToken", + "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the action group was created.
" + }, + "description": { + "shape": "Description", + "documentation": "The description of the action group.
" + }, + "functionSchema": { + "shape": "FunctionSchema", + "documentation": "Defines functions that each define parameters that the agent needs to invoke from the user. Each function represents an action in an action group.
" + }, + "parentActionSignature": { + "shape": "ActionGroupSignature", + "documentation": "If this field is set as AMAZON.UserInput
, the agent can request the user for additional information when trying to complete a task. The description
, apiSchema
, and actionGroupExecutor
fields must be blank for this action group.
During orchestration, if the agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the action group was last updated.
" + } + }, + "documentation": "Contains details about an action group.
" + }, + "AgentAlias": { + "type": "structure", + "required": [ + "agentAliasArn", + "agentAliasId", + "agentAliasName", + "agentAliasStatus", + "agentId", + "createdAt", + "routingConfiguration", + "updatedAt" + ], + "members": { + "agentAliasArn": { + "shape": "AgentAliasArn", + "documentation": "The Amazon Resource Name (ARN) of the alias of the agent.
" + }, + "agentAliasHistoryEvents": { + "shape": "AgentAliasHistoryEvents", + "documentation": "Contains details about the history of the alias.
" + }, + "agentAliasId": { + "shape": "AgentAliasId", + "documentation": "The unique identifier of the alias of the agent.
" + }, + "agentAliasName": { + "shape": "Name", + "documentation": "The name of the alias of the agent.
" + }, + "agentAliasStatus": { + "shape": "AgentAliasStatus", + "documentation": "The status of the alias of the agent and whether it is ready for use. The following statuses are possible:
CREATING – The agent alias is being created.
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
FAILED – The agent alias API operation failed.
UPDATING – The agent alias is being updated.
DELETING – The agent alias is being deleted.
The unique identifier of the agent.
" + }, + "clientToken": { + "shape": "ClientToken", + "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the alias of the agent was created.
" + }, + "description": { + "shape": "Description", + "documentation": "The description of the alias of the agent.
" + }, + "failureReasons": { + "shape": "FailureReasons", + "documentation": "Information on the failure of Provisioned Throughput assigned to an agent alias.
" + }, + "routingConfiguration": { + "shape": "AgentAliasRoutingConfiguration", + "documentation": "Contains details about the routing configuration of the alias.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the alias was last updated.
" + } + }, + "documentation": "Contains details about an alias of an agent.
" + }, + "AgentAliasArn": { + "type": "string", + "max": 2048, + "min": 0, + "pattern": "^arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$" + }, + "AgentAliasHistoryEvent": { + "type": "structure", + "members": { + "endDate": { + "shape": "DateTimestamp", + "documentation": "The date that the alias stopped being associated to the version in the routingConfiguration
object
Contains details about the version of the agent with which the alias is associated.
" + }, + "startDate": { + "shape": "DateTimestamp", + "documentation": "The date that the alias began being associated to the version in the routingConfiguration
object.
Contains details about the history of the alias.
" + }, + "AgentAliasHistoryEvents": { + "type": "list", + "member": { + "shape": "AgentAliasHistoryEvent" + }, + "max": 10, + "min": 0 + }, + "AgentAliasId": { + "type": "string", + "max": 10, + "min": 10, + "pattern": "^(\\bTSTALIASID\\b|[0-9a-zA-Z]+)$" + }, + "AgentAliasRoutingConfiguration": { + "type": "list", + "member": { + "shape": "AgentAliasRoutingConfigurationListItem" + }, + "max": 1, + "min": 0 + }, + "AgentAliasRoutingConfigurationListItem": { + "type": "structure", + "members": { + "agentVersion": { + "shape": "Version", + "documentation": "The version of the agent with which the alias is associated.
" + }, + "provisionedThroughput": { + "shape": "ProvisionedModelIdentifier", + "documentation": "Information on the Provisioned Throughput assigned to an agent alias.
" + } + }, + "documentation": "Contains details about the routing configuration of the alias.
" + }, + "AgentAliasStatus": { + "type": "string", + "enum": [ + "CREATING", + "PREPARED", + "FAILED", + "UPDATING", + "DELETING" + ] + }, + "AgentAliasSummaries": { + "type": "list", + "member": { + "shape": "AgentAliasSummary" + }, + "max": 10, + "min": 0 + }, + "AgentAliasSummary": { + "type": "structure", + "required": [ + "agentAliasId", + "agentAliasName", + "agentAliasStatus", + "createdAt", + "updatedAt" + ], + "members": { + "agentAliasId": { + "shape": "AgentAliasId", + "documentation": "Contains details about
" + }, + "agentAliasName": { + "shape": "Name", + "documentation": "The name of the alias.
" + }, + "agentAliasStatus": { + "shape": "AgentAliasStatus", + "documentation": "The status of the alias.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the alias of the agent was created.
" + }, + "description": { + "shape": "Description", + "documentation": "The description of the alias.
" + }, + "routingConfiguration": { + "shape": "AgentAliasRoutingConfiguration", + "documentation": "Contains details about the version of the agent with which the alias is associated.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the alias was last updated.
" + } + }, + "documentation": "Contains details about an alias of an agent.
" + }, + "AgentArn": { + "type": "string", + "max": 2048, + "min": 0, + "pattern": "^arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent/[0-9a-zA-Z]{10}$" + }, + "AgentFlowNodeConfiguration": { + "type": "structure", + "required": [ + "agentAliasArn" + ], + "members": { + "agentAliasArn": { + "shape": "AgentAliasArn", + "documentation": "The Amazon Resource Name (ARN) of the alias of the agent to invoke.
" + } + }, + "documentation": "Defines an agent node in your flow. You specify the agent to invoke at this point in the flow. For more information, see Node types in Amazon Bedrock works in the Amazon Bedrock User Guide.
" + }, + "AgentKnowledgeBase": { + "type": "structure", + "required": [ + "agentId", + "agentVersion", + "createdAt", + "description", + "knowledgeBaseId", + "knowledgeBaseState", + "updatedAt" + ], + "members": { + "agentId": { + "shape": "Id", + "documentation": "The unique identifier of the agent with which the knowledge base is associated.
" + }, + "agentVersion": { + "shape": "Version", + "documentation": "The version of the agent with which the knowledge base is associated.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the association between the agent and the knowledge base was created.
" + }, + "description": { + "shape": "Description", + "documentation": "The description of the association between the agent and the knowledge base.
" + }, + "knowledgeBaseId": { + "shape": "Id", + "documentation": "The unique identifier of the association between the agent and the knowledge base.
" + }, + "knowledgeBaseState": { + "shape": "KnowledgeBaseState", + "documentation": "Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the association between the agent and the knowledge base was last updated.
" + } + }, + "documentation": "Contains details about a knowledge base that is associated with an agent.
" + }, + "AgentKnowledgeBaseSummaries": { + "type": "list", + "member": { + "shape": "AgentKnowledgeBaseSummary" + }, + "max": 10, + "min": 0 + }, + "AgentKnowledgeBaseSummary": { + "type": "structure", + "required": [ + "knowledgeBaseId", + "knowledgeBaseState", + "updatedAt" + ], + "members": { + "description": { + "shape": "Description", + "documentation": "The description of the knowledge base associated with an agent.
" + }, + "knowledgeBaseId": { + "shape": "Id", + "documentation": "The unique identifier of the knowledge base associated with an agent.
" + }, + "knowledgeBaseState": { + "shape": "KnowledgeBaseState", + "documentation": "Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the knowledge base associated with an agent was last updated.
" + } + }, + "documentation": "Contains details about a knowledge base associated with an agent.
" + }, + "AgentRoleArn": { + "type": "string", + "max": 2048, + "min": 0, + "pattern": "^arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+$" + }, + "AgentStatus": { + "type": "string", + "enum": [ + "CREATING", + "PREPARING", + "PREPARED", + "NOT_PREPARED", + "DELETING", + "FAILED", + "VERSIONING", + "UPDATING" + ] + }, + "AgentSummaries": { + "type": "list", + "member": { + "shape": "AgentSummary" + }, + "max": 10, + "min": 0 + }, + "AgentSummary": { + "type": "structure", + "required": [ + "agentId", + "agentName", + "agentStatus", + "updatedAt" + ], + "members": { + "agentId": { + "shape": "Id", + "documentation": "The unique identifier of the agent.
" + }, + "agentName": { + "shape": "Name", + "documentation": "The name of the agent.
" + }, + "agentStatus": { + "shape": "AgentStatus", + "documentation": "The status of the agent.
" + }, + "description": { + "shape": "Description", + "documentation": "The description of the agent.
" + }, + "guardrailConfiguration": { + "shape": "GuardrailConfiguration", + "documentation": "Details about the guardrail associated with the agent.
" + }, + "latestAgentVersion": { + "shape": "Version", + "documentation": "The latest version of the agent.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the agent was last updated.
" + } + }, + "documentation": "Contains details about an agent.
" + }, + "AgentVersion": { + "type": "structure", + "required": [ + "agentArn", + "agentId", + "agentName", + "agentResourceRoleArn", + "agentStatus", + "createdAt", + "idleSessionTTLInSeconds", + "updatedAt", + "version" + ], + "members": { + "agentArn": { + "shape": "AgentArn", + "documentation": "The Amazon Resource Name (ARN) of the agent that the version belongs to.
" + }, + "agentId": { + "shape": "Id", + "documentation": "The unique identifier of the agent that the version belongs to.
" + }, + "agentName": { + "shape": "Name", + "documentation": "The name of the agent that the version belongs to.
" + }, + "agentResourceRoleArn": { + "shape": "AgentRoleArn", + "documentation": "The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
" + }, + "agentStatus": { + "shape": "AgentStatus", + "documentation": "The status of the agent that the version belongs to.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the version was created.
" + }, + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.
" + }, + "description": { + "shape": "Description", + "documentation": "The description of the version.
" + }, + "failureReasons": { + "shape": "FailureReasons", + "documentation": "A list of reasons that the API operation on the version failed.
" + }, + "foundationModel": { + "shape": "ModelIdentifier", + "documentation": "The foundation model that the version invokes.
" + }, + "guardrailConfiguration": { + "shape": "GuardrailConfiguration", + "documentation": "Details about the guardrail associated with the agent.
" + }, + "idleSessionTTLInSeconds": { + "shape": "SessionTTL", + "documentation": "The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
" + }, + "instruction": { + "shape": "Instruction", + "documentation": "The instructions provided to the agent.
" + }, + "memoryConfiguration": { + "shape": "MemoryConfiguration", + "documentation": "Contains details of the memory configuration on the version of the agent.
" + }, + "promptOverrideConfiguration": { + "shape": "PromptOverrideConfiguration", + "documentation": "Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see Advanced prompts.
" + }, + "recommendedActions": { + "shape": "RecommendedActions", + "documentation": "A list of recommended actions to take for the failed API operation on the version to succeed.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the version was last updated.
" + }, + "version": { + "shape": "NumericalVersion", + "documentation": "The version number.
" + } + }, + "documentation": "Contains details about a version of an agent.
" + }, + "AgentVersionSummaries": { + "type": "list", + "member": { + "shape": "AgentVersionSummary" + }, + "max": 10, + "min": 0 + }, + "AgentVersionSummary": { + "type": "structure", + "required": [ + "agentName", + "agentStatus", + "agentVersion", + "createdAt", + "updatedAt" + ], + "members": { + "agentName": { + "shape": "Name", + "documentation": "The name of the agent to which the version belongs.
" + }, + "agentStatus": { + "shape": "AgentStatus", + "documentation": "The status of the agent to which the version belongs.
" + }, + "agentVersion": { + "shape": "Version", + "documentation": "The version of the agent.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the version was created.
" + }, + "description": { + "shape": "Description", + "documentation": "The description of the version of the agent.
" + }, + "guardrailConfiguration": { + "shape": "GuardrailConfiguration", + "documentation": "Details about the guardrail associated with the agent.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the version was last updated.
" + } + }, + "documentation": "Contains details about a version of an agent.
" + }, + "AssociateAgentKnowledgeBaseRequest": { + "type": "structure", + "required": [ + "agentId", + "agentVersion", + "description", + "knowledgeBaseId" + ], + "members": { + "agentId": { + "shape": "Id", + "documentation": "The unique identifier of the agent with which you want to associate the knowledge base.
", + "location": "uri", + "locationName": "agentId" + }, + "agentVersion": { + "shape": "DraftVersion", + "documentation": "The version of the agent with which you want to associate the knowledge base.
", + "location": "uri", + "locationName": "agentVersion" + }, + "description": { + "shape": "Description", + "documentation": "A description of what the agent should use the knowledge base for.
" + }, + "knowledgeBaseId": { + "shape": "Id", + "documentation": "The unique identifier of the knowledge base to associate with the agent.
" + }, + "knowledgeBaseState": { + "shape": "KnowledgeBaseState", + "documentation": "Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
" + } + } + }, + "AssociateAgentKnowledgeBaseResponse": { + "type": "structure", + "required": [ + "agentKnowledgeBase" + ], + "members": { + "agentKnowledgeBase": { + "shape": "AgentKnowledgeBase", + "documentation": "Contains details about the knowledge base that has been associated with the agent.
" + } + } + }, + "BasePromptTemplate": { + "type": "string", + "max": 100000, + "min": 1, + "sensitive": true + }, + "BedrockEmbeddingModelArn": { + "type": "string", + "max": 2048, + "min": 20, + "pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$" + }, + "BedrockEmbeddingModelConfiguration": { + "type": "structure", + "members": { + "dimensions": { + "shape": "Dimensions", + "documentation": "The dimensions details for the vector configuration used on the Bedrock embeddings model.
" + } + }, + "documentation": "The vector configuration details for the Bedrock embeddings model.
" + }, + "BedrockFoundationModelConfiguration": { + "type": "structure", + "required": [ + "modelArn" + ], + "members": { + "modelArn": { + "shape": "BedrockModelArn", + "documentation": "The model's ARN.
" + }, + "parsingPrompt": { + "shape": "ParsingPrompt", + "documentation": "Instructions for interpreting the contents of a document.
" + } + }, + "documentation": "Settings for a foundation model used to parse documents for a data source.
" + }, + "BedrockModelArn": { + "type": "string", + "max": 2048, + "min": 1, + "pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})$" + }, + "Boolean": { + "type": "boolean", + "box": true + }, + "BucketOwnerAccountId": { + "type": "string", + "max": 12, + "min": 12, + "pattern": "^[0-9]{12}$" + }, + "ChunkingConfiguration": { + "type": "structure", + "required": [ + "chunkingStrategy" + ], + "members": { + "chunkingStrategy": { + "shape": "ChunkingStrategy", + "documentation": "Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE
, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk.
FIXED_SIZE
– Amazon Bedrock splits your source data into chunks of the approximate size that you set in the fixedSizeChunkingConfiguration
.
HIERARCHICAL
– Split documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer.
SEMANTIC
– Split documents into chunks based on groups of similar content derived with natural language processing.
NONE
– Amazon Bedrock treats each file as one chunk. If you choose this option, you may want to pre-process your documents by splitting them into separate files.
Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy
as NONE
, exclude this field.
Settings for hierarchical document chunking for a data source. Hierarchical chunking splits documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer.
" + }, + "semanticChunkingConfiguration": { + "shape": "SemanticChunkingConfiguration", + "documentation": "Settings for semantic document chunking for a data source. Semantic chunking splits a document into into smaller documents based on groups of similar content derived from the text with natural language processing.
" + } + }, + "documentation": "Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
" + }, + "ChunkingStrategy": { + "type": "string", + "enum": [ + "FIXED_SIZE", + "NONE", + "HIERARCHICAL", + "SEMANTIC" + ] + }, + "ClientToken": { + "type": "string", + "max": 256, + "min": 33, + "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,256}$" + }, + "CollectorFlowNodeConfiguration": { + "type": "structure", + "members": {}, + "documentation": "Defines a collector node in your flow. This node takes an iteration of inputs and consolidates them into an array in the output. For more information, see Node types in Amazon Bedrock works in the Amazon Bedrock User Guide.
" + }, + "ColumnName": { + "type": "string", + "max": 63, + "min": 0, + "pattern": "^[a-zA-Z0-9_\\-]+$" + }, + "ConditionFlowNodeConfiguration": { + "type": "structure", + "required": [ + "conditions" + ], + "members": { + "conditions": { + "shape": "FlowConditions", + "documentation": "An array of conditions. Each member contains the name of a condition and an expression that defines the condition.
" + } + }, + "documentation": "Defines a condition node in your flow. You can specify conditions that determine which node comes next in the flow. For more information, see Node types in Amazon Bedrock works in the Amazon Bedrock User Guide.
" + }, + "ConfluenceAuthType": { + "type": "string", + "enum": [ + "BASIC", + "OAUTH2_CLIENT_CREDENTIALS" + ] + }, + "ConfluenceCrawlerConfiguration": { + "type": "structure", + "members": { + "filterConfiguration": { + "shape": "CrawlFilterConfiguration", + "documentation": "The configuration of filtering the Confluence content. For example, configuring regular expression patterns to include or exclude certain content.
" + } + }, + "documentation": "The configuration of the Confluence content. For example, configuring specific types of Confluence content.
" + }, + "ConfluenceDataSourceConfiguration": { + "type": "structure", + "required": [ + "sourceConfiguration" + ], + "members": { + "crawlerConfiguration": { + "shape": "ConfluenceCrawlerConfiguration", + "documentation": "The configuration of the Confluence content. For example, configuring specific types of Confluence content.
" + }, + "sourceConfiguration": { + "shape": "ConfluenceSourceConfiguration", + "documentation": "The endpoint information to connect to your Confluence data source.
" + } + }, + "documentation": "The configuration information to connect to Confluence as your data source.
" + }, + "ConfluenceHostType": { + "type": "string", + "enum": [ + "SAAS" + ] + }, + "ConfluenceSourceConfiguration": { + "type": "structure", + "required": [ + "authType", + "credentialsSecretArn", + "hostType", + "hostUrl" + ], + "members": { + "authType": { + "shape": "ConfluenceAuthType", + "documentation": "The supported authentication type to authenticate and connect to your Confluence instance.
" + }, + "credentialsSecretArn": { + "shape": "SecretArn", + "documentation": "The Amazon Resource Name of an Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see Confluence connection configuration.
" + }, + "hostType": { + "shape": "ConfluenceHostType", + "documentation": "The supported host type, whether online/cloud or server/on-premises.
" + }, + "hostUrl": { + "shape": "HttpsUrl", + "documentation": "The Confluence host URL or instance URL.
" + } + }, + "documentation": "The endpoint information to connect to your Confluence data source.
" + }, + "CrawlFilterConfiguration": { + "type": "structure", + "required": [ + "type" + ], + "members": { + "patternObjectFilter": { + "shape": "PatternObjectFilterConfiguration", + "documentation": "The configuration of filtering certain objects or content types of the data source.
" + }, + "type": { + "shape": "CrawlFilterConfigurationType", + "documentation": "The type of filtering that you want to apply to certain objects or content of the data source. For example, the PATTERN
type is regular expression patterns you can apply to filter your content.
The configuration of filtering the data source content. For example, configuring regular expression patterns to include or exclude certain content.
" + }, + "CrawlFilterConfigurationType": { + "type": "string", + "enum": [ + "PATTERN" + ] + }, + "CreateAgentActionGroupRequest": { + "type": "structure", + "required": [ + "actionGroupName", + "agentId", + "agentVersion" + ], + "members": { + "actionGroupExecutor": { + "shape": "ActionGroupExecutor", + "documentation": "The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
" + }, + "actionGroupName": { + "shape": "Name", + "documentation": "The name to give the action group.
" + }, + "actionGroupState": { + "shape": "ActionGroupState", + "documentation": "Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
" + }, + "agentId": { + "shape": "Id", + "documentation": "The unique identifier of the agent for which to create the action group.
", + "location": "uri", + "locationName": "agentId" + }, + "agentVersion": { + "shape": "DraftVersion", + "documentation": "The version of the agent for which to create the action group.
", + "location": "uri", + "locationName": "agentVersion" + }, + "apiSchema": { + "shape": "APISchema", + "documentation": "Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas.
" + }, + "clientToken": { + "shape": "ClientToken", + "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", + "idempotencyToken": true + }, + "description": { + "shape": "Description", + "documentation": "A description of the action group.
" + }, + "functionSchema": { + "shape": "FunctionSchema", + "documentation": "Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.
" + }, + "parentActionGroupSignature": { + "shape": "ActionGroupSignature", + "documentation": "To allow your agent to request the user for additional information when trying to complete a task, set this field to AMAZON.UserInput
. You must leave the description
, apiSchema
, and actionGroupExecutor
fields blank for this action group.
To allow your agent to generate, run, and troubleshoot code when trying to complete a task, set this field to AMAZON.CodeInterpreter
. You must leave the description
, apiSchema
, and actionGroupExecutor
fields blank for this action group.
During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
" + } + } + }, + "CreateAgentActionGroupResponse": { + "type": "structure", + "required": [ + "agentActionGroup" + ], + "members": { + "agentActionGroup": { + "shape": "AgentActionGroup", + "documentation": "Contains details about the action group that was created.
" + } + } + }, + "CreateAgentAliasRequest": { + "type": "structure", + "required": [ + "agentAliasName", + "agentId" + ], + "members": { + "agentAliasName": { + "shape": "Name", + "documentation": "The name of the alias.
" + }, + "agentId": { + "shape": "Id", + "documentation": "The unique identifier of the agent.
", + "location": "uri", + "locationName": "agentId" + }, + "clientToken": { + "shape": "ClientToken", + "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", + "idempotencyToken": true + }, + "description": { + "shape": "Description", + "documentation": "A description of the alias of the agent.
" + }, + "routingConfiguration": { + "shape": "AgentAliasRoutingConfiguration", + "documentation": "Contains details about the routing configuration of the alias.
" + }, + "tags": { + "shape": "TagsMap", + "documentation": "Any tags that you want to attach to the alias of the agent.
" + } + } + }, + "CreateAgentAliasResponse": { + "type": "structure", + "required": [ + "agentAlias" + ], + "members": { + "agentAlias": { + "shape": "AgentAlias", + "documentation": "Contains details about the alias that was created.
" + } + } + }, + "CreateAgentRequest": { + "type": "structure", + "required": [ + "agentName" + ], + "members": { + "agentName": { + "shape": "Name", + "documentation": "A name for the agent that you create.
" + }, + "agentResourceRoleArn": { + "shape": "AgentRoleArn", + "documentation": "The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
" + }, + "clientToken": { + "shape": "ClientToken", + "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", + "idempotencyToken": true + }, + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent.
" + }, + "description": { + "shape": "Description", + "documentation": "A description of the agent.
" }, "foundationModel": { "shape": "ModelIdentifier", - "documentation": "The foundation model used for orchestration by the agent.
" + "documentation": "The foundation model to be used for orchestration by the agent you create.
" }, "guardrailConfiguration": { "shape": "GuardrailConfiguration", - "documentation": "The guardrails configuration assigned to the agent.
" + "documentation": "The unique Guardrail configuration assigned to the agent when it is created.
" }, "idleSessionTTLInSeconds": { "shape": "SessionTTL", @@ -1556,1471 +3288,1887 @@ "shape": "Instruction", "documentation": "Instructions that tell the agent what it should do and how it should interact with users.
" }, - "preparedAt": { - "shape": "DateTimestamp", - "documentation": "The time at which the agent was last prepared.
" + "memoryConfiguration": { + "shape": "MemoryConfiguration", + "documentation": "Contains the details of the memory configured for the agent.
" }, "promptOverrideConfiguration": { "shape": "PromptOverrideConfiguration", - "documentation": "Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see Advanced prompts.
" - }, - "recommendedActions": { - "shape": "RecommendedActions", - "documentation": "Contains recommended actions to take for the agent-related API that you invoked to succeed.
" + "documentation": "Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts.
" }, - "updatedAt": { - "shape": "DateTimestamp", - "documentation": "The time at which the agent was last updated.
" + "tags": { + "shape": "TagsMap", + "documentation": "Any tags that you want to attach to the agent.
" } - }, - "documentation": "Contains details about an agent.
" + } }, - "AgentActionGroup": { + "CreateAgentResponse": { "type": "structure", "required": [ - "actionGroupId", - "actionGroupName", - "actionGroupState", - "agentId", - "agentVersion", - "createdAt", - "updatedAt" + "agent" ], "members": { - "actionGroupExecutor": { - "shape": "ActionGroupExecutor", - "documentation": "The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
" + "agent": { + "shape": "Agent", + "documentation": "Contains details about the agent created.
" + } + } + }, + "CreateDataSourceRequest": { + "type": "structure", + "required": [ + "dataSourceConfiguration", + "knowledgeBaseId", + "name" + ], + "members": { + "clientToken": { + "shape": "ClientToken", + "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", + "idempotencyToken": true }, - "actionGroupId": { - "shape": "Id", - "documentation": "The unique identifier of the action group.
" + "dataDeletionPolicy": { + "shape": "DataDeletionPolicy", + "documentation": "The data deletion policy for the data source.
You can set the data deletion policy to:
DELETE: Deletes all underlying data belonging to the data source from the vector store upon deletion of a knowledge base or data source resource. Note that the vector store itself is not deleted, only the underlying data. This flag is ignored if an Amazon Web Services account is deleted.
RETAIN: Retains all underlying data in your vector store upon deletion of a knowledge base or data source resource.
The name of the action group.
" + "dataSourceConfiguration": { + "shape": "DataSourceConfiguration", + "documentation": "The connection configuration for the data source.
" }, - "actionGroupState": { - "shape": "ActionGroupState", - "documentation": "Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
" + "description": { + "shape": "Description", + "documentation": "A description of the data source.
" }, - "agentId": { + "knowledgeBaseId": { "shape": "Id", - "documentation": "The unique identifier of the agent to which the action group belongs.
" + "documentation": "The unique identifier of the knowledge base to which to add the data source.
", + "location": "uri", + "locationName": "knowledgeBaseId" }, - "agentVersion": { - "shape": "Version", - "documentation": "The version of the agent to which the action group belongs.
" + "name": { + "shape": "Name", + "documentation": "The name of the data source.
" }, - "apiSchema": { - "shape": "APISchema", - "documentation": "Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas.
" + "serverSideEncryptionConfiguration": { + "shape": "ServerSideEncryptionConfiguration", + "documentation": "Contains details about the server-side encryption for the data source.
" }, + "vectorIngestionConfiguration": { + "shape": "VectorIngestionConfiguration", + "documentation": "Contains details about how to ingest the documents in the data source.
" + } + } + }, + "CreateDataSourceResponse": { + "type": "structure", + "required": [ + "dataSource" + ], + "members": { + "dataSource": { + "shape": "DataSource", + "documentation": "Contains details about the data source.
" + } + } + }, + "CreateFlowAliasRequest": { + "type": "structure", + "required": [ + "flowIdentifier", + "name", + "routingConfiguration" + ], + "members": { "clientToken": { "shape": "ClientToken", - "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
" + "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", + "idempotencyToken": true + }, + "description": { + "shape": "Description", + "documentation": "A description for the alias.
" + }, + "flowIdentifier": { + "shape": "FlowIdentifier", + "documentation": "The unique identifier of the flow for which to create an alias.
", + "location": "uri", + "locationName": "flowIdentifier" + }, + "name": { + "shape": "Name", + "documentation": "A name for the alias.
" + }, + "routingConfiguration": { + "shape": "FlowAliasRoutingConfiguration", + "documentation": "Contains information about the version to which to map the alias.
" + }, + "tags": { + "shape": "TagsMap", + "documentation": "Any tags that you want to attach to the alias of the flow. For more information, see Tagging resources in Amazon Bedrock.
" + } + } + }, + "CreateFlowAliasResponse": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "flowId", + "id", + "name", + "routingConfiguration", + "updatedAt" + ], + "members": { + "arn": { + "shape": "FlowAliasArn", + "documentation": "The Amazon Resource Name (ARN) of the alias.
" }, "createdAt": { "shape": "DateTimestamp", - "documentation": "The time at which the action group was created.
" + "documentation": "The time at which the alias was created.
" }, "description": { "shape": "Description", - "documentation": "The description of the action group.
" + "documentation": "The description of the alias.
" }, - "functionSchema": { - "shape": "FunctionSchema", - "documentation": "Defines functions that each define parameters that the agent needs to invoke from the user. Each function represents an action in an action group.
" + "flowId": { + "shape": "FlowId", + "documentation": "The unique identifier of the flow that the alias belongs to.
" }, - "parentActionSignature": { - "shape": "ActionGroupSignature", - "documentation": "If this field is set as AMAZON.UserInput
, the agent can request the user for additional information when trying to complete a task. The description
, apiSchema
, and actionGroupExecutor
fields must be blank for this action group.
During orchestration, if the agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
" + "id": { + "shape": "FlowAliasId", + "documentation": "The unique identifier of the alias.
" + }, + "name": { + "shape": "Name", + "documentation": "The name of the alias.
" + }, + "routingConfiguration": { + "shape": "FlowAliasRoutingConfiguration", + "documentation": "Contains information about the version that the alias is mapped to.
" }, "updatedAt": { "shape": "DateTimestamp", - "documentation": "The time at which the action group was last updated.
" + "documentation": "The time at which the alias of the flow was last updated.
" } - }, - "documentation": "Contains details about an action group.
" + } }, - "AgentAlias": { + "CreateFlowRequest": { "type": "structure", "required": [ - "agentAliasArn", - "agentAliasId", - "agentAliasName", - "agentAliasStatus", - "agentId", + "executionRoleArn", + "name" + ], + "members": { + "clientToken": { + "shape": "ClientToken", + "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", + "idempotencyToken": true + }, + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
" + }, + "definition": { + "shape": "FlowDefinition", + "documentation": "A definition of the nodes and connections between nodes in the flow.
" + }, + "description": { + "shape": "FlowDescription", + "documentation": "A description for the flow.
" + }, + "executionRoleArn": { + "shape": "FlowExecutionRoleArn", + "documentation": "The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
" + }, + "name": { + "shape": "FlowName", + "documentation": "A name for the flow.
" + }, + "tags": { + "shape": "TagsMap", + "documentation": "Any tags that you want to attach to the flow. For more information, see Tagging resources in Amazon Bedrock.
" + } + } + }, + "CreateFlowResponse": { + "type": "structure", + "required": [ + "arn", "createdAt", - "routingConfiguration", - "updatedAt" + "executionRoleArn", + "id", + "name", + "status", + "updatedAt", + "version" ], "members": { - "agentAliasArn": { - "shape": "AgentAliasArn", - "documentation": "The Amazon Resource Name (ARN) of the alias of the agent.
" + "arn": { + "shape": "FlowArn", + "documentation": "The Amazon Resource Name (ARN) of the flow.
" }, - "agentAliasHistoryEvents": { - "shape": "AgentAliasHistoryEvents", - "documentation": "Contains details about the history of the alias.
" + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the flow was created.
" }, - "agentAliasId": { - "shape": "AgentAliasId", - "documentation": "The unique identifier of the alias of the agent.
" + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The Amazon Resource Name (ARN) of the KMS key that you encrypted the flow with.
" }, - "agentAliasName": { - "shape": "Name", - "documentation": "The name of the alias of the agent.
" + "definition": { + "shape": "FlowDefinition", + "documentation": "A definition of the nodes and connections between nodes in the flow.
" }, - "agentAliasStatus": { - "shape": "AgentAliasStatus", - "documentation": "The status of the alias of the agent and whether it is ready for use. The following statuses are possible:
CREATING – The agent alias is being created.
PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
FAILED – The agent alias API operation failed.
UPDATING – The agent alias is being updated.
DELETING – The agent alias is being deleted.
The description of the flow.
" }, - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent.
" + "executionRoleArn": { + "shape": "FlowExecutionRoleArn", + "documentation": "The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
" + }, + "id": { + "shape": "FlowId", + "documentation": "The unique identifier of the flow.
" + }, + "name": { + "shape": "FlowName", + "documentation": "The name of the flow.
" + }, + "status": { + "shape": "FlowStatus", + "documentation": "The status of the flow. When you submit this request, the status will be NotPrepared
. If creation fails, the status becomes Failed
.
The time at which the flow was last updated.
" }, + "version": { + "shape": "DraftVersion", + "documentation": "The version of the flow. When you create a flow, the version created is the DRAFT
version.
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
" + "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", + "idempotencyToken": true + }, + "description": { + "shape": "FlowDescription", + "documentation": "A description of the version of the flow.
" + }, + "flowIdentifier": { + "shape": "FlowIdentifier", + "documentation": "The unique identifier of the flow that you want to create a version of.
", + "location": "uri", + "locationName": "flowIdentifier" + } + } + }, + "CreateFlowVersionResponse": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "executionRoleArn", + "id", + "name", + "status", + "version" + ], + "members": { + "arn": { + "shape": "FlowArn", + "documentation": "The Amazon Resource Name (ARN) of the flow.
" }, "createdAt": { "shape": "DateTimestamp", - "documentation": "The time at which the alias of the agent was created.
" + "documentation": "The time at which the flow was created.
" + }, + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The KMS key that the flow is encrypted with.
" + }, + "definition": { + "shape": "FlowDefinition", + "documentation": "A definition of the nodes and connections in the flow.
" }, "description": { - "shape": "Description", - "documentation": "The description of the alias of the agent.
" + "shape": "FlowDescription", + "documentation": "The description of the flow version.
" }, - "failureReasons": { - "shape": "FailureReasons", - "documentation": "Information on the failure of Provisioned Throughput assigned to an agent alias.
" + "executionRoleArn": { + "shape": "FlowExecutionRoleArn", + "documentation": "The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
" }, - "routingConfiguration": { - "shape": "AgentAliasRoutingConfiguration", - "documentation": "Contains details about the routing configuration of the alias.
" + "id": { + "shape": "FlowId", + "documentation": "The unique identifier of the flow.
" }, - "updatedAt": { - "shape": "DateTimestamp", - "documentation": "The time at which the alias was last updated.
" + "name": { + "shape": "FlowName", + "documentation": "The name of the flow version.
" + }, + "status": { + "shape": "FlowStatus", + "documentation": "The status of the flow.
" + }, + "version": { + "shape": "NumericalVersion", + "documentation": "The version of the flow that was created. Versions are numbered incrementally, starting from 1.
" } - }, - "documentation": "Contains details about an alias of an agent.
" - }, - "AgentAliasArn": { - "type": "string", - "max": 2048, - "min": 0, - "pattern": "^arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$" + } }, - "AgentAliasHistoryEvent": { + "CreateKnowledgeBaseRequest": { "type": "structure", + "required": [ + "knowledgeBaseConfiguration", + "name", + "roleArn", + "storageConfiguration" + ], "members": { - "endDate": { - "shape": "DateTimestamp", - "documentation": "The date that the alias stopped being associated to the version in the routingConfiguration
object
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", + "idempotencyToken": true }, - "routingConfiguration": { - "shape": "AgentAliasRoutingConfiguration", - "documentation": "Contains details about the version of the agent with which the alias is associated.
" + "description": { + "shape": "Description", + "documentation": "A description of the knowledge base.
" }, - "startDate": { - "shape": "DateTimestamp", - "documentation": "The date that the alias began being associated to the version in the routingConfiguration
object.
Contains details about the embeddings model used for the knowledge base.
" + }, + "name": { + "shape": "Name", + "documentation": "A name for the knowledge base.
" + }, + "roleArn": { + "shape": "KnowledgeBaseRoleArn", + "documentation": "The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.
" + }, + "storageConfiguration": { + "shape": "StorageConfiguration", + "documentation": "Contains details about the configuration of the vector database used for the knowledge base.
" + }, + "tags": { + "shape": "TagsMap", + "documentation": "Specify the key-value pairs for the tags that you want to attach to your knowledge base in this object.
" } - }, - "documentation": "Contains details about the history of the alias.
" - }, - "AgentAliasHistoryEvents": { - "type": "list", - "member": { - "shape": "AgentAliasHistoryEvent" - }, - "max": 10, - "min": 0 - }, - "AgentAliasId": { - "type": "string", - "max": 10, - "min": 10, - "pattern": "^(\\bTSTALIASID\\b|[0-9a-zA-Z]+)$" - }, - "AgentAliasRoutingConfiguration": { - "type": "list", - "member": { - "shape": "AgentAliasRoutingConfigurationListItem" - }, - "max": 1, - "min": 0 + } }, - "AgentAliasRoutingConfigurationListItem": { + "CreateKnowledgeBaseResponse": { "type": "structure", + "required": [ + "knowledgeBase" + ], "members": { - "agentVersion": { - "shape": "Version", - "documentation": "The version of the agent with which the alias is associated.
" - }, - "provisionedThroughput": { - "shape": "ProvisionedModelIdentifier", - "documentation": "Information on the Provisioned Throughput assigned to an agent alias.
" + "knowledgeBase": { + "shape": "KnowledgeBase", + "documentation": "Contains details about the knowledge base.
" } - }, - "documentation": "Contains details about the routing configuration of the alias.
" - }, - "AgentAliasStatus": { - "type": "string", - "enum": [ - "CREATING", - "PREPARED", - "FAILED", - "UPDATING", - "DELETING" - ] - }, - "AgentAliasSummaries": { - "type": "list", - "member": { - "shape": "AgentAliasSummary" - }, - "max": 10, - "min": 0 + } }, - "AgentAliasSummary": { + "CreatePromptRequest": { "type": "structure", "required": [ - "agentAliasId", - "agentAliasName", - "agentAliasStatus", - "createdAt", - "updatedAt" + "name" ], "members": { - "agentAliasId": { - "shape": "AgentAliasId", - "documentation": "Contains details about
" - }, - "agentAliasName": { - "shape": "Name", - "documentation": "The name of the alias.
" + "clientToken": { + "shape": "ClientToken", + "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", + "idempotencyToken": true }, - "agentAliasStatus": { - "shape": "AgentAliasStatus", - "documentation": "The status of the alias.
" + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
" }, - "createdAt": { - "shape": "DateTimestamp", - "documentation": "The time at which the alias of the agent was created.
" + "defaultVariant": { + "shape": "PromptVariantName", + "documentation": "The name of the default variant for the prompt. This value must match the name
field in the relevant PromptVariant object.
The description of the alias.
" + "shape": "PromptDescription", + "documentation": "A description for the prompt.
" }, - "routingConfiguration": { - "shape": "AgentAliasRoutingConfiguration", - "documentation": "Contains details about the version of the agent with which the alias is associated.
" + "name": { + "shape": "PromptName", + "documentation": "A name for the prompt.
" }, - "updatedAt": { - "shape": "DateTimestamp", - "documentation": "The time at which the alias was last updated.
" + "tags": { + "shape": "TagsMap", + "documentation": "Any tags that you want to attach to the prompt. For more information, see Tagging resources in Amazon Bedrock.
" + }, + "variants": { + "shape": "PromptVariantList", + "documentation": "A list of objects, each containing details about a variant of the prompt.
" } - }, - "documentation": "Contains details about an alias of an agent.
" - }, - "AgentArn": { - "type": "string", - "max": 2048, - "min": 0, - "pattern": "^arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent/[0-9a-zA-Z]{10}$" + } }, - "AgentKnowledgeBase": { + "CreatePromptResponse": { "type": "structure", "required": [ - "agentId", - "agentVersion", + "arn", "createdAt", - "description", - "knowledgeBaseId", - "knowledgeBaseState", - "updatedAt" + "id", + "name", + "updatedAt", + "version" ], "members": { - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent with which the knowledge base is associated.
" - }, - "agentVersion": { - "shape": "Version", - "documentation": "The version of the agent with which the knowledge base is associated.
" + "arn": { + "shape": "PromptArn", + "documentation": "The Amazon Resource Name (ARN) of the prompt.
" }, "createdAt": { "shape": "DateTimestamp", - "documentation": "The time at which the association between the agent and the knowledge base was created.
" + "documentation": "The time at which the prompt was created.
" + }, + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The Amazon Resource Name (ARN) of the KMS key that you encrypted the prompt with.
" + }, + "defaultVariant": { + "shape": "PromptVariantName", + "documentation": "The name of the default variant for your prompt.
" }, "description": { - "shape": "Description", - "documentation": "The description of the association between the agent and the knowledge base.
" + "shape": "PromptDescription", + "documentation": "The description of the prompt.
" }, - "knowledgeBaseId": { - "shape": "Id", - "documentation": "The unique identifier of the association between the agent and the knowledge base.
" + "id": { + "shape": "PromptId", + "documentation": "The unique identifier of the prompt.
" }, - "knowledgeBaseState": { - "shape": "KnowledgeBaseState", - "documentation": "Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
" + "name": { + "shape": "PromptName", + "documentation": "The name of the prompt.
" }, "updatedAt": { "shape": "DateTimestamp", - "documentation": "The time at which the association between the agent and the knowledge base was last updated.
" + "documentation": "The time at which the prompt was last updated.
" + }, + "variants": { + "shape": "PromptVariantList", + "documentation": "A list of objects, each containing details about a variant of the prompt.
" + }, + "version": { + "shape": "Version", + "documentation": "The version of the prompt. When you create a prompt, the version created is the DRAFT
version.
Contains details about a knowledge base that is associated with an agent.
" + } }, - "AgentKnowledgeBaseSummaries": { - "type": "list", - "member": { - "shape": "AgentKnowledgeBaseSummary" - }, - "max": 10, - "min": 0 + "CreatePromptVersionRequest": { + "type": "structure", + "required": [ + "promptIdentifier" + ], + "members": { + "clientToken": { + "shape": "ClientToken", + "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", + "idempotencyToken": true + }, + "description": { + "shape": "PromptDescription", + "documentation": "A description for the version of the prompt.
" + }, + "promptIdentifier": { + "shape": "PromptIdentifier", + "documentation": "The unique identifier of the prompt that you want to create a version of.
", + "location": "uri", + "locationName": "promptIdentifier" + }, + "tags": { + "shape": "TagsMap", + "documentation": "Any tags that you want to attach to the version of the prompt. For more information, see Tagging resources in Amazon Bedrock.
" + } + } }, - "AgentKnowledgeBaseSummary": { + "CreatePromptVersionResponse": { "type": "structure", "required": [ - "knowledgeBaseId", - "knowledgeBaseState", - "updatedAt" + "arn", + "createdAt", + "id", + "name", + "updatedAt", + "version" ], "members": { + "arn": { + "shape": "PromptArn", + "documentation": "The Amazon Resource Name (ARN) of the version of the prompt.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the prompt was created.
" + }, + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The Amazon Resource Name (ARN) of the KMS key to encrypt the version of the prompt.
" + }, + "defaultVariant": { + "shape": "PromptVariantName", + "documentation": "The name of the default variant for the prompt. This value must match the name
field in the relevant PromptVariant object.
The description of the knowledge base associated with an agent.
" + "shape": "PromptDescription", + "documentation": "A description for the prompt version.
" }, - "knowledgeBaseId": { - "shape": "Id", - "documentation": "The unique identifier of the knowledge base associated with an agent.
" + "id": { + "shape": "PromptId", + "documentation": "The unique identifier of the prompt.
" }, - "knowledgeBaseState": { - "shape": "KnowledgeBaseState", - "documentation": "Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.
" + "name": { + "shape": "PromptName", + "documentation": "The name of the prompt version.
" }, "updatedAt": { "shape": "DateTimestamp", - "documentation": "The time at which the knowledge base associated with an agent was last updated.
" + "documentation": "The time at which the prompt was last updated.
" + }, + "variants": { + "shape": "PromptVariantList", + "documentation": "A list of objects, each containing details about a variant of the prompt.
" + }, + "version": { + "shape": "Version", + "documentation": "The version of the prompt that was created. Versions are numbered incrementally, starting from 1.
" } - }, - "documentation": "Contains details about a knowledge base associated with an agent.
" + } }, - "AgentRoleArn": { + "CreationMode": { "type": "string", - "max": 2048, - "min": 0, - "pattern": "^arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+$" + "enum": [ + "DEFAULT", + "OVERRIDDEN" + ] }, - "AgentStatus": { + "CustomControlMethod": { "type": "string", "enum": [ - "CREATING", - "PREPARING", - "PREPARED", - "NOT_PREPARED", - "DELETING", - "FAILED", - "VERSIONING", - "UPDATING" + "RETURN_CONTROL" ] }, - "AgentSummaries": { - "type": "list", - "member": { - "shape": "AgentSummary" - }, - "max": 10, - "min": 0 - }, - "AgentSummary": { + "CustomTransformationConfiguration": { "type": "structure", "required": [ - "agentId", - "agentName", - "agentStatus", - "updatedAt" + "intermediateStorage", + "transformations" ], "members": { - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent.
" - }, - "agentName": { - "shape": "Name", - "documentation": "The name of the agent.
" - }, - "agentStatus": { - "shape": "AgentStatus", - "documentation": "The status of the agent.
" - }, - "description": { - "shape": "Description", - "documentation": "The description of the agent.
" - }, - "guardrailConfiguration": { - "shape": "GuardrailConfiguration", - "documentation": "The details of the guardrails configuration in the agent summary.
" + "intermediateStorage": { + "shape": "IntermediateStorage", + "documentation": "An S3 bucket path for input and output objects.
" }, - "latestAgentVersion": { - "shape": "Version", - "documentation": "The latest version of the agent.
" - }, - "updatedAt": { - "shape": "DateTimestamp", - "documentation": "The time at which the agent was last updated.
" + "transformations": { + "shape": "Transformations", + "documentation": "A Lambda function that processes documents.
" } }, - "documentation": "Contains details about an agent.
" + "documentation": "Settings for customizing steps in the data source content ingestion pipeline.
You can configure the data source to process documents with a Lambda function after they are parsed and converted into chunks. When you add a post-chunking transformation, the service stores chunked documents in an S3 bucket and invokes a Lambda function to process them.
To process chunked documents with a Lambda function, define an S3 bucket path for input and output objects, and a transformation that specifies the Lambda function to invoke. You can use the Lambda function to customize how chunks are split, and the metadata for each chunk.
" }, - "AgentVersion": { + "DataDeletionPolicy": { + "type": "string", + "enum": [ + "RETAIN", + "DELETE" + ] + }, + "DataSource": { "type": "structure", "required": [ - "agentArn", - "agentId", - "agentName", - "agentResourceRoleArn", - "agentStatus", "createdAt", - "idleSessionTTLInSeconds", - "updatedAt", - "version" + "dataSourceConfiguration", + "dataSourceId", + "knowledgeBaseId", + "name", + "status", + "updatedAt" ], "members": { - "agentArn": { - "shape": "AgentArn", - "documentation": "The Amazon Resource Name (ARN) of the agent that the version belongs to.
" - }, - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent that the version belongs to.
" - }, - "agentName": { - "shape": "Name", - "documentation": "The name of the agent that the version belongs to.
" - }, - "agentResourceRoleArn": { - "shape": "AgentRoleArn", - "documentation": "The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
" - }, - "agentStatus": { - "shape": "AgentStatus", - "documentation": "The status of the agent that the version belongs to.
" - }, "createdAt": { "shape": "DateTimestamp", - "documentation": "The time at which the version was created.
" + "documentation": "The time at which the data source was created.
" }, - "customerEncryptionKeyArn": { - "shape": "KmsKeyArn", - "documentation": "The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.
" + "dataDeletionPolicy": { + "shape": "DataDeletionPolicy", + "documentation": "The data deletion policy for the data source.
" + }, + "dataSourceConfiguration": { + "shape": "DataSourceConfiguration", + "documentation": "The connection configuration for the data source.
" + }, + "dataSourceId": { + "shape": "Id", + "documentation": "The unique identifier of the data source.
" }, "description": { "shape": "Description", - "documentation": "The description of the version.
" + "documentation": "The description of the data source.
" }, "failureReasons": { "shape": "FailureReasons", - "documentation": "A list of reasons that the API operation on the version failed.
" - }, - "foundationModel": { - "shape": "ModelIdentifier", - "documentation": "The foundation model that the version invokes.
" - }, - "guardrailConfiguration": { - "shape": "GuardrailConfiguration", - "documentation": "The guardrails configuration assigned to the agent version.
" + "documentation": "The detailed reasons on the failure to delete a data source.
" }, - "idleSessionTTLInSeconds": { - "shape": "SessionTTL", - "documentation": "The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
" + "knowledgeBaseId": { + "shape": "Id", + "documentation": "The unique identifier of the knowledge base to which the data source belongs.
" }, - "instruction": { - "shape": "Instruction", - "documentation": "The instructions provided to the agent.
" + "name": { + "shape": "Name", + "documentation": "The name of the data source.
" }, - "promptOverrideConfiguration": { - "shape": "PromptOverrideConfiguration", - "documentation": "Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see Advanced prompts.
" + "serverSideEncryptionConfiguration": { + "shape": "ServerSideEncryptionConfiguration", + "documentation": "Contains details about the configuration of the server-side encryption.
" }, - "recommendedActions": { - "shape": "RecommendedActions", - "documentation": "A list of recommended actions to take for the failed API operation on the version to succeed.
" + "status": { + "shape": "DataSourceStatus", + "documentation": "The status of the data source. The following statuses are possible:
Available – The data source has been created and is ready for ingestion into the knowledge base.
Deleting – The data source is being deleted.
The time at which the version was last updated.
" + "documentation": "The time at which the data source was last updated.
" }, - "version": { - "shape": "NumericalVersion", - "documentation": "The version number.
" + "vectorIngestionConfiguration": { + "shape": "VectorIngestionConfiguration", + "documentation": "Contains details about how to ingest the documents in the data source.
" } }, - "documentation": "Contains details about a version of an agent.
" + "documentation": "Contains details about a data source.
" }, - "AgentVersionSummaries": { + "DataSourceConfiguration": { + "type": "structure", + "required": [ + "type" + ], + "members": { + "confluenceConfiguration": { + "shape": "ConfluenceDataSourceConfiguration", + "documentation": "The configuration information to connect to Confluence as your data source.
Confluence data source connector is in preview release and is subject to change.
The configuration information to connect to Amazon S3 as your data source.
" + }, + "salesforceConfiguration": { + "shape": "SalesforceDataSourceConfiguration", + "documentation": "The configuration information to connect to Salesforce as your data source.
Salesforce data source connector is in preview release and is subject to change.
The configuration information to connect to SharePoint as your data source.
SharePoint data source connector is in preview release and is subject to change.
The type of data source.
" + }, + "webConfiguration": { + "shape": "WebDataSourceConfiguration", + "documentation": "The configuration of web URLs to crawl for your data source. You should be authorized to crawl the URLs.
Crawling web URLs as your data source is in preview release and is subject to change.
The connection configuration for the data source.
" + }, + "DataSourceStatus": { + "type": "string", + "enum": [ + "AVAILABLE", + "DELETING", + "DELETE_UNSUCCESSFUL" + ] + }, + "DataSourceSummaries": { "type": "list", "member": { - "shape": "AgentVersionSummary" - }, - "max": 10, - "min": 0 + "shape": "DataSourceSummary" + } }, - "AgentVersionSummary": { + "DataSourceSummary": { "type": "structure", "required": [ - "agentName", - "agentStatus", - "agentVersion", - "createdAt", + "dataSourceId", + "knowledgeBaseId", + "name", + "status", "updatedAt" ], "members": { - "agentName": { - "shape": "Name", - "documentation": "The name of the agent to which the version belongs.
" - }, - "agentStatus": { - "shape": "AgentStatus", - "documentation": "The status of the agent to which the version belongs.
" + "dataSourceId": { + "shape": "Id", + "documentation": "The unique identifier of the data source.
" }, - "agentVersion": { - "shape": "Version", - "documentation": "The version of the agent.
" + "description": { + "shape": "Description", + "documentation": "The description of the data source.
" }, - "createdAt": { - "shape": "DateTimestamp", - "documentation": "The time at which the version was created.
" + "knowledgeBaseId": { + "shape": "Id", + "documentation": "The unique identifier of the knowledge base to which the data source belongs.
" }, - "description": { - "shape": "Description", - "documentation": "The description of the version of the agent.
" + "name": { + "shape": "Name", + "documentation": "The name of the data source.
" }, - "guardrailConfiguration": { - "shape": "GuardrailConfiguration", - "documentation": "The details of the guardrails configuration in the agent version summary.
" + "status": { + "shape": "DataSourceStatus", + "documentation": "The status of the data source.
" }, "updatedAt": { "shape": "DateTimestamp", - "documentation": "The time at which the version was last updated.
" + "documentation": "The time at which the data source was last updated.
" } }, - "documentation": "Contains details about a version of an agent.
" + "documentation": "Contains details about a data source.
" }, - "AssociateAgentKnowledgeBaseRequest": { + "DataSourceType": { + "type": "string", + "enum": [ + "S3", + "WEB", + "CONFLUENCE", + "SALESFORCE", + "SHAREPOINT" + ] + }, + "DateTimestamp": { + "type": "timestamp", + "timestampFormat": "iso8601" + }, + "DeleteAgentActionGroupRequest": { "type": "structure", "required": [ + "actionGroupId", "agentId", - "agentVersion", - "description", - "knowledgeBaseId" + "agentVersion" ], "members": { + "actionGroupId": { + "shape": "Id", + "documentation": "The unique identifier of the action group to delete.
", + "location": "uri", + "locationName": "actionGroupId" + }, "agentId": { "shape": "Id", - "documentation": "The unique identifier of the agent with which you want to associate the knowledge base.
", + "documentation": "The unique identifier of the agent that the action group belongs to.
", "location": "uri", "locationName": "agentId" }, "agentVersion": { "shape": "DraftVersion", - "documentation": "The version of the agent with which you want to associate the knowledge base.
", + "documentation": "The version of the agent that the action group belongs to.
", "location": "uri", "locationName": "agentVersion" }, - "description": { - "shape": "Description", - "documentation": "A description of what the agent should use the knowledge base for.
" + "skipResourceInUseCheck": { + "shape": "Boolean", + "documentation": "By default, this value is false
and deletion is stopped if the resource is in use. If you set it to true
, the resource will be deleted even if the resource is in use.
The unique identifier of the alias to delete.
", + "location": "uri", + "locationName": "agentAliasId" }, - "knowledgeBaseId": { + "agentId": { "shape": "Id", - "documentation": "The unique identifier of the knowledge base to associate with the agent.
" - }, - "knowledgeBaseState": { - "shape": "KnowledgeBaseState", - "documentation": "Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
" + "documentation": "The unique identifier of the agent that the alias belongs to.
", + "location": "uri", + "locationName": "agentId" } } }, - "AssociateAgentKnowledgeBaseResponse": { + "DeleteAgentAliasResponse": { "type": "structure", "required": [ - "agentKnowledgeBase" + "agentAliasId", + "agentAliasStatus", + "agentId" ], "members": { - "agentKnowledgeBase": { - "shape": "AgentKnowledgeBase", - "documentation": "Contains details about the knowledge base that has been associated with the agent.
" + "agentAliasId": { + "shape": "AgentAliasId", + "documentation": "The unique identifier of the alias that was deleted.
" + }, + "agentAliasStatus": { + "shape": "AgentAliasStatus", + "documentation": "The status of the alias.
" + }, + "agentId": { + "shape": "Id", + "documentation": "The unique identifier of the agent that the alias belongs to.
" } } }, - "BasePromptTemplate": { - "type": "string", - "max": 100000, - "min": 1 - }, - "BedrockEmbeddingModelArn": { - "type": "string", - "max": 2048, - "min": 20, - "pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$" - }, - "BedrockEmbeddingModelConfiguration": { + "DeleteAgentRequest": { "type": "structure", + "required": [ + "agentId" + ], "members": { - "dimensions": { - "shape": "Dimensions", - "documentation": "The dimensions details for the vector configuration used on the Bedrock embeddings model.
" + "agentId": { + "shape": "Id", + "documentation": "The unique identifier of the agent to delete.
", + "location": "uri", + "locationName": "agentId" + }, + "skipResourceInUseCheck": { + "shape": "Boolean", + "documentation": "By default, this value is false
and deletion is stopped if the resource is in use. If you set it to true
, the resource will be deleted even if the resource is in use.
The vector configuration details for the Bedrock embeddings model.
" - }, - "Boolean": { - "type": "boolean", - "box": true + } }, - "BucketOwnerAccountId": { - "type": "string", - "max": 12, - "min": 12, - "pattern": "^[0-9]{12}$" + "DeleteAgentResponse": { + "type": "structure", + "required": [ + "agentId", + "agentStatus" + ], + "members": { + "agentId": { + "shape": "Id", + "documentation": "The unique identifier of the agent that was deleted.
" + }, + "agentStatus": { + "shape": "AgentStatus", + "documentation": "The status of the agent.
" + } + } }, - "ChunkingConfiguration": { + "DeleteAgentVersionRequest": { "type": "structure", "required": [ - "chunkingStrategy" + "agentId", + "agentVersion" ], "members": { - "chunkingStrategy": { - "shape": "ChunkingStrategy", - "documentation": "Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE
, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk.
FIXED_SIZE
– Amazon Bedrock splits your source data into chunks of the approximate size that you set in the fixedSizeChunkingConfiguration
.
NONE
– Amazon Bedrock treats each file as one chunk. If you choose this option, you may want to pre-process your documents by splitting them into separate files.
The unique identifier of the agent that the version belongs to.
", + "location": "uri", + "locationName": "agentId" }, - "fixedSizeChunkingConfiguration": { - "shape": "FixedSizeChunkingConfiguration", - "documentation": "Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy
as NONE
, exclude this field.
The version of the agent to delete.
", + "location": "uri", + "locationName": "agentVersion" + }, + "skipResourceInUseCheck": { + "shape": "Boolean", + "documentation": "By default, this value is false
and deletion is stopped if the resource is in use. If you set it to true
, the resource will be deleted even if the resource is in use.
Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
" + } }, - "ChunkingStrategy": { - "type": "string", - "enum": [ - "FIXED_SIZE", - "NONE" - ] + "DeleteAgentVersionResponse": { + "type": "structure", + "required": [ + "agentId", + "agentStatus", + "agentVersion" + ], + "members": { + "agentId": { + "shape": "Id", + "documentation": "The unique identifier of the agent that the version belongs to.
" + }, + "agentStatus": { + "shape": "AgentStatus", + "documentation": "The status of the agent version.
" + }, + "agentVersion": { + "shape": "NumericalVersion", + "documentation": "The version that was deleted.
" + } + } }, - "ClientToken": { - "type": "string", - "max": 256, - "min": 33, - "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*$" + "DeleteDataSourceRequest": { + "type": "structure", + "required": [ + "dataSourceId", + "knowledgeBaseId" + ], + "members": { + "dataSourceId": { + "shape": "Id", + "documentation": "The unique identifier of the data source to delete.
", + "location": "uri", + "locationName": "dataSourceId" + }, + "knowledgeBaseId": { + "shape": "Id", + "documentation": "The unique identifier of the knowledge base from which to delete the data source.
", + "location": "uri", + "locationName": "knowledgeBaseId" + } + } }, - "ColumnName": { - "type": "string", - "max": 63, - "min": 0, - "pattern": "^[a-zA-Z0-9_\\-]+$" + "DeleteDataSourceResponse": { + "type": "structure", + "required": [ + "dataSourceId", + "knowledgeBaseId", + "status" + ], + "members": { + "dataSourceId": { + "shape": "Id", + "documentation": "The unique identifier of the data source that was deleted.
" + }, + "knowledgeBaseId": { + "shape": "Id", + "documentation": "The unique identifier of the knowledge base to which the data source that was deleted belonged.
" + }, + "status": { + "shape": "DataSourceStatus", + "documentation": "The status of the data source.
" + } + } }, - "CreateAgentActionGroupRequest": { + "DeleteFlowAliasRequest": { "type": "structure", "required": [ - "actionGroupName", - "agentId", - "agentVersion" + "aliasIdentifier", + "flowIdentifier" ], "members": { - "actionGroupExecutor": { - "shape": "ActionGroupExecutor", - "documentation": "The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
" - }, - "actionGroupName": { - "shape": "Name", - "documentation": "The name to give the action group.
" - }, - "actionGroupState": { - "shape": "ActionGroupState", - "documentation": "Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
" - }, - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent for which to create the action group.
", + "aliasIdentifier": { + "shape": "FlowAliasIdentifier", + "documentation": "The unique identifier of the alias to be deleted.
", "location": "uri", - "locationName": "agentId" + "locationName": "aliasIdentifier" }, - "agentVersion": { - "shape": "DraftVersion", - "documentation": "The version of the agent for which to create the action group.
", + "flowIdentifier": { + "shape": "FlowIdentifier", + "documentation": "The unique identifier of the flow that the alias belongs to.
", "location": "uri", - "locationName": "agentVersion" - }, - "apiSchema": { - "shape": "APISchema", - "documentation": "Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas.
" - }, - "clientToken": { - "shape": "ClientToken", - "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", - "idempotencyToken": true - }, - "description": { - "shape": "Description", - "documentation": "A description of the action group.
" - }, - "functionSchema": { - "shape": "FunctionSchema", - "documentation": "Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema.
" - }, - "parentActionGroupSignature": { - "shape": "ActionGroupSignature", - "documentation": "To allow your agent to request the user for additional information when trying to complete a task, set this field to AMAZON.UserInput
. You must leave the description
, apiSchema
, and actionGroupExecutor
fields blank for this action group.
During orchestration, if your agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
" + "locationName": "flowIdentifier" } } }, - "CreateAgentActionGroupResponse": { + "DeleteFlowAliasResponse": { "type": "structure", "required": [ - "agentActionGroup" + "flowId", + "id" ], "members": { - "agentActionGroup": { - "shape": "AgentActionGroup", - "documentation": "Contains details about the action group that was created.
" + "flowId": { + "shape": "FlowId", + "documentation": "The unique identifier of the flow that the alias belongs to.
" + }, + "id": { + "shape": "FlowAliasId", + "documentation": "The unique identifier of the flow.
" } } }, - "CreateAgentAliasRequest": { + "DeleteFlowRequest": { "type": "structure", "required": [ - "agentAliasName", - "agentId" + "flowIdentifier" ], "members": { - "agentAliasName": { - "shape": "Name", - "documentation": "The name of the alias.
" - }, - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent.
", + "flowIdentifier": { + "shape": "FlowIdentifier", + "documentation": "The unique identifier of the flow.
", "location": "uri", - "locationName": "agentId" - }, - "clientToken": { - "shape": "ClientToken", - "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", - "idempotencyToken": true - }, - "description": { - "shape": "Description", - "documentation": "A description of the alias of the agent.
" - }, - "routingConfiguration": { - "shape": "AgentAliasRoutingConfiguration", - "documentation": "Contains details about the routing configuration of the alias.
" + "locationName": "flowIdentifier" }, - "tags": { - "shape": "TagsMap", - "documentation": "Any tags that you want to attach to the alias of the agent.
" + "skipResourceInUseCheck": { + "shape": "Boolean", + "documentation": "By default, this value is false
and deletion is stopped if the resource is in use. If you set it to true
, the resource will be deleted even if the resource is in use.
Contains details about the alias that was created.
" + "id": { + "shape": "FlowId", + "documentation": "The unique identifier of the flow.
" } } }, - "CreateAgentRequest": { + "DeleteFlowVersionRequest": { "type": "structure", "required": [ - "agentName" + "flowIdentifier", + "flowVersion" ], "members": { - "agentName": { - "shape": "Name", - "documentation": "A name for the agent that you create.
" - }, - "agentResourceRoleArn": { - "shape": "AgentRoleArn", - "documentation": "The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
" - }, - "clientToken": { - "shape": "ClientToken", - "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", - "idempotencyToken": true - }, - "customerEncryptionKeyArn": { - "shape": "KmsKeyArn", - "documentation": "The Amazon Resource Name (ARN) of the KMS key with which to encrypt the agent.
" - }, - "description": { - "shape": "Description", - "documentation": "A description of the agent.
" - }, - "foundationModel": { - "shape": "ModelIdentifier", - "documentation": "The foundation model to be used for orchestration by the agent you create.
" - }, - "guardrailConfiguration": { - "shape": "GuardrailConfiguration", - "documentation": "The unique Guardrail configuration assigned to the agent when it is created.
" - }, - "idleSessionTTLInSeconds": { - "shape": "SessionTTL", - "documentation": "The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
" - }, - "instruction": { - "shape": "Instruction", - "documentation": "Instructions that tell the agent what it should do and how it should interact with users.
" + "flowIdentifier": { + "shape": "FlowIdentifier", + "documentation": "The unique identifier of the flow whose version that you want to delete
", + "location": "uri", + "locationName": "flowIdentifier" }, - "promptOverrideConfiguration": { - "shape": "PromptOverrideConfiguration", - "documentation": "Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts.
" + "flowVersion": { + "shape": "NumericalVersion", + "documentation": "The version of the flow that you want to delete.
", + "location": "uri", + "locationName": "flowVersion" }, - "tags": { - "shape": "TagsMap", - "documentation": "Any tags that you want to attach to the agent.
" + "skipResourceInUseCheck": { + "shape": "Boolean", + "documentation": "By default, this value is false
and deletion is stopped if the resource is in use. If you set it to true
, the resource will be deleted even if the resource is in use.
Contains details about the agent created.
" + "id": { + "shape": "Id", + "documentation": "The unique identifier of the flow.
" + }, + "version": { + "shape": "NumericalVersion", + "documentation": "The version of the flow being deleted.
" } } }, - "CreateDataSourceRequest": { + "DeleteKnowledgeBaseRequest": { "type": "structure", "required": [ - "dataSourceConfiguration", - "knowledgeBaseId", - "name" + "knowledgeBaseId" ], "members": { - "clientToken": { - "shape": "ClientToken", - "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", - "idempotencyToken": true - }, - "dataDeletionPolicy": { - "shape": "DataDeletionPolicy", - "documentation": "The data deletion policy assigned to the data source.
" - }, - "dataSourceConfiguration": { - "shape": "DataSourceConfiguration", - "documentation": "Contains metadata about where the data source is stored.
" - }, - "description": { - "shape": "Description", - "documentation": "A description of the data source.
" - }, "knowledgeBaseId": { "shape": "Id", - "documentation": "The unique identifier of the knowledge base to which to add the data source.
", + "documentation": "The unique identifier of the knowledge base to delete.
", "location": "uri", "locationName": "knowledgeBaseId" - }, - "name": { - "shape": "Name", - "documentation": "The name of the data source.
" - }, - "serverSideEncryptionConfiguration": { - "shape": "ServerSideEncryptionConfiguration", - "documentation": "Contains details about the server-side encryption for the data source.
" - }, - "vectorIngestionConfiguration": { - "shape": "VectorIngestionConfiguration", - "documentation": "Contains details about how to ingest the documents in the data source.
" } } }, - "CreateDataSourceResponse": { + "DeleteKnowledgeBaseResponse": { "type": "structure", "required": [ - "dataSource" + "knowledgeBaseId", + "status" ], "members": { - "dataSource": { - "shape": "DataSource", - "documentation": "Contains details about the data source.
" + "knowledgeBaseId": { + "shape": "Id", + "documentation": "The unique identifier of the knowledge base that was deleted.
" + }, + "status": { + "shape": "KnowledgeBaseStatus", + "documentation": "The status of the knowledge base and whether it has been successfully deleted.
" } } }, - "CreateKnowledgeBaseRequest": { + "DeletePromptRequest": { "type": "structure", "required": [ - "knowledgeBaseConfiguration", - "name", - "roleArn", - "storageConfiguration" + "promptIdentifier" ], "members": { - "clientToken": { - "shape": "ClientToken", - "documentation": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
", - "idempotencyToken": true - }, - "description": { - "shape": "Description", - "documentation": "A description of the knowledge base.
" - }, - "knowledgeBaseConfiguration": { - "shape": "KnowledgeBaseConfiguration", - "documentation": "Contains details about the embeddings model used for the knowledge base.
" - }, - "name": { - "shape": "Name", - "documentation": "A name for the knowledge base.
" - }, - "roleArn": { - "shape": "KnowledgeBaseRoleArn", - "documentation": "The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.
" - }, - "storageConfiguration": { - "shape": "StorageConfiguration", - "documentation": "Contains details about the configuration of the vector database used for the knowledge base.
" + "promptIdentifier": { + "shape": "PromptIdentifier", + "documentation": "The unique identifier of the prompt.
", + "location": "uri", + "locationName": "promptIdentifier" }, - "tags": { - "shape": "TagsMap", - "documentation": "Specify the key-value pairs for the tags that you want to attach to your knowledge base in this object.
" + "promptVersion": { + "shape": "NumericalVersion", + "documentation": "The version of the prompt to delete.
", + "location": "querystring", + "locationName": "promptVersion" } } }, - "CreateKnowledgeBaseResponse": { + "DeletePromptResponse": { "type": "structure", "required": [ - "knowledgeBase" + "id" ], "members": { - "knowledgeBase": { - "shape": "KnowledgeBase", - "documentation": "Contains details about the knowledge base.
" + "id": { + "shape": "PromptId", + "documentation": "The unique identifier of the prompt that was deleted.
" + }, + "version": { + "shape": "NumericalVersion", + "documentation": "The version of the prompt that was deleted.
" } - } - }, - "CreationMode": { - "type": "string", - "enum": [ - "DEFAULT", - "OVERRIDDEN" - ] + } }, - "CustomControlMethod": { + "Description": { "type": "string", - "enum": [ - "RETURN_CONTROL" - ] + "max": 200, + "min": 1 }, - "DataDeletionPolicy": { - "type": "string", - "enum": [ - "RETAIN", - "DELETE" - ] + "Dimensions": { + "type": "integer", + "box": true, + "max": 4096, + "min": 0 }, - "DataSource": { + "DisassociateAgentKnowledgeBaseRequest": { "type": "structure", "required": [ - "createdAt", - "dataSourceConfiguration", - "dataSourceId", - "knowledgeBaseId", - "name", - "status", - "updatedAt" + "agentId", + "agentVersion", + "knowledgeBaseId" ], "members": { - "createdAt": { - "shape": "DateTimestamp", - "documentation": "The time at which the data source was created.
" - }, - "dataDeletionPolicy": { - "shape": "DataDeletionPolicy", - "documentation": "The data deletion policy for a data source.
" - }, - "dataSourceConfiguration": { - "shape": "DataSourceConfiguration", - "documentation": "Contains details about how the data source is stored.
" - }, - "dataSourceId": { + "agentId": { "shape": "Id", - "documentation": "The unique identifier of the data source.
" - }, - "description": { - "shape": "Description", - "documentation": "The description of the data source.
" + "documentation": "The unique identifier of the agent from which to disassociate the knowledge base.
", + "location": "uri", + "locationName": "agentId" }, - "failureReasons": { - "shape": "FailureReasons", - "documentation": "The detailed reasons on the failure to delete a data source.
" + "agentVersion": { + "shape": "DraftVersion", + "documentation": "The version of the agent from which to disassociate the knowledge base.
", + "location": "uri", + "locationName": "agentVersion" }, "knowledgeBaseId": { "shape": "Id", - "documentation": "The unique identifier of the knowledge base to which the data source belongs.
" - }, - "name": { - "shape": "Name", - "documentation": "The name of the data source.
" - }, - "serverSideEncryptionConfiguration": { - "shape": "ServerSideEncryptionConfiguration", - "documentation": "Contains details about the configuration of the server-side encryption.
" - }, - "status": { - "shape": "DataSourceStatus", - "documentation": "The status of the data source. The following statuses are possible:
Available – The data source has been created and is ready for ingestion into the knowledge base.
Deleting – The data source is being deleted.
The time at which the data source was last updated.
" - }, - "vectorIngestionConfiguration": { - "shape": "VectorIngestionConfiguration", - "documentation": "Contains details about how to ingest the documents in the data source.
" + "documentation": "The unique identifier of the knowledge base to disassociate.
", + "location": "uri", + "locationName": "knowledgeBaseId" } - }, - "documentation": "Contains details about a data source.
" + } }, - "DataSourceConfiguration": { + "DisassociateAgentKnowledgeBaseResponse": { + "type": "structure", + "members": {} + }, + "DraftVersion": { + "type": "string", + "max": 5, + "min": 5, + "pattern": "^DRAFT$" + }, + "EmbeddingModelConfiguration": { "type": "structure", - "required": [ - "type" - ], "members": { - "s3Configuration": { - "shape": "S3DataSourceConfiguration", - "documentation": "Contains details about the configuration of the S3 object containing the data source.
" - }, - "type": { - "shape": "DataSourceType", - "documentation": "The type of storage for the data source.
" + "bedrockEmbeddingModelConfiguration": { + "shape": "BedrockEmbeddingModelConfiguration", + "documentation": "The vector configuration details on the Bedrock embeddings model.
" } }, - "documentation": "Contains details about how a data source is stored.
" + "documentation": "The configuration details for the embeddings model.
" }, - "DataSourceStatus": { + "EnabledMemoryTypes": { + "type": "list", + "member": { + "shape": "MemoryType" + }, + "max": 1, + "min": 1 + }, + "FailureReason": { "type": "string", - "enum": [ - "AVAILABLE", - "DELETING", - "DELETE_UNSUCCESSFUL" - ] + "max": 2048, + "min": 0 }, - "DataSourceSummaries": { + "FailureReasons": { "type": "list", "member": { - "shape": "DataSourceSummary" - } + "shape": "FailureReason" + }, + "max": 2048, + "min": 0 }, - "DataSourceSummary": { + "FieldName": { + "type": "string", + "max": 2048, + "min": 0, + "pattern": "^.*$" + }, + "FilterList": { + "type": "list", + "member": { + "shape": "FilterPattern" + }, + "max": 25, + "min": 1, + "sensitive": true + }, + "FilterPattern": { + "type": "string", + "max": 1000, + "min": 1, + "sensitive": true + }, + "FilteredObjectType": { + "type": "string", + "max": 50, + "min": 1, + "sensitive": true + }, + "FixedSizeChunkingConfiguration": { "type": "structure", "required": [ - "dataSourceId", - "knowledgeBaseId", - "name", - "status", - "updatedAt" + "maxTokens", + "overlapPercentage" ], "members": { - "dataSourceId": { - "shape": "Id", - "documentation": "The unique identifier of the data source.
" - }, - "description": { - "shape": "Description", - "documentation": "The description of the data source.
" - }, - "knowledgeBaseId": { - "shape": "Id", - "documentation": "The unique identifier of the knowledge base to which the data source belongs.
" - }, - "name": { - "shape": "Name", - "documentation": "The name of the data source.
" - }, - "status": { - "shape": "DataSourceStatus", - "documentation": "The status of the data source.
" + "maxTokens": { + "shape": "FixedSizeChunkingConfigurationMaxTokensInteger", + "documentation": "The maximum number of tokens to include in a chunk.
" }, - "updatedAt": { - "shape": "DateTimestamp", - "documentation": "The time at which the data source was last updated.
" + "overlapPercentage": { + "shape": "FixedSizeChunkingConfigurationOverlapPercentageInteger", + "documentation": "The percentage of overlap between adjacent chunks of a data source.
" } }, - "documentation": "Contains details about a data source.
" + "documentation": "Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy
as NONE
, exclude this field.
The version that the alias maps to.
" + } + }, + "documentation": "Contains information about a version that the alias maps to.
" + }, + "FlowAliasSummaries": { + "type": "list", + "member": { + "shape": "FlowAliasSummary" + }, + "max": 10, + "min": 0 + }, + "FlowAliasSummary": { "type": "structure", "required": [ - "actionGroupId", - "agentId", - "agentVersion" + "arn", + "createdAt", + "flowId", + "id", + "name", + "routingConfiguration", + "updatedAt" ], "members": { - "actionGroupId": { - "shape": "Id", - "documentation": "The unique identifier of the action group to delete.
", - "location": "uri", - "locationName": "actionGroupId" + "arn": { + "shape": "FlowAliasArn", + "documentation": "The Amazon Resource Name (ARN) of the flow alias.
" }, - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent that the action group belongs to.
", - "location": "uri", - "locationName": "agentId" + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the alias was created.
" + }, + "description": { + "shape": "Description", + "documentation": "A description of the alias.
" + }, + "flowId": { + "shape": "FlowId", + "documentation": "The unique identifier of the flow.
" + }, + "id": { + "shape": "FlowAliasId", + "documentation": "The unique identifier of the alias of the flow.
" }, - "agentVersion": { - "shape": "DraftVersion", - "documentation": "The version of the agent that the action group belongs to.
", - "location": "uri", - "locationName": "agentVersion" + "name": { + "shape": "Name", + "documentation": "The name of the alias.
" }, - "skipResourceInUseCheck": { - "shape": "Boolean", - "documentation": "By default, this value is false
and deletion is stopped if the resource is in use. If you set it to true
, the resource will be deleted even if the resource is in use.
A list of configurations about the versions that the alias maps to. Currently, you can only specify one.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the alias was last updated.
" } - } + }, + "documentation": "Contains information about an alias of a flow.
This data type is used in the following API operations:
" }, - "DeleteAgentActionGroupResponse": { - "type": "structure", - "members": {} + "FlowArn": { + "type": "string", + "pattern": "^arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:flow/[0-9a-zA-Z]{10}$" }, - "DeleteAgentAliasRequest": { + "FlowCondition": { "type": "structure", "required": [ - "agentAliasId", - "agentId" + "name" ], "members": { - "agentAliasId": { - "shape": "AgentAliasId", - "documentation": "The unique identifier of the alias to delete.
", - "location": "uri", - "locationName": "agentAliasId" + "expression": { + "shape": "FlowConditionExpression", + "documentation": "Defines the condition. You must refer to at least one of the inputs in the condition. For more information, expand the Condition node section in Node types in prompt flows.
" }, - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent that the alias belongs to.
", - "location": "uri", - "locationName": "agentId" + "name": { + "shape": "FlowConditionName", + "documentation": "A name for the condition that you can reference.
" } - } + }, + "documentation": "Defines a condition in the condition node.
", + "sensitive": true }, - "DeleteAgentAliasResponse": { + "FlowConditionExpression": { + "type": "string", + "max": 64, + "min": 1, + "sensitive": true + }, + "FlowConditionName": { + "type": "string", + "pattern": "^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$" + }, + "FlowConditionalConnectionConfiguration": { "type": "structure", "required": [ - "agentAliasId", - "agentAliasStatus", - "agentId" + "condition" ], "members": { - "agentAliasId": { - "shape": "AgentAliasId", - "documentation": "The unique identifier of the alias that was deleted.
" - }, - "agentAliasStatus": { - "shape": "AgentAliasStatus", - "documentation": "The status of the alias.
" - }, - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent that the alias belongs to.
" + "condition": { + "shape": "FlowConditionName", + "documentation": "The condition that triggers this connection. For more information about how to write conditions, see the Condition node type in the Node types topic in the Amazon Bedrock User Guide.
" } - } + }, + "documentation": "The configuration of a connection between a condition node and another node.
" }, - "DeleteAgentRequest": { + "FlowConditions": { + "type": "list", + "member": { + "shape": "FlowCondition" + }, + "max": 5, + "min": 1, + "sensitive": true + }, + "FlowConnection": { "type": "structure", "required": [ - "agentId" + "name", + "source", + "target", + "type" ], "members": { - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent to delete.
", - "location": "uri", - "locationName": "agentId" + "configuration": { + "shape": "FlowConnectionConfiguration", + "documentation": "The configuration of the connection.
" }, - "skipResourceInUseCheck": { - "shape": "Boolean", - "documentation": "By default, this value is false
and deletion is stopped if the resource is in use. If you set it to true
, the resource will be deleted even if the resource is in use.
A name for the connection that you can reference.
" + }, + "source": { + "shape": "FlowNodeName", + "documentation": "The node that the connection starts at.
" + }, + "target": { + "shape": "FlowNodeName", + "documentation": "The node that the connection ends at.
" + }, + "type": { + "shape": "FlowConnectionType", + "documentation": "Whether the source node that the connection begins from is a condition node (Conditional
) or not (Data
).
Contains information about a connection between two nodes in the flow.
" }, - "DeleteAgentResponse": { + "FlowConnectionConfiguration": { "type": "structure", - "required": [ - "agentId", - "agentStatus" - ], "members": { - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent that was deleted.
" + "conditional": { + "shape": "FlowConditionalConnectionConfiguration", + "documentation": "The configuration of a connection originating from a Condition node.
" }, - "agentStatus": { - "shape": "AgentStatus", - "documentation": "The status of the agent.
" + "data": { + "shape": "FlowDataConnectionConfiguration", + "documentation": "The configuration of a connection originating from a node that isn't a Condition node.
" } - } + }, + "documentation": "The configuration of the connection.
", + "union": true }, - "DeleteAgentVersionRequest": { + "FlowConnectionName": { + "type": "string", + "pattern": "^[a-zA-Z]([_]?[0-9a-zA-Z]){1,100}$" + }, + "FlowConnectionType": { + "type": "string", + "enum": [ + "Data", + "Conditional" + ] + }, + "FlowConnections": { + "type": "list", + "member": { + "shape": "FlowConnection" + }, + "max": 20, + "min": 0 + }, + "FlowDataConnectionConfiguration": { "type": "structure", "required": [ - "agentId", - "agentVersion" + "sourceOutput", + "targetInput" ], "members": { - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent that the version belongs to.
", - "location": "uri", - "locationName": "agentId" - }, - "agentVersion": { - "shape": "NumericalVersion", - "documentation": "The version of the agent to delete.
", - "location": "uri", - "locationName": "agentVersion" + "sourceOutput": { + "shape": "FlowNodeOutputName", + "documentation": "The name of the output in the source node that the connection begins from.
" }, - "skipResourceInUseCheck": { - "shape": "Boolean", - "documentation": "By default, this value is false
and deletion is stopped if the resource is in use. If you set it to true
, the resource will be deleted even if the resource is in use.
The name of the input in the target node that the connection ends at.
" } - } + }, + "documentation": "The configuration of a connection originating from a node that isn't a Condition node.
" }, - "DeleteAgentVersionResponse": { + "FlowDefinition": { "type": "structure", - "required": [ - "agentId", - "agentStatus", - "agentVersion" - ], "members": { - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent that the version belongs to.
" - }, - "agentStatus": { - "shape": "AgentStatus", - "documentation": "The status of the agent version.
" + "connections": { + "shape": "FlowConnections", + "documentation": "An array of connection definitions in the flow.
" }, - "agentVersion": { - "shape": "NumericalVersion", - "documentation": "The version that was deleted.
" + "nodes": { + "shape": "FlowNodes", + "documentation": "An array of node definitions in the flow.
" } - } + }, + "documentation": "The definition of the nodes and connections between nodes in the flow.
" }, - "DeleteDataSourceRequest": { + "FlowDescription": { + "type": "string", + "max": 200, + "min": 1 + }, + "FlowExecutionRoleArn": { + "type": "string", + "max": 2048, + "min": 0, + "pattern": "^arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/(service-role/)?.+$" + }, + "FlowId": { + "type": "string", + "pattern": "^[0-9a-zA-Z]{10}$" + }, + "FlowIdentifier": { + "type": "string", + "pattern": "^(arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:flow/[0-9a-zA-Z]{10})|([0-9a-zA-Z]{10})$" + }, + "FlowName": { + "type": "string", + "pattern": "^([0-9a-zA-Z][_-]?){1,100}$" + }, + "FlowNode": { "type": "structure", "required": [ - "dataSourceId", - "knowledgeBaseId" + "name", + "type" ], "members": { - "dataSourceId": { - "shape": "Id", - "documentation": "The unique identifier of the data source to delete.
", - "location": "uri", - "locationName": "dataSourceId" + "configuration": { + "shape": "FlowNodeConfiguration", + "documentation": "Contains configurations for the node.
" }, - "knowledgeBaseId": { - "shape": "Id", - "documentation": "The unique identifier of the knowledge base from which to delete the data source.
", - "location": "uri", - "locationName": "knowledgeBaseId" + "inputs": { + "shape": "FlowNodeInputs", + "documentation": "An array of objects, each of which contains information about an input into the node.
" + }, + "name": { + "shape": "FlowNodeName", + "documentation": "A name for the node.
" + }, + "outputs": { + "shape": "FlowNodeOutputs", + "documentation": "A list of objects, each of which contains information about an output from the node.
" + }, + "type": { + "shape": "FlowNodeType", + "documentation": "The type of node. This value must match the name of the key that you provide in the configuration you provide in the FlowNodeConfiguration
field.
Contains configurations about a node in the flow.
" }, - "DeleteDataSourceResponse": { + "FlowNodeConfiguration": { "type": "structure", - "required": [ - "dataSourceId", - "knowledgeBaseId", - "status" - ], "members": { - "dataSourceId": { - "shape": "Id", - "documentation": "The unique identifier of the data source that was deleted.
" + "agent": { + "shape": "AgentFlowNodeConfiguration", + "documentation": "Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response.
" }, - "knowledgeBaseId": { - "shape": "Id", - "documentation": "The unique identifier of the knowledge base to which the data source that was deleted belonged.
" + "collector": { + "shape": "CollectorFlowNodeConfiguration", + "documentation": "Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs.
" }, - "status": { - "shape": "DataSourceStatus", - "documentation": "The status of the data source.
" + "condition": { + "shape": "ConditionFlowNodeConfiguration", + "documentation": "Contains configurations for a Condition node in your flow. Defines conditions that lead to different branches of the flow.
" + }, + "input": { + "shape": "InputFlowNodeConfiguration", + "documentation": "Contains configurations for an input flow node in your flow. The first node in the flow. inputs
can't be specified for this node.
Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output.
The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.
" + }, + "knowledgeBase": { + "shape": "KnowledgeBaseFlowNodeConfiguration", + "documentation": "Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response.
" + }, + "lambdaFunction": { + "shape": "LambdaFunctionFlowNodeConfiguration", + "documentation": "Contains configurations for a Lambda function node in your flow. Invokes an Lambda function.
" + }, + "lex": { + "shape": "LexFlowNodeConfiguration", + "documentation": "Contains configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output.
" + }, + "output": { + "shape": "OutputFlowNodeConfiguration", + "documentation": "Contains configurations for an output flow node in your flow. The last node in the flow. outputs
can't be specified for this node.
Contains configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node.
" + }, + "retrieval": { + "shape": "RetrievalFlowNodeConfiguration", + "documentation": "Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output.
" + }, + "storage": { + "shape": "StorageFlowNodeConfiguration", + "documentation": "Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location.
" } - } + }, + "documentation": "Contains configurations for a node in your flow. For more information, see Node types in Amazon Bedrock works in the Amazon Bedrock User Guide.
", + "union": true }, - "DeleteKnowledgeBaseRequest": { + "FlowNodeIODataType": { + "type": "string", + "enum": [ + "String", + "Number", + "Boolean", + "Object", + "Array" + ] + }, + "FlowNodeInput": { "type": "structure", "required": [ - "knowledgeBaseId" + "expression", + "name", + "type" ], "members": { - "knowledgeBaseId": { - "shape": "Id", - "documentation": "The unique identifier of the knowledge base to delete.
", - "location": "uri", - "locationName": "knowledgeBaseId" + "expression": { + "shape": "FlowNodeInputExpression", + "documentation": "An expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
" + }, + "name": { + "shape": "FlowNodeInputName", + "documentation": "A name for the input that you can reference.
" + }, + "type": { + "shape": "FlowNodeIODataType", + "documentation": "The data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
" } - } + }, + "documentation": "Contains configurations for an input to a node.
" + }, + "FlowNodeInputExpression": { + "type": "string", + "max": 64, + "min": 1, + "sensitive": true + }, + "FlowNodeInputName": { + "type": "string", + "pattern": "^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$" + }, + "FlowNodeInputs": { + "type": "list", + "member": { + "shape": "FlowNodeInput" + }, + "max": 5, + "min": 0 + }, + "FlowNodeName": { + "type": "string", + "pattern": "^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$" }, - "DeleteKnowledgeBaseResponse": { + "FlowNodeOutput": { "type": "structure", "required": [ - "knowledgeBaseId", - "status" + "name", + "type" ], "members": { - "knowledgeBaseId": { - "shape": "Id", - "documentation": "The unique identifier of the knowledge base that was deleted.
" + "name": { + "shape": "FlowNodeOutputName", + "documentation": "A name for the output that you can reference.
" }, - "status": { - "shape": "KnowledgeBaseStatus", - "documentation": "The status of the knowledge base and whether it has been successfully deleted.
" + "type": { + "shape": "FlowNodeIODataType", + "documentation": "The data type of the output. If the output doesn't match this type at runtime, a validation error will be thrown.
" } - } + }, + "documentation": "Contains configurations for an output from a node.
" }, - "Description": { + "FlowNodeOutputName": { "type": "string", - "max": 200, - "min": 1 + "pattern": "^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$" }, - "Dimensions": { - "type": "integer", - "box": true, - "max": 4096, + "FlowNodeOutputs": { + "type": "list", + "member": { + "shape": "FlowNodeOutput" + }, + "max": 5, "min": 0 }, - "DisassociateAgentKnowledgeBaseRequest": { + "FlowNodeType": { + "type": "string", + "enum": [ + "Input", + "Output", + "KnowledgeBase", + "Condition", + "Lex", + "Prompt", + "LambdaFunction", + "Storage", + "Agent", + "Retrieval", + "Iterator", + "Collector" + ] + }, + "FlowNodes": { + "type": "list", + "member": { + "shape": "FlowNode" + }, + "max": 20, + "min": 0, + "sensitive": true + }, + "FlowStatus": { + "type": "string", + "enum": [ + "Failed", + "Prepared", + "Preparing", + "NotPrepared" + ] + }, + "FlowSummaries": { + "type": "list", + "member": { + "shape": "FlowSummary" + }, + "max": 10, + "min": 0 + }, + "FlowSummary": { "type": "structure", "required": [ - "agentId", - "agentVersion", - "knowledgeBaseId" + "arn", + "createdAt", + "id", + "name", + "status", + "updatedAt", + "version" ], "members": { - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent from which to disassociate the knowledge base.
", - "location": "uri", - "locationName": "agentId" + "arn": { + "shape": "FlowArn", + "documentation": "The Amazon Resource Name (ARN) of the flow.
" }, - "agentVersion": { - "shape": "DraftVersion", - "documentation": "The version of the agent from which to disassociate the knowledge base.
", - "location": "uri", - "locationName": "agentVersion" + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the flow was created.
" }, - "knowledgeBaseId": { - "shape": "Id", - "documentation": "The unique identifier of the knowledge base to disassociate.
", - "location": "uri", - "locationName": "knowledgeBaseId" + "description": { + "shape": "FlowDescription", + "documentation": "A description of the flow.
" + }, + "id": { + "shape": "FlowId", + "documentation": "The unique identifier of the flow.
" + }, + "name": { + "shape": "FlowName", + "documentation": "The name of the flow.
" + }, + "status": { + "shape": "FlowStatus", + "documentation": "The status of the flow. The following statuses are possible:
NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the DRAFT
version won't contain the latest changes for testing. Send a PrepareFlow request to package the latest changes into the DRAFT
version.
Preparing – The flow is being prepared so that the DRAFT
version contains the latest changes for testing.
Prepared – The flow is prepared and the DRAFT
version contains the latest changes for testing.
Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and check the error message in the validations
field.
The time at which the flow was last updated.
" + }, + "version": { + "shape": "DraftVersion", + "documentation": "The latest version of the flow.
" } - } - }, - "DisassociateAgentKnowledgeBaseResponse": { - "type": "structure", - "members": {} - }, - "DraftVersion": { - "type": "string", - "max": 5, - "min": 5, - "pattern": "^DRAFT$" + }, + "documentation": "Contains the definition of a flow.
" }, - "EmbeddingModelConfiguration": { + "FlowValidation": { "type": "structure", + "required": [ + "message", + "severity" + ], "members": { - "bedrockEmbeddingModelConfiguration": { - "shape": "BedrockEmbeddingModelConfiguration", - "documentation": "The vector configuration details on the Bedrock embeddings model.
" + "message": { + "shape": "NonBlankString", + "documentation": "A message describing the validation error.
" + }, + "severity": { + "shape": "FlowValidationSeverity", + "documentation": "The severity of the issue described in the message.
" } }, - "documentation": "The configuration details for the embeddings model.
" + "documentation": "Contains information about validation of the flow.
This data type is used in the following API operations:
" }, - "FailureReason": { + "FlowValidationSeverity": { "type": "string", - "max": 2048, - "min": 0 + "enum": [ + "Warning", + "Error" + ] }, - "FailureReasons": { + "FlowValidations": { "type": "list", "member": { - "shape": "FailureReason" + "shape": "FlowValidation" }, - "max": 2048, + "max": 100, "min": 0 }, - "FieldName": { - "type": "string", - "max": 2048, - "min": 0, - "pattern": "^.*$" + "FlowVersionSummaries": { + "type": "list", + "member": { + "shape": "FlowVersionSummary" + }, + "max": 10, + "min": 0 }, - "FixedSizeChunkingConfiguration": { + "FlowVersionSummary": { "type": "structure", "required": [ - "maxTokens", - "overlapPercentage" + "arn", + "createdAt", + "id", + "status", + "version" ], "members": { - "maxTokens": { - "shape": "FixedSizeChunkingConfigurationMaxTokensInteger", - "documentation": "The maximum number of tokens to include in a chunk.
" + "arn": { + "shape": "FlowArn", + "documentation": "The Amazon Resource Name (ARN) of the flow that the version belongs to.
" }, - "overlapPercentage": { - "shape": "FixedSizeChunkingConfigurationOverlapPercentageInteger", - "documentation": "The percentage of overlap between adjacent chunks of a data source.
" + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at the flow version was created.
" + }, + "id": { + "shape": "FlowId", + "documentation": "The unique identifier of the flow.
" + }, + "status": { + "shape": "FlowStatus", + "documentation": "The status of the flow.
" + }, + "version": { + "shape": "NumericalVersion", + "documentation": "The version of the flow.
" } }, - "documentation": "Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy
as NONE
, exclude this field.
Contains information about the flow version.
This data type is used in the following API operations:
" }, "Function": { "type": "structure", @@ -3254,19 +5402,238 @@ "shape": "Id", "documentation": "The unique identifier of the knowledge base that the data source was added to.
", "location": "uri", - "locationName": "knowledgeBaseId" + "locationName": "knowledgeBaseId" + } + } + }, + "GetDataSourceResponse": { + "type": "structure", + "required": [ + "dataSource" + ], + "members": { + "dataSource": { + "shape": "DataSource", + "documentation": "Contains details about the data source.
" + } + } + }, + "GetFlowAliasRequest": { + "type": "structure", + "required": [ + "aliasIdentifier", + "flowIdentifier" + ], + "members": { + "aliasIdentifier": { + "shape": "FlowAliasIdentifier", + "documentation": "The unique identifier of the alias for which to retrieve information.
", + "location": "uri", + "locationName": "aliasIdentifier" + }, + "flowIdentifier": { + "shape": "FlowIdentifier", + "documentation": "The unique identifier of the flow that the alias belongs to.
", + "location": "uri", + "locationName": "flowIdentifier" + } + } + }, + "GetFlowAliasResponse": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "flowId", + "id", + "name", + "routingConfiguration", + "updatedAt" + ], + "members": { + "arn": { + "shape": "FlowAliasArn", + "documentation": "The Amazon Resource Name (ARN) of the flow.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the flow was created.
" + }, + "description": { + "shape": "Description", + "documentation": "The description of the flow.
" + }, + "flowId": { + "shape": "FlowId", + "documentation": "The unique identifier of the flow that the alias belongs to.
" + }, + "id": { + "shape": "FlowAliasId", + "documentation": "The unique identifier of the alias of the flow.
" + }, + "name": { + "shape": "Name", + "documentation": "The name of the flow alias.
" + }, + "routingConfiguration": { + "shape": "FlowAliasRoutingConfiguration", + "documentation": "Contains information about the version that the alias is mapped to.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the flow alias was last updated.
" + } + } + }, + "GetFlowRequest": { + "type": "structure", + "required": [ + "flowIdentifier" + ], + "members": { + "flowIdentifier": { + "shape": "FlowIdentifier", + "documentation": "The unique identifier of the flow.
", + "location": "uri", + "locationName": "flowIdentifier" + } + } + }, + "GetFlowResponse": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "executionRoleArn", + "id", + "name", + "status", + "updatedAt", + "version" + ], + "members": { + "arn": { + "shape": "FlowArn", + "documentation": "The Amazon Resource Name (ARN) of the flow.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the flow was created.
" + }, + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The Amazon Resource Name (ARN) of the KMS key that the flow is encrypted with.
" + }, + "definition": { + "shape": "FlowDefinition", + "documentation": "The definition of the nodes and connections between the nodes in the flow.
" + }, + "description": { + "shape": "FlowDescription", + "documentation": "The description of the flow.
" + }, + "executionRoleArn": { + "shape": "FlowExecutionRoleArn", + "documentation": "The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service row for flows in the Amazon Bedrock User Guide.
" + }, + "id": { + "shape": "FlowId", + "documentation": "The unique identifier of the flow.
" + }, + "name": { + "shape": "FlowName", + "documentation": "The name of the flow.
" + }, + "status": { + "shape": "FlowStatus", + "documentation": "The status of the flow. The following statuses are possible:
NotPrepared – The flow has been created or updated, but hasn't been prepared. If you just created the flow, you can't test it. If you updated the flow, the DRAFT
version won't contain the latest changes for testing. Send a PrepareFlow request to package the latest changes into the DRAFT
version.
Preparing – The flow is being prepared so that the DRAFT
version contains the latest changes for testing.
Prepared – The flow is prepared and the DRAFT
version contains the latest changes for testing.
Failed – The last API operation that you invoked on the flow failed. Send a GetFlow request and check the error message in the validations
field.
The time at which the flow was last updated.
" + }, + "validations": { + "shape": "FlowValidations", + "documentation": "A list of validation error messages related to the last failed operation on the flow.
" + }, + "version": { + "shape": "DraftVersion", + "documentation": "The version of the flow for which information was retrieved.
" + } + } + }, + "GetFlowVersionRequest": { + "type": "structure", + "required": [ + "flowIdentifier", + "flowVersion" + ], + "members": { + "flowIdentifier": { + "shape": "FlowIdentifier", + "documentation": "The unique identifier of the flow for which to get information.
", + "location": "uri", + "locationName": "flowIdentifier" + }, + "flowVersion": { + "shape": "NumericalVersion", + "documentation": "The version of the flow for which to get information.
", + "location": "uri", + "locationName": "flowVersion" } } }, - "GetDataSourceResponse": { + "GetFlowVersionResponse": { "type": "structure", "required": [ - "dataSource" + "arn", + "createdAt", + "executionRoleArn", + "id", + "name", + "status", + "version" ], "members": { - "dataSource": { - "shape": "DataSource", - "documentation": "Contains details about the data source.
" + "arn": { + "shape": "FlowArn", + "documentation": "The Amazon Resource Name (ARN) of the flow.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the flow was created.
" + }, + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The Amazon Resource Name (ARN) of the KMS key that the version of the flow is encrypted with.
" + }, + "definition": { + "shape": "FlowDefinition", + "documentation": "The definition of the nodes and connections between nodes in the flow.
" + }, + "description": { + "shape": "FlowDescription", + "documentation": "The description of the flow.
" + }, + "executionRoleArn": { + "shape": "FlowExecutionRoleArn", + "documentation": "The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
" + }, + "id": { + "shape": "FlowId", + "documentation": "The unique identifier of the flow.
" + }, + "name": { + "shape": "FlowName", + "documentation": "The name of the flow version.
" + }, + "status": { + "shape": "FlowStatus", + "documentation": "The status of the flow.
" + }, + "version": { + "shape": "NumericalVersion", + "documentation": "The version of the flow for which information was retrieved.
" } } }, @@ -3336,19 +5703,92 @@ } } }, + "GetPromptRequest": { + "type": "structure", + "required": [ + "promptIdentifier" + ], + "members": { + "promptIdentifier": { + "shape": "PromptIdentifier", + "documentation": "The unique identifier of the prompt.
", + "location": "uri", + "locationName": "promptIdentifier" + }, + "promptVersion": { + "shape": "Version", + "documentation": "The version of the prompt about which you want to retrieve information.
", + "location": "querystring", + "locationName": "promptVersion" + } + } + }, + "GetPromptResponse": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "id", + "name", + "updatedAt", + "version" + ], + "members": { + "arn": { + "shape": "PromptArn", + "documentation": "The Amazon Resource Name (ARN) of the prompt.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the prompt was created.
" + }, + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The Amazon Resource Name (ARN) of the KMS key that the prompt is encrypted with.
" + }, + "defaultVariant": { + "shape": "PromptVariantName", + "documentation": "The name of the default variant for the prompt. This value must match the name
field in the relevant PromptVariant object.
The descriptino of the prompt.
" + }, + "id": { + "shape": "PromptId", + "documentation": "The unique identifier of the prompt.
" + }, + "name": { + "shape": "PromptName", + "documentation": "The name of the prompt.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the prompt was last updated.
" + }, + "variants": { + "shape": "PromptVariantList", + "documentation": "A list of objects, each containing details about a variant of the prompt.
" + }, + "version": { + "shape": "Version", + "documentation": "The version of the prompt.
" + } + } + }, "GuardrailConfiguration": { "type": "structure", "members": { "guardrailIdentifier": { "shape": "GuardrailIdentifier", - "documentation": "The guardrails identifier assigned to the guardrails configuration.
" + "documentation": "The unique identifier of the guardrail.
" }, "guardrailVersion": { "shape": "GuardrailVersion", - "documentation": "The guardrails version assigned to the guardrails configuration.
" + "documentation": "The version of the guardrail.
" } }, - "documentation": "The details of the guardrails configuration.
" + "documentation": "Details about the guardrail associated with an agent.
" }, "GuardrailIdentifier": { "type": "string", @@ -3360,6 +5800,60 @@ "type": "string", "pattern": "^(([0-9]{1,8})|(DRAFT))$" }, + "HierarchicalChunkingConfiguration": { + "type": "structure", + "required": [ + "levelConfigurations", + "overlapTokens" + ], + "members": { + "levelConfigurations": { + "shape": "HierarchicalChunkingLevelConfigurations", + "documentation": "Token settings for each layer.
" + }, + "overlapTokens": { + "shape": "HierarchicalChunkingConfigurationOverlapTokensInteger", + "documentation": "The number of tokens to repeat across chunks in the same layer.
" + } + }, + "documentation": "Settings for hierarchical document chunking for a data source. Hierarchical chunking splits documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer.
You configure the number of tokens to overlap, or repeat across adjacent chunks. For example, if you set overlap tokens to 60, the last 60 tokens in the first chunk are also included at the beginning of the second chunk. For each layer, you must also configure the maximum number of tokens in a chunk.
" + }, + "HierarchicalChunkingConfigurationOverlapTokensInteger": { + "type": "integer", + "box": true, + "min": 1 + }, + "HierarchicalChunkingLevelConfiguration": { + "type": "structure", + "required": [ + "maxTokens" + ], + "members": { + "maxTokens": { + "shape": "HierarchicalChunkingLevelConfigurationMaxTokensInteger", + "documentation": "The maximum number of tokens that a chunk can contain in this layer.
" + } + }, + "documentation": "Token settings for a layer in a hierarchical chunking configuration.
" + }, + "HierarchicalChunkingLevelConfigurationMaxTokensInteger": { + "type": "integer", + "box": true, + "max": 8192, + "min": 1 + }, + "HierarchicalChunkingLevelConfigurations": { + "type": "list", + "member": { + "shape": "HierarchicalChunkingLevelConfiguration" + }, + "max": 2, + "min": 2 + }, + "HttpsUrl": { + "type": "string", + "pattern": "^https://[A-Za-z0-9][^\\s]*$" + }, "Id": { "type": "string", "pattern": "^[0-9a-zA-Z]{10}$" @@ -3617,12 +6111,35 @@ }, "documentation": "Contains details about an ingestion job.
" }, + "InputFlowNodeConfiguration": { + "type": "structure", + "members": {}, + "documentation": "Contains configurations for the input flow node for a flow. This node takes the input from flow invocation and passes it to the next node in the data type that you specify.
" + }, "Instruction": { "type": "string", "max": 4000, "min": 40, "sensitive": true }, + "IntermediateStorage": { + "type": "structure", + "required": [ + "s3Location" + ], + "members": { + "s3Location": { + "shape": "S3Location", + "documentation": "An S3 bucket path.
" + } + }, + "documentation": "A location for storing content from data sources temporarily as it is processed by custom components in the ingestion pipeline.
" + }, + "IteratorFlowNodeConfiguration": { + "type": "structure", + "members": {}, + "documentation": "Contains configurations for an iterator node in a flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output.
The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.
" + }, "KmsKeyArn": { "type": "string", "max": 2048, @@ -3713,6 +6230,29 @@ }, "documentation": "Contains details about the embeddings configuration of the knowledge base.
" }, + "KnowledgeBaseFlowNodeConfiguration": { + "type": "structure", + "required": [ + "knowledgeBaseId" + ], + "members": { + "knowledgeBaseId": { + "shape": "KnowledgeBaseId", + "documentation": "The unique identifier of the knowledge base to query.
" + }, + "modelId": { + "shape": "ModelIdentifier", + "documentation": "The unique identifier of the model to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.
" + } + }, + "documentation": "Contains configurations for a knowledge base node in a flow. This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. For more information, see Node types in Amazon Bedrock works in the Amazon Bedrock User Guide.
" + }, + "KnowledgeBaseId": { + "type": "string", + "max": 10, + "min": 0, + "pattern": "^[0-9a-zA-Z]+$" + }, "KnowledgeBaseRoleArn": { "type": "string", "max": 2048, @@ -3797,6 +6337,48 @@ "min": 0, "pattern": "^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?$" }, + "LambdaFunctionFlowNodeConfiguration": { + "type": "structure", + "required": [ + "lambdaArn" + ], + "members": { + "lambdaArn": { + "shape": "LambdaArn", + "documentation": "The Amazon Resource Name (ARN) of the Lambda function to invoke.
" + } + }, + "documentation": "Contains configurations for a Lambda function node in the flow. You specify the Lambda function to invoke and the inputs into the function. The output is the response that is defined in the Lambda function. For more information, see Node types in Amazon Bedrock works in the Amazon Bedrock User Guide.
" + }, + "LexBotAliasArn": { + "type": "string", + "max": 78, + "min": 0, + "pattern": "^arn:aws(|-us-gov):lex:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:bot-alias/[0-9a-zA-Z]+/[0-9a-zA-Z]+$" + }, + "LexBotLocaleId": { + "type": "string", + "max": 10, + "min": 1 + }, + "LexFlowNodeConfiguration": { + "type": "structure", + "required": [ + "botAliasArn", + "localeId" + ], + "members": { + "botAliasArn": { + "shape": "LexBotAliasArn", + "documentation": "The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
" + }, + "localeId": { + "shape": "LexBotLocaleId", + "documentation": "The Region to invoke the Amazon Lex bot in.
" + } + }, + "documentation": "Contains configurations for a Lex node in the flow. You specify a Amazon Lex bot to invoke. This node takes an utterance as the input and returns as the output the intent identified by the Amazon Lex bot. For more information, see Node types in Amazon Bedrock works in the Amazon Bedrock User Guide.
" + }, "ListAgentActionGroupsRequest": { "type": "structure", "required": [ @@ -3915,9 +6497,114 @@ "agentKnowledgeBaseSummaries" ], "members": { - "agentKnowledgeBaseSummaries": { - "shape": "AgentKnowledgeBaseSummaries", - "documentation": "A list of objects, each of which contains information about a knowledge base associated with the agent.
" + "agentKnowledgeBaseSummaries": { + "shape": "AgentKnowledgeBaseSummaries", + "documentation": "A list of objects, each of which contains information about a knowledge base associated with the agent.
" + }, + "nextToken": { + "shape": "NextToken", + "documentation": "If the total number of results is greater than the maxResults
value provided in the request, use this token when making another request in the nextToken
field to return the next batch of results.
The unique identifier of the agent.
", + "location": "uri", + "locationName": "agentId" + }, + "maxResults": { + "shape": "MaxResults", + "documentation": "The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken
field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults
value provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
A list of objects, each of which contains information about a version of the agent.
" + }, + "nextToken": { + "shape": "NextToken", + "documentation": "If the total number of results is greater than the maxResults
value provided in the request, use this token when making another request in the nextToken
field to return the next batch of results.
The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken
field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults
value provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
A list of objects, each of which contains information about an agent.
" + }, + "nextToken": { + "shape": "NextToken", + "documentation": "If the total number of results is greater than the maxResults
value provided in the request, use this token when making another request in the nextToken
field to return the next batch of results.
The unique identifier of the knowledge base for which to return a list of information.
", + "location": "uri", + "locationName": "knowledgeBaseId" + }, + "maxResults": { + "shape": "MaxResults", + "documentation": "The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken
field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults
value provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
A list of objects, each of which contains information about a data source.
" }, "nextToken": { "shape": "NextToken", @@ -3925,37 +6612,41 @@ } } }, - "ListAgentVersionsRequest": { + "ListFlowAliasesRequest": { "type": "structure", "required": [ - "agentId" + "flowIdentifier" ], "members": { - "agentId": { - "shape": "Id", - "documentation": "The unique identifier of the agent.
", + "flowIdentifier": { + "shape": "FlowIdentifier", + "documentation": "The unique identifier of the flow for which aliases are being returned.
", "location": "uri", - "locationName": "agentId" + "locationName": "flowIdentifier" }, "maxResults": { "shape": "MaxResults", - "documentation": "The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken
field when making another request to return the next batch of results.
The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken
field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults
value provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
If the total number of results is greater than the maxResults
value provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
A list of objects, each of which contains information about a version of the agent.
" + "flowAliasSummaries": { + "shape": "FlowAliasSummaries", + "documentation": "A list, each member of which contains information about a flow alias.
" }, "nextToken": { "shape": "NextToken", @@ -3963,28 +6654,41 @@ } } }, - "ListAgentsRequest": { + "ListFlowVersionsRequest": { "type": "structure", + "required": [ + "flowIdentifier" + ], "members": { + "flowIdentifier": { + "shape": "FlowIdentifier", + "documentation": "The unique identifier of the flow.
", + "location": "uri", + "locationName": "flowIdentifier" + }, "maxResults": { "shape": "MaxResults", - "documentation": "The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken
field when making another request to return the next batch of results.
The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken
field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults
value provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
If the total number of results is greater than the maxResults
value provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
A list of objects, each of which contains information about an agent.
" + "flowVersionSummaries": { + "shape": "FlowVersionSummaries", + "documentation": "A list, each member of which contains information about a flow.
" }, "nextToken": { "shape": "NextToken", @@ -3992,37 +6696,32 @@ } } }, - "ListDataSourcesRequest": { + "ListFlowsRequest": { "type": "structure", - "required": [ - "knowledgeBaseId" - ], "members": { - "knowledgeBaseId": { - "shape": "Id", - "documentation": "The unique identifier of the knowledge base for which to return a list of information.
", - "location": "uri", - "locationName": "knowledgeBaseId" - }, "maxResults": { "shape": "MaxResults", - "documentation": "The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken
field when making another request to return the next batch of results.
The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken
field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults
value provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
If the total number of results is greater than the maxResults
value provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
A list of objects, each of which contains information about a data source.
" + "flowSummaries": { + "shape": "FlowSummaries", + "documentation": "A list, each member of which contains information about a flow.
" }, "nextToken": { "shape": "NextToken", @@ -4112,6 +6811,45 @@ } } }, + "ListPromptsRequest": { + "type": "structure", + "members": { + "maxResults": { + "shape": "MaxResults", + "documentation": "The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken
field when making another request to return the next batch of results.
If the total number of results is greater than the maxResults
value provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
The unique identifier of the prompt.
", + "location": "querystring", + "locationName": "promptIdentifier" + } + } + }, + "ListPromptsResponse": { + "type": "structure", + "required": [ + "promptSummaries" + ], + "members": { + "nextToken": { + "shape": "NextToken", + "documentation": "If the total number of results is greater than the maxResults
value provided in the request, use this token when making another request in the nextToken
field to return the next batch of results.
A list, each member of which contains information about a prompt using Prompt management.
" + } + } + }, "ListTagsForResourceRequest": { "type": "structure", "required": [ @@ -4147,6 +6885,35 @@ "max": 4096, "min": 0 }, + "MemoryConfiguration": { + "type": "structure", + "required": [ + "enabledMemoryTypes" + ], + "members": { + "enabledMemoryTypes": { + "shape": "EnabledMemoryTypes", + "documentation": "The type of memory that is stored.
" + }, + "storageDays": { + "shape": "StorageDays", + "documentation": "The number of days the agent is configured to retain the conversational context.
" + } + }, + "documentation": "Details of the memory configuration.
" + }, + "MemoryType": { + "type": "string", + "enum": [ + "SESSION_SUMMARY" + ] + }, + "Microsoft365TenantId": { + "type": "string", + "max": 36, + "min": 36, + "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" + }, "ModelIdentifier": { "type": "string", "max": 2048, @@ -4258,6 +7025,10 @@ "min": 1, "pattern": "^\\S*$" }, + "NonBlankString": { + "type": "string", + "pattern": "^[\\s\\S]+$" + }, "NumericalVersion": { "type": "string", "pattern": "^[0-9]{1,5}$" @@ -4320,6 +7091,11 @@ "min": 0, "pattern": "^.*$" }, + "OutputFlowNodeConfiguration": { + "type": "structure", + "members": {}, + "documentation": "Contains configurations for an output flow node in the flow. You specify the data type expected for the input into the node in the type
field and how to return the final output in the expression
field.
Settings for a foundation model used to parse documents for a data source.
" + }, + "parsingStrategy": { + "shape": "ParsingStrategy", + "documentation": "The parsing strategy for the data source.
" + } + }, + "documentation": "Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page.
To use a model to parse PDF documents, set the parsing strategy to BEDROCK_FOUNDATION_MODEL
and specify the model to use by ARN. You can also override the default parsing prompt with instructions for how to interpret images and tables in your documents. The following models are supported.
Anthropic Claude 3 Sonnet - anthropic.claude-3-sonnet-20240229-v1:0
Anthropic Claude 3 Haiku - anthropic.claude-3-haiku-20240307-v1:0
You can get the ARN of a model with the action. Standard model usage charges apply for the foundation model parsing strategy.
" + }, + "ParsingPrompt": { + "type": "structure", + "required": [ + "parsingPromptText" + ], + "members": { + "parsingPromptText": { + "shape": "ParsingPromptText", + "documentation": "Instructions for interpreting the contents of a document.
" + } + }, + "documentation": "Instructions for interpreting the contents of a document.
" + }, + "ParsingPromptText": { + "type": "string", + "max": 10000, + "min": 1 + }, + "ParsingStrategy": { + "type": "string", + "enum": [ + "BEDROCK_FOUNDATION_MODEL" + ] + }, + "PatternObjectFilter": { + "type": "structure", + "required": [ + "objectType" + ], + "members": { + "exclusionFilters": { + "shape": "FilterList", + "documentation": "A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.
" + }, + "inclusionFilters": { + "shape": "FilterList", + "documentation": "A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn’t crawled.
" + }, + "objectType": { + "shape": "FilteredObjectType", + "documentation": "The supported object type or content type of the data source.
" + } + }, + "documentation": "The specific filters applied to your data source content. You can filter out or include certain content.
" + }, + "PatternObjectFilterConfiguration": { + "type": "structure", + "required": [ + "filters" + ], + "members": { + "filters": { + "shape": "PatternObjectFilterList", + "documentation": "The configuration of specific filters applied to your data source content. You can filter out or include certain content.
" + } + }, + "documentation": "The configuration of filtering certain objects or content types of the data source.
" + }, + "PatternObjectFilterList": { + "type": "list", + "member": { + "shape": "PatternObjectFilter" + }, + "max": 25, + "min": 1, + "sensitive": true + }, "Payload": { "type": "string", "sensitive": true @@ -4457,9 +7317,44 @@ } } }, + "PrepareFlowRequest": { + "type": "structure", + "required": [ + "flowIdentifier" + ], + "members": { + "flowIdentifier": { + "shape": "FlowIdentifier", + "documentation": "The unique identifier of the flow.
", + "location": "uri", + "locationName": "flowIdentifier" + } + } + }, + "PrepareFlowResponse": { + "type": "structure", + "required": [ + "id", + "status" + ], + "members": { + "id": { + "shape": "FlowId", + "documentation": "The unique identifier of the flow.
" + }, + "status": { + "shape": "FlowStatus", + "documentation": "The status of the flow. When you submit this request, the status will be NotPrepared
. If preparation succeeds, the status becomes Prepared
. If it fails, the status becomes FAILED
.
Contains inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the promptType
. For more information, see Inference parameters for foundation models.
Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the promptType
. If you set the field as OVERRIDEN
, the overrideLambda
field in the PromptOverrideConfiguration must be specified with the ARN of a Lambda function.
Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the promptType
. If you set the field as OVERRIDEN
, the overrideLambda
field in the PromptOverrideConfiguration must be specified with the ARN of a Lambda function.
Specifies whether to override the default prompt template for this promptType
. Set this value to OVERRIDDEN
to use the prompt that you provide in the basePromptTemplate
. If you leave it as DEFAULT
, the agent uses a default prompt template.
Specifies whether to allow the agent to carry out the step specified in the promptType
. If you set this value to DISABLED
, the agent skips that step. The default state for each promptType
is as follows.
PRE_PROCESSING
– ENABLED
ORCHESTRATION
– ENABLED
KNOWLEDGE_BASE_RESPONSE_GENERATION
– ENABLED
POST_PROCESSING
– DISABLED
The step in the agent sequence that this prompt configuration applies to.
" + } + }, + "documentation": "Contains configurations to override a prompt template in one part of an agent sequence. For more information, see Advanced prompts.
" + }, + "PromptConfigurations": { + "type": "list", + "member": { + "shape": "PromptConfiguration" + }, + "max": 10, + "min": 0 + }, + "PromptDescription": { + "type": "string", + "max": 200, + "min": 1 + }, + "PromptFlowNodeConfiguration": { + "type": "structure", + "required": [ + "sourceConfiguration" + ], + "members": { + "sourceConfiguration": { + "shape": "PromptFlowNodeSourceConfiguration", + "documentation": "Specifies whether the prompt is from Prompt management or defined inline.
" + } + }, + "documentation": "Contains configurations for a prompt node in the flow. You can use a prompt from Prompt management or you can define one in this node. If the prompt contains variables, the inputs into this node will fill in the variables. The output from this node is the response generated by the model. For more information, see Node types in Amazon Bedrock works in the Amazon Bedrock User Guide.
" + }, + "PromptFlowNodeInlineConfiguration": { + "type": "structure", + "required": [ + "modelId", + "templateConfiguration", + "templateType" + ], + "members": { + "inferenceConfiguration": { + "shape": "PromptInferenceConfiguration", + "documentation": "Contains inference configurations for the prompt.
" + }, + "modelId": { + "shape": "PromptModelIdentifier", + "documentation": "The unique identifier of the model to run inference with.
" + }, + "templateConfiguration": { + "shape": "PromptTemplateConfiguration", + "documentation": "Contains a prompt and variables in the prompt that can be replaced with values at runtime.
" + }, + "templateType": { + "shape": "PromptTemplateType", + "documentation": "The type of prompt template.
" + } + }, + "documentation": "Contains configurations for a prompt defined inline in the node.
" + }, + "PromptFlowNodeResourceConfiguration": { + "type": "structure", + "required": [ + "promptArn" + ], + "members": { + "promptArn": { + "shape": "PromptArn", + "documentation": "The Amazon Resource Name (ARN) of the prompt from Prompt management.
" + } + }, + "documentation": "Contains configurations for a prompt from Prompt management to use in a node.
" + }, + "PromptFlowNodeSourceConfiguration": { + "type": "structure", + "members": { + "inline": { + "shape": "PromptFlowNodeInlineConfiguration", + "documentation": "Contains configurations for a prompt that is defined inline
" + }, + "resource": { + "shape": "PromptFlowNodeResourceConfiguration", + "documentation": "Contains configurations for a prompt from Prompt management.
" + } + }, + "documentation": "Contains configurations for a prompt and whether it is from Prompt management or defined inline.
", + "union": true + }, + "PromptId": { + "type": "string", + "pattern": "^[0-9a-zA-Z]{10}$" + }, + "PromptIdentifier": { + "type": "string", + "pattern": "^([0-9a-zA-Z]{10})|(arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10})(?::[0-9]{1,5})?$" + }, + "PromptInferenceConfiguration": { + "type": "structure", + "members": { + "text": { + "shape": "PromptModelInferenceConfiguration", + "documentation": "Contains inference configurations for a text prompt.
" + } + }, + "documentation": "Contains inference configurations for the prompt.
", + "union": true + }, + "PromptInputVariable": { + "type": "structure", + "members": { + "name": { + "shape": "PromptInputVariableName", + "documentation": "The name of the variable.
" + } + }, + "documentation": "Contains information about a variable in the prompt.
" + }, + "PromptInputVariableName": { + "type": "string", + "pattern": "^([0-9a-zA-Z][_-]?){1,100}$" + }, + "PromptInputVariablesList": { + "type": "list", + "member": { + "shape": "PromptInputVariable" + }, + "max": 5, + "min": 0, + "sensitive": true + }, + "PromptModelIdentifier": { + "type": "string", + "max": 2048, + "min": 1, + "pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$" + }, + "PromptModelInferenceConfiguration": { + "type": "structure", + "members": { + "maxTokens": { + "shape": "MaximumLength", + "documentation": "The maximum number of tokens to return in the response.
" + }, + "stopSequences": { + "shape": "StopSequences", + "documentation": "A list of strings that define sequences after which the model will stop generating.
" }, - "promptCreationMode": { - "shape": "CreationMode", - "documentation": "Specifies whether to override the default prompt template for this promptType
. Set this value to OVERRIDDEN
to use the prompt that you provide in the basePromptTemplate
. If you leave it as DEFAULT
, the agent uses a default prompt template.
Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
" }, - "promptState": { - "shape": "PromptState", - "documentation": "Specifies whether to allow the agent to carry out the step specified in the promptType
. If you set this value to DISABLED
, the agent skips that step. The default state for each promptType
is as follows.
PRE_PROCESSING
– ENABLED
ORCHESTRATION
– ENABLED
KNOWLEDGE_BASE_RESPONSE_GENERATION
– ENABLED
POST_PROCESSING
– DISABLED
The number of most-likely candidates that the model considers for the next token during generation.
" }, - "promptType": { - "shape": "PromptType", - "documentation": "The step in the agent sequence that this prompt configuration applies to.
" + "topP": { + "shape": "TopP", + "documentation": "The percentage of most-likely candidates that the model considers for the next token.
" } }, - "documentation": "Contains configurations to override a prompt template in one part of an agent sequence. For more information, see Advanced prompts.
" + "documentation": "Contains inference configurations related to model inference for a prompt. For more information, see Inference parameters.
" }, - "PromptConfigurations": { - "type": "list", - "member": { - "shape": "PromptConfiguration" - }, - "max": 10, - "min": 0 + "PromptName": { + "type": "string", + "pattern": "^([0-9a-zA-Z][_-]?){1,100}$" }, "PromptOverrideConfiguration": { "type": "structure", @@ -4523,6 +7569,73 @@ "DISABLED" ] }, + "PromptSummaries": { + "type": "list", + "member": { + "shape": "PromptSummary" + }, + "max": 10, + "min": 0 + }, + "PromptSummary": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "id", + "name", + "updatedAt", + "version" + ], + "members": { + "arn": { + "shape": "PromptArn", + "documentation": "The Amazon Resource Name (ARN) of the prompt.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the prompt was created.
" + }, + "description": { + "shape": "PromptDescription", + "documentation": "The description of the prompt.
" + }, + "id": { + "shape": "PromptId", + "documentation": "The unique identifier of the prompt.
" + }, + "name": { + "shape": "PromptName", + "documentation": "The name of the prompt.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the prompt was last updated.
" + }, + "version": { + "shape": "Version", + "documentation": "The version of the prompt that this summary applies to.
" + } + }, + "documentation": "Contains information about a prompt in your Prompt management tool.
This data type is used in the following API operations:
" + }, + "PromptTemplateConfiguration": { + "type": "structure", + "members": { + "text": { + "shape": "TextPromptTemplateConfiguration", + "documentation": "Contains configurations for the text in a message for a prompt.
" + } + }, + "documentation": "Contains the message for a prompt. For more information, see Prompt management in Amazon Bedrock.
", + "union": true + }, + "PromptTemplateType": { + "type": "string", + "enum": [ + "TEXT" + ] + }, "PromptType": { "type": "string", "enum": [ @@ -4532,6 +7645,50 @@ "KNOWLEDGE_BASE_RESPONSE_GENERATION" ] }, + "PromptVariant": { + "type": "structure", + "required": [ + "name", + "templateType" + ], + "members": { + "inferenceConfiguration": { + "shape": "PromptInferenceConfiguration", + "documentation": "Contains inference configurations for the prompt variant.
" + }, + "modelId": { + "shape": "PromptModelIdentifier", + "documentation": "The unique identifier of the model with which to run inference on the prompt.
" + }, + "name": { + "shape": "PromptVariantName", + "documentation": "The name of the prompt variant.
" + }, + "templateConfiguration": { + "shape": "PromptTemplateConfiguration", + "documentation": "Contains configurations for the prompt template.
" + }, + "templateType": { + "shape": "PromptTemplateType", + "documentation": "The type of prompt template to use.
" + } + }, + "documentation": "Contains details about a variant of the prompt.
", + "sensitive": true + }, + "PromptVariantList": { + "type": "list", + "member": { + "shape": "PromptVariant" + }, + "max": 3, + "min": 0, + "sensitive": true + }, + "PromptVariantName": { + "type": "string", + "pattern": "^([0-9a-zA-Z][_-]?){1,100}$" + }, "ProvisionedModelIdentifier": { "type": "string", "max": 2048, @@ -4691,6 +7848,43 @@ "min": 0, "pattern": "^.*$" }, + "RetrievalFlowNodeConfiguration": { + "type": "structure", + "required": [ + "serviceConfiguration" + ], + "members": { + "serviceConfiguration": { + "shape": "RetrievalFlowNodeServiceConfiguration", + "documentation": "Contains configurations for the service to use for retrieving data to return as the output from the node.
" + } + }, + "documentation": "Contains configurations for a Retrieval node in a flow. This node retrieves data from the Amazon S3 location that you specify and returns it as the output.
" + }, + "RetrievalFlowNodeS3Configuration": { + "type": "structure", + "required": [ + "bucketName" + ], + "members": { + "bucketName": { + "shape": "S3BucketName", + "documentation": "The name of the Amazon S3 bucket from which to retrieve data.
" + } + }, + "documentation": "Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.
" + }, + "RetrievalFlowNodeServiceConfiguration": { + "type": "structure", + "members": { + "s3": { + "shape": "RetrievalFlowNodeS3Configuration", + "documentation": "Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.
" + } + }, + "documentation": "Contains configurations for the service to use for retrieving data to return as the output from the node.
", + "union": true + }, "S3BucketArn": { "type": "string", "max": 2048, @@ -4703,6 +7897,12 @@ "min": 3, "pattern": "^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$" }, + "S3BucketUri": { + "type": "string", + "max": 2048, + "min": 1, + "pattern": "^s3://.{1,128}$" + }, "S3DataSourceConfiguration": { "type": "structure", "required": [ @@ -4711,18 +7911,18 @@ "members": { "bucketArn": { "shape": "S3BucketArn", - "documentation": "The Amazon Resource Name (ARN) of the bucket that contains the data source.
" + "documentation": "The Amazon Resource Name (ARN) of the S3 bucket that contains your data.
" }, "bucketOwnerAccountId": { "shape": "BucketOwnerAccountId", - "documentation": "The bucket account owner ID for the S3 bucket.
" + "documentation": "The account ID for the owner of the S3 bucket.
" }, "inclusionPrefixes": { "shape": "S3Prefixes", - "documentation": "A list of S3 prefixes that define the object containing the data sources. For more information, see Organizing objects using prefixes.
" + "documentation": "A list of S3 prefixes to include certain files or content. For more information, see Organizing objects using prefixes.
" } }, - "documentation": "Contains information about the S3 configuration of the data source.
" + "documentation": "The configuration information to connect to Amazon S3 as your data source.
" }, "S3Identifier": { "type": "structure", @@ -4733,10 +7933,23 @@ }, "s3ObjectKey": { "shape": "S3ObjectKey", - "documentation": "The S3 object key containing the resource.
" + "documentation": "The S3 object key for the S3 resource.
" + } + }, + "documentation": "The identifier information for an Amazon S3 bucket.
" + }, + "S3Location": { + "type": "structure", + "required": [ + "uri" + ], + "members": { + "uri": { + "shape": "S3BucketUri", + "documentation": "The location's URI. For example, s3://my-bucket/chunk-processor/
.
Contains information about the S3 object containing the resource.
" + "documentation": "An Amazon S3 location.
" }, "S3ObjectKey": { "type": "string", @@ -4747,7 +7960,8 @@ "S3Prefix": { "type": "string", "max": 300, - "min": 1 + "min": 1, + "sensitive": true }, "S3Prefixes": { "type": "list", @@ -4757,10 +7971,124 @@ "max": 1, "min": 1 }, + "SalesforceAuthType": { + "type": "string", + "enum": [ + "OAUTH2_CLIENT_CREDENTIALS" + ] + }, + "SalesforceCrawlerConfiguration": { + "type": "structure", + "members": { + "filterConfiguration": { + "shape": "CrawlFilterConfiguration", + "documentation": "The configuration of filtering the Salesforce content. For example, configuring regular expression patterns to include or exclude certain content.
" + } + }, + "documentation": "The configuration of the Salesforce content. For example, configuring specific types of Salesforce content.
" + }, + "SalesforceDataSourceConfiguration": { + "type": "structure", + "required": [ + "sourceConfiguration" + ], + "members": { + "crawlerConfiguration": { + "shape": "SalesforceCrawlerConfiguration", + "documentation": "The configuration of the Salesforce content. For example, configuring specific types of Salesforce content.
" + }, + "sourceConfiguration": { + "shape": "SalesforceSourceConfiguration", + "documentation": "The endpoint information to connect to your Salesforce data source.
" + } + }, + "documentation": "The configuration information to connect to Salesforce as your data source.
" + }, + "SalesforceSourceConfiguration": { + "type": "structure", + "required": [ + "authType", + "credentialsSecretArn", + "hostUrl" + ], + "members": { + "authType": { + "shape": "SalesforceAuthType", + "documentation": "The supported authentication type to authenticate and connect to your Salesforce instance.
" + }, + "credentialsSecretArn": { + "shape": "SecretArn", + "documentation": "The Amazon Resource Name of an Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see Salesforce connection configuration.
" + }, + "hostUrl": { + "shape": "HttpsUrl", + "documentation": "The Salesforce host URL or instance URL.
" + } + }, + "documentation": "The endpoint information to connect to your Salesforce data source.
" + }, "SecretArn": { "type": "string", "pattern": "^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$" }, + "SeedUrl": { + "type": "structure", + "members": { + "url": { + "shape": "Url", + "documentation": "A seed or starting point URL.
" + } + }, + "documentation": "The seed or starting point URL. You should be authorized to crawl the URL.
" + }, + "SeedUrls": { + "type": "list", + "member": { + "shape": "SeedUrl" + }, + "max": 100, + "min": 1 + }, + "SemanticChunkingConfiguration": { + "type": "structure", + "required": [ + "breakpointPercentileThreshold", + "bufferSize", + "maxTokens" + ], + "members": { + "breakpointPercentileThreshold": { + "shape": "SemanticChunkingConfigurationBreakpointPercentileThresholdInteger", + "documentation": "The dissimilarity threshold for splitting chunks.
" + }, + "bufferSize": { + "shape": "SemanticChunkingConfigurationBufferSizeInteger", + "documentation": "The buffer size.
" + }, + "maxTokens": { + "shape": "SemanticChunkingConfigurationMaxTokensInteger", + "documentation": "The maximum number of tokens that a chunk can contain.
" + } + }, + "documentation": "Settings for semantic document chunking for a data source. Semantic chunking splits a document into into smaller documents based on groups of similar content derived from the text with natural language processing.
With semantic chunking, each sentence is compared to the next to determine how similar they are. You specify a threshold in the form of a percentile, where adjacent sentences that are less similar than that percentage of sentence pairs are divided into separate chunks. For example, if you set the threshold to 90, then the 10 percent of sentence pairs that are least similar are split. So if you have 101 sentences, 100 sentence pairs are compared, and the 10 with the least similarity are split, creating 11 chunks. These chunks are further split if they exceed the max token size.
You must also specify a buffer size, which determines whether sentences are compared in isolation, or within a moving context window that includes the previous and following sentence. For example, if you set the buffer size to 1
, the embedding for sentence 10 is derived from sentences 9, 10, and 11 combined.
The configuration of filtering the SharePoint content. For example, configuring regular expression patterns to include or exclude certain content.
" + } + }, + "documentation": "The configuration of the SharePoint content. For example, configuring specific types of SharePoint content.
" + }, + "SharePointDataSourceConfiguration": { + "type": "structure", + "required": [ + "sourceConfiguration" + ], + "members": { + "crawlerConfiguration": { + "shape": "SharePointCrawlerConfiguration", + "documentation": "The configuration of the SharePoint content. For example, configuring specific types of SharePoint content.
" + }, + "sourceConfiguration": { + "shape": "SharePointSourceConfiguration", + "documentation": "The endpoint information to connect to your SharePoint data source.
" + } + }, + "documentation": "The configuration information to connect to SharePoint as your data source.
" + }, + "SharePointDomain": { + "type": "string", + "max": 50, + "min": 1 + }, + "SharePointHostType": { + "type": "string", + "enum": [ + "ONLINE" + ] + }, + "SharePointSiteUrls": { + "type": "list", + "member": { + "shape": "HttpsUrl" + }, + "max": 100, + "min": 1 + }, + "SharePointSourceConfiguration": { + "type": "structure", + "required": [ + "authType", + "credentialsSecretArn", + "domain", + "hostType", + "siteUrls" + ], + "members": { + "authType": { + "shape": "SharePointAuthType", + "documentation": "The supported authentication type to authenticate and connect to your SharePoint site/sites.
" + }, + "credentialsSecretArn": { + "shape": "SecretArn", + "documentation": "The Amazon Resource Name of an Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see SharePoint connection configuration.
" + }, + "domain": { + "shape": "SharePointDomain", + "documentation": "The domain of your SharePoint instance or site URL/URLs.
" + }, + "hostType": { + "shape": "SharePointHostType", + "documentation": "The supported host type, whether online/cloud or server/on-premises.
" + }, + "siteUrls": { + "shape": "SharePointSiteUrls", + "documentation": "A list of one or more SharePoint site URLs.
" + }, + "tenantId": { + "shape": "Microsoft365TenantId", + "documentation": "The identifier of your Microsoft 365 tenant.
" + } + }, + "documentation": "The endpoint information to connect to your SharePoint data source.
" + }, "SortOrder": { "type": "string", "enum": [ @@ -4826,6 +8243,12 @@ } } }, + "StepType": { + "type": "string", + "enum": [ + "POST_CHUNKING" + ] + }, "StopSequences": { "type": "list", "member": { @@ -4865,7 +8288,50 @@ "documentation": "The vector store service in which the knowledge base is stored.
" } }, - "documentation": "Contains the storage configuration of the knowledge base.
" + "documentation": "Contains the storage configuration of the knowledge base.
" + }, + "StorageDays": { + "type": "integer", + "box": true, + "max": 30, + "min": 0 + }, + "StorageFlowNodeConfiguration": { + "type": "structure", + "required": [ + "serviceConfiguration" + ], + "members": { + "serviceConfiguration": { + "shape": "StorageFlowNodeServiceConfiguration", + "documentation": "Contains configurations for the service to use for storing the input into the node.
" + } + }, + "documentation": "Contains configurations for a Storage node in a flow. This node stores the input in an Amazon S3 location that you specify.
" + }, + "StorageFlowNodeS3Configuration": { + "type": "structure", + "required": [ + "bucketName" + ], + "members": { + "bucketName": { + "shape": "S3BucketName", + "documentation": "The name of the Amazon S3 bucket in which to store the input into the node.
" + } + }, + "documentation": "Contains configurations for the Amazon S3 location in which to store the input into the node.
" + }, + "StorageFlowNodeServiceConfiguration": { + "type": "structure", + "members": { + "s3": { + "shape": "StorageFlowNodeS3Configuration", + "documentation": "Contains configurations for the Amazon S3 location in which to store the input into the node.
" + } + }, + "documentation": "Contains configurations for the service to use for storing the input into the node.
", + "union": true }, "String": { "type": "string" @@ -4917,7 +8383,7 @@ "type": "string", "max": 1011, "min": 20, - "pattern": "(^arn:aws:bedrock:[a-zA-Z0-9-]+:/d{12}:(agent|agent-alias|knowledge-base)/[A-Z0-9]{10}(?:/[A-Z0-9]{10})?$)" + "pattern": "(^arn:aws:bedrock:[a-zA-Z0-9-]+:/d{12}:(agent|agent-alias|knowledge-base|flow|prompt)/[A-Z0-9]{10}(?:/[A-Z0-9]{10})?$|^arn:aws:bedrock:[a-zA-Z0-9-]+:/d{12}:flow/([A-Z0-9]{10})/alias/([A-Z0-9]{10})$|^arn:aws:bedrock:[a-zA-Z0-9-]+:/d{12}:prompt/([A-Z0-9]{10})?(?::/d+)?$)" }, "TagsMap": { "type": "map", @@ -4934,6 +8400,30 @@ "max": 1, "min": 0 }, + "TextPrompt": { + "type": "string", + "max": 200000, + "min": 1, + "sensitive": true + }, + "TextPromptTemplateConfiguration": { + "type": "structure", + "required": [ + "text" + ], + "members": { + "inputVariables": { + "shape": "PromptInputVariablesList", + "documentation": "An array of the variables in the prompt template.
" + }, + "text": { + "shape": "TextPrompt", + "documentation": "The message for the prompt.
" + } + }, + "documentation": "Contains configurations for a text prompt template. To include a variable, enclose a word in double curly braces as in {{variable}}
.
When the service applies the transformation.
" + }, + "transformationFunction": { + "shape": "TransformationFunction", + "documentation": "A Lambda function that processes documents.
" + } + }, + "documentation": "A custom processing step for documents moving through a data source ingestion pipeline. To process documents after they have been converted into chunks, set the step to apply to POST_CHUNKING
.
The Lambda function.
" + } + }, + "documentation": "A Lambda function that processes documents.
" + }, + "TransformationLambdaConfiguration": { + "type": "structure", + "required": [ + "lambdaArn" + ], + "members": { + "lambdaArn": { + "shape": "LambdaArn", + "documentation": "The function's ARN identifier.
" + } + }, + "documentation": "A Lambda function that processes documents.
" + }, + "Transformations": { + "type": "list", + "member": { + "shape": "Transformation" + }, + "max": 1, + "min": 1 + }, "Type": { "type": "string", "enum": [ @@ -5191,6 +8733,10 @@ "shape": "Instruction", "documentation": "Specifies new instructions that tell the agent what it should do and how it should interact with users.
" }, + "memoryConfiguration": { + "shape": "MemoryConfiguration", + "documentation": "Specifies the new memory configuration for the agent.
" + }, "promptOverrideConfiguration": { "shape": "PromptOverrideConfiguration", "documentation": "Contains configurations to override prompts in different parts of an agent sequence. For more information, see Advanced prompts.
" @@ -5220,11 +8766,11 @@ "members": { "dataDeletionPolicy": { "shape": "DataDeletionPolicy", - "documentation": "The data deletion policy of the updated data source.
" + "documentation": "The data deletion policy for the data source that you want to update.
" }, "dataSourceConfiguration": { "shape": "DataSourceConfiguration", - "documentation": "Contains details about the storage configuration of the data source.
" + "documentation": "The connection configuration for the data source that you want to update.
" }, "dataSourceId": { "shape": "Id", @@ -5238,7 +8784,7 @@ }, "knowledgeBaseId": { "shape": "Id", - "documentation": "The unique identifier of the knowledge base to which the data source belongs.
", + "documentation": "The unique identifier of the knowledge base for the data source.
", "location": "uri", "locationName": "knowledgeBaseId" }, @@ -5268,6 +8814,182 @@ } } }, + "UpdateFlowAliasRequest": { + "type": "structure", + "required": [ + "aliasIdentifier", + "flowIdentifier", + "name", + "routingConfiguration" + ], + "members": { + "aliasIdentifier": { + "shape": "FlowAliasIdentifier", + "documentation": "The unique identifier of the alias.
", + "location": "uri", + "locationName": "aliasIdentifier" + }, + "description": { + "shape": "Description", + "documentation": "A description for the flow alias.
" + }, + "flowIdentifier": { + "shape": "FlowIdentifier", + "documentation": "The unique identifier of the flow.
", + "location": "uri", + "locationName": "flowIdentifier" + }, + "name": { + "shape": "Name", + "documentation": "The name of the flow alias.
" + }, + "routingConfiguration": { + "shape": "FlowAliasRoutingConfiguration", + "documentation": "Contains information about the version to which to map the alias.
" + } + } + }, + "UpdateFlowAliasResponse": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "flowId", + "id", + "name", + "routingConfiguration", + "updatedAt" + ], + "members": { + "arn": { + "shape": "FlowAliasArn", + "documentation": "The Amazon Resource Name (ARN) of the flow.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the flow was created.
" + }, + "description": { + "shape": "Description", + "documentation": "The description of the flow.
" + }, + "flowId": { + "shape": "FlowId", + "documentation": "The unique identifier of the flow.
" + }, + "id": { + "shape": "FlowAliasId", + "documentation": "The unique identifier of the alias.
" + }, + "name": { + "shape": "Name", + "documentation": "The name of the flow alias.
" + }, + "routingConfiguration": { + "shape": "FlowAliasRoutingConfiguration", + "documentation": "Contains information about the version that the alias is mapped to.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the flow alias was last updated.
" + } + } + }, + "UpdateFlowRequest": { + "type": "structure", + "required": [ + "executionRoleArn", + "flowIdentifier", + "name" + ], + "members": { + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.
" + }, + "definition": { + "shape": "FlowDefinition", + "documentation": "A definition of the nodes and the connections between the nodes in the flow.
" + }, + "description": { + "shape": "FlowDescription", + "documentation": "A description for the flow.
" + }, + "executionRoleArn": { + "shape": "FlowExecutionRoleArn", + "documentation": "The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
" + }, + "flowIdentifier": { + "shape": "FlowIdentifier", + "documentation": "The unique identifier of the flow.
", + "location": "uri", + "locationName": "flowIdentifier" + }, + "name": { + "shape": "FlowName", + "documentation": "A name for the flow.
" + } + } + }, + "UpdateFlowResponse": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "executionRoleArn", + "id", + "name", + "status", + "updatedAt", + "version" + ], + "members": { + "arn": { + "shape": "FlowArn", + "documentation": "The Amazon Resource Name (ARN) of the flow.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the flow was created.
" + }, + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.
" + }, + "definition": { + "shape": "FlowDefinition", + "documentation": "A definition of the nodes and the connections between nodes in the flow.
" + }, + "description": { + "shape": "FlowDescription", + "documentation": "The description of the flow.
" + }, + "executionRoleArn": { + "shape": "FlowExecutionRoleArn", + "documentation": "The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.
" + }, + "id": { + "shape": "FlowId", + "documentation": "The unique identifier of the flow.
" + }, + "name": { + "shape": "FlowName", + "documentation": "The name of the flow.
" + }, + "status": { + "shape": "FlowStatus", + "documentation": "The status of the flow. When you submit this request, the status will be NotPrepared
. If updating fails, the status becomes Failed
.
The time at which the flow was last updated.
" + }, + "version": { + "shape": "DraftVersion", + "documentation": "The version of the flow. When you update a flow, the version updated is the DRAFT
version.
The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
" + }, + "defaultVariant": { + "shape": "PromptVariantName", + "documentation": "The name of the default variant for the prompt. This value must match the name
field in the relevant PromptVariant object.
A description for the prompt.
" + }, + "name": { + "shape": "PromptName", + "documentation": "A name for the prompt.
" + }, + "promptIdentifier": { + "shape": "PromptIdentifier", + "documentation": "The unique identifier of the prompt.
", + "location": "uri", + "locationName": "promptIdentifier" + }, + "variants": { + "shape": "PromptVariantList", + "documentation": "A list of objects, each containing details about a variant of the prompt.
" + } + } + }, + "UpdatePromptResponse": { + "type": "structure", + "required": [ + "arn", + "createdAt", + "id", + "name", + "updatedAt", + "version" + ], + "members": { + "arn": { + "shape": "PromptArn", + "documentation": "The Amazon Resource Name (ARN) of the prompt.
" + }, + "createdAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the prompt was created.
" + }, + "customerEncryptionKeyArn": { + "shape": "KmsKeyArn", + "documentation": "The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
" + }, + "defaultVariant": { + "shape": "PromptVariantName", + "documentation": "The name of the default variant for the prompt. This value must match the name
field in the relevant PromptVariant object.
The description of the prompt.
" + }, + "id": { + "shape": "PromptId", + "documentation": "The unique identifier of the prompt.
" + }, + "name": { + "shape": "PromptName", + "documentation": "The name of the prompt.
" + }, + "updatedAt": { + "shape": "DateTimestamp", + "documentation": "The time at which the prompt was last updated.
" + }, + "variants": { + "shape": "PromptVariantList", + "documentation": "A list of objects, each containing details about a variant of the prompt.
" + }, + "version": { + "shape": "Version", + "documentation": "The version of the prompt. When you update a prompt, the version updated is the DRAFT
version.
One or more seed or starting point URLs.
" + } + }, + "documentation": "The configuration of web URLs that you want to crawl. You should be authorized to crawl the URLs.
" + }, "VectorIngestionConfiguration": { "type": "structure", "members": { "chunkingConfiguration": { "shape": "ChunkingConfiguration", "documentation": "Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
" + }, + "customTransformationConfiguration": { + "shape": "CustomTransformationConfiguration", + "documentation": "A custom document transformer for parsed data source documents.
" + }, + "parsingConfiguration": { + "shape": "ParsingConfiguration", + "documentation": "A custom parser for data source documents.
" } }, "documentation": "Contains details about how to ingest the documents in a data source.
" @@ -5350,6 +9182,81 @@ "max": 5, "min": 1, "pattern": "^(DRAFT|[0-9]{0,4}[1-9][0-9]{0,4})$" + }, + "WebCrawlerConfiguration": { + "type": "structure", + "members": { + "crawlerLimits": { + "shape": "WebCrawlerLimits", + "documentation": "The configuration of crawl limits for the web URLs.
" + }, + "exclusionFilters": { + "shape": "FilterList", + "documentation": "A list of one or more exclusion regular expression patterns to exclude certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled.
" + }, + "inclusionFilters": { + "shape": "FilterList", + "documentation": "A list of one or more inclusion regular expression patterns to include certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled.
" + }, + "scope": { + "shape": "WebScopeType", + "documentation": "The scope of what is crawled for your URLs.
You can choose to crawl only web pages that belong to the same host or primary domain. For example, only web pages that contain the seed URL \"https://docs.aws.amazon.com/bedrock/latest/userguide/\" and no other domains. You can choose to include sub domains in addition to the host or primary domain. For example, web pages that contain \"aws.amazon.com\" can also include sub domain \"docs.aws.amazon.com\".
" + } + }, + "documentation": "The configuration of web URLs that you want to crawl. You should be authorized to crawl the URLs.
" + }, + "WebCrawlerLimits": { + "type": "structure", + "members": { + "rateLimit": { + "shape": "WebCrawlerLimitsRateLimitInteger", + "documentation": "The max rate at which pages are crawled, up to 300 per minute per host.
" + } + }, + "documentation": "The rate limits for the URLs that you want to crawl. You should be authorized to crawl the URLs.
" + }, + "WebCrawlerLimitsRateLimitInteger": { + "type": "integer", + "box": true, + "max": 300, + "min": 1 + }, + "WebDataSourceConfiguration": { + "type": "structure", + "required": [ + "sourceConfiguration" + ], + "members": { + "crawlerConfiguration": { + "shape": "WebCrawlerConfiguration", + "documentation": "The Web Crawler configuration details for the web data source.
" + }, + "sourceConfiguration": { + "shape": "WebSourceConfiguration", + "documentation": "The source configuration details for the web data source.
" + } + }, + "documentation": "The configuration details for the web data source.
" + }, + "WebScopeType": { + "type": "string", + "enum": [ + "HOST_ONLY", + "SUBDOMAINS" + ] + }, + "WebSourceConfiguration": { + "type": "structure", + "required": [ + "urlConfiguration" + ], + "members": { + "urlConfiguration": { + "shape": "UrlConfiguration", + "documentation": "The configuration of the URL/URLs.
" + } + }, + "documentation": "The configuration of the URL/URLs for the web content that you want to crawl. You should be authorized to crawl the URLs.
" } }, "documentation": "Describes the API operations for creating and managing Amazon Bedrock agents.
" diff --git a/apis/bedrock-agent-2023-06-05.paginators.json b/apis/bedrock-agent-2023-06-05.paginators.json index 8e00fb72a9..97af0b0e42 100644 --- a/apis/bedrock-agent-2023-06-05.paginators.json +++ b/apis/bedrock-agent-2023-06-05.paginators.json @@ -36,6 +36,24 @@ "limit_key": "maxResults", "result_key": "dataSourceSummaries" }, + "ListFlowAliases": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "flowAliasSummaries" + }, + "ListFlowVersions": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "flowVersionSummaries" + }, + "ListFlows": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "flowSummaries" + }, "ListIngestionJobs": { "input_token": "nextToken", "output_token": "nextToken", @@ -47,6 +65,12 @@ "output_token": "nextToken", "limit_key": "maxResults", "result_key": "knowledgeBaseSummaries" + }, + "ListPrompts": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "promptSummaries" } } } diff --git a/apis/bedrock-agent-runtime-2023-07-26.min.json b/apis/bedrock-agent-runtime-2023-07-26.min.json index 5b87e4fa51..cc7d331145 100644 --- a/apis/bedrock-agent-runtime-2023-07-26.min.json +++ b/apis/bedrock-agent-runtime-2023-07-26.min.json @@ -12,6 +12,111 @@ "uid": "bedrock-agent-runtime-2023-07-26" }, "operations": { + "DeleteAgentMemory": { + "http": { + "method": "DELETE", + "requestUri": "/agents/{agentId}/agentAliases/{agentAliasId}/memories", + "responseCode": 202 + }, + "input": { + "type": "structure", + "required": [ + "agentAliasId", + "agentId" + ], + "members": { + "agentAliasId": { + "location": "uri", + "locationName": "agentAliasId" + }, + "agentId": { + "location": "uri", + "locationName": "agentId" + }, + "memoryId": { + "location": "querystring", + "locationName": "memoryId" + } + } + }, + "output": { + "type": "structure", + "members": {} + }, + "idempotent": true + }, + "GetAgentMemory": { + "http": { + "method": "GET", + "requestUri": "/agents/{agentId}/agentAliases/{agentAliasId}/memories", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "agentAliasId", + "agentId", + "memoryId", + "memoryType" + ], + "members": { + "agentAliasId": { + "location": "uri", + "locationName": "agentAliasId" + }, + "agentId": { + "location": "uri", + "locationName": "agentId" + }, + "maxItems": { + "location": "querystring", + "locationName": "maxItems", + "type": "integer" + }, + "memoryId": { + "location": "querystring", + "locationName": "memoryId" + }, + "memoryType": { + "location": "querystring", + "locationName": "memoryType" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "output": { + "type": "structure", + "members": { + "memoryContents": { + "type": "list", + "member": { + "type": "structure", + "members": { + "sessionSummary": { + "type": "structure", + "members": { + "memoryId": {}, + "sessionExpiryTime": { + "shape": "Se" + }, + "sessionId": {}, + "sessionStartTime": { + "shape": "Se" + }, + "summaryText": {} + } + } + }, + "union": true + } + }, + "nextToken": {} + } + } + }, "InvokeAgent": { "http": { "requestUri": "/agents/{agentId}/agentAliases/{agentAliasId}/sessions/{sessionId}/text", @@ -43,6 +148,7 @@ "type": "string", "sensitive": true }, + "memoryId": {}, "sessionId": { "location": "uri", "locationName": "sessionId" @@ -50,7 +156,69 @@ "sessionState": { "type": "structure", "members": { + "files": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "name", + "source", + "useCase" + ], + "members": { + "name": {}, + "source": { + "type": "structure", + "required": [ + "sourceType" + ], + "members": { + "byteContent": { + "type": "structure", + "required": [ + "data", + "mediaType" + ], + "members": { + "data": { + "shape": "Sq" + }, + "mediaType": {} + } + }, + "s3Location": { + "type": "structure", + "required": [ + "uri" + ], + "members": { + "uri": {} + } + }, + "sourceType": {} + } + }, + "useCase": {} + } + } + }, "invocationId": {}, + "knowledgeBaseConfigurations": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "knowledgeBaseId", + "retrievalConfiguration" + ], + "members": { + "knowledgeBaseId": {}, + "retrievalConfiguration": { + "shape": "Sz" + } + } + } + }, "promptSessionAttributes": { "type": "map", "key": {}, @@ -69,14 +237,14 @@ "members": { "actionGroup": {}, "apiPath": { - "shape": "Sd" + "shape": "S1c" }, "httpMethod": {}, "httpStatusCode": { "type": "integer" }, "responseBody": { - "shape": "Sf" + "shape": "S1e" }, "responseState": {} } @@ -90,7 +258,7 @@ "actionGroup": {}, "function": {}, "responseBody": { - "shape": "Sf" + "shape": "S1e" }, "responseState": {} } @@ -120,27 +288,10 @@ "type": "structure", "members": { "accessDeniedException": { - "type": "structure", - "members": { - "message": {} - }, - "error": { - "httpStatusCode": 403, - "senderFault": true - }, - "exception": true + "shape": "S1l" }, "badGatewayException": { - "type": "structure", - "members": { - "message": {}, - "resourceName": {} - }, - "error": { - "httpStatusCode": 502 - }, - "exception": true, - "fault": true + "shape": "S1n" }, "chunk": { "type": "structure", @@ -149,7 +300,7 @@ "type": "structure", "members": { "citations": { - "shape": "Sr" + "shape": "S1q" } } }, @@ -162,49 +313,37 @@ "sensitive": true }, "conflictException": { - "type": "structure", - "members": { - "message": {} - }, - "error": { - "httpStatusCode": 409, - "senderFault": true - }, - "exception": true + "shape": "S2b" }, "dependencyFailedException": { + "shape": "S2c" + }, + "files": { "type": "structure", "members": { - "message": {}, - "resourceName": {} - }, - "error": { - "httpStatusCode": 424, - "senderFault": true + "files": { + "type": "list", + "member": { + "type": "structure", + "members": { + "bytes": { + "type": "blob", + "sensitive": true + }, + "name": {}, + "type": {} + }, + "sensitive": true + } + } }, - "exception": true + "event": true }, "internalServerException": { - "type": "structure", - "members": { - "message": {} - }, - "error": { - "httpStatusCode": 500 - }, - "exception": true, - "fault": true + "shape": "S2h" }, "resourceNotFoundException": { - "type": "structure", - "members": { - "message": {} - }, - "error": { - "httpStatusCode": 404, - "senderFault": true - }, - "exception": true + "shape": "S2i" }, "returnControl": { "type": "structure", @@ -223,7 +362,7 @@ "members": { "actionGroup": {}, "apiPath": { - "shape": "Sd" + "shape": "S1c" }, "httpMethod": {}, "parameters": { @@ -249,7 +388,7 @@ "properties": { "type": "list", "member": { - "shape": "S1m" + "shape": "S2t" } } } @@ -289,26 +428,10 @@ "sensitive": true }, "serviceQuotaExceededException": { - "type": "structure", - "members": { - "message": {} - }, - "error": { - "httpStatusCode": 400, - "senderFault": true - }, - "exception": true + "shape": "S2x" }, "throttlingException": { - "type": "structure", - "members": { - "message": {} - }, - "error": { - "httpStatusCode": 429, - "senderFault": true - }, - "exception": true + "shape": "S2y" }, "trace": { "type": "structure", @@ -336,10 +459,10 @@ "members": { "action": {}, "inputAssessments": { - "shape": "S20" + "shape": "S37" }, "outputAssessments": { - "shape": "S20" + "shape": "S37" }, "traceId": {} }, @@ -359,14 +482,16 @@ "sensitive": true }, "apiPath": { - "shape": "Sd" + "shape": "S1c" }, + "executionType": {}, "function": { "type": "string", "sensitive": true }, + "invocationId": {}, "parameters": { - "shape": "S2w" + "shape": "S44" }, "requestBody": { "type": "structure", @@ -375,7 +500,7 @@ "type": "map", "key": {}, "value": { - "shape": "S2w" + "shape": "S44" } } } @@ -386,6 +511,15 @@ } } }, + "codeInterpreterInvocationInput": { + "type": "structure", + "members": { + "code": {}, + "files": { + "shape": "S49" + } + } + }, "invocationType": {}, "knowledgeBaseLookupInput": { "type": "structure", @@ -405,7 +539,7 @@ "sensitive": true }, "modelInvocationInput": { - "shape": "S34" + "shape": "S4e" }, "observation": { "type": "structure", @@ -419,6 +553,19 @@ } } }, + "codeInterpreterInvocationOutput": { + "type": "structure", + "members": { + "executionError": {}, + "executionOutput": {}, + "executionTimeout": { + "type": "boolean" + }, + "files": { + "shape": "S49" + } + } + }, "finalResponse": { "type": "structure", "members": { @@ -432,7 +579,7 @@ "type": "structure", "members": { "retrievedReferences": { - "shape": "Sy" + "shape": "S1x" } } }, @@ -456,7 +603,7 @@ "type": "structure", "members": { "text": { - "shape": "S3p" + "shape": "S50" }, "traceId": {} }, @@ -470,7 +617,7 @@ "type": "structure", "members": { "modelInvocationInput": { - "shape": "S34" + "shape": "S4e" }, "modelInvocationOutput": { "type": "structure", @@ -497,7 +644,7 @@ "type": "structure", "members": { "modelInvocationInput": { - "shape": "S34" + "shape": "S4e" }, "modelInvocationOutput": { "type": "structure", @@ -509,7 +656,7 @@ "type": "boolean" }, "rationale": { - "shape": "S3p" + "shape": "S50" } }, "sensitive": true @@ -531,15 +678,7 @@ "sensitive": true }, "validationException": { - "type": "structure", - "members": { - "message": {} - }, - "error": { - "httpStatusCode": 400, - "senderFault": true - }, - "exception": true + "shape": "S58" } }, "eventstream": true @@ -548,6 +687,10 @@ "location": "header", "locationName": "x-amzn-bedrock-agent-content-type" }, + "memoryId": { + "location": "header", + "locationName": "x-amz-bedrock-agent-memory-id" + }, "sessionId": { "location": "header", "locationName": "x-amz-bedrock-agent-session-id" @@ -556,6 +699,131 @@ "payload": "completion" } }, + "InvokeFlow": { + "http": { + "requestUri": "/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "flowAliasIdentifier", + "flowIdentifier", + "inputs" + ], + "members": { + "flowAliasIdentifier": { + "location": "uri", + "locationName": "flowAliasIdentifier" + }, + "flowIdentifier": { + "location": "uri", + "locationName": "flowIdentifier" + }, + "inputs": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "content", + "nodeName", + "nodeOutputName" + ], + "members": { + "content": { + "type": "structure", + "members": { + "document": { + "shape": "S5f" + } + }, + "sensitive": true, + "union": true + }, + "nodeName": {}, + "nodeOutputName": {} + } + } + } + } + }, + "output": { + "type": "structure", + "required": [ + "responseStream" + ], + "members": { + "responseStream": { + "type": "structure", + "members": { + "accessDeniedException": { + "shape": "S1l" + }, + "badGatewayException": { + "shape": "S1n" + }, + "conflictException": { + "shape": "S2b" + }, + "dependencyFailedException": { + "shape": "S2c" + }, + "flowCompletionEvent": { + "type": "structure", + "required": [ + "completionReason" + ], + "members": { + "completionReason": {} + }, + "event": true, + "sensitive": true + }, + "flowOutputEvent": { + "type": "structure", + "required": [ + "content", + "nodeName", + "nodeType" + ], + "members": { + "content": { + "type": "structure", + "members": { + "document": { + "shape": "S5f" + } + }, + "union": true + }, + "nodeName": {}, + "nodeType": {} + }, + "event": true, + "sensitive": true + }, + "internalServerException": { + "shape": "S2h" + }, + "resourceNotFoundException": { + "shape": "S2i" + }, + "serviceQuotaExceededException": { + "shape": "S2x" + }, + "throttlingException": { + "shape": "S2y" + }, + "validationException": { + "shape": "S58" + } + }, + "eventstream": true + } + }, + "payload": "responseStream" + } + }, "Retrieve": { "http": { "requestUri": "/knowledgebases/{knowledgeBaseId}/retrieve", @@ -574,7 +842,7 @@ }, "nextToken": {}, "retrievalConfiguration": { - "shape": "S42" + "shape": "Sz" }, "retrievalQuery": { "type": "structure", @@ -604,13 +872,13 @@ ], "members": { "content": { - "shape": "S10" + "shape": "S1z" }, "location": { - "shape": "S11" + "shape": "S20" }, "metadata": { - "shape": "S14" + "shape": "S27" }, "score": { "type": "double" @@ -660,16 +928,16 @@ "type": "structure", "members": { "additionalModelRequestFields": { - "shape": "S4n" + "shape": "S62" }, "guardrailConfiguration": { - "shape": "S4q" + "shape": "S65" }, "inferenceConfig": { - "shape": "S4t" + "shape": "S68" }, "promptTemplate": { - "shape": "S4y" + "shape": "S6d" } } }, @@ -692,8 +960,7 @@ "members": { "contentType": {}, "data": { - "type": "blob", - "sensitive": true + "shape": "Sq" }, "identifier": { "type": "string", @@ -727,23 +994,40 @@ "type": "structure", "members": { "additionalModelRequestFields": { - "shape": "S4n" + "shape": "S62" }, "guardrailConfiguration": { - "shape": "S4q" + "shape": "S65" }, "inferenceConfig": { - "shape": "S4t" + "shape": "S68" }, "promptTemplate": { - "shape": "S4y" + "shape": "S6d" } } }, "knowledgeBaseId": {}, "modelArn": {}, + "orchestrationConfiguration": { + "type": "structure", + "required": [ + "queryTransformationConfiguration" + ], + "members": { + "queryTransformationConfiguration": { + "type": "structure", + "required": [ + "type" + ], + "members": { + "type": {} + } + } + } + }, "retrievalConfiguration": { - "shape": "S42" + "shape": "Sz" } } }, @@ -770,7 +1054,7 @@ ], "members": { "citations": { - "shape": "Sr" + "shape": "S1q" }, "guardrailAction": {}, "output": { @@ -789,11 +1073,106 @@ } }, "shapes": { - "Sd": { + "Se": { + "type": "timestamp", + "timestampFormat": "iso8601" + }, + "Sq": { + "type": "blob", + "sensitive": true + }, + "Sz": { + "type": "structure", + "required": [ + "vectorSearchConfiguration" + ], + "members": { + "vectorSearchConfiguration": { + "type": "structure", + "members": { + "filter": { + "shape": "S11" + }, + "numberOfResults": { + "type": "integer" + }, + "overrideSearchType": {} + } + } + } + }, + "S11": { + "type": "structure", + "members": { + "andAll": { + "shape": "S12" + }, + "equals": { + "shape": "S13" + }, + "greaterThan": { + "shape": "S13" + }, + "greaterThanOrEquals": { + "shape": "S13" + }, + "in": { + "shape": "S13" + }, + "lessThan": { + "shape": "S13" + }, + "lessThanOrEquals": { + "shape": "S13" + }, + "listContains": { + "shape": "S13" + }, + "notEquals": { + "shape": "S13" + }, + "notIn": { + "shape": "S13" + }, + "orAll": { + "shape": "S12" + }, + "startsWith": { + "shape": "S13" + }, + "stringContains": { + "shape": "S13" + } + }, + "sensitive": true, + "union": true + }, + "S12": { + "type": "list", + "member": { + "shape": "S11" + } + }, + "S13": { + "type": "structure", + "required": [ + "key", + "value" + ], + "members": { + "key": {}, + "value": { + "type": "structure", + "members": {}, + "document": true + } + } + }, + "S1c": { "type": "string", "sensitive": true }, - "Sf": { + "S1e": { "type": "map", "key": {}, "value": { @@ -803,7 +1182,30 @@ } } }, - "Sr": { + "S1l": { + "type": "structure", + "members": { + "message": {} + }, + "error": { + "httpStatusCode": 403, + "senderFault": true + }, + "exception": true + }, + "S1n": { + "type": "structure", + "members": { + "message": {}, + "resourceName": {} + }, + "error": { + "httpStatusCode": 502 + }, + "exception": true, + "fault": true + }, + "S1q": { "type": "list", "member": { "type": "structure", @@ -832,29 +1234,29 @@ } }, "retrievedReferences": { - "shape": "Sy" + "shape": "S1x" } } } }, - "Sy": { + "S1x": { "type": "list", "member": { "type": "structure", "members": { "content": { - "shape": "S10" + "shape": "S1z" }, "location": { - "shape": "S11" + "shape": "S20" }, "metadata": { - "shape": "S14" + "shape": "S27" } } } }, - "S10": { + "S1z": { "type": "structure", "required": [ "text" @@ -864,23 +1266,47 @@ }, "sensitive": true }, - "S11": { + "S20": { "type": "structure", "required": [ "type" ], "members": { + "confluenceLocation": { + "type": "structure", + "members": { + "url": {} + } + }, "s3Location": { "type": "structure", "members": { "uri": {} } }, - "type": {} + "salesforceLocation": { + "type": "structure", + "members": { + "url": {} + } + }, + "sharePointLocation": { + "type": "structure", + "members": { + "url": {} + } + }, + "type": {}, + "webLocation": { + "type": "structure", + "members": { + "url": {} + } + } }, "sensitive": true }, - "S14": { + "S27": { "type": "map", "key": {}, "value": { @@ -890,7 +1316,52 @@ }, "sensitive": true }, - "S1m": { + "S2b": { + "type": "structure", + "members": { + "message": {} + }, + "error": { + "httpStatusCode": 409, + "senderFault": true + }, + "exception": true + }, + "S2c": { + "type": "structure", + "members": { + "message": {}, + "resourceName": {} + }, + "error": { + "httpStatusCode": 424, + "senderFault": true + }, + "exception": true + }, + "S2h": { + "type": "structure", + "members": { + "message": {} + }, + "error": { + "httpStatusCode": 500 + }, + "exception": true, + "fault": true + }, + "S2i": { + "type": "structure", + "members": { + "message": {} + }, + "error": { + "httpStatusCode": 404, + "senderFault": true + }, + "exception": true + }, + "S2t": { "type": "structure", "members": { "name": {}, @@ -898,7 +1369,29 @@ "value": {} } }, - "S20": { + "S2x": { + "type": "structure", + "members": { + "message": {} + }, + "error": { + "httpStatusCode": 400, + "senderFault": true + }, + "exception": true + }, + "S2y": { + "type": "structure", + "members": { + "message": {} + }, + "error": { + "httpStatusCode": 429, + "senderFault": true + }, + "exception": true + }, + "S37": { "type": "list", "member": { "type": "structure", @@ -1009,13 +1502,17 @@ "sensitive": true } }, - "S2w": { + "S44": { "type": "list", "member": { - "shape": "S1m" + "shape": "S2t" } }, - "S34": { + "S49": { + "type": "list", + "member": {} + }, + "S4e": { "type": "structure", "members": { "inferenceConfiguration": { @@ -1051,98 +1548,27 @@ }, "sensitive": true }, - "S3p": { + "S50": { "type": "string", "sensitive": true }, - "S42": { - "type": "structure", - "required": [ - "vectorSearchConfiguration" - ], - "members": { - "vectorSearchConfiguration": { - "type": "structure", - "members": { - "filter": { - "shape": "S44" - }, - "numberOfResults": { - "type": "integer" - }, - "overrideSearchType": {} - } - } - } - }, - "S44": { + "S58": { "type": "structure", "members": { - "andAll": { - "shape": "S45" - }, - "equals": { - "shape": "S46" - }, - "greaterThan": { - "shape": "S46" - }, - "greaterThanOrEquals": { - "shape": "S46" - }, - "in": { - "shape": "S46" - }, - "lessThan": { - "shape": "S46" - }, - "lessThanOrEquals": { - "shape": "S46" - }, - "listContains": { - "shape": "S46" - }, - "notEquals": { - "shape": "S46" - }, - "notIn": { - "shape": "S46" - }, - "orAll": { - "shape": "S45" - }, - "startsWith": { - "shape": "S46" - }, - "stringContains": { - "shape": "S46" - } + "message": {} }, - "sensitive": true, - "union": true - }, - "S45": { - "type": "list", - "member": { - "shape": "S44" - } + "error": { + "httpStatusCode": 400, + "senderFault": true + }, + "exception": true }, - "S46": { + "S5f": { "type": "structure", - "required": [ - "key", - "value" - ], - "members": { - "key": {}, - "value": { - "type": "structure", - "members": {}, - "document": true - } - } + "members": {}, + "document": true }, - "S4n": { + "S62": { "type": "map", "key": {}, "value": { @@ -1151,7 +1577,7 @@ "document": true } }, - "S4q": { + "S65": { "type": "structure", "required": [ "guardrailId", @@ -1162,7 +1588,7 @@ "guardrailVersion": {} } }, - "S4t": { + "S68": { "type": "structure", "members": { "textInferenceConfig": { @@ -1185,7 +1611,7 @@ } } }, - "S4y": { + "S6d": { "type": "structure", "members": { "textPromptTemplate": { diff --git a/apis/bedrock-agent-runtime-2023-07-26.normal.json b/apis/bedrock-agent-runtime-2023-07-26.normal.json index 8b5a3dc3d2..638ea3e2ee 100644 --- a/apis/bedrock-agent-runtime-2023-07-26.normal.json +++ b/apis/bedrock-agent-runtime-2023-07-26.normal.json @@ -12,6 +12,95 @@ "uid": "bedrock-agent-runtime-2023-07-26" }, "operations": { + "DeleteAgentMemory": { + "name": "DeleteAgentMemory", + "http": { + "method": "DELETE", + "requestUri": "/agents/{agentId}/agentAliases/{agentAliasId}/memories", + "responseCode": 202 + }, + "input": { + "shape": "DeleteAgentMemoryRequest" + }, + "output": { + "shape": "DeleteAgentMemoryResponse" + }, + "errors": [ + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "DependencyFailedException" + }, + { + "shape": "BadGatewayException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "documentation": "Deletes memory from the specified memory identifier.
", + "idempotent": true + }, + "GetAgentMemory": { + "name": "GetAgentMemory", + "http": { + "method": "GET", + "requestUri": "/agents/{agentId}/agentAliases/{agentAliasId}/memories", + "responseCode": 200 + }, + "input": { + "shape": "GetAgentMemoryRequest" + }, + "output": { + "shape": "GetAgentMemoryResponse" + }, + "errors": [ + { + "shape": "ConflictException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "DependencyFailedException" + }, + { + "shape": "BadGatewayException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "documentation": "Gets the sessions stored in the memory of the agent.
" + }, "InvokeAgent": { "name": "InvokeAgent", "http": { @@ -54,7 +143,51 @@ "shape": "ServiceQuotaExceededException" } ], - "documentation": "The CLI doesn't support InvokeAgent
.
Sends a prompt for the agent to process and respond to. Note the following fields for the request:
To continue the same conversation with an agent, use the same sessionId
value in the request.
To activate trace enablement, turn enableTrace
to true
. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see Trace enablement.
End a conversation by setting endSession
to true
.
In the sessionState
object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group.
The response is returned in the bytes
field of the chunk
object.
The attribution
object contains citations for parts of the response.
If you set enableTrace
to true
in the request, you can trace the agent's steps and reasoning process that led it to the response.
If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the returnControl
field.
Errors are also surfaced in the response.
The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeAgent
.
Sends a prompt for the agent to process and respond to. Note the following fields for the request:
To continue the same conversation with an agent, use the same sessionId
value in the request.
To activate trace enablement, turn enableTrace
to true
. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see Trace enablement.
End a conversation by setting endSession
to true
.
In the sessionState
object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group.
The response is returned in the bytes
field of the chunk
object.
The attribution
object contains citations for parts of the response.
If you set enableTrace
to true
in the request, you can trace the agent's steps and reasoning process that led it to the response.
If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the returnControl
field.
Errors are also surfaced in the response.
Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
" }, "Retrieve": { "name": "Retrieve", @@ -171,10 +304,18 @@ "shape": "ApiPath", "documentation": "The path to the API to call, based off the action group.
" }, + "executionType": { + "shape": "ExecutionType", + "documentation": "How fulfillment of the action is handled. For more information, see Handling fulfillment of the action.
" + }, "function": { "shape": "Function", "documentation": "The function in the action group to call.
" }, + "invocationId": { + "shape": "String", + "documentation": "The unique identifier of the invocation. Only returned if the executionType
is RETURN_CONTROL
.
The parameters in the Lambda input event.
" @@ -421,6 +562,24 @@ }, "documentation": "This property contains the document to chat with, along with its attributes.
" }, + "ByteContentFile": { + "type": "structure", + "required": [ + "data", + "mediaType" + ], + "members": { + "data": { + "shape": "ByteContentBlob", + "documentation": "The byte value of the file to attach, encoded as Base-64 string. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files.
" + }, + "mediaType": { + "shape": "MimeType", + "documentation": "The MIME type of data contained in the file used for chat.
" + } + }, + "documentation": "The property contains the file to chat with, along with its attributes.
" + }, "Citation": { "type": "structure", "members": { @@ -441,6 +600,42 @@ "shape": "Citation" } }, + "CodeInterpreterInvocationInput": { + "type": "structure", + "members": { + "code": { + "shape": "String", + "documentation": "The code for the code interpreter to use.
" + }, + "files": { + "shape": "Files", + "documentation": "Files that are uploaded for code interpreter to use.
" + } + }, + "documentation": "Contains information about the code interpreter being invoked.
" + }, + "CodeInterpreterInvocationOutput": { + "type": "structure", + "members": { + "executionError": { + "shape": "String", + "documentation": "Contains the error returned from code execution.
" + }, + "executionOutput": { + "shape": "String", + "documentation": "Contains the successful output returned from code execution
" + }, + "executionTimeout": { + "shape": "Boolean", + "documentation": "Indicates if the execution of the code timed out.
" + }, + "files": { + "shape": "Files", + "documentation": "Contains output files, if generated by code execution.
" + } + }, + "documentation": "Contains the JSON-formatted string returned by the API invoked by the code interpreter.
" + }, "ConflictException": { "type": "structure", "members": { @@ -485,6 +680,42 @@ "OVERRIDDEN" ] }, + "DateTimestamp": { + "type": "timestamp", + "documentation": "Time Stamp.
", + "timestampFormat": "iso8601" + }, + "DeleteAgentMemoryRequest": { + "type": "structure", + "required": [ + "agentAliasId", + "agentId" + ], + "members": { + "agentAliasId": { + "shape": "AgentAliasId", + "documentation": "The unique identifier of an alias of an agent.
", + "location": "uri", + "locationName": "agentAliasId" + }, + "agentId": { + "shape": "AgentId", + "documentation": "The unique identifier of the agent to which the alias belongs.
", + "location": "uri", + "locationName": "agentId" + }, + "memoryId": { + "shape": "MemoryId", + "documentation": "The unique identifier of the memory.
", + "location": "querystring", + "locationName": "memoryId" + } + } + }, + "DeleteAgentMemoryResponse": { + "type": "structure", + "members": {} + }, "DependencyFailedException": { "type": "structure", "members": { @@ -503,10 +734,22 @@ }, "exception": true }, + "Document": { + "type": "structure", + "members": {}, + "document": true + }, "Double": { "type": "double", "box": true }, + "ExecutionType": { + "type": "string", + "enum": [ + "LAMBDA", + "RETURN_CONTROL" + ] + }, "ExternalSource": { "type": "structure", "required": [ @@ -606,6 +849,64 @@ "documentation": "Contains information about the failure of the interaction.
", "sensitive": true }, + "FileBody": { + "type": "blob", + "max": 1000000, + "min": 0, + "sensitive": true + }, + "FilePart": { + "type": "structure", + "members": { + "files": { + "shape": "OutputFiles", + "documentation": "Files containing intermediate response for the user.
" + } + }, + "documentation": "Contains intermediate response for code interpreter if any files have been generated.
", + "event": true + }, + "FileSource": { + "type": "structure", + "required": [ + "sourceType" + ], + "members": { + "byteContent": { + "shape": "ByteContentFile", + "documentation": "The data and the text of the attached files.
" + }, + "s3Location": { + "shape": "S3ObjectFile", + "documentation": "The s3 location of the files to attach.
" + }, + "sourceType": { + "shape": "FileSourceType", + "documentation": "The source type of the files to attach.
" + } + }, + "documentation": "The source file of the content contained in the wrapper object.
" + }, + "FileSourceType": { + "type": "string", + "enum": [ + "S3", + "BYTE_CONTENT" + ] + }, + "FileUseCase": { + "type": "string", + "enum": [ + "CODE_INTERPRETER", + "CHAT" + ] + }, + "Files": { + "type": "list", + "member": { + "shape": "String" + } + }, "FilterAttribute": { "type": "structure", "required": [ @@ -617,36 +918,199 @@ "shape": "FilterKey", "documentation": "The name that the metadata attribute must match.
" }, - "value": { - "shape": "FilterValue", - "documentation": "The value to whcih to compare the value of the metadata attribute.
" - } - }, - "documentation": "Specifies the name that the metadata attribute must match and the value to which to compare the value of the metadata attribute. For more information, see Query configurations.
This data type is used in the following API operations:
" - }, - "FilterKey": { - "type": "string", - "max": 100, - "min": 1 - }, - "FilterValue": { - "type": "structure", - "members": {}, - "document": true - }, - "FinalResponse": { - "type": "structure", - "members": { - "text": { - "shape": "FinalResponseString", - "documentation": "The text in the response to the user.
" + "value": { + "shape": "FilterValue", + "documentation": "The value to whcih to compare the value of the metadata attribute.
" + } + }, + "documentation": "Specifies the name that the metadata attribute must match and the value to which to compare the value of the metadata attribute. For more information, see Query configurations.
This data type is used in the following API operations:
" + }, + "FilterKey": { + "type": "string", + "max": 100, + "min": 1 + }, + "FilterValue": { + "type": "structure", + "members": {}, + "document": true + }, + "FinalResponse": { + "type": "structure", + "members": { + "text": { + "shape": "FinalResponseString", + "documentation": "The text in the response to the user.
" + } + }, + "documentation": "Contains details about the response to the user.
" + }, + "FinalResponseString": { + "type": "string", + "sensitive": true + }, + "FlowAliasIdentifier": { + "type": "string", + "max": 2048, + "min": 0, + "pattern": "^(arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:flow/[0-9a-zA-Z]{10}/alias/[0-9a-zA-Z]{10})|(\\bTSTALIASID\\b|[0-9a-zA-Z]+)$" + }, + "FlowCompletionEvent": { + "type": "structure", + "required": [ + "completionReason" + ], + "members": { + "completionReason": { + "shape": "FlowCompletionReason", + "documentation": "The reason that the flow completed.
" + } + }, + "documentation": "Contains information about why a flow completed.
This data type is used in the following API operations:
", + "event": true, + "sensitive": true + }, + "FlowCompletionReason": { + "type": "string", + "enum": [ + "SUCCESS" + ] + }, + "FlowIdentifier": { + "type": "string", + "max": 2048, + "min": 0, + "pattern": "^(arn:aws:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:flow/[0-9a-zA-Z]{10})|([0-9a-zA-Z]{10})$" + }, + "FlowInput": { + "type": "structure", + "required": [ + "content", + "nodeName", + "nodeOutputName" + ], + "members": { + "content": { + "shape": "FlowInputContent", + "documentation": "Contains information about an input into the flow.
" + }, + "nodeName": { + "shape": "NodeName", + "documentation": "A name for the input of the flow input node.
" + }, + "nodeOutputName": { + "shape": "NodeOutputName", + "documentation": "A name for the output of the flow input node.
" + } + }, + "documentation": "Contains information about an input into the flow and what to do with it.
This data type is used in the following API operations:
" + }, + "FlowInputContent": { + "type": "structure", + "members": { + "document": { + "shape": "Document", + "documentation": "The input for the flow input node.
" + } + }, + "documentation": "Contains information about an input into the flow.
This data type is used in the following API operations:
", + "sensitive": true, + "union": true + }, + "FlowInputs": { + "type": "list", + "member": { + "shape": "FlowInput" + }, + "max": 1, + "min": 1 + }, + "FlowOutputContent": { + "type": "structure", + "members": { + "document": { + "shape": "Document", + "documentation": "A name for the output of the flow.
" + } + }, + "documentation": "Contains information about the output node.
This data type is used in the following API operations:
", + "union": true + }, + "FlowOutputEvent": { + "type": "structure", + "required": [ + "content", + "nodeName", + "nodeType" + ], + "members": { + "content": { + "shape": "FlowOutputContent", + "documentation": "The output of the node.
" + }, + "nodeName": { + "shape": "NodeName", + "documentation": "The name of the node to which input was provided.
" + }, + "nodeType": { + "shape": "NodeType", + "documentation": "The type of node to which input was provided.
" + } + }, + "documentation": "Contains information about an output from flow invoction.
This data type is used in the following API operations:
", + "event": true, + "sensitive": true + }, + "FlowResponseStream": { + "type": "structure", + "members": { + "accessDeniedException": { + "shape": "AccessDeniedException", + "documentation": "The request is denied because of missing access permissions. Check your permissions and retry your request.
" + }, + "badGatewayException": { + "shape": "BadGatewayException", + "documentation": "There was an issue with a dependency due to a server issue. Retry your request.
" + }, + "conflictException": { + "shape": "ConflictException", + "documentation": "There was a conflict performing an operation. Resolve the conflict and retry your request.
" + }, + "dependencyFailedException": { + "shape": "DependencyFailedException", + "documentation": "There was an issue with a dependency. Check the resource configurations and retry the request.
" + }, + "flowCompletionEvent": { + "shape": "FlowCompletionEvent", + "documentation": "Contains information about why the flow completed.
" + }, + "flowOutputEvent": { + "shape": "FlowOutputEvent", + "documentation": "Contains information about an output from flow invocation.
" + }, + "internalServerException": { + "shape": "InternalServerException", + "documentation": "An internal server error occurred. Retry your request.
" + }, + "resourceNotFoundException": { + "shape": "ResourceNotFoundException", + "documentation": "The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
" + }, + "serviceQuotaExceededException": { + "shape": "ServiceQuotaExceededException", + "documentation": "The number of requests exceeds the service quota. Resubmit your request later.
" + }, + "throttlingException": { + "shape": "ThrottlingException", + "documentation": "The number of requests exceeds the limit. Resubmit your request later.
" + }, + "validationException": { + "shape": "ValidationException", + "documentation": "Input validation failed. Check your request parameters and retry the request.
" } }, - "documentation": "Contains details about the response to the user.
" - }, - "FinalResponseString": { - "type": "string", - "sensitive": true + "documentation": "The output of the flow.
This data type is used in the following API operations:
", + "eventstream": true }, "Function": { "type": "string", @@ -754,6 +1218,66 @@ }, "documentation": "Contains configurations for response generation based on the knowledge base query results.
This data type is used in the following API operations:
" }, + "GetAgentMemoryRequest": { + "type": "structure", + "required": [ + "agentAliasId", + "agentId", + "memoryId", + "memoryType" + ], + "members": { + "agentAliasId": { + "shape": "AgentAliasId", + "documentation": "The unique identifier of an alias of an agent.
", + "location": "uri", + "locationName": "agentAliasId" + }, + "agentId": { + "shape": "AgentId", + "documentation": "The unique identifier of the agent to which the alias belongs.
", + "location": "uri", + "locationName": "agentId" + }, + "maxItems": { + "shape": "MaxResults", + "documentation": "The maximum number of items to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken
field when making another request to return the next batch of results.
The unique identifier of the memory.
", + "location": "querystring", + "locationName": "memoryId" + }, + "memoryType": { + "shape": "MemoryType", + "documentation": "The type of memory.
", + "location": "querystring", + "locationName": "memoryType" + }, + "nextToken": { + "shape": "NextToken", + "documentation": "If the total number of results is greater than the maxItems value provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
Contains details of the sessions stored in the memory
" + }, + "nextToken": { + "shape": "NextToken", + "documentation": "If the total number of results is greater than the maxItems value provided in the request, use this token when making another request in the nextToken
field to return the next batch of results.
Specifications about the inference parameters that were provided alongside the prompt. These are specified in the PromptOverrideConfiguration object that was set when the agent was created or updated. For more information, see Inference parameters for foundation models.
" }, + "InputFile": { + "type": "structure", + "required": [ + "name", + "source", + "useCase" + ], + "members": { + "name": { + "shape": "String", + "documentation": "The name of the source file.
" + }, + "source": { + "shape": "FileSource", + "documentation": "Specifies where the files are located.
" + }, + "useCase": { + "shape": "FileUseCase", + "documentation": "Specifies how the source files will be used by the code interpreter.
" + } + }, + "documentation": "Contains details of the source files.
" + }, + "InputFiles": { + "type": "list", + "member": { + "shape": "InputFile" + } + }, "InputText": { "type": "string", "max": 25000000, @@ -1224,6 +1777,10 @@ "shape": "ActionGroupInvocationInput", "documentation": "Contains information about the action group to be invoked.
" }, + "codeInterpreterInvocationInput": { + "shape": "CodeInterpreterInvocationInput", + "documentation": "Contains information about the code interpreter to be invoked.
" + }, "invocationType": { "shape": "InvocationType", "documentation": "Specifies whether the agent is invoking an action group or a knowledge base.
" @@ -1283,7 +1840,8 @@ "enum": [ "ACTION_GROUP", "KNOWLEDGE_BASE", - "FINISH" + "FINISH", + "ACTION_GROUP_CODE_INTERPRETER" ] }, "InvokeAgentRequest": { @@ -1318,6 +1876,10 @@ "shape": "InputText", "documentation": "The prompt text to send the agent.
If you include returnControlInvocationResults
in the sessionState
field, the inputText
field will be ignored.
The unique identifier of the agent memory.
" + }, "sessionId": { "shape": "SessionId", "documentation": "The unique identifier of the session. Use the same value across requests to continue the same conversation.
", @@ -1348,6 +1910,12 @@ "location": "header", "locationName": "x-amzn-bedrock-agent-content-type" }, + "memoryId": { + "shape": "MemoryId", + "documentation": "The unique identifier of the agent memory.
", + "location": "header", + "locationName": "x-amz-bedrock-agent-memory-id" + }, "sessionId": { "shape": "SessionId", "documentation": "The unique identifier of the session with the agent.
", @@ -1357,12 +1925,76 @@ }, "payload": "completion" }, + "InvokeFlowRequest": { + "type": "structure", + "required": [ + "flowAliasIdentifier", + "flowIdentifier", + "inputs" + ], + "members": { + "flowAliasIdentifier": { + "shape": "FlowAliasIdentifier", + "documentation": "The unique identifier of the flow alias.
", + "location": "uri", + "locationName": "flowAliasIdentifier" + }, + "flowIdentifier": { + "shape": "FlowIdentifier", + "documentation": "The unique identifier of the flow.
", + "location": "uri", + "locationName": "flowIdentifier" + }, + "inputs": { + "shape": "FlowInputs", + "documentation": "A list of objects, each containing information about an input into the flow.
" + } + } + }, + "InvokeFlowResponse": { + "type": "structure", + "required": [ + "responseStream" + ], + "members": { + "responseStream": { + "shape": "FlowResponseStream", + "documentation": "The output of the flow, returned as a stream. If there's an error, the error is returned.
" + } + }, + "payload": "responseStream" + }, "KmsKeyArn": { "type": "string", "max": 2048, "min": 1, "pattern": "^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$" }, + "KnowledgeBaseConfiguration": { + "type": "structure", + "required": [ + "knowledgeBaseId", + "retrievalConfiguration" + ], + "members": { + "knowledgeBaseId": { + "shape": "KnowledgeBaseId", + "documentation": "The unique identifier for a knowledge base attached to the agent.
" + }, + "retrievalConfiguration": { + "shape": "KnowledgeBaseRetrievalConfiguration", + "documentation": "The configurations to apply to the knowledge base during query. For more information, see Query configurations.
" + } + }, + "documentation": "Configurations to apply to a knowledge base attached to the agent during query. For more information, see Knowledge base retrieval configurations.
" + }, + "KnowledgeBaseConfigurations": { + "type": "list", + "member": { + "shape": "KnowledgeBaseConfiguration" + }, + "min": 1 + }, "KnowledgeBaseId": { "type": "string", "max": 10, @@ -1427,7 +2059,7 @@ "documentation": "Contains details about how the results from the vector search should be returned. For more information, see Query configurations.
" } }, - "documentation": "Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
This data type is used in the following API operations:
Retrieve request – in the retrievalConfiguration
field
RetrieveAndGenerate request – in the retrievalConfiguration
field
Contains configurations for knowledge base query. For more information, see Query configurations.
This data type is used in the following API operations:
Retrieve request – in the retrievalConfiguration
field
RetrieveAndGenerate request – in the retrievalConfiguration
field
Contains configurations for response generation based on the knowwledge base query results.
" + "documentation": "Contains configurations for response generation based on the knowledge base query results.
" }, "knowledgeBaseId": { "shape": "KnowledgeBaseId", @@ -1480,6 +2112,10 @@ "shape": "BedrockModelArn", "documentation": "The ARN of the foundation model used to generate a response.
" }, + "orchestrationConfiguration": { + "shape": "OrchestrationConfiguration", + "documentation": "Settings for how the model processes the prompt prior to retrieval and generation.
" + }, "retrievalConfiguration": { "shape": "KnowledgeBaseRetrievalConfiguration", "documentation": "Contains configurations for how to retrieve and return the knowledge base query.
" @@ -1515,6 +2151,13 @@ "LambdaArn": { "type": "string" }, + "MaxResults": { + "type": "integer", + "documentation": "Max Results.
", + "box": true, + "max": 1000, + "min": 1 + }, "MaxTokens": { "type": "integer", "box": true, @@ -1527,6 +2170,61 @@ "max": 4096, "min": 0 }, + "Memories": { + "type": "list", + "member": { + "shape": "Memory" + } + }, + "Memory": { + "type": "structure", + "members": { + "sessionSummary": { + "shape": "MemorySessionSummary", + "documentation": "Contains summary of a session.
" + } + }, + "documentation": "Contains sessions summaries.
", + "union": true + }, + "MemoryId": { + "type": "string", + "max": 100, + "min": 2, + "pattern": "^[0-9a-zA-Z._:-]+$" + }, + "MemorySessionSummary": { + "type": "structure", + "members": { + "memoryId": { + "shape": "MemoryId", + "documentation": "The unique identifier of the memory where the session summary is stored.
" + }, + "sessionExpiryTime": { + "shape": "DateTimestamp", + "documentation": "The time when the memory duration for the session is set to end.
" + }, + "sessionId": { + "shape": "SessionId", + "documentation": "The identifier for this session.
" + }, + "sessionStartTime": { + "shape": "DateTimestamp", + "documentation": "The start time for this session.
" + }, + "summaryText": { + "shape": "SummaryText", + "documentation": "The summarized text for this session.
" + } + }, + "documentation": "Contains details of a session summary.
" + }, + "MemoryType": { + "type": "string", + "enum": [ + "SESSION_SUMMARY" + ] + }, "MimeType": { "type": "string" }, @@ -1571,6 +2269,26 @@ "min": 1, "pattern": "^\\S*$" }, + "NodeName": { + "type": "string", + "pattern": "^[a-zA-Z]([_]?[0-9a-zA-Z]){0,99}$" + }, + "NodeOutputName": { + "type": "string", + "pattern": "^[a-zA-Z]([_]?[0-9a-zA-Z]){0,99}$" + }, + "NodeType": { + "type": "string", + "enum": [ + "FlowInputNode", + "FlowOutputNode", + "LambdaFunctionNode", + "KnowledgeBaseNode", + "PromptNode", + "ConditionNode", + "LexNode" + ] + }, "NonBlankString": { "type": "string", "pattern": "^[\\s\\S]*$" @@ -1582,6 +2300,10 @@ "shape": "ActionGroupInvocationOutput", "documentation": "Contains the JSON-formatted string returned by the API invoked by the action group.
" }, + "codeInterpreterInvocationOutput": { + "shape": "CodeInterpreterInvocationOutput", + "documentation": "Contains the JSON-formatted string returned by the API invoked by the code interpreter.
" + }, "finalResponse": { "shape": "FinalResponse", "documentation": "Contains details about the response to the user.
" @@ -1606,6 +2328,19 @@ "documentation": "Contains the result or output of an action group or knowledge base, or the response to the user.
", "sensitive": true }, + "OrchestrationConfiguration": { + "type": "structure", + "required": [ + "queryTransformationConfiguration" + ], + "members": { + "queryTransformationConfiguration": { + "shape": "QueryTransformationConfiguration", + "documentation": "To split up the prompt and retrieve multiple sources, set the transformation type to QUERY_DECOMPOSITION
.
Settings for how the model processes the prompt prior to retrieval and generation.
" + }, "OrchestrationTrace": { "type": "structure", "members": { @@ -1630,6 +2365,33 @@ "sensitive": true, "union": true }, + "OutputFile": { + "type": "structure", + "members": { + "bytes": { + "shape": "FileBody", + "documentation": "The byte count of files that contains response from code interpreter.
" + }, + "name": { + "shape": "String", + "documentation": "The name of the file containing response from code interpreter.
" + }, + "type": { + "shape": "MimeType", + "documentation": "The type of file that contains response from the code interpreter.
" + } + }, + "documentation": "Contains details of the response from code interpreter.
", + "sensitive": true + }, + "OutputFiles": { + "type": "list", + "member": { + "shape": "OutputFile" + }, + "max": 5, + "min": 0 + }, "OutputString": { "type": "string", "sensitive": true @@ -1816,6 +2578,25 @@ }, "documentation": "Contains the parameters in the request body.
" }, + "QueryTransformationConfiguration": { + "type": "structure", + "required": [ + "type" + ], + "members": { + "type": { + "shape": "QueryTransformationType", + "documentation": "The type of transformation to apply to the prompt.
" + } + }, + "documentation": "To split up the prompt and retrieve multiple sources, set the transformation type to QUERY_DECOMPOSITION
.
There was an issue with a dependency. Check the resource configurations and retry the request.
" }, + "files": { + "shape": "FilePart", + "documentation": "Contains intermediate response for code interpreter if any files have been generated.
" + }, "internalServerException": { "shape": "InternalServerException", "documentation": "An internal server error occurred. Retry your request.
" @@ -2026,6 +2811,16 @@ "max": 5, "min": 2 }, + "RetrievalResultConfluenceLocation": { + "type": "structure", + "members": { + "url": { + "shape": "String", + "documentation": "The Confluence host URL for the data source location.
" + } + }, + "documentation": "The Confluence data source location.
" + }, "RetrievalResultContent": { "type": "structure", "required": [ @@ -2046,22 +2841,42 @@ "type" ], "members": { + "confluenceLocation": { + "shape": "RetrievalResultConfluenceLocation", + "documentation": "The Confluence data source location.
" + }, "s3Location": { "shape": "RetrievalResultS3Location", - "documentation": "Contains the S3 location of the data source.
" + "documentation": "The S3 data source location.
" + }, + "salesforceLocation": { + "shape": "RetrievalResultSalesforceLocation", + "documentation": "The Salesforce data source location.
" + }, + "sharePointLocation": { + "shape": "RetrievalResultSharePointLocation", + "documentation": "The SharePoint data source location.
" }, "type": { "shape": "RetrievalResultLocationType", - "documentation": "The type of the location of the data source.
" + "documentation": "The type of data source location.
" + }, + "webLocation": { + "shape": "RetrievalResultWebLocation", + "documentation": "The web URL/URLs data source location.
" } }, - "documentation": "Contains information about the location of the data source.
This data type is used in the following API operations:
Retrieve response – in the location
field
RetrieveAndGenerate response – in the location
field
InvokeAgent response – in the locatino
field
Contains information about the data source location.
This data type is used in the following API operations:
Retrieve response – in the location
field
RetrieveAndGenerate response – in the location
field
InvokeAgent response – in the locatino
field
The S3 URI of the data source.
" + "documentation": "The S3 URI for the data source location.
" + } + }, + "documentation": "The S3 data source location.
This data type is used in the following API operations:
Retrieve response – in the s3Location
field
RetrieveAndGenerate response – in the s3Location
field
InvokeAgent response – in the s3Location
field
The Salesforce host URL for the data source location.
" + } + }, + "documentation": "The Salesforce data source location.
" + }, + "RetrievalResultSharePointLocation": { + "type": "structure", + "members": { + "url": { + "shape": "String", + "documentation": "The SharePoint site URL for the data source location.
" + } + }, + "documentation": "The SharePoint data source location.
" + }, + "RetrievalResultWebLocation": { + "type": "structure", + "members": { + "url": { + "shape": "String", + "documentation": "The web URL/URLs for the data source location.
" } }, - "documentation": "Contains the S3 location of the data source.
This data type is used in the following API operations:
Retrieve response – in the s3Location
field
RetrieveAndGenerate response – in the s3Location
field
InvokeAgent response – in the s3Location
field
The web URL/URLs data source location.
" }, "RetrieveAndGenerateConfiguration": { "type": "structure", @@ -2169,7 +3014,7 @@ }, "sessionId": { "shape": "SessionId", - "documentation": "The unique identifier of the session. Reuse the same value to continue the same session with the knowledge base.
" + "documentation": "The unique identifier of the session. When you first make a RetrieveAndGenerate
request, Amazon Bedrock automatically generates this value. You must reuse this value for all subsequent requests in the same conversational session. This value allows Amazon Bedrock to maintain context and knowledge from previous interactions. You can't explicitly set the sessionId
yourself.
The unique identifier of the session. Reuse the same value to continue the same session with the knowledge base.
" + "documentation": "The unique identifier of the session. When you first make a RetrieveAndGenerate
request, Amazon Bedrock automatically generates this value. You must reuse this value for all subsequent requests in the same conversational session. This value allows Amazon Bedrock to maintain context and knowledge from previous interactions. You can't explicitly set the sessionId
yourself.
The unique wrapper object of the document from the S3 location.
" }, + "S3ObjectFile": { + "type": "structure", + "required": [ + "uri" + ], + "members": { + "uri": { + "shape": "S3Uri", + "documentation": "The uri of the s3 object.
" + } + }, + "documentation": "Contains details of the s3 object where the source file is located.
" + }, "S3Uri": { "type": "string", "max": 1024, @@ -2367,10 +3225,18 @@ "SessionState": { "type": "structure", "members": { + "files": { + "shape": "InputFiles", + "documentation": "Contains information about the files used by code interpreter.
" + }, "invocationId": { "shape": "String", "documentation": "The identifier of the invocation of an action. This value must match the invocationId
returned in the InvokeAgent
response for the action whose results are provided in the returnControlInvocationResults
field. For more information, see Return control to the agent developer and Control session context.
An array of configurations, each of which applies to a knowledge base attached to the agent.
" + }, "promptSessionAttributes": { "shape": "PromptSessionAttributesMap", "documentation": "Contains attributes that persist across a prompt and the values of those attributes. These attributes replace the $prompt_session_attributes$ placeholder variable in the orchestration prompt template. For more information, see Prompt template placeholder variables.
" @@ -2430,6 +3296,11 @@ "String": { "type": "string" }, + "SummaryText": { + "type": "string", + "max": 25000000, + "min": 0 + }, "Temperature": { "type": "float", "box": true, diff --git a/apis/bedrock-agent-runtime-2023-07-26.paginators.json b/apis/bedrock-agent-runtime-2023-07-26.paginators.json index bd57dfbc67..3b9d74ec36 100644 --- a/apis/bedrock-agent-runtime-2023-07-26.paginators.json +++ b/apis/bedrock-agent-runtime-2023-07-26.paginators.json @@ -1,5 +1,11 @@ { "pagination": { + "GetAgentMemory": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxItems", + "result_key": "memoryContents" + }, "Retrieve": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/apis/bedrock-runtime-2023-09-30.min.json b/apis/bedrock-runtime-2023-09-30.min.json index 71ed6b6085..1efef711ae 100644 --- a/apis/bedrock-runtime-2023-09-30.min.json +++ b/apis/bedrock-runtime-2023-09-30.min.json @@ -12,6 +12,109 @@ "uid": "bedrock-runtime-2023-09-30" }, "operations": { + "ApplyGuardrail": { + "http": { + "requestUri": "/guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "guardrailIdentifier", + "guardrailVersion", + "source", + "content" + ], + "members": { + "guardrailIdentifier": { + "location": "uri", + "locationName": "guardrailIdentifier" + }, + "guardrailVersion": { + "location": "uri", + "locationName": "guardrailVersion" + }, + "source": {}, + "content": { + "type": "list", + "member": { + "type": "structure", + "members": { + "text": { + "type": "structure", + "required": [ + "text" + ], + "members": { + "text": {}, + "qualifiers": { + "type": "list", + "member": {} + } + } + } + }, + "union": true + } + } + } + }, + "output": { + "type": "structure", + "required": [ + "usage", + "action", + "outputs", + "assessments" + ], + "members": { + "usage": { + "type": "structure", + "required": [ + "topicPolicyUnits", + "contentPolicyUnits", + "wordPolicyUnits", + "sensitiveInformationPolicyUnits", + "sensitiveInformationPolicyFreeUnits", + "contextualGroundingPolicyUnits" + ], + "members": { + "topicPolicyUnits": { + "type": "integer" + }, + "contentPolicyUnits": { + "type": "integer" + }, + "wordPolicyUnits": { + "type": "integer" + }, + "sensitiveInformationPolicyUnits": { + "type": "integer" + }, + "sensitiveInformationPolicyFreeUnits": { + "type": "integer" + }, + "contextualGroundingPolicyUnits": { + "type": "integer" + } + } + }, + "action": {}, + "outputs": { + "type": "list", + "member": { + "type": "structure", + "members": { + "text": {} + } + } + }, + "assessments": { + "shape": "Sn" + } + } + } + }, "Converse": { "http": { "requestUri": "/model/{modelId}/converse", @@ -29,16 +132,16 @@ "locationName": "modelId" }, "messages": { - "shape": "S3" + "shape": "S1n" }, "system": { - "shape": "Ss" + "shape": "S2d" }, "inferenceConfig": { - "shape": "Sv" + "shape": "S2g" }, "toolConfig": { - "shape": "S10" + "shape": "S2l" }, "guardrailConfig": { "type": "structure", @@ -53,7 +156,7 @@ } }, "additionalModelRequestFields": { - "shape": "Sl" + "shape": "S24" }, "additionalModelResponseFieldPaths": { "type": "list", @@ -74,14 +177,14 @@ "type": "structure", "members": { "message": { - "shape": "S4" + "shape": "S1o" } }, "union": true }, "stopReason": {}, "usage": { - "shape": "S1i" + "shape": "S31" }, "metrics": { "type": "structure", @@ -95,13 +198,13 @@ } }, "additionalModelResponseFields": { - "shape": "Sl" + "shape": "S24" }, "trace": { "type": "structure", "members": { "guardrail": { - "shape": "S1p" + "shape": "S38" } } } @@ -125,16 +228,16 @@ "locationName": "modelId" }, "messages": { - "shape": "S3" + "shape": "S1n" }, "system": { - "shape": "Ss" + "shape": "S2d" }, "inferenceConfig": { - "shape": "Sv" + "shape": "S2g" }, "toolConfig": { - "shape": "S10" + "shape": "S2l" }, "guardrailConfig": { "type": "structure", @@ -150,7 +253,7 @@ } }, "additionalModelRequestFields": { - "shape": "Sl" + "shape": "S24" }, "additionalModelResponseFieldPaths": { "type": "list", @@ -253,7 +356,7 @@ "members": { "stopReason": {}, "additionalModelResponseFields": { - "shape": "Sl" + "shape": "S24" } }, "event": true @@ -266,7 +369,7 @@ ], "members": { "usage": { - "shape": "S1i" + "shape": "S31" }, "metrics": { "type": "structure", @@ -283,7 +386,7 @@ "type": "structure", "members": { "guardrail": { - "shape": "S1p" + "shape": "S38" } } } @@ -291,16 +394,16 @@ "event": true }, "internalServerException": { - "shape": "S35" + "shape": "S3w" }, "modelStreamErrorException": { - "shape": "S37" + "shape": "S3y" }, "validationException": { - "shape": "S39" + "shape": "S40" }, "throttlingException": { - "shape": "S3a" + "shape": "S41" } }, "eventstream": true @@ -322,7 +425,7 @@ ], "members": { "body": { - "shape": "S3c" + "shape": "S43" }, "contentType": { "location": "header", @@ -359,7 +462,7 @@ ], "members": { "body": { - "shape": "S3c" + "shape": "S43" }, "contentType": { "location": "header", @@ -382,7 +485,7 @@ ], "members": { "body": { - "shape": "S3c" + "shape": "S43" }, "contentType": { "location": "header", @@ -433,16 +536,16 @@ "sensitive": true }, "internalServerException": { - "shape": "S35" + "shape": "S3w" }, "modelStreamErrorException": { - "shape": "S37" + "shape": "S3y" }, "validationException": { - "shape": "S39" + "shape": "S40" }, "throttlingException": { - "shape": "S3a" + "shape": "S41" }, "modelTimeoutException": { "type": "structure", @@ -468,13 +571,178 @@ } }, "shapes": { - "S3": { + "Sn": { "type": "list", "member": { - "shape": "S4" + "shape": "So" } }, - "S4": { + "So": { + "type": "structure", + "members": { + "topicPolicy": { + "type": "structure", + "required": [ + "topics" + ], + "members": { + "topics": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "name", + "type", + "action" + ], + "members": { + "name": {}, + "type": {}, + "action": {} + } + } + } + } + }, + "contentPolicy": { + "type": "structure", + "required": [ + "filters" + ], + "members": { + "filters": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "type", + "confidence", + "action" + ], + "members": { + "type": {}, + "confidence": {}, + "action": {} + } + } + } + } + }, + "wordPolicy": { + "type": "structure", + "required": [ + "customWords", + "managedWordLists" + ], + "members": { + "customWords": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "match", + "action" + ], + "members": { + "match": {}, + "action": {} + } + } + }, + "managedWordLists": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "match", + "type", + "action" + ], + "members": { + "match": {}, + "type": {}, + "action": {} + } + } + } + } + }, + "sensitiveInformationPolicy": { + "type": "structure", + "required": [ + "piiEntities", + "regexes" + ], + "members": { + "piiEntities": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "match", + "type", + "action" + ], + "members": { + "match": {}, + "type": {}, + "action": {} + } + } + }, + "regexes": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "action" + ], + "members": { + "name": {}, + "match": {}, + "regex": {}, + "action": {} + } + } + } + } + }, + "contextualGroundingPolicy": { + "type": "structure", + "members": { + "filters": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "type", + "threshold", + "score", + "action" + ], + "members": { + "type": {}, + "threshold": { + "type": "double" + }, + "score": { + "type": "double" + }, + "action": {} + } + } + } + } + } + } + }, + "S1n": { + "type": "list", + "member": { + "shape": "S1o" + } + }, + "S1o": { "type": "structure", "required": [ "role", @@ -489,10 +757,10 @@ "members": { "text": {}, "image": { - "shape": "S9" + "shape": "S1s" }, "document": { - "shape": "Sd" + "shape": "S1w" }, "toolUse": { "type": "structure", @@ -505,7 +773,7 @@ "toolUseId": {}, "name": {}, "input": { - "shape": "Sl" + "shape": "S24" } } }, @@ -523,14 +791,14 @@ "type": "structure", "members": { "json": { - "shape": "Sl" + "shape": "S24" }, "text": {}, "image": { - "shape": "S9" + "shape": "S1s" }, "document": { - "shape": "Sd" + "shape": "S1w" } }, "union": true @@ -540,7 +808,7 @@ } }, "guardContent": { - "shape": "Sq" + "shape": "S29" } }, "union": true @@ -548,7 +816,7 @@ } } }, - "S9": { + "S1s": { "type": "structure", "required": [ "format", @@ -567,7 +835,7 @@ } } }, - "Sd": { + "S1w": { "type": "structure", "required": [ "format", @@ -588,12 +856,12 @@ } } }, - "Sl": { + "S24": { "type": "structure", "members": {}, "document": true }, - "Sq": { + "S29": { "type": "structure", "members": { "text": { @@ -602,26 +870,30 @@ "text" ], "members": { - "text": {} + "text": {}, + "qualifiers": { + "type": "list", + "member": {} + } } } }, "union": true }, - "Ss": { + "S2d": { "type": "list", "member": { "type": "structure", "members": { "text": {}, "guardContent": { - "shape": "Sq" + "shape": "S29" } }, "union": true } }, - "Sv": { + "S2g": { "type": "structure", "members": { "maxTokens": { @@ -639,7 +911,7 @@ } } }, - "S10": { + "S2l": { "type": "structure", "required": [ "tools" @@ -663,7 +935,7 @@ "type": "structure", "members": { "json": { - "shape": "Sl" + "shape": "S24" } }, "union": true @@ -699,7 +971,7 @@ } } }, - "S1i": { + "S31": { "type": "structure", "required": [ "inputTokens", @@ -718,7 +990,7 @@ } } }, - "S1p": { + "S38": { "type": "structure", "members": { "modelOutput": { @@ -729,154 +1001,19 @@ "type": "map", "key": {}, "value": { - "shape": "S1t" + "shape": "So" } }, "outputAssessments": { "type": "map", "key": {}, "value": { - "type": "list", - "member": { - "shape": "S1t" - } - } - } - } - }, - "S1t": { - "type": "structure", - "members": { - "topicPolicy": { - "type": "structure", - "required": [ - "topics" - ], - "members": { - "topics": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "name", - "type", - "action" - ], - "members": { - "name": {}, - "type": {}, - "action": {} - } - } - } - } - }, - "contentPolicy": { - "type": "structure", - "required": [ - "filters" - ], - "members": { - "filters": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "type", - "confidence", - "action" - ], - "members": { - "type": {}, - "confidence": {}, - "action": {} - } - } - } - } - }, - "wordPolicy": { - "type": "structure", - "required": [ - "customWords", - "managedWordLists" - ], - "members": { - "customWords": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "match", - "action" - ], - "members": { - "match": {}, - "action": {} - } - } - }, - "managedWordLists": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "match", - "type", - "action" - ], - "members": { - "match": {}, - "type": {}, - "action": {} - } - } - } - } - }, - "sensitiveInformationPolicy": { - "type": "structure", - "required": [ - "piiEntities", - "regexes" - ], - "members": { - "piiEntities": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "match", - "type", - "action" - ], - "members": { - "match": {}, - "type": {}, - "action": {} - } - } - }, - "regexes": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "action" - ], - "members": { - "name": {}, - "match": {}, - "regex": {}, - "action": {} - } - } - } + "shape": "Sn" } } } }, - "S35": { + "S3w": { "type": "structure", "members": { "message": {} @@ -887,7 +1024,7 @@ "exception": true, "fault": true }, - "S37": { + "S3y": { "type": "structure", "members": { "message": {}, @@ -902,7 +1039,7 @@ }, "exception": true }, - "S39": { + "S40": { "type": "structure", "members": { "message": {} @@ -913,7 +1050,7 @@ }, "exception": true }, - "S3a": { + "S41": { "type": "structure", "members": { "message": {} @@ -924,7 +1061,7 @@ }, "exception": true }, - "S3c": { + "S43": { "type": "blob", "sensitive": true } diff --git a/apis/bedrock-runtime-2023-09-30.normal.json b/apis/bedrock-runtime-2023-09-30.normal.json index 52e350d455..aa4eadf555 100644 --- a/apis/bedrock-runtime-2023-09-30.normal.json +++ b/apis/bedrock-runtime-2023-09-30.normal.json @@ -12,6 +12,41 @@ "uid": "bedrock-runtime-2023-09-30" }, "operations": { + "ApplyGuardrail": { + "name": "ApplyGuardrail", + "http": { + "method": "POST", + "requestUri": "/guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply", + "responseCode": 200 + }, + "input": { + "shape": "ApplyGuardrailRequest" + }, + "output": { + "shape": "ApplyGuardrailResponse" + }, + "errors": [ + { + "shape": "AccessDeniedException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "documentation": "The action to apply a guardrail.
" + }, "Converse": { "name": "Converse", "http": { @@ -192,6 +227,64 @@ "members": {}, "documentation": "The model must request at least one tool (no text is generated). For example, {\"any\" : {}}
.
The guardrail identifier used in the request to apply the guardrail.
", + "location": "uri", + "locationName": "guardrailIdentifier" + }, + "guardrailVersion": { + "shape": "GuardrailVersion", + "documentation": "The guardrail version used in the request to apply the guardrail.
", + "location": "uri", + "locationName": "guardrailVersion" + }, + "source": { + "shape": "GuardrailContentSource", + "documentation": "The source of data used in the request to apply the guardrail.
" + }, + "content": { + "shape": "GuardrailContentBlockList", + "documentation": "The content details used in the request to apply the guardrail.
" + } + } + }, + "ApplyGuardrailResponse": { + "type": "structure", + "required": [ + "usage", + "action", + "outputs", + "assessments" + ], + "members": { + "usage": { + "shape": "GuardrailUsage", + "documentation": "The usage details in the response from the guardrail.
" + }, + "action": { + "shape": "GuardrailAction", + "documentation": "The action taken in the response from the guardrail.
" + }, + "outputs": { + "shape": "GuardrailOutputContentList", + "documentation": "The output details in the response from the guardrail.
" + }, + "assessments": { + "shape": "GuardrailAssessmentList", + "documentation": "The assessment details in the response from the guardrail.
" + } + } + }, "AutoToolChoice": { "type": "structure", "members": {}, @@ -220,7 +313,7 @@ }, "toolUse": { "shape": "ToolUseBlock", - "documentation": "Information about a tool use request from a model.
" + "documentation": "Information about a tool use request from a model.
" }, "toolResult": { "shape": "ToolResultBlock", @@ -231,7 +324,7 @@ "documentation": "Contains the content to assess with the guardrail. If you don't specify guardContent
in a call to the Converse API, the guardrail (if passed in the Converse API) assesses the entire message.
For more information, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide.
</p>
"
}
},
- "documentation": "A block of content for a message that you pass to, or receive from, a model with the Converse API (Converse and ConverseStream).
", + "documentation": "A block of content for a message that you pass to, or receive from, a model with the Converse or ConverseStream API operations.
", "union": true }, "ContentBlockDelta": { @@ -463,7 +556,7 @@ }, "trace": { "shape": "ConverseStreamTrace", - "documentation": "The trace object in the response from ConverseStream that contains information about the guardrail behavior.
" + "documentation": "The trace object in the response from ConverseStream that contains information about the guardrail behavior.
" } }, "documentation": "A conversation stream metadata event.
", @@ -603,7 +696,7 @@ "documentation": "The guardrail trace object.
" } }, - "documentation": "The trace object in a response from ConverseStream. Currently, you can only trace guardrails.
" + "documentation": "The trace object in a response from ConverseStream. Currently, you can only trace guardrails.
" }, "ConverseTrace": { "type": "structure", @@ -613,7 +706,7 @@ "documentation": "The guardrail trace object.
" } }, - "documentation": "The trace object in a response from Converse. Currently, you can only trace guardrails.
" + "documentation": "The trace object in a response from Converse. Currently, you can only trace guardrails.
" }, "Document": { "type": "structure", @@ -634,14 +727,14 @@ }, "name": { "shape": "DocumentBlockNameString", - "documentation": "A name for the document.
" + "documentation": "A name for the document. The name can only contain the following characters:
Alphanumeric characters
Whitespace characters (no more than one in a row)
Hyphens
Parentheses
Square brackets
This field is vulnerable to prompt injections, because the model might inadvertently interpret it as instructions. Therefore, we recommend that you specify a neutral name.
Contains the content of the document.
" } }, - "documentation": "A document to include in a message when sending a Converse or ConverseStream request. You can include up to 5 documents in a request. The maximum document size is 50 MB.
" + "documentation": "A document to include in a message.
" }, "DocumentBlockNameString": { "type": "string", @@ -667,16 +760,23 @@ "members": { "bytes": { "shape": "DocumentSourceBytesBlob", - "documentation": "A base64-encoded string of a UTF-8 encoded file, that is the document to include in the message.
" + "documentation": "The raw bytes for the document. If you use an Amazon Web Services SDK, you don't need to encode the bytes in base64.
" } }, - "documentation": "Contains the content of the document included in a message when sending a Converse or ConverseStream request or in the response.
", + "documentation": "Contains the content of a document.
", "union": true }, "DocumentSourceBytesBlob": { "type": "blob", "min": 1 }, + "GuardrailAction": { + "type": "string", + "enum": [ + "NONE", + "GUARDRAIL_INTERVENED" + ] + }, "GuardrailAssessment": { "type": "structure", "members": { @@ -695,6 +795,10 @@ "sensitiveInformationPolicy": { "shape": "GuardrailSensitiveInformationPolicyAssessment", "documentation": "The sensitive information policy.
" + }, + "contextualGroundingPolicy": { + "shape": "GuardrailContextualGroundingPolicyAssessment", + "documentation": "The contextual grounding policy used for the guardrail assessment.
" } }, "documentation": "A behavior assessment of the guardrail policies used in a call to the Converse API.
" @@ -743,7 +847,24 @@ "documentation": "The trace behavior for the guardrail.
" } }, - "documentation": "Configuration information for a guardrail that you use with the Converse action.
" + "documentation": "Configuration information for a guardrail that you use with the Converse operation.
" + }, + "GuardrailContentBlock": { + "type": "structure", + "members": { + "text": { + "shape": "GuardrailTextBlock", + "documentation": "Text within content block to be evaluated by the guardrail.
" + } + }, + "documentation": "The content block to be evaluated by the guardrail.
", + "union": true + }, + "GuardrailContentBlockList": { + "type": "list", + "member": { + "shape": "GuardrailContentBlock" + } }, "GuardrailContentFilter": { "type": "structure", @@ -813,6 +934,105 @@ }, "documentation": "An assessment of a content policy for a guardrail.
" }, + "GuardrailContentPolicyUnitsProcessed": { + "type": "integer", + "box": true + }, + "GuardrailContentQualifier": { + "type": "string", + "enum": [ + "grounding_source", + "query", + "guard_content" + ] + }, + "GuardrailContentQualifierList": { + "type": "list", + "member": { + "shape": "GuardrailContentQualifier" + } + }, + "GuardrailContentSource": { + "type": "string", + "enum": [ + "INPUT", + "OUTPUT" + ] + }, + "GuardrailContextualGroundingFilter": { + "type": "structure", + "required": [ + "type", + "threshold", + "score", + "action" + ], + "members": { + "type": { + "shape": "GuardrailContextualGroundingFilterType", + "documentation": "The contextual grounding filter type.
" + }, + "threshold": { + "shape": "GuardrailContextualGroundingFilterThresholdDouble", + "documentation": "The threshold used by contextual grounding filter to determine whether the content is grounded or not.
" + }, + "score": { + "shape": "GuardrailContextualGroundingFilterScoreDouble", + "documentation": "The score generated by contextual grounding filter.
" + }, + "action": { + "shape": "GuardrailContextualGroundingPolicyAction", + "documentation": "The action performed by the guardrails contextual grounding filter.
" + } + }, + "documentation": "The details for the guardrails contextual grounding filter.
" + }, + "GuardrailContextualGroundingFilterScoreDouble": { + "type": "double", + "box": true, + "max": 1, + "min": 0 + }, + "GuardrailContextualGroundingFilterThresholdDouble": { + "type": "double", + "box": true, + "max": 1, + "min": 0 + }, + "GuardrailContextualGroundingFilterType": { + "type": "string", + "enum": [ + "GROUNDING", + "RELEVANCE" + ] + }, + "GuardrailContextualGroundingFilters": { + "type": "list", + "member": { + "shape": "GuardrailContextualGroundingFilter" + } + }, + "GuardrailContextualGroundingPolicyAction": { + "type": "string", + "enum": [ + "BLOCKED", + "NONE" + ] + }, + "GuardrailContextualGroundingPolicyAssessment": { + "type": "structure", + "members": { + "filters": { + "shape": "GuardrailContextualGroundingFilters", + "documentation": "The filter details for the guardrails contextual grounding filter.
" + } + }, + "documentation": "The policy assessment details for the guardrails contextual grounding filter.
" + }, + "GuardrailContextualGroundingPolicyUnitsProcessed": { + "type": "integer", + "box": true + }, "GuardrailConverseContentBlock": { "type": "structure", "members": { @@ -821,9 +1041,23 @@ "documentation": "The text to guard.
" } }, - "documentation": "A content block for selective guarding with the Converse API (Converse and ConverseStream).
", + "documentation": "A content block for selective guarding with the Converse or ConverseStream API operations.
", "union": true }, + "GuardrailConverseContentQualifier": { + "type": "string", + "enum": [ + "grounding_source", + "query", + "guard_content" + ] + }, + "GuardrailConverseContentQualifierList": { + "type": "list", + "member": { + "shape": "GuardrailConverseContentQualifier" + } + }, "GuardrailConverseTextBlock": { "type": "structure", "required": [ @@ -833,6 +1067,10 @@ "text": { "shape": "String", "documentation": "The text that you want to guard.
" + }, + "qualifiers": { + "shape": "GuardrailConverseContentQualifierList", + "documentation": "The qualifier details for the guardrails contextual grounding filter.
" } }, "documentation": "A text block that contains text that you want to assess with a guardrail. For more information, see GuardrailConverseContentBlock.
" @@ -902,6 +1140,22 @@ "PROFANITY" ] }, + "GuardrailOutputContent": { + "type": "structure", + "members": { + "text": { + "shape": "GuardrailOutputText", + "documentation": "The specific text for the output content produced by the guardrail.
" + } + }, + "documentation": "The output content produced by the guardrail.
" + }, + "GuardrailOutputContentList": { + "type": "list", + "member": { + "shape": "GuardrailOutputContent" + } + }, "GuardrailOutputText": { "type": "string" }, @@ -1026,6 +1280,14 @@ }, "documentation": "The assessment for aPersonally Identifiable Information (PII) policy.
" }, + "GuardrailSensitiveInformationPolicyFreeUnitsProcessed": { + "type": "integer", + "box": true + }, + "GuardrailSensitiveInformationPolicyUnitsProcessed": { + "type": "integer", + "box": true + }, "GuardrailStreamConfiguration": { "type": "structure", "required": [ @@ -1059,6 +1321,23 @@ "async" ] }, + "GuardrailTextBlock": { + "type": "structure", + "required": [ + "text" + ], + "members": { + "text": { + "shape": "String", + "documentation": "The input text details to be evaluated by the guardrail.
" + }, + "qualifiers": { + "shape": "GuardrailContentQualifierList", + "documentation": "The qualifiers describing the text block.
" + } + }, + "documentation": "The text block to be evaluated by the guardrail.
" + }, "GuardrailTopic": { "type": "structure", "required": [ @@ -1107,6 +1386,10 @@ }, "documentation": "A behavior assessment of a topic policy.
" }, + "GuardrailTopicPolicyUnitsProcessed": { + "type": "integer", + "box": true + }, "GuardrailTopicType": { "type": "string", "enum": [ @@ -1138,6 +1421,44 @@ }, "documentation": "A Top level guardrail trace object. For more information, see ConverseTrace.
" }, + "GuardrailUsage": { + "type": "structure", + "required": [ + "topicPolicyUnits", + "contentPolicyUnits", + "wordPolicyUnits", + "sensitiveInformationPolicyUnits", + "sensitiveInformationPolicyFreeUnits", + "contextualGroundingPolicyUnits" + ], + "members": { + "topicPolicyUnits": { + "shape": "GuardrailTopicPolicyUnitsProcessed", + "documentation": "The topic policy units processed by the guardrail.
" + }, + "contentPolicyUnits": { + "shape": "GuardrailContentPolicyUnitsProcessed", + "documentation": "The content policy units processed by the guardrail.
" + }, + "wordPolicyUnits": { + "shape": "GuardrailWordPolicyUnitsProcessed", + "documentation": "The word policy units processed by the guardrail.
" + }, + "sensitiveInformationPolicyUnits": { + "shape": "GuardrailSensitiveInformationPolicyUnitsProcessed", + "documentation": "The sensitive information policy units processed by the guardrail.
" + }, + "sensitiveInformationPolicyFreeUnits": { + "shape": "GuardrailSensitiveInformationPolicyFreeUnitsProcessed", + "documentation": "The sensitive information policy free units processed by the guardrail.
" + }, + "contextualGroundingPolicyUnits": { + "shape": "GuardrailContextualGroundingPolicyUnitsProcessed", + "documentation": "The contextual grounding policy units processed by the guardrail.
" + } + }, + "documentation": "The details on the use of the guardrail.
" + }, "GuardrailVersion": { "type": "string", "pattern": "(([1-9][0-9]{0,7})|(DRAFT))" @@ -1166,6 +1487,10 @@ }, "documentation": "The word policy assessment.
" }, + "GuardrailWordPolicyUnitsProcessed": { + "type": "integer", + "box": true + }, "ImageBlock": { "type": "structure", "required": [ @@ -1198,7 +1523,7 @@ "members": { "bytes": { "shape": "ImageSourceBytesBlob", - "documentation": "The raw image bytes for the image. If you use an AWS SDK, you don't need to base64 encode the image bytes.
" + "documentation": "The raw image bytes for the image. If you use an AWS SDK, you don't need to encode the image bytes in base64.
" } }, "documentation": "The source for an image.
", @@ -1432,7 +1757,7 @@ }, "content": { "shape": "ContentBlocks", - "documentation": "The message content.
" + "documentation": "The message content. Note the following restrictions:
You can include up to 20 images. Each image's size, height, and width must be no more than 3.75 MB, 8000 px, and 8000 px, respectively.
You can include up to five documents. Each document's size must be no more than 4.5 MB.
If you include a ContentBlock
with a document
field in the array, you must also include a ContentBlock
with a text
field.
You can only include images and documents if the role
is user
.
A message input, or returned from, a call to Converse or ConverseStream.
" @@ -1624,7 +1949,7 @@ }, "guardContent": { "shape": "GuardrailConverseContentBlock", - "documentation": "A content block to assess with the guardrail. Use with the Converse API (Converse and ConverseStream).
For more information, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide.
" + "documentation": "A content block to assess with the guardrail. Use with the Converse or ConverseStream API operations.
For more information, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide.
" } }, "documentation": "A system content block.
", @@ -1696,7 +2021,7 @@ "documentation": "The specfication for the tool.
" } }, - "documentation": "Information about a tool that you can use with the Converse API.
", + "documentation": "Information about a tool that you can use with the Converse API. For more information, see Tool use (function calling) in the Amazon Bedrock User Guide.
", "union": true }, "ToolChoice": { @@ -1733,7 +2058,7 @@ "documentation": "If supported by model, forces the model to request a tool.
" } }, - "documentation": "Configuration information for the tools that you pass to a model.
This field is only supported by Anthropic Claude 3, Cohere Command R, Cohere Command R+, and Mistral Large models.
Configuration information for the tools that you pass to a model. For more information, see Tool use (function calling) in the Amazon Bedrock User Guide.
This field is only supported by Anthropic Claude 3, Cohere Command R, Cohere Command R+, and Mistral Large models.
In IPAM, the locale is the Amazon Web Services Region where you want to make an IPAM pool available for allocations. Only resources in the same Region as the locale of the pool can get IP address allocations from the pool. You can only allocate a CIDR for a VPC, for example, from an IPAM pool that shares a locale with the VPC’s Region. Note that once you choose a Locale for a pool, you cannot modify it. If you do not choose a locale, resources in Regions others than the IPAM's home region cannot use CIDRs from this pool.
Possible values: Any Amazon Web Services Region, such as us-east-1.
" + "documentation": "In IPAM, the locale is the Amazon Web Services Region or, for IPAM IPv4 pools in the public scope, the network border group for an Amazon Web Services Local Zone where you want to make an IPAM pool available for allocations (supported Local Zones). If you do not choose a locale, resources in Regions others than the IPAM's home region cannot use CIDRs from this pool.
Possible values: Any Amazon Web Services Region, such as us-east-1.
" }, "SourceIpamPoolId": { "shape": "IpamPoolId", @@ -16777,6 +16777,10 @@ "shape": "TagSpecificationList", "documentation": "The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see Local Zone availability in the Amazon EC2 User Guide.
" } } }, @@ -20335,6 +20339,10 @@ "PoolId": { "shape": "Ipv4PoolEc2Id", "documentation": "The ID of the public IPv4 pool you want to delete.
" + }, + "NetworkBorderGroup": { + "shape": "String", + "documentation": "The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see Local Zone availability in the Amazon EC2 User Guide.
" } } }, @@ -41025,7 +41033,7 @@ }, "NetworkBorderGroup": { "shape": "String", - "documentation": "The network border group that the resource that the IP address is assigned to is in.
", + "documentation": "The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see Local Zone availability in the Amazon EC2 User Guide.
", "locationName": "networkBorderGroup" }, "SecurityGroups": { @@ -41096,10 +41104,20 @@ "documentation": "The VPC ID.
", "locationName": "vpcId" }, + "NetworkInterfaceAttachmentStatus": { + "shape": "IpamNetworkInterfaceAttachmentStatus", + "documentation": "For elastic IP addresses, this is the status of an attached network interface.
", + "locationName": "networkInterfaceAttachmentStatus" + }, "SampleTime": { "shape": "MillisecondDateTime", "documentation": "The last successful resource discovery time.
", "locationName": "sampleTime" + }, + "AvailabilityZoneId": { + "shape": "String", + "documentation": "The Availability Zone ID.
", + "locationName": "availabilityZoneId" } }, "documentation": "An IPAM discovered resource CIDR. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses. The discovered resource CIDR is the IP address range in CIDR notation that is associated with the resource.
" @@ -41156,6 +41174,13 @@ "max": 128, "min": 0 }, + "IpamNetworkInterfaceAttachmentStatus": { + "type": "string", + "enum": [ + "available", + "in-use" + ] + }, "IpamOperatingRegion": { "type": "structure", "members": { @@ -41227,7 +41252,7 @@ }, "Locale": { "shape": "String", - "documentation": "The locale of the IPAM pool. In IPAM, the locale is the Amazon Web Services Region where you want to make an IPAM pool available for allocations. Only resources in the same Region as the locale of the pool can get IP address allocations from the pool. You can only allocate a CIDR for a VPC, for example, from an IPAM pool that shares a locale with the VPC’s Region. Note that once you choose a Locale for a pool, you cannot modify it. If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for the IPAM, you'll get an error.
", + "documentation": "The locale of the IPAM pool. In IPAM, the locale is the Amazon Web Services Region or, for IPAM IPv4 pools in the public scope, the network border group for an Amazon Web Services Local Zone where you want to make an IPAM pool available for allocations (supported Local Zones). If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for the IPAM, you'll get an error.
", "locationName": "locale" }, "PoolDepth": { @@ -41719,6 +41744,11 @@ "shape": "String", "documentation": "The ID of a VPC.
", "locationName": "vpcId" + }, + "AvailabilityZoneId": { + "shape": "String", + "documentation": "The Availability Zone ID.
", + "locationName": "availabilityZoneId" } }, "documentation": "The CIDR for an IPAM resource.
" @@ -51443,6 +51473,10 @@ "NetmaskLength": { "shape": "Integer", "documentation": "The netmask length of the CIDR you would like to allocate to the public IPv4 pool.
" + }, + "NetworkBorderGroup": { + "shape": "String", + "documentation": "The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see Local Zone availability in the Amazon EC2 User Guide.
" } } }, diff --git a/apis/glue-2017-03-31.min.json b/apis/glue-2017-03-31.min.json index 21a4026aa7..cc3b520f26 100644 --- a/apis/glue-2017-03-31.min.json +++ b/apis/glue-2017-03-31.min.json @@ -380,7 +380,7 @@ "DatabaseName": {}, "TableName": {}, "PartitionsToGet": { - "shape": "Saf" + "shape": "Sar" } } }, @@ -388,10 +388,10 @@ "type": "structure", "members": { "Partitions": { - "shape": "Sah" + "shape": "Sat" }, "UnprocessedKeys": { - "shape": "Saf" + "shape": "Sar" } } } @@ -429,7 +429,7 @@ "databaseName": {}, "tableName": {}, "tableOptimizer": { - "shape": "Sas" + "shape": "Sb4" } } } @@ -460,7 +460,7 @@ ], "members": { "TriggerNames": { - "shape": "Sb3" + "shape": "Sbf" } } }, @@ -468,10 +468,10 @@ "type": "structure", "members": { "Triggers": { - "shape": "Sb5" + "shape": "Sbh" }, "TriggersNotFound": { - "shape": "Sb3" + "shape": "Sbf" } } } @@ -484,7 +484,7 @@ ], "members": { "Names": { - "shape": "Sbn" + "shape": "Sbz" }, "IncludeGraph": { "type": "boolean" @@ -497,11 +497,11 @@ "Workflows": { "type": "list", "member": { - "shape": "Sbq" + "shape": "Sc2" } }, "MissingWorkflows": { - "shape": "Sbn" + "shape": "Sbz" } } } @@ -572,7 +572,7 @@ ], "members": { "PartitionValueList": { - "shape": "Sco" + "shape": "Sd0" }, "PartitionInput": { "shape": "S5" @@ -591,7 +591,7 @@ "type": "structure", "members": { "PartitionValueList": { - "shape": "Sco" + "shape": "Sd0" }, "ErrorDetail": { "shape": "S14" @@ -707,7 +707,7 @@ "Description": {}, "BlueprintLocation": {}, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -770,7 +770,7 @@ "QuoteSymbol": {}, "ContainsHeader": {}, "Header": { - "shape": "Sdq" + "shape": "Se2" }, "DisableValueTrimming": { "type": "boolean" @@ -782,7 +782,7 @@ "type": "boolean" }, "CustomDatatypes": { - "shape": "Sdr" + "shape": "Se3" }, "Serde": {} } @@ -803,10 +803,10 @@ "members": { "CatalogId": {}, "ConnectionInput": { - "shape": "Sdv" + "shape": "Se7" }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -853,7 +853,7 @@ "Configuration": {}, "CrawlerSecurityConfiguration": {}, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -876,7 +876,7 @@ "shape": "S3v" }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -899,10 +899,10 @@ "Description": {}, "Ruleset": {}, "Tags": { - "shape": "Sd9" + "shape": "Sdl" }, "TargetTable": { - "shape": "Sep" + "shape": "Sf1" }, "ClientToken": {} } @@ -924,10 +924,10 @@ "members": { "CatalogId": {}, "DatabaseInput": { - "shape": "Ses" + "shape": "Sf4" }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -966,7 +966,7 @@ "ExtraJarsS3Path": {}, "SecurityConfiguration": {}, "Tags": { - "shape": "Sd9" + "shape": "Sdl" }, "Arguments": { "shape": "S4u" @@ -1055,7 +1055,7 @@ }, "SecurityConfiguration": {}, "Tags": { - "shape": "Sd9" + "shape": "Sdl" }, "NotificationProperty": { "shape": "S5e" @@ -1070,7 +1070,7 @@ }, "ExecutionClass": {}, "SourceControlDetails": { - "shape": "Saa" + "shape": "Sam" }, "MaintenanceWindow": {} } @@ -1095,10 +1095,10 @@ "Name": {}, "Description": {}, "InputRecordTables": { - "shape": "Sf9" + "shape": "Sfl" }, "Parameters": { - "shape": "Sfa" + "shape": "Sfm" }, "Role": {}, "GlueVersion": {}, @@ -1116,10 +1116,10 @@ "type": "integer" }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" }, "TransformEncryption": { - "shape": "Sfe" + "shape": "Sfq" } } }, @@ -1165,7 +1165,7 @@ "DatabaseName": {}, "TableName": {}, "PartitionIndex": { - "shape": "Sfl" + "shape": "Sfx" } } }, @@ -1184,7 +1184,7 @@ "RegistryName": {}, "Description": {}, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -1195,7 +1195,7 @@ "RegistryName": {}, "Description": {}, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } } @@ -1209,14 +1209,14 @@ ], "members": { "RegistryId": { - "shape": "Sfr" + "shape": "Sg3" }, "SchemaName": {}, "DataFormat": {}, "Compatibility": {}, "Description": {}, "Tags": { - "shape": "Sd9" + "shape": "Sdl" }, "SchemaDefinition": {} } @@ -1242,7 +1242,7 @@ }, "SchemaStatus": {}, "Tags": { - "shape": "Sd9" + "shape": "Sdl" }, "SchemaVersionId": {}, "SchemaVersionStatus": {} @@ -1254,10 +1254,10 @@ "type": "structure", "members": { "DagNodes": { - "shape": "Sfy" + "shape": "Sga" }, "DagEdges": { - "shape": "Sg6" + "shape": "Sgi" }, "Language": {} } @@ -1280,7 +1280,7 @@ "members": { "Name": {}, "EncryptionConfiguration": { - "shape": "Sgd" + "shape": "Sgp" } } }, @@ -1307,7 +1307,7 @@ "Description": {}, "Role": {}, "Command": { - "shape": "Sgp" + "shape": "Sh1" }, "Timeout": { "type": "integer" @@ -1316,7 +1316,7 @@ "type": "integer" }, "DefaultArguments": { - "shape": "Sgq" + "shape": "Sh2" }, "Connections": { "shape": "S5a" @@ -1331,7 +1331,7 @@ "SecurityConfiguration": {}, "GlueVersion": {}, "Tags": { - "shape": "Sd9" + "shape": "Sdl" }, "RequestOrigin": {} } @@ -1340,7 +1340,7 @@ "type": "structure", "members": { "Session": { - "shape": "Sgt" + "shape": "Sh5" } } } @@ -1356,12 +1356,12 @@ "CatalogId": {}, "DatabaseName": {}, "TableInput": { - "shape": "Sgy" + "shape": "Sha" }, "PartitionIndexes": { "type": "list", "member": { - "shape": "Sfl" + "shape": "Sfx" } }, "TransactionId": {}, @@ -1403,7 +1403,7 @@ "TableName": {}, "Type": {}, "TableOptimizerConfiguration": { - "shape": "Sat" + "shape": "Sb5" } } }, @@ -1426,20 +1426,20 @@ "Type": {}, "Schedule": {}, "Predicate": { - "shape": "Sbc" + "shape": "Sbo" }, "Actions": { - "shape": "Sba" + "shape": "Sbm" }, "Description": {}, "StartOnCreation": { "type": "boolean" }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" }, "EventBatchingCondition": { - "shape": "Sbj" + "shape": "Sbv" } } }, @@ -1461,10 +1461,10 @@ "Name": {}, "Description": {}, "Configuration": { - "shape": "Shj" + "shape": "Shv" }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -1486,7 +1486,7 @@ "CatalogId": {}, "DatabaseName": {}, "FunctionInput": { - "shape": "Shq" + "shape": "Si2" } } }, @@ -1505,10 +1505,10 @@ "Name": {}, "Description": {}, "DefaultRunProperties": { - "shape": "Sbr" + "shape": "Sc3" }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" }, "MaxConcurrentRuns": { "type": "integer" @@ -1776,7 +1776,7 @@ ], "members": { "RegistryId": { - "shape": "Sfr" + "shape": "Sg3" } } }, @@ -2062,7 +2062,7 @@ "type": "structure", "members": { "BlueprintRun": { - "shape": "Sjr" + "shape": "Sk3" } } } @@ -2087,7 +2087,7 @@ "BlueprintRuns": { "type": "list", "member": { - "shape": "Sjr" + "shape": "Sk3" } }, "NextToken": {} @@ -2133,7 +2133,7 @@ "type": "structure", "members": { "Classifier": { - "shape": "Sk4" + "shape": "Skg" } } } @@ -2154,7 +2154,7 @@ "Classifiers": { "type": "list", "member": { - "shape": "Sk4" + "shape": "Skg" } }, "NextToken": {} @@ -2178,7 +2178,7 @@ "shape": "S6" }, "ColumnNames": { - "shape": "Ske" + "shape": "Skq" } } }, @@ -2186,10 +2186,10 @@ "type": "structure", "members": { "ColumnStatisticsList": { - "shape": "Skg" + "shape": "Sks" }, "Errors": { - "shape": "Sky" + "shape": "Sla" } } } @@ -2207,7 +2207,7 @@ "DatabaseName": {}, "TableName": {}, "ColumnNames": { - "shape": "Ske" + "shape": "Skq" } } }, @@ -2215,10 +2215,10 @@ "type": "structure", "members": { "ColumnStatisticsList": { - "shape": "Skg" + "shape": "Sks" }, "Errors": { - "shape": "Sky" + "shape": "Sla" } } } @@ -2237,7 +2237,7 @@ "type": "structure", "members": { "ColumnStatisticsTaskRun": { - "shape": "Sl4" + "shape": "Slg" } } } @@ -2264,7 +2264,7 @@ "ColumnStatisticsTaskRuns": { "type": "list", "member": { - "shape": "Sl4" + "shape": "Slg" } }, "NextToken": {} @@ -2289,7 +2289,7 @@ "type": "structure", "members": { "Connection": { - "shape": "Slf" + "shape": "Slr" } } } @@ -2303,7 +2303,7 @@ "type": "structure", "members": { "MatchCriteria": { - "shape": "Sdx" + "shape": "Se9" }, "ConnectionType": {} } @@ -2323,7 +2323,7 @@ "ConnectionList": { "type": "list", "member": { - "shape": "Slf" + "shape": "Slr" } }, "NextToken": {} @@ -2451,7 +2451,7 @@ "type": "structure", "members": { "DataCatalogEncryptionSettings": { - "shape": "Slz" + "shape": "Smb" } } } @@ -2559,7 +2559,7 @@ "Description": {}, "Ruleset": {}, "TargetTable": { - "shape": "Sep" + "shape": "Sf1" }, "CreatedOn": { "type": "timestamp" @@ -2596,7 +2596,7 @@ "type": "integer" }, "AdditionalRunOptions": { - "shape": "Smc" + "shape": "Smo" }, "Status": {}, "ErrorString": {}, @@ -2613,14 +2613,14 @@ "type": "integer" }, "RulesetNames": { - "shape": "Sme" + "shape": "Smq" }, "ResultIds": { "type": "list", "member": {} }, "AdditionalDataSources": { - "shape": "Smg" + "shape": "Sms" } } } @@ -2640,7 +2640,7 @@ "type": "structure", "members": { "Database": { - "shape": "Smj" + "shape": "Smv" } } } @@ -2670,7 +2670,7 @@ "DatabaseList": { "type": "list", "member": { - "shape": "Smj" + "shape": "Smv" } }, "NextToken": {} @@ -2688,10 +2688,10 @@ "type": "structure", "members": { "DagNodes": { - "shape": "Sfy" + "shape": "Sga" }, "DagEdges": { - "shape": "Sg6" + "shape": "Sgi" } } } @@ -2769,7 +2769,7 @@ "type": "structure", "members": { "JobBookmarkEntry": { - "shape": "Sn3" + "shape": "Snf" } } } @@ -2793,7 +2793,7 @@ "type": "structure", "members": { "JobRun": { - "shape": "Sc2" + "shape": "Sce" } } } @@ -2816,7 +2816,7 @@ "type": "structure", "members": { "JobRuns": { - "shape": "Sc1" + "shape": "Scd" }, "NextToken": {} } @@ -2862,7 +2862,7 @@ "Status": {}, "LogGroupName": {}, "Properties": { - "shape": "Sne" + "shape": "Snq" }, "ErrorString": {}, "StartedOn": { @@ -2931,7 +2931,7 @@ "Status": {}, "LogGroupName": {}, "Properties": { - "shape": "Sne" + "shape": "Snq" }, "ErrorString": {}, "StartedOn": { @@ -2977,19 +2977,19 @@ "type": "timestamp" }, "InputRecordTables": { - "shape": "Sf9" + "shape": "Sfl" }, "Parameters": { - "shape": "Sfa" + "shape": "Sfm" }, "EvaluationMetrics": { - "shape": "Snx" + "shape": "So9" }, "LabelCount": { "type": "integer" }, "Schema": { - "shape": "So4" + "shape": "Sog" }, "Role": {}, "GlueVersion": {}, @@ -3007,7 +3007,7 @@ "type": "integer" }, "TransformEncryption": { - "shape": "Sfe" + "shape": "Sfq" } } } @@ -3021,10 +3021,10 @@ "type": "integer" }, "Filter": { - "shape": "So7" + "shape": "Soj" }, "Sort": { - "shape": "So8" + "shape": "Sok" } } }, @@ -3050,19 +3050,19 @@ "type": "timestamp" }, "InputRecordTables": { - "shape": "Sf9" + "shape": "Sfl" }, "Parameters": { - "shape": "Sfa" + "shape": "Sfm" }, "EvaluationMetrics": { - "shape": "Snx" + "shape": "So9" }, "LabelCount": { "type": "integer" }, "Schema": { - "shape": "So4" + "shape": "Sog" }, "Role": {}, "GlueVersion": {}, @@ -3080,7 +3080,7 @@ "type": "integer" }, "TransformEncryption": { - "shape": "Sfe" + "shape": "Sfq" } } } @@ -3097,13 +3097,13 @@ ], "members": { "Source": { - "shape": "Soe" + "shape": "Soq" }, "Sinks": { - "shape": "Sof" + "shape": "Sor" }, "Location": { - "shape": "Sog" + "shape": "Sos" } } }, @@ -3114,7 +3114,7 @@ ], "members": { "Mapping": { - "shape": "Soi" + "shape": "Sou" } } } @@ -3140,7 +3140,7 @@ "type": "structure", "members": { "Partition": { - "shape": "Sai" + "shape": "Sau" } } } @@ -3224,7 +3224,7 @@ "Expression": {}, "NextToken": {}, "Segment": { - "shape": "Sp1" + "shape": "Spd" }, "MaxResults": { "type": "integer" @@ -3242,7 +3242,7 @@ "type": "structure", "members": { "Partitions": { - "shape": "Sah" + "shape": "Sat" }, "NextToken": {} } @@ -3257,16 +3257,16 @@ ], "members": { "Mapping": { - "shape": "Soi" + "shape": "Sou" }, "Source": { - "shape": "Soe" + "shape": "Soq" }, "Sinks": { - "shape": "Sof" + "shape": "Sor" }, "Location": { - "shape": "Sog" + "shape": "Sos" }, "Language": {}, "AdditionalPlanOptionsMap": { @@ -3292,7 +3292,7 @@ ], "members": { "RegistryId": { - "shape": "Sfr" + "shape": "Sg3" } } }, @@ -3433,7 +3433,7 @@ }, "SchemaVersionId": {}, "SchemaVersionNumber": { - "shape": "Spo" + "shape": "Sq0" } } }, @@ -3466,10 +3466,10 @@ "shape": "Sw" }, "FirstSchemaVersionNumber": { - "shape": "Spo" + "shape": "Sq0" }, "SecondSchemaVersionNumber": { - "shape": "Spo" + "shape": "Sq0" }, "SchemaDiffType": {} } @@ -3495,7 +3495,7 @@ "type": "structure", "members": { "SecurityConfiguration": { - "shape": "Spx" + "shape": "Sq9" } } } @@ -3516,7 +3516,7 @@ "SecurityConfigurations": { "type": "list", "member": { - "shape": "Spx" + "shape": "Sq9" } }, "NextToken": {} @@ -3538,7 +3538,7 @@ "type": "structure", "members": { "Session": { - "shape": "Sgt" + "shape": "Sh5" } } } @@ -3562,7 +3562,7 @@ "type": "structure", "members": { "Statement": { - "shape": "Sq5" + "shape": "Sqh" } } } @@ -3588,7 +3588,7 @@ "type": "structure", "members": { "Table": { - "shape": "Sqc" + "shape": "Sqo" } } } @@ -3616,7 +3616,7 @@ "DatabaseName": {}, "TableName": {}, "TableOptimizer": { - "shape": "Sas" + "shape": "Sb4" } } } @@ -3639,7 +3639,7 @@ "type": "structure", "members": { "TableVersion": { - "shape": "Sql" + "shape": "Sqx" } } } @@ -3667,7 +3667,7 @@ "TableVersions": { "type": "list", "member": { - "shape": "Sql" + "shape": "Sqx" } }, "NextToken": {} @@ -3698,7 +3698,7 @@ "type": "structure", "members": { "TableList": { - "shape": "Sqs" + "shape": "Sr4" }, "NextToken": {} } @@ -3718,7 +3718,7 @@ "type": "structure", "members": { "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } } @@ -3737,7 +3737,7 @@ "type": "structure", "members": { "Trigger": { - "shape": "Sb6" + "shape": "Sbi" } } } @@ -3757,7 +3757,7 @@ "type": "structure", "members": { "Triggers": { - "shape": "Sb5" + "shape": "Sbh" }, "NextToken": {} } @@ -3782,13 +3782,13 @@ "shape": "S6" }, "AuditContext": { - "shape": "Sr0" + "shape": "Src" }, "SupportedPermissionTypes": { - "shape": "Sr3" + "shape": "Srf" }, "QuerySessionContext": { - "shape": "Sr5" + "shape": "Srh" } } }, @@ -3796,7 +3796,7 @@ "type": "structure", "members": { "Partition": { - "shape": "Sai" + "shape": "Sau" }, "AuthorizedColumns": { "shape": "Sn" @@ -3823,20 +3823,20 @@ "TableName": {}, "Expression": {}, "AuditContext": { - "shape": "Sr0" + "shape": "Src" }, "SupportedPermissionTypes": { - "shape": "Sr3" + "shape": "Srf" }, "NextToken": {}, "Segment": { - "shape": "Sp1" + "shape": "Spd" }, "MaxResults": { "type": "integer" }, "QuerySessionContext": { - "shape": "Sr5" + "shape": "Srh" } } }, @@ -3849,7 +3849,7 @@ "type": "structure", "members": { "Partition": { - "shape": "Sai" + "shape": "Sau" }, "AuthorizedColumns": { "shape": "Sn" @@ -3879,10 +3879,10 @@ "DatabaseName": {}, "Name": {}, "AuditContext": { - "shape": "Sr0" + "shape": "Src" }, "SupportedPermissionTypes": { - "shape": "Sr3" + "shape": "Srf" }, "ParentResourceArn": {}, "RootResourceArn": {}, @@ -3894,10 +3894,10 @@ } }, "Permissions": { - "shape": "Sey" + "shape": "Sfa" }, "QuerySessionContext": { - "shape": "Sr5" + "shape": "Srh" } } }, @@ -3905,7 +3905,7 @@ "type": "structure", "members": { "Table": { - "shape": "Sqc" + "shape": "Sqo" }, "AuthorizedColumns": { "shape": "Sn" @@ -3932,7 +3932,7 @@ "type": "boolean" }, "Permissions": { - "shape": "Sey" + "shape": "Sfa" }, "RowFilter": {} } @@ -3954,7 +3954,7 @@ "Name": {}, "Description": {}, "Configuration": { - "shape": "Shj" + "shape": "Shv" }, "CreatedOn": { "type": "timestamp" @@ -3982,7 +3982,7 @@ "type": "structure", "members": { "UserDefinedFunction": { - "shape": "Sro" + "shape": "Ss0" } } } @@ -4009,7 +4009,7 @@ "UserDefinedFunctions": { "type": "list", "member": { - "shape": "Sro" + "shape": "Ss0" } }, "NextToken": {} @@ -4033,7 +4033,7 @@ "type": "structure", "members": { "Workflow": { - "shape": "Sbq" + "shape": "Sc2" } } } @@ -4057,7 +4057,7 @@ "type": "structure", "members": { "Run": { - "shape": "Sbs" + "shape": "Sc4" } } } @@ -4078,7 +4078,7 @@ "type": "structure", "members": { "RunProperties": { - "shape": "Sbr" + "shape": "Sc3" } } } @@ -4106,7 +4106,7 @@ "Runs": { "type": "list", "member": { - "shape": "Sbs" + "shape": "Sc4" } }, "NextToken": {} @@ -4134,7 +4134,7 @@ "type": "integer" }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -4178,7 +4178,7 @@ }, "NextToken": {}, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -4257,7 +4257,7 @@ "type": "integer" }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -4450,12 +4450,12 @@ "type": "timestamp" }, "TargetTable": { - "shape": "Sep" + "shape": "Sf1" } } }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -4476,7 +4476,7 @@ "type": "timestamp" }, "TargetTable": { - "shape": "Sep" + "shape": "Sf1" }, "RecommendationRunId": {}, "RuleCount": { @@ -4498,7 +4498,7 @@ "type": "integer" }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -4522,7 +4522,7 @@ "type": "integer" }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -4545,13 +4545,13 @@ "type": "integer" }, "Filter": { - "shape": "So7" + "shape": "Soj" }, "Sort": { - "shape": "So8" + "shape": "Sok" }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -4643,7 +4643,7 @@ "type": "structure", "members": { "RegistryId": { - "shape": "Sfr" + "shape": "Sg3" }, "MaxResults": { "type": "integer" @@ -4682,7 +4682,7 @@ "type": "integer" }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" }, "RequestOrigin": {} } @@ -4697,7 +4697,7 @@ "Sessions": { "type": "list", "member": { - "shape": "Sgt" + "shape": "Sh5" } }, "NextToken": {} @@ -4722,7 +4722,7 @@ "Statements": { "type": "list", "member": { - "shape": "Sq5" + "shape": "Sqh" } }, "NextToken": {} @@ -4759,7 +4759,7 @@ "TableOptimizerRuns": { "type": "list", "member": { - "shape": "Sav" + "shape": "Sb7" } } } @@ -4775,7 +4775,7 @@ "type": "integer" }, "Tags": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -4783,7 +4783,7 @@ "type": "structure", "members": { "TriggerNames": { - "shape": "Sb3" + "shape": "Sbf" }, "NextToken": {} } @@ -4836,7 +4836,7 @@ "type": "structure", "members": { "Workflows": { - "shape": "Sbn" + "shape": "Sbz" }, "NextToken": {} } @@ -4851,7 +4851,7 @@ "members": { "CatalogId": {}, "DataCatalogEncryptionSettings": { - "shape": "Slz" + "shape": "Smb" } } }, @@ -4892,11 +4892,11 @@ "shape": "Sw" }, "SchemaVersionNumber": { - "shape": "Spo" + "shape": "Sq0" }, "SchemaVersionId": {}, "MetadataKeyValue": { - "shape": "Sul" + "shape": "Sux" } } }, @@ -4930,7 +4930,7 @@ "Name": {}, "RunId": {}, "RunProperties": { - "shape": "Sbr" + "shape": "Sc3" } } }, @@ -4947,13 +4947,13 @@ "shape": "Sw" }, "SchemaVersionNumber": { - "shape": "Spo" + "shape": "Sq0" }, "SchemaVersionId": {}, "MetadataList": { "type": "list", "member": { - "shape": "Sul" + "shape": "Sux" } }, "MaxResults": { @@ -5027,11 +5027,11 @@ "shape": "Sw" }, "SchemaVersionNumber": { - "shape": "Spo" + "shape": "Sq0" }, "SchemaVersionId": {}, "MetadataKeyValue": { - "shape": "Sul" + "shape": "Sux" } } }, @@ -5068,7 +5068,7 @@ "type": "structure", "members": { "JobBookmarkEntry": { - "shape": "Sn3" + "shape": "Snf" } } } @@ -5085,7 +5085,7 @@ "Name": {}, "RunId": {}, "NodeIds": { - "shape": "Sv6" + "shape": "Svi" } } }, @@ -5094,7 +5094,7 @@ "members": { "RunId": {}, "NodeIds": { - "shape": "Sv6" + "shape": "Svi" } } } @@ -5160,7 +5160,7 @@ "members": { "NextToken": {}, "TableList": { - "shape": "Sqs" + "shape": "Sr4" } } } @@ -5197,7 +5197,7 @@ "DatabaseName": {}, "TableName": {}, "ColumnNameList": { - "shape": "Sl6" + "shape": "Sli" }, "Role": {}, "SampleSize": { @@ -5295,13 +5295,13 @@ }, "ClientToken": {}, "AdditionalRunOptions": { - "shape": "Smc" + "shape": "Smo" }, "RulesetNames": { - "shape": "Sme" + "shape": "Smq" }, "AdditionalDataSources": { - "shape": "Smg" + "shape": "Sms" } } }, @@ -5457,7 +5457,7 @@ "members": { "Name": {}, "RunProperties": { - "shape": "Sbr" + "shape": "Sc3" } } }, @@ -5577,7 +5577,7 @@ "members": { "ResourceArn": {}, "TagsToAdd": { - "shape": "Sd9" + "shape": "Sdl" } } }, @@ -5674,7 +5674,7 @@ "QuoteSymbol": {}, "ContainsHeader": {}, "Header": { - "shape": "Sdq" + "shape": "Se2" }, "DisableValueTrimming": { "type": "boolean" @@ -5686,7 +5686,7 @@ "type": "boolean" }, "CustomDatatypes": { - "shape": "Sdr" + "shape": "Se3" }, "Serde": {} } @@ -5715,7 +5715,7 @@ "shape": "S6" }, "ColumnStatisticsList": { - "shape": "Swz" + "shape": "Sxb" } } }, @@ -5723,7 +5723,7 @@ "type": "structure", "members": { "Errors": { - "shape": "Sx1" + "shape": "Sxd" } } } @@ -5741,7 +5741,7 @@ "DatabaseName": {}, "TableName": {}, "ColumnStatisticsList": { - "shape": "Swz" + "shape": "Sxb" } } }, @@ -5749,7 +5749,7 @@ "type": "structure", "members": { "Errors": { - "shape": "Sx1" + "shape": "Sxd" } } } @@ -5765,7 +5765,7 @@ "CatalogId": {}, "Name": {}, "ConnectionInput": { - "shape": "Sdv" + "shape": "Se7" } } }, @@ -5862,7 +5862,7 @@ "CatalogId": {}, "Name": {}, "DatabaseInput": { - "shape": "Ses" + "shape": "Sf4" } } }, @@ -5968,7 +5968,7 @@ }, "ExecutionClass": {}, "SourceControlDetails": { - "shape": "Saa" + "shape": "Sam" }, "MaintenanceWindow": {} } @@ -6015,7 +6015,7 @@ "Name": {}, "Description": {}, "Parameters": { - "shape": "Sfa" + "shape": "Sfm" }, "Role": {}, "GlueVersion": {}, @@ -6055,7 +6055,7 @@ "DatabaseName": {}, "TableName": {}, "PartitionValueList": { - "shape": "Sco" + "shape": "Sd0" }, "PartitionInput": { "shape": "S5" @@ -6076,7 +6076,7 @@ ], "members": { "RegistryId": { - "shape": "Sfr" + "shape": "Sg3" }, "Description": {} } @@ -6100,7 +6100,7 @@ "shape": "Sw" }, "SchemaVersionNumber": { - "shape": "Spo" + "shape": "Sq0" }, "Compatibility": {}, "Description": {} @@ -6148,7 +6148,7 @@ "CatalogId": {}, "DatabaseName": {}, "TableInput": { - "shape": "Sgy" + "shape": "Sha" }, "SkipArchive": { "type": "boolean" @@ -6182,7 +6182,7 @@ "TableName": {}, "Type": {}, "TableOptimizerConfiguration": { - "shape": "Sat" + "shape": "Sb5" } } }, @@ -6207,13 +6207,13 @@ "Description": {}, "Schedule": {}, "Actions": { - "shape": "Sba" + "shape": "Sbm" }, "Predicate": { - "shape": "Sbc" + "shape": "Sbo" }, "EventBatchingCondition": { - "shape": "Sbj" + "shape": "Sbv" } } } @@ -6223,7 +6223,7 @@ "type": "structure", "members": { "Trigger": { - "shape": "Sb6" + "shape": "Sbi" } } } @@ -6239,7 +6239,7 @@ "Name": {}, "Description": {}, "Configuration": { - "shape": "Shj" + "shape": "Shv" } } }, @@ -6263,7 +6263,7 @@ "DatabaseName": {}, "FunctionName": {}, "FunctionInput": { - "shape": "Shq" + "shape": "Si2" } } }, @@ -6282,7 +6282,7 @@ "Name": {}, "Description": {}, "DefaultRunProperties": { - "shape": "Sbr" + "shape": "Sc3" }, "MaxConcurrentRuns": { "type": "integer" @@ -7024,7 +7024,7 @@ }, "ExecutionClass": {}, "SourceControlDetails": { - "shape": "Saa" + "shape": "Sam" }, "MaintenanceWindow": {}, "ProfileName": {} @@ -8596,8 +8596,7 @@ "type": "structure", "required": [ "Name", - "Inputs", - "RecipeReference" + "Inputs" ], "members": { "Name": {}, @@ -8614,6 +8613,46 @@ "RecipeArn": {}, "RecipeVersion": {} } + }, + "RecipeSteps": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "Action" + ], + "members": { + "Action": { + "type": "structure", + "required": [ + "Operation" + ], + "members": { + "Operation": {}, + "Parameters": { + "type": "map", + "key": {}, + "value": {} + } + } + }, + "ConditionExpressions": { + "type": "list", + "member": { + "type": "structure", + "required": [ + "Condition", + "TargetColumn" + ], + "members": { + "Condition": {}, + "Value": {}, + "TargetColumn": {} + } + } + } + } + } } } }, @@ -8626,7 +8665,7 @@ "members": { "Name": {}, "Data": { - "shape": "Sa4" + "shape": "Sag" }, "OutputSchemas": { "shape": "S5n" @@ -8642,7 +8681,7 @@ "members": { "Name": {}, "Data": { - "shape": "Sa4" + "shape": "Sag" }, "Inputs": { "shape": "S6l" @@ -8660,7 +8699,7 @@ "Name": {}, "ConnectionType": {}, "Data": { - "shape": "Sa7" + "shape": "Saj" }, "OutputSchemas": { "shape": "S5n" @@ -8678,7 +8717,7 @@ "Name": {}, "ConnectionType": {}, "Data": { - "shape": "Sa7" + "shape": "Saj" }, "Inputs": { "shape": "S6l" @@ -8995,7 +9034,7 @@ "shape": "S9r" } }, - "Sa4": { + "Sag": { "type": "structure", "members": { "SourceType": {}, @@ -9035,12 +9074,12 @@ } } }, - "Sa7": { + "Saj": { "type": "map", "key": {}, "value": {} }, - "Saa": { + "Sam": { "type": "structure", "members": { "Provider": {}, @@ -9053,19 +9092,19 @@ "AuthToken": {} } }, - "Saf": { + "Sar": { "type": "list", "member": { "shape": "S1c" } }, - "Sah": { + "Sat": { "type": "list", "member": { - "shape": "Sai" + "shape": "Sau" } }, - "Sai": { + "Sau": { "type": "structure", "members": { "Values": { @@ -9091,19 +9130,19 @@ "CatalogId": {} } }, - "Sas": { + "Sb4": { "type": "structure", "members": { "type": {}, "configuration": { - "shape": "Sat" + "shape": "Sb5" }, "lastRun": { - "shape": "Sav" + "shape": "Sb7" } } }, - "Sat": { + "Sb5": { "type": "structure", "members": { "roleArn": {}, @@ -9112,7 +9151,7 @@ } } }, - "Sav": { + "Sb7": { "type": "structure", "members": { "eventType": {}, @@ -9134,17 +9173,17 @@ "error": {} } }, - "Sb3": { + "Sbf": { "type": "list", "member": {} }, - "Sb5": { + "Sbh": { "type": "list", "member": { - "shape": "Sb6" + "shape": "Sbi" } }, - "Sb6": { + "Sbi": { "type": "structure", "members": { "Name": {}, @@ -9155,17 +9194,17 @@ "Description": {}, "Schedule": {}, "Actions": { - "shape": "Sba" + "shape": "Sbm" }, "Predicate": { - "shape": "Sbc" + "shape": "Sbo" }, "EventBatchingCondition": { - "shape": "Sbj" + "shape": "Sbv" } } }, - "Sba": { + "Sbm": { "type": "list", "member": { "type": "structure", @@ -9185,7 +9224,7 @@ } } }, - "Sbc": { + "Sbo": { "type": "structure", "members": { "Logical": {}, @@ -9204,7 +9243,7 @@ } } }, - "Sbj": { + "Sbv": { "type": "structure", "required": [ "BatchSize" @@ -9218,17 +9257,17 @@ } } }, - "Sbn": { + "Sbz": { "type": "list", "member": {} }, - "Sbq": { + "Sc2": { "type": "structure", "members": { "Name": {}, "Description": {}, "DefaultRunProperties": { - "shape": "Sbr" + "shape": "Sc3" }, "CreatedOn": { "type": "timestamp" @@ -9237,10 +9276,10 @@ "type": "timestamp" }, "LastRun": { - "shape": "Sbs" + "shape": "Sc4" }, "Graph": { - "shape": "Sbv" + "shape": "Sc7" }, "MaxConcurrentRuns": { "type": "integer" @@ -9254,19 +9293,19 @@ } } }, - "Sbr": { + "Sc3": { "type": "map", "key": {}, "value": {} }, - "Sbs": { + "Sc4": { "type": "structure", "members": { "Name": {}, "WorkflowRunId": {}, "PreviousRunId": {}, "WorkflowRunProperties": { - "shape": "Sbr" + "shape": "Sc3" }, "StartedOn": { "type": "timestamp" @@ -9306,7 +9345,7 @@ } }, "Graph": { - "shape": "Sbv" + "shape": "Sc7" }, "StartingEventBatchCondition": { "type": "structure", @@ -9321,7 +9360,7 @@ } } }, - "Sbv": { + "Sc7": { "type": "structure", "members": { "Nodes": { @@ -9336,7 +9375,7 @@ "type": "structure", "members": { "Trigger": { - "shape": "Sb6" + "shape": "Sbi" } } }, @@ -9344,7 +9383,7 @@ "type": "structure", "members": { "JobRuns": { - "shape": "Sc1" + "shape": "Scd" } } }, @@ -9386,13 +9425,13 @@ } } }, - "Sc1": { + "Scd": { "type": "list", "member": { - "shape": "Sc2" + "shape": "Sce" } }, - "Sc2": { + "Sce": { "type": "structure", "members": { "Id": {}, @@ -9459,24 +9498,24 @@ "ProfileName": {} } }, - "Sco": { + "Sd0": { "type": "list", "member": {} }, - "Sd9": { + "Sdl": { "type": "map", "key": {}, "value": {} }, - "Sdq": { + "Se2": { "type": "list", "member": {} }, - "Sdr": { + "Se3": { "type": "list", "member": {} }, - "Sdv": { + "Se7": { "type": "structure", "required": [ "Name", @@ -9488,13 +9527,13 @@ "Description": {}, "ConnectionType": {}, "MatchCriteria": { - "shape": "Sdx" + "shape": "Se9" }, "ConnectionProperties": { - "shape": "Sdy" + "shape": "Sea" }, "PhysicalConnectionRequirements": { - "shape": "Se0" + "shape": "Sec" }, "AuthenticationConfiguration": { "type": "structure", @@ -9506,11 +9545,11 @@ "members": { "OAuth2GrantType": {}, "OAuth2ClientApplication": { - "shape": "Se7" + "shape": "Sej" }, "TokenUrl": {}, "TokenUrlParametersMap": { - "shape": "Seb" + "shape": "Sen" }, "AuthorizationCodeProperties": { "type": "structure", @@ -9528,16 +9567,16 @@ } } }, - "Sdx": { + "Se9": { "type": "list", "member": {} }, - "Sdy": { + "Sea": { "type": "map", "key": {}, "value": {} }, - "Se0": { + "Sec": { "type": "structure", "members": { "SubnetId": {}, @@ -9548,19 +9587,19 @@ "AvailabilityZone": {} } }, - "Se7": { + "Sej": { "type": "structure", "members": { "UserManagedClientApplicationClientId": {}, "AWSManagedClientApplicationReference": {} } }, - "Seb": { + "Sen": { "type": "map", "key": {}, "value": {} }, - "Sep": { + "Sf1": { "type": "structure", "required": [ "TableName", @@ -9572,7 +9611,7 @@ "CatalogId": {} } }, - "Ses": { + "Sf4": { "type": "structure", "required": [ "Name" @@ -9585,17 +9624,17 @@ "shape": "Se" }, "CreateTableDefaultPermissions": { - "shape": "Seu" + "shape": "Sf6" }, "TargetDatabase": { - "shape": "Sf0" + "shape": "Sfc" }, "FederatedDatabase": { - "shape": "Sf1" + "shape": "Sfd" } } }, - "Seu": { + "Sf6": { "type": "list", "member": { "type": "structure", @@ -9607,16 +9646,16 @@ } }, "Permissions": { - "shape": "Sey" + "shape": "Sfa" } } } }, - "Sey": { + "Sfa": { "type": "list", "member": {} }, - "Sf0": { + "Sfc": { "type": "structure", "members": { "CatalogId": {}, @@ -9624,20 +9663,20 @@ "Region": {} } }, - "Sf1": { + "Sfd": { "type": "structure", "members": { "Identifier": {}, "ConnectionName": {} } }, - "Sf9": { + "Sfl": { "type": "list", "member": { "shape": "S44" } }, - "Sfa": { + "Sfm": { "type": "structure", "required": [ "TransformType" @@ -9661,7 +9700,7 @@ } } }, - "Sfe": { + "Sfq": { "type": "structure", "members": { "MlUserDataEncryption": { @@ -9677,7 +9716,7 @@ "TaskRunSecurityConfigurationName": {} } }, - "Sfl": { + "Sfx": { "type": "structure", "required": [ "Keys", @@ -9691,14 +9730,14 @@ "IndexName": {} } }, - "Sfr": { + "Sg3": { "type": "structure", "members": { "RegistryName": {}, "RegistryArn": {} } }, - "Sfy": { + "Sga": { "type": "list", "member": { "type": "structure", @@ -9711,7 +9750,7 @@ "Id": {}, "NodeType": {}, "Args": { - "shape": "Sg2" + "shape": "Sge" }, "LineNumber": { "type": "integer" @@ -9719,7 +9758,7 @@ } } }, - "Sg2": { + "Sge": { "type": "list", "member": { "type": "structure", @@ -9736,7 +9775,7 @@ } } }, - "Sg6": { + "Sgi": { "type": "list", "member": { "type": "structure", @@ -9751,7 +9790,7 @@ } } }, - "Sgd": { + "Sgp": { "type": "structure", "members": { "S3Encryption": { @@ -9780,19 +9819,19 @@ } } }, - "Sgp": { + "Sh1": { "type": "structure", "members": { "Name": {}, "PythonVersion": {} } }, - "Sgq": { + "Sh2": { "type": "map", "key": {}, "value": {} }, - "Sgt": { + "Sh5": { "type": "structure", "members": { "Id": {}, @@ -9804,10 +9843,10 @@ "Description": {}, "Role": {}, "Command": { - "shape": "Sgp" + "shape": "Sh1" }, "DefaultArguments": { - "shape": "Sgq" + "shape": "Sh2" }, "Connections": { "shape": "S5a" @@ -9839,7 +9878,7 @@ "ProfileName": {} } }, - "Sgy": { + "Sha": { "type": "structure", "required": [ "Name" @@ -9870,7 +9909,7 @@ "shape": "Se" }, "TargetTable": { - "shape": "Sh2" + "shape": "She" }, "ViewDefinition": { "type": "structure", @@ -9893,13 +9932,13 @@ } }, "SubObjects": { - "shape": "Sh8" + "shape": "Shk" } } } } }, - "Sh2": { + "She": { "type": "structure", "members": { "CatalogId": {}, @@ -9908,22 +9947,22 @@ "Region": {} } }, - "Sh8": { + "Shk": { "type": "list", "member": {} }, - "Shj": { + "Shv": { "type": "structure", "members": { "SessionConfiguration": { - "shape": "Shk" + "shape": "Shw" }, "JobConfiguration": { - "shape": "Shk" + "shape": "Shw" } } }, - "Shk": { + "Shw": { "type": "map", "key": {}, "value": { @@ -9939,7 +9978,7 @@ } } }, - "Shq": { + "Si2": { "type": "structure", "members": { "FunctionName": {}, @@ -9947,11 +9986,11 @@ "OwnerName": {}, "OwnerType": {}, "ResourceUris": { - "shape": "Shs" + "shape": "Si4" } } }, - "Shs": { + "Si4": { "type": "list", "member": { "type": "structure", @@ -9961,7 +10000,7 @@ } } }, - "Sjr": { + "Sk3": { "type": "structure", "members": { "BlueprintName": {}, @@ -9980,7 +10019,7 @@ "RoleArn": {} } }, - "Sk4": { + "Skg": { "type": "structure", "members": { "GrokClassifier": { @@ -10067,7 +10106,7 @@ "QuoteSymbol": {}, "ContainsHeader": {}, "Header": { - "shape": "Sdq" + "shape": "Se2" }, "DisableValueTrimming": { "type": "boolean" @@ -10079,24 +10118,24 @@ "type": "boolean" }, "CustomDatatypes": { - "shape": "Sdr" + "shape": "Se3" }, "Serde": {} } } } }, - "Ske": { + "Skq": { "type": "list", "member": {} }, - "Skg": { + "Sks": { "type": "list", "member": { - "shape": "Skh" + "shape": "Skt" } }, - "Skh": { + "Skt": { "type": "structure", "required": [ "ColumnName", @@ -10165,10 +10204,10 @@ ], "members": { "MinimumValue": { - "shape": "Skp" + "shape": "Sl1" }, "MaximumValue": { - "shape": "Skp" + "shape": "Sl1" }, "NumberOfNulls": { "type": "long" @@ -10266,7 +10305,7 @@ } } }, - "Skp": { + "Sl1": { "type": "structure", "required": [ "UnscaledValue", @@ -10281,7 +10320,7 @@ } } }, - "Sky": { + "Sla": { "type": "list", "member": { "type": "structure", @@ -10293,7 +10332,7 @@ } } }, - "Sl4": { + "Slg": { "type": "structure", "members": { "CustomerId": {}, @@ -10301,7 +10340,7 @@ "DatabaseName": {}, "TableName": {}, "ColumnNameList": { - "shape": "Sl6" + "shape": "Sli" }, "CatalogID": {}, "Role": {}, @@ -10332,24 +10371,24 @@ } } }, - "Sl6": { + "Sli": { "type": "list", "member": {} }, - "Slf": { + "Slr": { "type": "structure", "members": { "Name": {}, "Description": {}, "ConnectionType": {}, "MatchCriteria": { - "shape": "Sdx" + "shape": "Se9" }, "ConnectionProperties": { - "shape": "Sdy" + "shape": "Sea" }, "PhysicalConnectionRequirements": { - "shape": "Se0" + "shape": "Sec" }, "CreationTime": { "type": "timestamp" @@ -10373,11 +10412,11 @@ "members": { "OAuth2GrantType": {}, "OAuth2ClientApplication": { - "shape": "Se7" + "shape": "Sej" }, "TokenUrl": {}, "TokenUrlParametersMap": { - "shape": "Seb" + "shape": "Sen" } } } @@ -10385,7 +10424,7 @@ } } }, - "Slz": { + "Smb": { "type": "structure", "members": { "EncryptionAtRest": { @@ -10413,7 +10452,7 @@ } } }, - "Smc": { + "Smo": { "type": "structure", "members": { "CloudWatchMetricsEnabled": { @@ -10423,18 +10462,18 @@ "CompositeRuleEvaluationMethod": {} } }, - "Sme": { + "Smq": { "type": "list", "member": {} }, - "Smg": { + "Sms": { "type": "map", "key": {}, "value": { "shape": "S43" } }, - "Smj": { + "Smv": { "type": "structure", "required": [ "Name" @@ -10450,18 +10489,18 @@ "type": "timestamp" }, "CreateTableDefaultPermissions": { - "shape": "Seu" + "shape": "Sf6" }, "TargetDatabase": { - "shape": "Sf0" + "shape": "Sfc" }, "CatalogId": {}, "FederatedDatabase": { - "shape": "Sf1" + "shape": "Sfd" } } }, - "Sn3": { + "Snf": { "type": "structure", "members": { "JobName": {}, @@ -10479,7 +10518,7 @@ "JobBookmark": {} } }, - "Sne": { + "Snq": { "type": "structure", "members": { "TaskType": {}, @@ -10514,7 +10553,7 @@ } } }, - "Snx": { + "So9": { "type": "structure", "required": [ "TransformType" @@ -10569,7 +10608,7 @@ } } }, - "So4": { + "Sog": { "type": "list", "member": { "type": "structure", @@ -10579,7 +10618,7 @@ } } }, - "So7": { + "Soj": { "type": "structure", "members": { "Name": {}, @@ -10599,11 +10638,11 @@ "type": "timestamp" }, "Schema": { - "shape": "So4" + "shape": "Sog" } } }, - "So8": { + "Sok": { "type": "structure", "required": [ "Column", @@ -10614,7 +10653,7 @@ "SortDirection": {} } }, - "Soe": { + "Soq": { "type": "structure", "required": [ "DatabaseName", @@ -10625,27 +10664,27 @@ "TableName": {} } }, - "Sof": { + "Sor": { "type": "list", "member": { - "shape": "Soe" + "shape": "Soq" } }, - "Sog": { + "Sos": { "type": "structure", "members": { "Jdbc": { - "shape": "Sg2" + "shape": "Sge" }, "S3": { - "shape": "Sg2" + "shape": "Sge" }, "DynamoDB": { - "shape": "Sg2" + "shape": "Sge" } } }, - "Soi": { + "Sou": { "type": "list", "member": { "type": "structure", @@ -10659,7 +10698,7 @@ } } }, - "Sp1": { + "Spd": { "type": "structure", "required": [ "SegmentNumber", @@ -10674,7 +10713,7 @@ } } }, - "Spo": { + "Sq0": { "type": "structure", "members": { "LatestVersion": { @@ -10685,7 +10724,7 @@ } } }, - "Spx": { + "Sq9": { "type": "structure", "members": { "Name": {}, @@ -10693,11 +10732,11 @@ "type": "timestamp" }, "EncryptionConfiguration": { - "shape": "Sgd" + "shape": "Sgp" } } }, - "Sq5": { + "Sqh": { "type": "structure", "members": { "Id": { @@ -10736,7 +10775,7 @@ } } }, - "Sqc": { + "Sqo": { "type": "structure", "required": [ "Name" @@ -10778,7 +10817,7 @@ "type": "boolean" }, "TargetTable": { - "shape": "Sh2" + "shape": "She" }, "CatalogId": {}, "VersionId": {}, @@ -10798,7 +10837,7 @@ }, "Definer": {}, "SubObjects": { - "shape": "Sh8" + "shape": "Shk" }, "Representations": { "type": "list", @@ -10823,22 +10862,22 @@ } } }, - "Sql": { + "Sqx": { "type": "structure", "members": { "Table": { - "shape": "Sqc" + "shape": "Sqo" }, "VersionId": {} } }, - "Sqs": { + "Sr4": { "type": "list", "member": { - "shape": "Sqc" + "shape": "Sqo" } }, - "Sr0": { + "Src": { "type": "structure", "members": { "AdditionalAuditContext": {}, @@ -10851,11 +10890,11 @@ } } }, - "Sr3": { + "Srf": { "type": "list", "member": {} }, - "Sr5": { + "Srh": { "type": "structure", "members": { "QueryId": {}, @@ -10871,7 +10910,7 @@ } } }, - "Sro": { + "Ss0": { "type": "structure", "members": { "FunctionName": {}, @@ -10883,35 +10922,35 @@ "type": "timestamp" }, "ResourceUris": { - "shape": "Shs" + "shape": "Si4" }, "CatalogId": {} } }, - "Sul": { + "Sux": { "type": "structure", "members": { "MetadataKey": {}, "MetadataValue": {} } }, - "Sv6": { + "Svi": { "type": "list", "member": {} }, - "Swz": { + "Sxb": { "type": "list", "member": { - "shape": "Skh" + "shape": "Skt" } }, - "Sx1": { + "Sxd": { "type": "list", "member": { "type": "structure", "members": { "ColumnStatistics": { - "shape": "Skh" + "shape": "Skt" }, "Error": { "shape": "S14" diff --git a/apis/glue-2017-03-31.normal.json b/apis/glue-2017-03-31.normal.json index 0fe53ee357..c148531f72 100644 --- a/apis/glue-2017-03-31.normal.json +++ b/apis/glue-2017-03-31.normal.json @@ -9291,6 +9291,34 @@ }, "documentation": "Defines a condition under which a trigger fires.
" }, + "ConditionExpression": { + "type": "structure", + "required": [ + "Condition", + "TargetColumn" + ], + "members": { + "Condition": { + "shape": "DatabrewCondition", + "documentation": "The condition of the condition expression.
" + }, + "Value": { + "shape": "DatabrewConditionValue", + "documentation": "The value of the condition expression.
" + }, + "TargetColumn": { + "shape": "TargetColumn", + "documentation": "The target column of the condition expressions.
" + } + }, + "documentation": "Condition expression defined in the Glue Studio data preparation recipe node.
" + }, + "ConditionExpressionList": { + "type": "list", + "member": { + "shape": "ConditionExpression" + } + }, "ConditionList": { "type": "list", "member": { @@ -12221,6 +12249,16 @@ "DatabaseName": { "type": "string" }, + "DatabrewCondition": { + "type": "string", + "max": 128, + "min": 1, + "pattern": "^[A-Z\\_]+$" + }, + "DatabrewConditionValue": { + "type": "string", + "max": 1024 + }, "Datatype": { "type": "structure", "required": [ @@ -13503,11 +13541,11 @@ }, "EnclosedInStringProperty": { "type": "string", - "pattern": "([\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF]|[^\\S\\r\\n\"'])*" + "pattern": "([\\u0009\\u000B\\u000C\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF])*" }, "EnclosedInStringPropertyWithQuote": { "type": "string", - "pattern": "([\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF]|[^\\S\\r\\n])*" + "pattern": "([\\u0009\\u000B\\u000C\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF])*" }, "EncryptionAtRest": { "type": "structure", @@ -19551,7 +19589,7 @@ }, "NodeName": { "type": "string", - "pattern": "([\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF]|[^\\r\\n])*" + "pattern": "([^\\r\\n])*" }, "NodeType": { "type": "string", @@ -19740,6 +19778,12 @@ }, "documentation": "A structure representing an open format table.
" }, + "Operation": { + "type": "string", + "max": 128, + "min": 1, + "pattern": "^[A-Z\\_]+$" + }, "Option": { "type": "structure", "members": { @@ -19991,6 +20035,26 @@ "null" ] }, + "ParameterMap": { + "type": "map", + "key": { + "shape": "ParameterName" + }, + "value": { + "shape": "ParameterValue" + } + }, + "ParameterName": { + "type": "string", + "max": 128, + "min": 1, + "pattern": "^[A-Za-z0-9]+$" + }, + "ParameterValue": { + "type": "string", + "max": 32768, + "min": 1 + }, "ParametersMap": { "type": "map", "key": { @@ -20692,8 +20756,7 @@ "type": "structure", "required": [ "Name", - "Inputs", - "RecipeReference" + "Inputs" ], "members": { "Name": { @@ -20707,10 +20770,31 @@ "RecipeReference": { "shape": "RecipeReference", "documentation": "A reference to the DataBrew recipe used by the node.
" + }, + "RecipeSteps": { + "shape": "RecipeSteps", + "documentation": "Transform steps used in the recipe node.
" } }, "documentation": "A Glue Studio node that uses a Glue DataBrew recipe in Glue jobs.
" }, + "RecipeAction": { + "type": "structure", + "required": [ + "Operation" + ], + "members": { + "Operation": { + "shape": "Operation", + "documentation": "The operation of the recipe action.
" + }, + "Parameters": { + "shape": "ParameterMap", + "documentation": "The parameters of the recipe action.
" + } + }, + "documentation": "Actions defined in the Glue Studio data preparation recipe node.
" + }, "RecipeReference": { "type": "structure", "required": [ @@ -20729,6 +20813,29 @@ }, "documentation": "A reference to a Glue DataBrew recipe.
" }, + "RecipeStep": { + "type": "structure", + "required": [ + "Action" + ], + "members": { + "Action": { + "shape": "RecipeAction", + "documentation": "The transformation action of the recipe step.
" + }, + "ConditionExpressions": { + "shape": "ConditionExpressionList", + "documentation": "The condition expressions for the recipe step.
" + } + }, + "documentation": "A recipe step used in a Glue Studio data preparation recipe node.
" + }, + "RecipeSteps": { + "type": "list", + "member": { + "shape": "RecipeStep" + } + }, "RecipeVersion": { "type": "string", "max": 16, @@ -24129,6 +24236,11 @@ "max": 50, "min": 0 }, + "TargetColumn": { + "type": "string", + "max": 1024, + "min": 1 + }, "TargetFormat": { "type": "string", "enum": [ diff --git a/apis/groundstation-2019-05-23.min.json b/apis/groundstation-2019-05-23.min.json index 703ad541fb..7963780049 100644 --- a/apis/groundstation-2019-05-23.min.json +++ b/apis/groundstation-2019-05-23.min.json @@ -5,11 +5,17 @@ "endpointPrefix": "groundstation", "jsonVersion": "1.1", "protocol": "rest-json", + "protocols": [ + "rest-json" + ], "serviceFullName": "AWS Ground Station", "serviceId": "GroundStation", "signatureVersion": "v4", "signingName": "groundstation", - "uid": "groundstation-2019-05-23" + "uid": "groundstation-2019-05-23", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "CancelContact": { diff --git a/apis/groundstation-2019-05-23.normal.json b/apis/groundstation-2019-05-23.normal.json index 92467ca9f8..e050767115 100644 --- a/apis/groundstation-2019-05-23.normal.json +++ b/apis/groundstation-2019-05-23.normal.json @@ -5,11 +5,17 @@ "endpointPrefix": "groundstation", "jsonVersion": "1.1", "protocol": "rest-json", + "protocols": [ + "rest-json" + ], "serviceFullName": "AWS Ground Station", "serviceId": "GroundStation", "signatureVersion": "v4", "signingName": "groundstation", - "uid": "groundstation-2019-05-23" + "uid": "groundstation-2019-05-23", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "CancelContact": { @@ -3080,7 +3086,7 @@ "documentation": "Identifies the S3 object to be used as the ephemeris.
" } }, - "documentation": "Ephemeris data in Orbit Ephemeris Message (OEM) format.
" + "documentation": "Ephemeris data in Orbit Ephemeris Message (OEM) format.
Position, velocity, and acceleration units must be represented in km
, km/s
, and km/s**2
, respectively, in ephemeris data lines. Covariance matrix line units must be represented in km**2
if computed from two positions, km**2/s
if computed from one position and one velocity, and km**2/s**2
if computed from two velocities. Consult section 7.7.2 of The Consultative Committee for Space Data Systems (CCSDS) Recommended Standard for Orbit Data Messages for more information.
Remove a third-party subscription provider from the Bring Your Own License (BYOL) subscriptions registered to your account.
", + "idempotent": true + }, + "GetRegisteredSubscriptionProvider": { + "name": "GetRegisteredSubscriptionProvider", + "http": { + "method": "POST", + "requestUri": "/subscription/GetRegisteredSubscriptionProvider", + "responseCode": 200 + }, + "input": { + "shape": "GetRegisteredSubscriptionProviderRequest" + }, + "output": { + "shape": "GetRegisteredSubscriptionProviderResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "documentation": "Get details for a Bring Your Own License (BYOL) subscription that's registered to your account.
", + "idempotent": true + }, "GetServiceSettings": { "name": "GetServiceSettings", "http": { @@ -36,7 +102,7 @@ "shape": "ValidationException" } ], - "documentation": "Lists the Linux subscriptions service settings.
", + "documentation": "Lists the Linux subscriptions service settings for your account.
", "idempotent": true }, "ListLinuxSubscriptionInstances": { @@ -93,6 +159,137 @@ "documentation": "Lists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.
", "idempotent": true }, + "ListRegisteredSubscriptionProviders": { + "name": "ListRegisteredSubscriptionProviders", + "http": { + "method": "POST", + "requestUri": "/subscription/ListRegisteredSubscriptionProviders", + "responseCode": 200 + }, + "input": { + "shape": "ListRegisteredSubscriptionProvidersRequest" + }, + "output": { + "shape": "ListRegisteredSubscriptionProvidersResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "documentation": "List Bring Your Own License (BYOL) subscription registration resources for your account.
", + "idempotent": true + }, + "ListTagsForResource": { + "name": "ListTagsForResource", + "http": { + "method": "GET", + "requestUri": "/tags/{resourceArn}", + "responseCode": 200 + }, + "input": { + "shape": "ListTagsForResourceRequest" + }, + "output": { + "shape": "ListTagsForResourceResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ValidationException" + } + ], + "documentation": "List the metadata tags that are assigned to the specified Amazon Web Services resource.
" + }, + "RegisterSubscriptionProvider": { + "name": "RegisterSubscriptionProvider", + "http": { + "method": "POST", + "requestUri": "/subscription/RegisterSubscriptionProvider", + "responseCode": 200 + }, + "input": { + "shape": "RegisterSubscriptionProviderRequest" + }, + "output": { + "shape": "RegisterSubscriptionProviderResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "documentation": "Register the supported third-party subscription provider for your Bring Your Own License (BYOL) subscription.
", + "idempotent": true + }, + "TagResource": { + "name": "TagResource", + "http": { + "method": "PUT", + "requestUri": "/tags/{resourceArn}", + "responseCode": 200 + }, + "input": { + "shape": "TagResourceRequest" + }, + "output": { + "shape": "TagResourceResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ValidationException" + } + ], + "documentation": "Add metadata tags to the specified Amazon Web Services resource.
", + "idempotent": true + }, + "UntagResource": { + "name": "UntagResource", + "http": { + "method": "DELETE", + "requestUri": "/tags/{resourceArn}", + "responseCode": 200 + }, + "input": { + "shape": "UntagResourceRequest" + }, + "output": { + "shape": "UntagResourceResponse" + }, + "errors": [ + { + "shape": "InternalServerException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "documentation": "Remove one or more metadata tag from the specified Amazon Web Services resource.
", + "idempotent": true + }, "UpdateServiceSettings": { "name": "UpdateServiceSettings", "http": { @@ -134,6 +331,22 @@ "type": "long", "box": true }, + "DeregisterSubscriptionProviderRequest": { + "type": "structure", + "required": [ + "SubscriptionProviderArn" + ], + "members": { + "SubscriptionProviderArn": { + "shape": "SubscriptionProviderArn", + "documentation": "The Amazon Resource Name (ARN) of the subscription provider resource to deregister.
" + } + } + }, + "DeregisterSubscriptionProviderResponse": { + "type": "structure", + "members": {} + }, "Filter": { "type": "structure", "members": { @@ -158,6 +371,47 @@ "shape": "Filter" } }, + "GetRegisteredSubscriptionProviderRequest": { + "type": "structure", + "required": [ + "SubscriptionProviderArn" + ], + "members": { + "SubscriptionProviderArn": { + "shape": "SubscriptionProviderArn", + "documentation": "The Amazon Resource Name (ARN) of the BYOL registration resource to get details for.
" + } + } + }, + "GetRegisteredSubscriptionProviderResponse": { + "type": "structure", + "members": { + "LastSuccessfulDataRetrievalTime": { + "shape": "String", + "documentation": "The timestamp from the last time License Manager retrieved subscription details from your registered third-party Linux subscription provider.
" + }, + "SecretArn": { + "shape": "SecretArn", + "documentation": "The Amazon Resource Name (ARN) of the third-party access secret stored in Secrets Manager for the BYOL registration resource specified in the request.
" + }, + "SubscriptionProviderArn": { + "shape": "SubscriptionProviderArn", + "documentation": "The Amazon Resource Name (ARN) for the BYOL registration resource specified in the request.
" + }, + "SubscriptionProviderSource": { + "shape": "SubscriptionProviderSource", + "documentation": "The subscription provider for the BYOL registration resource specified in the request.
" + }, + "SubscriptionProviderStatus": { + "shape": "SubscriptionProviderStatus", + "documentation": "The status of the Linux subscription provider access token from the last successful subscription data request.
" + }, + "SubscriptionProviderStatusMessage": { + "shape": "String", + "documentation": "The detailed message from your subscription provider token status.
" + } + } + }, "GetServiceSettingsRequest": { "type": "structure", "members": {} @@ -198,6 +452,10 @@ "shape": "String", "documentation": "The AMI ID used to launch the instance.
" }, + "DualSubscription": { + "shape": "String", + "documentation": "Indicates that you have two different license subscriptions for the same software on your instance.
" + }, "InstanceID": { "shape": "String", "documentation": "The instance ID of the resource.
" @@ -210,6 +468,10 @@ "shape": "String", "documentation": "The time in which the last discovery updated the instance details.
" }, + "OsVersion": { + "shape": "String", + "documentation": "The operating system software version that runs on your instance.
" + }, "ProductCode": { "shape": "ProductCodeList", "documentation": "The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .
" @@ -218,13 +480,25 @@ "shape": "String", "documentation": "The Region the instance is running in.
" }, + "RegisteredWithSubscriptionProvider": { + "shape": "String", + "documentation": "Indicates that your instance uses a BYOL license subscription from a third-party Linux subscription provider that you've registered with License Manager.
" + }, "Status": { "shape": "String", "documentation": "The status of the instance.
" }, "SubscriptionName": { "shape": "String", - "documentation": "The name of the subscription being used by the instance.
" + "documentation": "The name of the license subscription that the instance uses.
" + }, + "SubscriptionProviderCreateTime": { + "shape": "String", + "documentation": "The timestamp when you registered the third-party Linux subscription provider for the subscription that the instance uses.
" + }, + "SubscriptionProviderUpdateTime": { + "shape": "String", + "documentation": "The timestamp from the last time that the instance synced with the registered third-party Linux subscription provider.
" }, "UsageOperation": { "shape": "String", @@ -269,15 +543,15 @@ "members": { "Filters": { "shape": "FilterList", - "documentation": "An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify. For example, you can filter by the name of AmiID
with an optional operator to see subscriptions that match, partially match, or don't match a certain Amazon Machine Image (AMI) ID.
The valid names for this filter are:
AmiID
InstanceID
AccountID
Status
Region
UsageOperation
ProductCode
InstanceType
The valid Operators for this filter are:
contains
equals
Notequal
An array of structures that you can use to filter the results by your specified criteria. For example, you can specify Region
in the Name
, with the contains
operator to list all subscriptions that match a partial string in the Value
, such as us-west
.
For each filter, you can specify one of the following values for the Name
key to streamline results:
AccountID
AmiID
DualSubscription
InstanceID
InstanceType
ProductCode
Region
Status
UsageOperation
For each filter, you can use one of the following Operator
values to define the behavior of the filter:
contains
equals
Notequal
Maximum number of results to return in a single call.
" + "documentation": "The maximum items to return in a request.
" }, "NextToken": { "shape": "ListLinuxSubscriptionInstancesRequestNextTokenString", - "documentation": "Token for the next set of results.
" + "documentation": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
" } }, "documentation": "NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.
" @@ -296,7 +570,7 @@ }, "NextToken": { "shape": "String", - "documentation": "Token for the next set of results.
" + "documentation": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
" } } }, @@ -309,11 +583,11 @@ }, "MaxResults": { "shape": "BoxInteger", - "documentation": "Maximum number of results to return in a single call.
" + "documentation": "The maximum items to return in a request.
" }, "NextToken": { "shape": "ListLinuxSubscriptionsRequestNextTokenString", - "documentation": "Token for the next set of results.
" + "documentation": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
" } }, "documentation": "NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.
" @@ -328,7 +602,7 @@ "members": { "NextToken": { "shape": "String", - "documentation": "Token for the next set of results.
" + "documentation": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
" }, "Subscriptions": { "shape": "SubscriptionList", @@ -336,6 +610,65 @@ } } }, + "ListRegisteredSubscriptionProvidersRequest": { + "type": "structure", + "members": { + "MaxResults": { + "shape": "ListRegisteredSubscriptionProvidersRequestMaxResultsInteger", + "documentation": "The maximum items to return in a request.
" + }, + "NextToken": { + "shape": "String", + "documentation": "A token to specify where to start paginating. This is the nextToken from a previously truncated response.
" + }, + "SubscriptionProviderSources": { + "shape": "SubscriptionProviderSourceList", + "documentation": "To filter your results, specify which subscription providers to return in the list.
" + } + } + }, + "ListRegisteredSubscriptionProvidersRequestMaxResultsInteger": { + "type": "integer", + "box": true, + "max": 100, + "min": 1 + }, + "ListRegisteredSubscriptionProvidersResponse": { + "type": "structure", + "members": { + "NextToken": { + "shape": "String", + "documentation": "The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
" + }, + "RegisteredSubscriptionProviders": { + "shape": "RegisteredSubscriptionProviderList", + "documentation": "The list of BYOL registration resources that fit the criteria you specified in the request.
" + } + } + }, + "ListTagsForResourceRequest": { + "type": "structure", + "required": [ + "resourceArn" + ], + "members": { + "resourceArn": { + "shape": "SubscriptionProviderArn", + "documentation": "The Amazon Resource Name (ARN) of the resource for which to list metadata tags.
", + "location": "uri", + "locationName": "resourceArn" + } + } + }, + "ListTagsForResourceResponse": { + "type": "structure", + "members": { + "tags": { + "shape": "Tags", + "documentation": "The metadata tags for the requested resource.
" + } + } + }, "Operator": { "type": "string", "enum": [ @@ -359,6 +692,84 @@ "shape": "String" } }, + "RegisterSubscriptionProviderRequest": { + "type": "structure", + "required": [ + "SecretArn", + "SubscriptionProviderSource" + ], + "members": { + "SecretArn": { + "shape": "SecretArn", + "documentation": "The Amazon Resource Name (ARN) of the secret where you've stored your subscription provider's access token. For RHEL subscriptions managed through the Red Hat Subscription Manager (RHSM), the secret contains your Red Hat Offline token.
" + }, + "SubscriptionProviderSource": { + "shape": "SubscriptionProviderSource", + "documentation": "The supported Linux subscription provider to register.
" + }, + "Tags": { + "shape": "Tags", + "documentation": "The metadata tags to assign to your registered Linux subscription provider resource.
" + } + } + }, + "RegisterSubscriptionProviderResponse": { + "type": "structure", + "members": { + "SubscriptionProviderArn": { + "shape": "String", + "documentation": "The Amazon Resource Name (ARN) of the Linux subscription provider resource that you registered.
" + }, + "SubscriptionProviderSource": { + "shape": "SubscriptionProviderSource", + "documentation": "The Linux subscription provider that you registered.
" + }, + "SubscriptionProviderStatus": { + "shape": "SubscriptionProviderStatus", + "documentation": "Indicates the status of the registration action for the Linux subscription provider that you requested.
" + } + } + }, + "RegisteredSubscriptionProvider": { + "type": "structure", + "members": { + "LastSuccessfulDataRetrievalTime": { + "shape": "String", + "documentation": "The timestamp from the last time that License Manager accessed third-party subscription data for your account from your registered Linux subscription provider.
" + }, + "SecretArn": { + "shape": "SecretArn", + "documentation": "The Amazon Resource Name (ARN) of the Secrets Manager secret that stores your registered Linux subscription provider access token. For RHEL account subscriptions, this is the offline token.
" + }, + "SubscriptionProviderArn": { + "shape": "SubscriptionProviderArn", + "documentation": "The Amazon Resource Name (ARN) of the Linux subscription provider resource that you registered.
" + }, + "SubscriptionProviderSource": { + "shape": "SubscriptionProviderSource", + "documentation": "A supported third-party Linux subscription provider. License Manager currently supports Red Hat subscriptions.
" + }, + "SubscriptionProviderStatus": { + "shape": "SubscriptionProviderStatus", + "documentation": "Indicates the status of your registered Linux subscription provider access token from the last time License Manager retrieved subscription data. For RHEL account subscriptions, this is the status of the offline token.
" + }, + "SubscriptionProviderStatusMessage": { + "shape": "String", + "documentation": "A detailed message that's associated with your BYOL subscription provider token status.
" + } + }, + "documentation": "A third-party provider for operating system (OS) platform software and license subscriptions, such as Red Hat. When you register a third-party Linux subscription provider, License Manager can get subscription data from the registered provider.
" + }, + "RegisteredSubscriptionProviderList": { + "type": "list", + "member": { + "shape": "RegisteredSubscriptionProvider" + } + }, + "SecretArn": { + "type": "string", + "pattern": "^arn:[a-z0-9-\\.]{1,63}:secretsmanager:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:secret:[^/]{1,1023}$" + }, "Status": { "type": "string", "enum": [ @@ -417,6 +828,99 @@ "shape": "Subscription" } }, + "SubscriptionProviderArn": { + "type": "string", + "pattern": "^arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{1,510}/[a-z0-9-\\.]{1,510}$" + }, + "SubscriptionProviderSource": { + "type": "string", + "enum": [ + "RedHat" + ] + }, + "SubscriptionProviderSourceList": { + "type": "list", + "member": { + "shape": "SubscriptionProviderSource" + } + }, + "SubscriptionProviderStatus": { + "type": "string", + "enum": [ + "ACTIVE", + "INVALID", + "PENDING" + ] + }, + "TagKeyList": { + "type": "list", + "member": { + "shape": "String" + }, + "max": 50, + "min": 0, + "sensitive": true + }, + "TagResourceRequest": { + "type": "structure", + "required": [ + "resourceArn", + "tags" + ], + "members": { + "resourceArn": { + "shape": "SubscriptionProviderArn", + "documentation": "The Amazon Resource Name (ARN) of the Amazon Web Services resource to which to add the specified metadata tags.
", + "location": "uri", + "locationName": "resourceArn" + }, + "tags": { + "shape": "Tags", + "documentation": "The metadata tags to assign to the Amazon Web Services resource. Tags are formatted as key value pairs.
" + } + } + }, + "TagResourceResponse": { + "type": "structure", + "members": {} + }, + "Tags": { + "type": "map", + "key": { + "shape": "String" + }, + "value": { + "shape": "String" + }, + "max": 50, + "min": 0, + "sensitive": true + }, + "UntagResourceRequest": { + "type": "structure", + "required": [ + "resourceArn", + "tagKeys" + ], + "members": { + "resourceArn": { + "shape": "SubscriptionProviderArn", + "documentation": "The Amazon Resource Name (ARN) of the Amazon Web Services resource to remove the metadata tags from.
", + "location": "uri", + "locationName": "resourceArn" + }, + "tagKeys": { + "shape": "TagKeyList", + "documentation": "A list of metadata tag keys to remove from the requested resource.
", + "location": "querystring", + "locationName": "tagKeys" + } + } + }, + "UntagResourceResponse": { + "type": "structure", + "members": {} + }, "UpdateServiceSettingsRequest": { "type": "structure", "required": [ diff --git a/apis/license-manager-linux-subscriptions-2018-05-10.paginators.json b/apis/license-manager-linux-subscriptions-2018-05-10.paginators.json index 1dc8f4d827..6d74d22e33 100644 --- a/apis/license-manager-linux-subscriptions-2018-05-10.paginators.json +++ b/apis/license-manager-linux-subscriptions-2018-05-10.paginators.json @@ -11,6 +11,12 @@ "output_token": "NextToken", "limit_key": "MaxResults", "result_key": "Subscriptions" + }, + "ListRegisteredSubscriptionProviders": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "RegisteredSubscriptionProviders" } } } diff --git a/apis/mediaconnect-2018-11-14.min.json b/apis/mediaconnect-2018-11-14.min.json index 95ce2eb646..0ded3bae85 100644 --- a/apis/mediaconnect-2018-11-14.min.json +++ b/apis/mediaconnect-2018-11-14.min.json @@ -8,7 +8,10 @@ "protocol": "rest-json", "jsonVersion": "1.1", "uid": "mediaconnect-2018-11-14", - "signatureVersion": "v4" + "signatureVersion": "v4", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "AddBridgeOutputs": { @@ -145,7 +148,7 @@ "locationName": "flowArn" }, "Outputs": { - "shape": "S1k", + "shape": "S1l", "locationName": "outputs" } } @@ -164,7 +167,7 @@ "locationName": "flowArn" }, "Sources": { - "shape": "S1v", + "shape": "S1w", "locationName": "sources" } }, @@ -180,7 +183,7 @@ "locationName": "flowArn" }, "Sources": { - "shape": "S23", + "shape": "S24", "locationName": "sources" } } @@ -199,7 +202,7 @@ "locationName": "flowArn" }, "VpcInterfaces": { - "shape": "S2b", + "shape": "S2c", "locationName": "vpcInterfaces" } }, @@ -215,7 +218,7 @@ "locationName": "flowArn" }, "VpcInterfaces": { - "shape": "S2f", + "shape": "S2g", "locationName": "vpcInterfaces" } } @@ -271,7 +274,7 @@ "locationName": "placementArn" }, "SourceFailoverConfig": { - "shape": "S2k", + "shape": "S2l", "locationName": "sourceFailoverConfig" }, "Sources": { @@ -289,7 +292,7 @@ "type": "structure", "members": { "Bridge": { - "shape": "S2p", + "shape": "S2q", "locationName": "bridge" } } @@ -307,7 +310,7 @@ "locationName": "availabilityZone" }, "Entitlements": { - "shape": "S2w", + "shape": "S2x", "locationName": "entitlements" }, "MediaStreams": { @@ -322,19 +325,19 @@ "locationName": "outputs" }, "Source": { - "shape": "S1w", + "shape": "S1x", "locationName": "source" }, "SourceFailoverConfig": { - "shape": "S2k", + "shape": "S2l", "locationName": "sourceFailoverConfig" }, "Sources": { - "shape": "S1v", + "shape": "S1w", "locationName": "sources" }, "VpcInterfaces": { - "shape": "S2b", + "shape": "S2c", "locationName": "vpcInterfaces" }, "Maintenance": { @@ -362,7 +365,7 @@ "type": "structure", "members": { "Flow": { - "shape": "S32", + "shape": "S33", "locationName": "flow" } } @@ -384,7 +387,7 @@ "locationName": "name" }, "Networks": { - "shape": "S38", + "shape": "S39", "locationName": "networks" } }, @@ -398,7 +401,7 @@ "type": "structure", "members": { "Gateway": { - "shape": "S3b", + "shape": "S3c", "locationName": "gateway" } } @@ -545,7 +548,7 @@ "type": "structure", "members": { "Bridge": { - "shape": "S2p", + "shape": "S2q", "locationName": "bridge" } } @@ -573,7 +576,7 @@ "type": "structure", "members": { "Flow": { - "shape": "S32", + "shape": "S33", "locationName": "flow" }, "Messages": { @@ -617,7 +620,7 @@ "locationName": "flowArn" }, "Messages": { - "shape": "S2q", + "shape": "S2r", "locationName": "messages" }, "Timestamp": { @@ -745,7 +748,7 @@ "type": "structure", "members": { "Gateway": { - "shape": "S3b", + "shape": "S3c", "locationName": "gateway" } } @@ -792,7 +795,7 @@ "locationName": "instanceId" }, "InstanceMessages": { - "shape": "S2q", + "shape": "S2r", "locationName": "instanceMessages" }, "InstanceState": { @@ -838,7 +841,7 @@ "type": "structure", "members": { "Offering": { - "shape": "S4a", + "shape": "S4b", "locationName": "offering" } } @@ -866,7 +869,7 @@ "type": "structure", "members": { "Reservation": { - "shape": "S4h", + "shape": "S4i", "locationName": "reservation" } } @@ -881,7 +884,7 @@ "type": "structure", "members": { "Entitlements": { - "shape": "S2w", + "shape": "S2x", "locationName": "entitlements" }, "FlowArn": { @@ -898,7 +901,7 @@ "type": "structure", "members": { "Entitlements": { - "shape": "S33", + "shape": "S34", "locationName": "entitlements" }, "FlowArn": { @@ -1071,7 +1074,7 @@ "locationName": "status" }, "Maintenance": { - "shape": "S36", + "shape": "S37", "locationName": "maintenance" } }, @@ -1232,7 +1235,7 @@ "locationName": "offerings", "type": "list", "member": { - "shape": "S4a" + "shape": "S4b" } } } @@ -1268,7 +1271,7 @@ "locationName": "reservations", "type": "list", "member": { - "shape": "S4h" + "shape": "S4i" } } } @@ -1296,7 +1299,7 @@ "type": "structure", "members": { "Tags": { - "shape": "S5f", + "shape": "S5g", "locationName": "tags" } } @@ -1331,7 +1334,7 @@ "type": "structure", "members": { "Reservation": { - "shape": "S4h", + "shape": "S4i", "locationName": "reservation" } } @@ -1657,7 +1660,7 @@ "locationName": "resourceArn" }, "Tags": { - "shape": "S5f", + "shape": "S5g", "locationName": "tags" } }, @@ -1730,7 +1733,7 @@ } }, "SourceFailoverConfig": { - "shape": "S65", + "shape": "S66", "locationName": "sourceFailoverConfig" } }, @@ -1742,7 +1745,7 @@ "type": "structure", "members": { "Bridge": { - "shape": "S2p", + "shape": "S2q", "locationName": "bridge" } } @@ -1923,7 +1926,7 @@ "locationName": "flowArn" }, "SourceFailoverConfig": { - "shape": "S65", + "shape": "S66", "locationName": "sourceFailoverConfig" }, "Maintenance": { @@ -1950,7 +1953,7 @@ "type": "structure", "members": { "Flow": { - "shape": "S32", + "shape": "S33", "locationName": "flow" } } @@ -1969,7 +1972,7 @@ "locationName": "description" }, "Encryption": { - "shape": "S6l", + "shape": "S6m", "locationName": "encryption" }, "EntitlementArn": { @@ -1997,7 +2000,7 @@ "type": "structure", "members": { "Entitlement": { - "shape": "S34", + "shape": "S35", "locationName": "entitlement" }, "FlowArn": { @@ -2079,7 +2082,7 @@ "locationName": "destination" }, "Encryption": { - "shape": "S6l", + "shape": "S6m", "locationName": "encryption" }, "FlowArn": { @@ -2129,6 +2132,9 @@ "VpcInterfaceAttachment": { "shape": "Sh", "locationName": "vpcInterfaceAttachment" + }, + "OutputStatus": { + "locationName": "outputStatus" } }, "required": [ @@ -2143,7 +2149,7 @@ "locationName": "flowArn" }, "Output": { - "shape": "S1l", + "shape": "S1m", "locationName": "output" } } @@ -2159,7 +2165,7 @@ "type": "structure", "members": { "Decryption": { - "shape": "S6l", + "shape": "S6m", "locationName": "decryption" }, "Description": { @@ -2189,7 +2195,7 @@ "type": "integer" }, "MediaStreamSourceConfigurations": { - "shape": "S1x", + "shape": "S1y", "locationName": "mediaStreamSourceConfigurations" }, "MinLatency": { @@ -2252,7 +2258,7 @@ "locationName": "flowArn" }, "Source": { - "shape": "S24", + "shape": "S25", "locationName": "source" } } @@ -2738,6 +2744,9 @@ "VpcInterfaceAttachment": { "shape": "Sh", "locationName": "vpcInterfaceAttachment" + }, + "OutputStatus": { + "locationName": "outputStatus" } }, "required": [ @@ -2855,13 +2864,13 @@ "Name" ] }, - "S1k": { + "S1l": { "type": "list", "member": { - "shape": "S1l" + "shape": "S1m" } }, - "S1l": { + "S1m": { "type": "structure", "members": { "DataTransferSubscriberFeePercent": { @@ -2907,7 +2916,7 @@ "type": "integer" }, "Interface": { - "shape": "S1q", + "shape": "S1r", "locationName": "interface" }, "OutboundIp": { @@ -2963,7 +2972,7 @@ "type": "integer" }, "Transport": { - "shape": "S1s", + "shape": "S1t", "locationName": "transport" }, "VpcInterfaceAttachment": { @@ -2979,6 +2988,9 @@ "member": { "type": "integer" } + }, + "OutputStatus": { + "locationName": "outputStatus" } }, "required": [ @@ -2986,7 +2998,7 @@ "Name" ] }, - "S1q": { + "S1r": { "type": "structure", "members": { "Name": { @@ -2997,7 +3009,7 @@ "Name" ] }, - "S1s": { + "S1t": { "type": "structure", "members": { "CidrAllowList": { @@ -3052,13 +3064,13 @@ "Protocol" ] }, - "S1v": { + "S1w": { "type": "list", "member": { - "shape": "S1w" + "shape": "S1x" } }, - "S1w": { + "S1x": { "type": "structure", "members": { "Decryption": { @@ -3088,7 +3100,7 @@ "type": "integer" }, "MediaStreamSourceConfigurations": { - "shape": "S1x", + "shape": "S1y", "locationName": "mediaStreamSourceConfigurations" }, "MinLatency": { @@ -3142,7 +3154,7 @@ } } }, - "S1x": { + "S1y": { "type": "list", "member": { "type": "structure", @@ -3181,13 +3193,13 @@ ] } }, - "S23": { + "S24": { "type": "list", "member": { - "shape": "S24" + "shape": "S25" } }, - "S24": { + "S25": { "type": "structure", "members": { "DataTransferSubscriberFeePercent": { @@ -3234,7 +3246,7 @@ "type": "integer" }, "Interface": { - "shape": "S1q", + "shape": "S1r", "locationName": "interface" } }, @@ -3269,7 +3281,7 @@ "locationName": "sourceArn" }, "Transport": { - "shape": "S1s", + "shape": "S1t", "locationName": "transport" }, "VpcInterfaceName": { @@ -3300,7 +3312,7 @@ "SourceArn" ] }, - "S2b": { + "S2c": { "type": "list", "member": { "type": "structure", @@ -3330,7 +3342,7 @@ ] } }, - "S2f": { + "S2g": { "type": "list", "member": { "type": "structure", @@ -3366,7 +3378,7 @@ ] } }, - "S2k": { + "S2l": { "type": "structure", "members": { "FailoverMode": { @@ -3377,7 +3389,7 @@ "type": "integer" }, "SourcePriority": { - "shape": "S2m", + "shape": "S2n", "locationName": "sourcePriority" }, "State": { @@ -3385,7 +3397,7 @@ } } }, - "S2m": { + "S2n": { "type": "structure", "members": { "PrimarySource": { @@ -3393,14 +3405,14 @@ } } }, - "S2p": { + "S2q": { "type": "structure", "members": { "BridgeArn": { "locationName": "bridgeArn" }, "BridgeMessages": { - "shape": "S2q", + "shape": "S2r", "locationName": "bridgeMessages" }, "BridgeState": { @@ -3454,7 +3466,7 @@ "locationName": "placementArn" }, "SourceFailoverConfig": { - "shape": "S2k", + "shape": "S2l", "locationName": "sourceFailoverConfig" }, "Sources": { @@ -3469,7 +3481,7 @@ "Name" ] }, - "S2q": { + "S2r": { "type": "list", "member": { "type": "structure", @@ -3490,7 +3502,7 @@ ] } }, - "S2w": { + "S2x": { "type": "list", "member": { "type": "structure", @@ -3522,7 +3534,7 @@ ] } }, - "S32": { + "S33": { "type": "structure", "members": { "AvailabilityZone": { @@ -3535,7 +3547,7 @@ "locationName": "egressIp" }, "Entitlements": { - "shape": "S33", + "shape": "S34", "locationName": "entitlements" }, "FlowArn": { @@ -3549,30 +3561,30 @@ "locationName": "name" }, "Outputs": { - "shape": "S1k", + "shape": "S1l", "locationName": "outputs" }, "Source": { - "shape": "S24", + "shape": "S25", "locationName": "source" }, "SourceFailoverConfig": { - "shape": "S2k", + "shape": "S2l", "locationName": "sourceFailoverConfig" }, "Sources": { - "shape": "S23", + "shape": "S24", "locationName": "sources" }, "Status": { "locationName": "status" }, "VpcInterfaces": { - "shape": "S2f", + "shape": "S2g", "locationName": "vpcInterfaces" }, "Maintenance": { - "shape": "S36", + "shape": "S37", "locationName": "maintenance" } }, @@ -3586,13 +3598,13 @@ "FlowArn" ] }, - "S33": { + "S34": { "type": "list", "member": { - "shape": "S34" + "shape": "S35" } }, - "S34": { + "S35": { "type": "structure", "members": { "DataTransferSubscriberFeePercent": { @@ -3626,7 +3638,7 @@ "Name" ] }, - "S36": { + "S37": { "type": "structure", "members": { "MaintenanceDay": { @@ -3643,7 +3655,7 @@ } } }, - "S38": { + "S39": { "type": "list", "member": { "type": "structure", @@ -3661,7 +3673,7 @@ ] } }, - "S3b": { + "S3c": { "type": "structure", "members": { "EgressCidrBlocks": { @@ -3672,7 +3684,7 @@ "locationName": "gatewayArn" }, "GatewayMessages": { - "shape": "S2q", + "shape": "S2r", "locationName": "gatewayMessages" }, "GatewayState": { @@ -3682,7 +3694,7 @@ "locationName": "name" }, "Networks": { - "shape": "S38", + "shape": "S39", "locationName": "networks" } }, @@ -3693,7 +3705,7 @@ "Name" ] }, - "S4a": { + "S4b": { "type": "structure", "members": { "CurrencyCode": { @@ -3719,7 +3731,7 @@ "locationName": "priceUnits" }, "ResourceSpecification": { - "shape": "S4d", + "shape": "S4e", "locationName": "resourceSpecification" } }, @@ -3734,7 +3746,7 @@ "PriceUnits" ] }, - "S4d": { + "S4e": { "type": "structure", "members": { "ReservedBitrate": { @@ -3749,7 +3761,7 @@ "ResourceType" ] }, - "S4h": { + "S4i": { "type": "structure", "members": { "CurrencyCode": { @@ -3787,7 +3799,7 @@ "locationName": "reservationState" }, "ResourceSpecification": { - "shape": "S4d", + "shape": "S4e", "locationName": "resourceSpecification" }, "Start": { @@ -3810,12 +3822,12 @@ "PriceUnits" ] }, - "S5f": { + "S5g": { "type": "map", "key": {}, "value": {} }, - "S65": { + "S66": { "type": "structure", "members": { "FailoverMode": { @@ -3826,7 +3838,7 @@ "type": "integer" }, "SourcePriority": { - "shape": "S2m", + "shape": "S2n", "locationName": "sourcePriority" }, "State": { @@ -3834,7 +3846,7 @@ } } }, - "S6l": { + "S6m": { "type": "structure", "members": { "Algorithm": { diff --git a/apis/mediaconnect-2018-11-14.normal.json b/apis/mediaconnect-2018-11-14.normal.json index e8e87d7e63..49675dcad0 100644 --- a/apis/mediaconnect-2018-11-14.normal.json +++ b/apis/mediaconnect-2018-11-14.normal.json @@ -8,7 +8,10 @@ "protocol": "rest-json", "jsonVersion": "1.1", "uid": "mediaconnect-2018-11-14", - "signatureVersion": "v4" + "signatureVersion": "v4", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "AddBridgeOutputs": { @@ -2664,6 +2667,11 @@ "shape": "VpcInterfaceAttachment", "locationName": "vpcInterfaceAttachment", "documentation": "The name of the VPC interface attachment to use for this output." + }, + "OutputStatus": { + "shape": "OutputStatus", + "locationName": "outputStatus", + "documentation": "An indication of whether the new output should be enabled or disabled as soon as it is created. If you don't specify the outputStatus field in your request, MediaConnect sets it to ENABLED." } }, "documentation": "The output that you want to add to this flow.", @@ -5057,6 +5065,11 @@ "shape": "__listOf__integer", "locationName": "bridgePorts", "documentation": "The bridge output ports currently in use." + }, + "OutputStatus": { + "shape": "OutputStatus", + "locationName": "outputStatus", + "documentation": "An indication of whether the output is transmitting data or not." } }, "documentation": "The settings for an output.", @@ -5065,6 +5078,13 @@ "Name" ] }, + "OutputStatus": { + "type": "string", + "enum": [ + "ENABLED", + "DISABLED" + ] + }, "PriceUnits": { "type": "string", "enum": [ @@ -6589,6 +6609,11 @@ "shape": "VpcInterfaceAttachment", "locationName": "vpcInterfaceAttachment", "documentation": "The name of the VPC interface attachment to use for this output." + }, + "OutputStatus": { + "shape": "OutputStatus", + "locationName": "outputStatus", + "documentation": "An indication of whether the output should transmit data or not. If you don't specify the outputStatus field in your request, MediaConnect leaves the value unchanged." } }, "documentation": "The fields that you want to update in the output.", diff --git a/clients/batch.d.ts b/clients/batch.d.ts index 31abf43866..109ecb4c7e 100644 --- a/clients/batch.d.ts +++ b/clients/batch.d.ts @@ -1256,6 +1256,10 @@ declare namespace Batch { * The details for the init containers. */ initContainers?: EksAttemptContainerDetails; + /** + * The Amazon Resource Name (ARN) of the Amazon EKS cluster. + */ + eksClusterArn?: String; /** * The name of the pod for this job attempt. */ @@ -2316,6 +2320,10 @@ declare namespace Batch { * An object that contains the instance types that you want to replace for the existing resources of a job. */ instanceTypes?: StringList; + /** + * An object that contains the properties that you want to replace for the existing Amazon EKS resources of a job. + */ + eksPropertiesOverride?: EksPropertiesOverride; } export type NodePropertyOverrides = NodePropertyOverride[]; export type NodeRangeProperties = NodeRangeProperty[]; @@ -2336,6 +2344,10 @@ declare namespace Batch { * This is an object that represents the properties of the node range for a multi-node parallel job. */ ecsProperties?: EcsProperties; + /** + * This is an object that represents the properties of the node range for a multi-node parallel job. + */ + eksProperties?: EksProperties; } export type OrchestrationType = "ECS"|"EKS"|string; export type ParametersMap = {[key: string]: String}; diff --git a/clients/bedrock.d.ts b/clients/bedrock.d.ts index 9ad11b0083..3319cce2c8 100644 --- a/clients/bedrock.d.ts +++ b/clients/bedrock.d.ts @@ -20,11 +20,11 @@ declare class Bedrock extends Service { */ createEvaluationJob(callback?: (err: AWSError, data: Bedrock.Types.CreateEvaluationJobResponse) => void): Request>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:s-1,y=a?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,i),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&n,d+=y,n/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],443:[function(e,t,r){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}],444:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var s=0;s G((f-r)/g)&&i("overflow"),r+=(p-t)*g,t=p,u=0;u =0?(c=b.substr(0,S),l=b.substr(S+1)):(c=b,l=""),d=decodeURIComponent(c),y=decodeURIComponent(l),a(o,d)?i(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],448:[function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a=55296&&t<=56319&&i65535&&(e-=65536,t+=w(e>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var a=0;for(e=r?G(e/R):e>>1,e+=G(e/t);e>L*k>>1;a+=T)e=G(e/L);return G(a+(L+1)*e/(e+A))}function l(e){var t,r,a,s,o,n,m,l,d,y,b=[],S=e.length,g=0,h=v,I=D;for(r=e.lastIndexOf(x),r<0&&(r=0),a=0;a=S&&i("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-g)/n))&&i("overflow"),g+=l*n,d=m<=I?C:m>=I+k?k:m-I,!(l=t&&bf&&i("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l=0&&delete e.httpRequest.headers["Content-Length"]}function i(e){var t=new d,r=e.service.api.operations[e.operation].input;if(r.payload){var a={},i=r.members[r.payload];a=e.params[r.payload],"structure"===i.type?(e.httpRequest.body=t.build(a||{},i),s(e)):void 0!==a&&(e.httpRequest.body=a,("binary"===i.type||i.isStreaming)&&s(e,!0))}else e.httpRequest.body=t.build(e.params,r),s(e)}function s(e,t){if(!e.httpRequest.headers["Content-Type"]){var r=t?"binary/octet-stream":"application/json";e.httpRequest.headers["Content-Type"]=r}}function o(e){c.buildRequest(e),b.indexOf(e.httpRequest.method)<0&&i(e)}function n(e){l.extractError(e)}function u(e){c.extractData(e);var t,r=e.request,a=r.service.api.operations[r.operation],i=r.service.api.operations[r.operation].output||{};a.hasEventOutput;if(i.payload){var s=i.members[i.payload],o=e.httpResponse.body;if(s.isEventStream)t=new y,e.data[i.payload]=m.createEventStream(2===p.HttpClient.streamsApiVersion?e.httpResponse.stream:o,t,s);else if("structure"===s.type||"list"===s.type){var t=new y;e.data[i.payload]=t.parse(o,s)}else"binary"===s.type||s.isStreaming?e.data[i.payload]=o:e.data[i.payload]=s.toType(o)}else{var n=e.data;l.extractData(e),e.data=m.merge(n,e.data)}}var p=e("../core"),m=e("../util"),c=e("./rest"),l=e("./json"),d=e("../json/builder"),y=e("../json/parser"),b=["GET","HEAD","DELETE"];t.exports={buildRequest:o,extractError:n,extractData:u,unsetContentLength:a}},{"../core":350,"../json/builder":374,"../json/parser":375,"../util":428,"./json":386,"./rest":388}],390:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation].input,r=new n.XML.Builder,a=e.params,i=t.payload;if(i){var s=t.members[i];if(void 0===(a=a[i]))return;if("structure"===s.type){var o=s.name;e.httpRequest.body=r.toXML(a,s,o,!0)}else e.httpRequest.body=a}else e.httpRequest.body=r.toXML(a,t,t.name||t.shape||u.string.upperFirst(e.operation)+"Request")}function i(e){p.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&a(e)}function s(e){p.extractError(e);var t;try{t=(new n.XML.Parser).parse(e.httpResponse.body.toString())}catch(r){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=u.error(new Error,{code:t.Code,message:t.Message}):e.error=u.error(new Error,{code:e.httpResponse.statusCode,message:null})}function o(e){p.extractData(e);var t,r=e.request,a=e.httpResponse.body,i=r.service.api.operations[r.operation],s=i.output,o=(i.hasEventOutput,s.payload);if(o){var m=s.members[o];m.isEventStream?(t=new n.XML.Parser,e.data[o]=u.createEventStream(2===n.HttpClient.streamsApiVersion?e.httpResponse.stream:e.httpResponse.body,t,m)):"structure"===m.type?(t=new n.XML.Parser,e.data[o]=t.parse(a.toString(),m)):"binary"===m.type||m.isStreaming?e.data[o]=a:e.data[o]=m.toType(a)}else if(a.length>0){t=new n.XML.Parser;var c=t.parse(a.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:i,extractError:s,extractData:o}},{"../core":350,"../util":428,"./rest":388}],391:[function(e,t,r){function a(){}function i(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,a){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=i(s);n=e?e+"."+n:n,u(n,o,s,a)}})}function o(e,t,r,a){var i=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+i+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,a),u(e+m,s,r.value,a)})}function n(e,t,r,a){var s=r.member||{};if(0===t.length)return void("ec2"!==r.api.protocol&&a.call(this,e,null));p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(i(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,a)})}function u(e,t,r,a){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,a):"list"===r.type?n(e,t,r,a):"map"===r.type?o(e,t,r,a):a(e,r.toWireFormat(t).toString()))}var p=e("../util");a.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=a},{"../util":428}],392:[function(e,t,r){var a=e("../core"),i=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};a.RDS.Signer=a.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=a.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new a.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),i=new a.Service(u),i.api=s;var p=i.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,a){a&&(a=r.convertUrlToAuthToken(a)),t(e,a)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=a.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||a.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":350}],393:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],394:[function(e,t,r){function a(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function i(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)}function s(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}t.exports={isFipsRegion:a,isGlobalRegion:i,getRealRegion:s}},{}],395:[function(e,t,r){function a(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function i(e){var t=e.config.region,r=a(t),i=e.api.endpointPrefix;return[[t,i],[r,i],[t,"*"],[r,"*"],["*",i],[t,"internal-*"],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=i(e),r=e.config.useFipsEndpoint,a=e.config.useDualstackEndpoint,o=0;o=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),s.alloc(+e)}function S(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(a)return K(e).length;t=(""+t).toLowerCase(),a=!0}}function g(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return P(this,t,r);case"latin1":case"binary":return q(this,t,r);case"base64":return D(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function h(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function I(e,t,r,a,i){if(0===e.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=s.from(t,a)),s.isBuffer(t))return 0===t.length?-1:N(e,t,r,a,i);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):N(e,[t],r,a,i);throw new TypeError("val must be string, number or Buffer")}function N(e,t,r,a,i){function s(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,n=e.length,u=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;o=2,n/=2,u/=2,r/=2}var p;if(i){var m=-1;for(p=r;p>>8*(a?i:1-i)}function B(e,t,r,a){t<0&&(t=4294967295+t+1);for(var i=0,s=Math.min(e.length-r,4);i>>8*(a?i:3-i)&255}function U(e,t,r,a,i,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _(e,t,r,a,i){return i||U(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,t,r,a,23,4),r+4}function F(e,t,r,a,i){return i||U(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,t,r,a,52,8),r+8}function O(e){if(e=V(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){t=t||1/0;for(var r,a=e.length,i=null,s=[],o=0;o55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===a){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function j(e){for(var t=[],r=0;r