diff --git a/CHANGELOG.md b/CHANGELOG.md index b8f4108d61a..888f5826067 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +Release v1.50.35 (2024-03-08) +=== + +### Service Client Updates +* `service/batch`: Updates service API and documentation + * This release adds JobStateTimeLimitActions setting to the Job Queue API. It allows you to configure an action Batch can take for a blocking job in front of the queue after the defined period of time. The new parameter applies for ECS, EKS, and FARGATE Job Queues. +* `service/bedrock-agent-runtime`: Updates service API and documentation +* `service/cloudtrail`: Updates service API and documentation + * Added exceptions to CreateTrail, DescribeTrails, and ListImportFailures APIs. +* `service/codebuild`: Updates service documentation + * This release adds support for a new webhook event: PULL_REQUEST_CLOSED. +* `service/cognito-idp`: Updates service API and documentation +* `service/guardduty`: Updates service API and documentation + * Add RDS Provisioned and Serverless Usage types +* `service/transfer`: Updates service API and documentation + * Added DES_EDE3_CBC to the list of supported encryption algorithms for messages sent with an AS2 connector. + Release v1.50.34 (2024-03-07) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 25055d6b818..ad0d14b868f 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -14989,6 +14989,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -18286,6 +18289,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -25487,6 +25493,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -36200,6 +36209,16 @@ var awscnPartition = partition{ }, }, }, + "network-firewall": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "cn-north-1", + }: endpoint{}, + endpointKey{ + Region: "cn-northwest-1", + }: endpoint{}, + }, + }, "oam": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -43780,6 +43799,9 @@ var awsisoPartition = partition{ endpointKey{ Region: "us-iso-east-1", }: endpoint{}, + endpointKey{ + Region: "us-iso-west-1", + }: endpoint{}, }, }, "athena": service{ diff --git a/aws/version.go b/aws/version.go index f2ab1cd7431..e3c577e1f3b 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.50.34" +const SDKVersion = "1.50.35" diff --git a/models/apis/batch/2016-08-10/api-2.json b/models/apis/batch/2016-08-10/api-2.json index 9cd5bbb736c..49e572cf0e1 100644 --- a/models/apis/batch/2016-08-10/api-2.json +++ b/models/apis/batch/2016-08-10/api-2.json @@ -695,7 +695,8 @@ "schedulingPolicyArn":{"shape":"String"}, "priority":{"shape":"Integer"}, "computeEnvironmentOrder":{"shape":"ComputeEnvironmentOrders"}, - "tags":{"shape":"TagrisTagsMap"} + "tags":{"shape":"TagrisTagsMap"}, + "jobStateTimeLimitActions":{"shape":"JobStateTimeLimitActions"} } }, "CreateJobQueueResponse":{ @@ -1409,13 +1410,41 @@ "statusReason":{"shape":"String"}, "priority":{"shape":"Integer"}, "computeEnvironmentOrder":{"shape":"ComputeEnvironmentOrders"}, - "tags":{"shape":"TagrisTagsMap"} + "tags":{"shape":"TagrisTagsMap"}, + "jobStateTimeLimitActions":{"shape":"JobStateTimeLimitActions"} } }, "JobQueueDetailList":{ "type":"list", "member":{"shape":"JobQueueDetail"} }, + "JobStateTimeLimitAction":{ + "type":"structure", + "required":[ + "reason", + "state", + "maxTimeSeconds", + "action" + ], + "members":{ + "reason":{"shape":"String"}, + "state":{"shape":"JobStateTimeLimitActionsState"}, + "maxTimeSeconds":{"shape":"Integer"}, + "action":{"shape":"JobStateTimeLimitActionsAction"} + } + }, + "JobStateTimeLimitActions":{ + "type":"list", + "member":{"shape":"JobStateTimeLimitAction"} + }, + "JobStateTimeLimitActionsAction":{ + "type":"string", + "enum":["CANCEL"] + }, + "JobStateTimeLimitActionsState":{ + "type":"string", + "enum":["RUNNABLE"] + }, "JobStatus":{ "type":"string", "enum":[ @@ -2137,7 +2166,8 @@ "state":{"shape":"JQState"}, "schedulingPolicyArn":{"shape":"String"}, "priority":{"shape":"Integer"}, - "computeEnvironmentOrder":{"shape":"ComputeEnvironmentOrders"} + "computeEnvironmentOrder":{"shape":"ComputeEnvironmentOrders"}, + "jobStateTimeLimitActions":{"shape":"JobStateTimeLimitActions"} } }, "UpdateJobQueueResponse":{ diff --git a/models/apis/batch/2016-08-10/docs-2.json b/models/apis/batch/2016-08-10/docs-2.json index d3c0c2cb541..ef6b2d03fd0 100644 --- a/models/apis/batch/2016-08-10/docs-2.json +++ b/models/apis/batch/2016-08-10/docs-2.json @@ -109,10 +109,10 @@ "NodePropertiesSummary$isMainNode": "

Specifies whether the current node is the main node for a multi-node parallel job.

", "RegisterJobDefinitionRequest$propagateTags": "

Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags are not propagated. Tags can only be propagated to the tasks during task creation. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the FAILED state.

If the job runs on Amazon EKS resources, then you must not specify propagateTags.

", "SubmitJobRequest$propagateTags": "

Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks during task creation. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the FAILED state. When specified, this overrides the tag propagation setting in the job definition.

", - "TaskContainerDetails$essential": "

If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.

All tasks must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon Elastic Container Service Developer Guide.

", + "TaskContainerDetails$essential": "

If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.

All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon Elastic Container Service Developer Guide.

", "TaskContainerDetails$privileged": "

When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run.

This parameter is not supported for Windows containers or tasks run on Fargate.

", "TaskContainerDetails$readonlyRootFilesystem": "

When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run.

This parameter is not supported for Windows containers.

", - "TaskContainerProperties$essential": "

If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.

All tasks must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon Elastic Container Service Developer Guide.

", + "TaskContainerProperties$essential": "

If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.

All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon Elastic Container Service Developer Guide.

", "TaskContainerProperties$privileged": "

When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user). This parameter maps to Privileged in the Create a container section of the Docker Remote API and the --privileged option to docker run.

This parameter is not supported for Windows containers or tasks run on Fargate.

", "TaskContainerProperties$readonlyRootFilesystem": "

When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and the --read-only option to docker run.

This parameter is not supported for Windows containers.

", "UpdatePolicy$terminateJobsOnUpdate": "

Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated. The default value is false.

" @@ -774,6 +774,7 @@ "JobDefinition$schedulingPriority": "

The scheduling priority of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority.

", "JobDetail$schedulingPriority": "

The scheduling policy of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority.

", "JobQueueDetail$priority": "

The priority of the job queue. Job queues with a higher priority (or a higher integer value for the priority parameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority value of 10 is given scheduling preference over a job queue with a priority value of 1. All of the compute environments must be either Amazon EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT). Amazon EC2 and Fargate compute environments can't be mixed.

", + "JobStateTimeLimitAction$maxTimeSeconds": "

The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. The minimum value is 600 (10 minutes) and the maximum value is 86,400 (24 hours).

", "JobTimeout$attemptDurationSeconds": "

The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp. After this time passes, Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.

For array jobs, the timeout applies to the child jobs, not to the parent array job.

For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.

", "LinuxParameters$sharedMemorySize": "

The value for the size (in MiB) of the /dev/shm volume. This parameter maps to the --shm-size option to docker run.

This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.

", "LinuxParameters$maxSwap": "

The total amount of swap memory (in MiB) a container can use. This parameter is translated to the --memory-swap option to docker run where the value is the sum of the container memory plus the maxSwap value. For more information, see --memory-swap details in the Docker documentation.

If a maxSwap value of 0 is specified, the container doesn't use swap. Accepted values are 0 or any positive integer. If the maxSwap parameter is omitted, the container doesn't use the swap configuration for the container instance that it's running on. A maxSwap value must be set for the swappiness parameter to be used.

This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs.

", @@ -873,6 +874,32 @@ "DescribeJobQueuesResponse$jobQueues": "

The list of job queues.

" } }, + "JobStateTimeLimitAction": { + "base": "

Specifies an action that Batch will take after the job has remained at the head of the queue in the specified state for longer than the specified time.

", + "refs": { + "JobStateTimeLimitActions$member": null + } + }, + "JobStateTimeLimitActions": { + "base": null, + "refs": { + "CreateJobQueueRequest$jobStateTimeLimitActions": "

The set of actions that Batch performs on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after maxTimeSeconds has passed.

", + "JobQueueDetail$jobStateTimeLimitActions": "

The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after maxTimeSeconds has passed.

", + "UpdateJobQueueRequest$jobStateTimeLimitActions": "

The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after maxTimeSeconds has passed.

" + } + }, + "JobStateTimeLimitActionsAction": { + "base": null, + "refs": { + "JobStateTimeLimitAction$action": "

The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value is \"CANCEL\", which will cancel the job.

" + } + }, + "JobStateTimeLimitActionsState": { + "base": null, + "refs": { + "JobStateTimeLimitAction$state": "

The state of the job needed to trigger the action. The only supported value is \"RUNNABLE\".

" + } + }, "JobStatus": { "base": null, "refs": { @@ -1427,12 +1454,13 @@ "JobDetail$jobId": "

The job ID.

", "JobDetail$jobQueue": "

The Amazon Resource Name (ARN) of the job queue that the job is associated with.

", "JobDetail$shareIdentifier": "

The share identifier for the job.

", - "JobDetail$statusReason": "

A short, human-readable string to provide more details for the current status of the job.

", + "JobDetail$statusReason": "

A short, human-readable string to provide more details for the current status of the job.

", "JobDetail$jobDefinition": "

The Amazon Resource Name (ARN) of the job definition that this job uses.

", "JobQueueDetail$jobQueueName": "

The job queue name.

", "JobQueueDetail$jobQueueArn": "

The Amazon Resource Name (ARN) of the job queue.

", "JobQueueDetail$schedulingPolicyArn": "

The Amazon Resource Name (ARN) of the scheduling policy. The format is aws:Partition:batch:Region:Account:scheduling-policy/Name . For example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.

", "JobQueueDetail$statusReason": "

A short, human-readable string to provide additional details for the current status of the job queue.

", + "JobStateTimeLimitAction$reason": "

The reason to log for the action being taken.

", "JobSummary$jobArn": "

The Amazon Resource Name (ARN) of the job.

", "JobSummary$jobId": "

The job ID.

", "JobSummary$jobName": "

The job name.

", diff --git a/models/apis/bedrock-agent-runtime/2023-07-26/api-2.json b/models/apis/bedrock-agent-runtime/2023-07-26/api-2.json index 4c74ef7046d..83b6ee2cc86 100644 --- a/models/apis/bedrock-agent-runtime/2023-07-26/api-2.json +++ b/models/apis/bedrock-agent-runtime/2023-07-26/api-2.json @@ -92,10 +92,10 @@ "type":"structure", "members":{ "actionGroupName":{"shape":"ActionGroupName"}, - "verb":{"shape":"Verb"}, "apiPath":{"shape":"ApiPath"}, "parameters":{"shape":"Parameters"}, - "requestBody":{"shape":"RequestBody"} + "requestBody":{"shape":"RequestBody"}, + "verb":{"shape":"Verb"} } }, "ActionGroupInvocationOutput":{ @@ -116,13 +116,13 @@ "type":"string", "max":10, "min":0, - "pattern":"[0-9a-zA-Z]+" + "pattern":"^[0-9a-zA-Z]+$" }, "AgentId":{ "type":"string", "max":10, "min":0, - "pattern":"[0-9a-zA-Z]+" + "pattern":"^[0-9a-zA-Z]+$" }, "ApiPath":{ "type":"string", @@ -148,7 +148,7 @@ "type":"string", "max":1011, "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}))" + "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}))$" }, "Boolean":{ "type":"boolean", @@ -211,8 +211,8 @@ "FailureTrace":{ "type":"structure", "members":{ - "traceId":{"shape":"TraceId"}, - "failureReason":{"shape":"FailureReasonString"} + "failureReason":{"shape":"FailureReasonString"}, + "traceId":{"shape":"TraceId"} }, "sensitive":true }, @@ -235,11 +235,11 @@ "InferenceConfiguration":{ "type":"structure", "members":{ + "maximumLength":{"shape":"MaximumLength"}, + "stopSequences":{"shape":"StopSequences"}, "temperature":{"shape":"Temperature"}, - "topP":{"shape":"TopP"}, "topK":{"shape":"TopK"}, - "maximumLength":{"shape":"MaximumLength"}, - "stopSequences":{"shape":"StopSequences"} + "topP":{"shape":"TopP"} } }, "InputText":{ @@ -260,10 +260,10 @@ "InvocationInput":{ "type":"structure", "members":{ - "traceId":{"shape":"TraceId"}, - "invocationType":{"shape":"InvocationType"}, "actionGroupInvocationInput":{"shape":"ActionGroupInvocationInput"}, - "knowledgeBaseLookupInput":{"shape":"KnowledgeBaseLookupInput"} + "invocationType":{"shape":"InvocationType"}, + "knowledgeBaseLookupInput":{"shape":"KnowledgeBaseLookupInput"}, + "traceId":{"shape":"TraceId"} }, "sensitive":true }, @@ -278,31 +278,31 @@ "InvokeAgentRequest":{ "type":"structure", "required":[ - "agentId", "agentAliasId", - "sessionId", - "inputText" + "agentId", + "inputText", + "sessionId" ], "members":{ - "sessionState":{"shape":"SessionState"}, - "agentId":{ - "shape":"AgentId", - "location":"uri", - "locationName":"agentId" - }, "agentAliasId":{ "shape":"AgentAliasId", "location":"uri", "locationName":"agentAliasId" }, + "agentId":{ + "shape":"AgentId", + "location":"uri", + "locationName":"agentId" + }, + "enableTrace":{"shape":"Boolean"}, + "endSession":{"shape":"Boolean"}, + "inputText":{"shape":"InputText"}, "sessionId":{ "shape":"SessionId", "location":"uri", "locationName":"sessionId" }, - "endSession":{"shape":"Boolean"}, - "enableTrace":{"shape":"Boolean"}, - "inputText":{"shape":"InputText"} + "sessionState":{"shape":"SessionState"} } }, "InvokeAgentResponse":{ @@ -331,19 +331,19 @@ "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}" + "pattern":"^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$" }, "KnowledgeBaseId":{ "type":"string", "max":10, "min":0, - "pattern":"[0-9a-zA-Z]+" + "pattern":"^[0-9a-zA-Z]+$" }, "KnowledgeBaseLookupInput":{ "type":"structure", "members":{ - "text":{"shape":"KnowledgeBaseLookupInputString"}, - "knowledgeBaseId":{"shape":"TraceKnowledgeBaseId"} + "knowledgeBaseId":{"shape":"TraceKnowledgeBaseId"}, + "text":{"shape":"KnowledgeBaseLookupInputString"} } }, "KnowledgeBaseLookupInputString":{ @@ -429,13 +429,13 @@ "ModelInvocationInput":{ "type":"structure", "members":{ - "traceId":{"shape":"TraceId"}, - "text":{"shape":"PromptText"}, - "type":{"shape":"PromptType"}, "inferenceConfiguration":{"shape":"InferenceConfiguration"}, "overrideLambda":{"shape":"LambdaArn"}, + "parserMode":{"shape":"CreationMode"}, "promptCreationMode":{"shape":"CreationMode"}, - "parserMode":{"shape":"CreationMode"} + "text":{"shape":"PromptText"}, + "traceId":{"shape":"TraceId"}, + "type":{"shape":"PromptType"} }, "sensitive":true }, @@ -443,31 +443,31 @@ "type":"string", "max":2048, "min":1, - "pattern":"\\S*" + "pattern":"^\\S*$" }, "NonBlankString":{ "type":"string", - "pattern":"[\\s\\S]*" + "pattern":"^[\\s\\S]*$" }, "Observation":{ "type":"structure", "members":{ - "traceId":{"shape":"TraceId"}, - "type":{"shape":"Type"}, "actionGroupInvocationOutput":{"shape":"ActionGroupInvocationOutput"}, - "knowledgeBaseLookupOutput":{"shape":"KnowledgeBaseLookupOutput"}, "finalResponse":{"shape":"FinalResponse"}, - "repromptResponse":{"shape":"RepromptResponse"} + "knowledgeBaseLookupOutput":{"shape":"KnowledgeBaseLookupOutput"}, + "repromptResponse":{"shape":"RepromptResponse"}, + "traceId":{"shape":"TraceId"}, + "type":{"shape":"Type"} }, "sensitive":true }, "OrchestrationTrace":{ "type":"structure", "members":{ - "rationale":{"shape":"Rationale"}, "invocationInput":{"shape":"InvocationInput"}, + "modelInvocationInput":{"shape":"ModelInvocationInput"}, "observation":{"shape":"Observation"}, - "modelInvocationInput":{"shape":"ModelInvocationInput"} + "rationale":{"shape":"Rationale"} }, "sensitive":true, "union":true @@ -497,8 +497,8 @@ "PayloadPart":{ "type":"structure", "members":{ - "bytes":{"shape":"PartBody"}, - "attribution":{"shape":"Attribution"} + "attribution":{"shape":"Attribution"}, + "bytes":{"shape":"PartBody"} }, "event":true, "sensitive":true @@ -506,8 +506,8 @@ "PostProcessingModelInvocationOutput":{ "type":"structure", "members":{ - "traceId":{"shape":"TraceId"}, - "parsedResponse":{"shape":"PostProcessingParsedResponse"} + "parsedResponse":{"shape":"PostProcessingParsedResponse"}, + "traceId":{"shape":"TraceId"} }, "sensitive":true }, @@ -530,16 +530,16 @@ "PreProcessingModelInvocationOutput":{ "type":"structure", "members":{ - "traceId":{"shape":"TraceId"}, - "parsedResponse":{"shape":"PreProcessingParsedResponse"} + "parsedResponse":{"shape":"PreProcessingParsedResponse"}, + "traceId":{"shape":"TraceId"} }, "sensitive":true }, "PreProcessingParsedResponse":{ "type":"structure", "members":{ - "rationale":{"shape":"RationaleString"}, - "isValid":{"shape":"Boolean"} + "isValid":{"shape":"Boolean"}, + "rationale":{"shape":"RationaleString"} }, "sensitive":true }, @@ -573,8 +573,8 @@ "Rationale":{ "type":"structure", "members":{ - "traceId":{"shape":"TraceId"}, - "text":{"shape":"RationaleString"} + "text":{"shape":"RationaleString"}, + "traceId":{"shape":"TraceId"} }, "sensitive":true }, @@ -585,8 +585,8 @@ "RepromptResponse":{ "type":"structure", "members":{ - "text":{"shape":"String"}, - "source":{"shape":"Source"} + "source":{"shape":"Source"}, + "text":{"shape":"String"} }, "sensitive":true }, @@ -610,17 +610,17 @@ "ResponseStream":{ "type":"structure", "members":{ + "accessDeniedException":{"shape":"AccessDeniedException"}, + "badGatewayException":{"shape":"BadGatewayException"}, "chunk":{"shape":"PayloadPart"}, - "trace":{"shape":"TracePart"}, + "conflictException":{"shape":"ConflictException"}, + "dependencyFailedException":{"shape":"DependencyFailedException"}, "internalServerException":{"shape":"InternalServerException"}, - "validationException":{"shape":"ValidationException"}, "resourceNotFoundException":{"shape":"ResourceNotFoundException"}, "serviceQuotaExceededException":{"shape":"ServiceQuotaExceededException"}, "throttlingException":{"shape":"ThrottlingException"}, - "accessDeniedException":{"shape":"AccessDeniedException"}, - "conflictException":{"shape":"ConflictException"}, - "dependencyFailedException":{"shape":"DependencyFailedException"}, - "badGatewayException":{"shape":"BadGatewayException"} + "trace":{"shape":"TracePart"}, + "validationException":{"shape":"ValidationException"} }, "eventstream":true }, @@ -636,8 +636,8 @@ "type":"structure", "required":["type"], "members":{ - "type":{"shape":"RetrievalResultLocationType"}, - "s3Location":{"shape":"RetrievalResultS3Location"} + "s3Location":{"shape":"RetrievalResultS3Location"}, + "type":{"shape":"RetrievalResultLocationType"} }, "sensitive":true }, @@ -655,8 +655,8 @@ "type":"structure", "required":["type"], "members":{ - "type":{"shape":"RetrieveAndGenerateType"}, - "knowledgeBaseConfiguration":{"shape":"KnowledgeBaseRetrieveAndGenerateConfiguration"} + "knowledgeBaseConfiguration":{"shape":"KnowledgeBaseRetrieveAndGenerateConfiguration"}, + "type":{"shape":"RetrieveAndGenerateType"} } }, "RetrieveAndGenerateInput":{ @@ -684,22 +684,22 @@ "type":"structure", "required":["input"], "members":{ - "sessionId":{"shape":"SessionId"}, "input":{"shape":"RetrieveAndGenerateInput"}, "retrieveAndGenerateConfiguration":{"shape":"RetrieveAndGenerateConfiguration"}, - "sessionConfiguration":{"shape":"RetrieveAndGenerateSessionConfiguration"} + "sessionConfiguration":{"shape":"RetrieveAndGenerateSessionConfiguration"}, + "sessionId":{"shape":"SessionId"} } }, "RetrieveAndGenerateResponse":{ "type":"structure", "required":[ - "sessionId", - "output" + "output", + "sessionId" ], "members":{ - "sessionId":{"shape":"SessionId"}, + "citations":{"shape":"Citations"}, "output":{"shape":"RetrieveAndGenerateOutput"}, - "citations":{"shape":"Citations"} + "sessionId":{"shape":"SessionId"} } }, "RetrieveAndGenerateSessionConfiguration":{ @@ -725,17 +725,17 @@ "location":"uri", "locationName":"knowledgeBaseId" }, - "retrievalQuery":{"shape":"KnowledgeBaseQuery"}, + "nextToken":{"shape":"NextToken"}, "retrievalConfiguration":{"shape":"KnowledgeBaseRetrievalConfiguration"}, - "nextToken":{"shape":"NextToken"} + "retrievalQuery":{"shape":"KnowledgeBaseQuery"} } }, "RetrieveResponse":{ "type":"structure", "required":["retrievalResults"], "members":{ - "retrievalResults":{"shape":"KnowledgeBaseRetrievalResults"}, - "nextToken":{"shape":"NextToken"} + "nextToken":{"shape":"NextToken"}, + "retrievalResults":{"shape":"KnowledgeBaseRetrievalResults"} } }, "RetrievedReference":{ @@ -776,13 +776,13 @@ "type":"string", "max":100, "min":2, - "pattern":"[0-9a-zA-Z._:-]+" + "pattern":"^[0-9a-zA-Z._:-]+$" }, "SessionState":{ "type":"structure", "members":{ - "sessionAttributes":{"shape":"SessionAttributesMap"}, - "promptSessionAttributes":{"shape":"PromptSessionAttributesMap"} + "promptSessionAttributes":{"shape":"PromptSessionAttributesMap"}, + "sessionAttributes":{"shape":"SessionAttributesMap"} } }, "Source":{ @@ -797,8 +797,8 @@ "Span":{ "type":"structure", "members":{ - "start":{"shape":"SpanStartInteger"}, - "end":{"shape":"SpanEndInteger"} + "end":{"shape":"SpanEndInteger"}, + "start":{"shape":"SpanStartInteger"} } }, "SpanEndInteger":{ @@ -827,8 +827,8 @@ "TextResponsePart":{ "type":"structure", "members":{ - "text":{"shape":"String"}, - "span":{"shape":"Span"} + "span":{"shape":"Span"}, + "text":{"shape":"String"} }, "sensitive":true }, @@ -858,10 +858,10 @@ "Trace":{ "type":"structure", "members":{ - "preProcessingTrace":{"shape":"PreProcessingTrace"}, + "failureTrace":{"shape":"FailureTrace"}, "orchestrationTrace":{"shape":"OrchestrationTrace"}, "postProcessingTrace":{"shape":"PostProcessingTrace"}, - "failureTrace":{"shape":"FailureTrace"} + "preProcessingTrace":{"shape":"PreProcessingTrace"} }, "sensitive":true, "union":true @@ -878,8 +878,8 @@ "TracePart":{ "type":"structure", "members":{ - "agentId":{"shape":"AgentId"}, "agentAliasId":{"shape":"AgentAliasId"}, + "agentId":{"shape":"AgentId"}, "sessionId":{"shape":"SessionId"}, "trace":{"shape":"Trace"} }, diff --git a/models/apis/bedrock-agent-runtime/2023-07-26/docs-2.json b/models/apis/bedrock-agent-runtime/2023-07-26/docs-2.json index 43080d0b18f..5a89eb186ca 100644 --- a/models/apis/bedrock-agent-runtime/2023-07-26/docs-2.json +++ b/models/apis/bedrock-agent-runtime/2023-07-26/docs-2.json @@ -1,324 +1,324 @@ { "version": "2.0", - "service": "

Amazon Bedrock Agent

", + "service": "

Contains APIs related to model invocation and querying of knowledge bases.

", "operations": { - "InvokeAgent": "

Invokes the specified Bedrock model to run inference using the input provided in the request body.

", - "Retrieve": "

Retrieve from knowledge base.

", - "RetrieveAndGenerate": "

RetrieveAndGenerate API

" + "InvokeAgent": "

Sends a prompt for the agent to process and respond to.

The CLI doesn't support InvokeAgent.

The response is returned in the bytes field of the chunk object.

", + "Retrieve": "

Queries a knowledge base and retrieves information from it.

", + "RetrieveAndGenerate": "

Queries a knowledge base and generates responses based on the retrieved results. The response cites up to five sources but only selects the ones that are relevant to the query.

The numberOfResults field is currently unsupported for RetrieveAndGenerate. Don't include it in the vectorSearchConfiguration object.

" }, "shapes": { "AccessDeniedException": { - "base": "

This exception is thrown when a request is denied per access permissions

", + "base": "

The request is denied because of missing access permissions. Check your permissions and retry your request.

", "refs": { - "ResponseStream$accessDeniedException": null + "ResponseStream$accessDeniedException": "

The request is denied because of missing access permissions. Check your permissions and retry your request.

" } }, "ActionGroupInvocationInput": { - "base": "

input to lambda used in action group

", + "base": "

Contains information about the action group being invoked.

", "refs": { - "InvocationInput$actionGroupInvocationInput": null + "InvocationInput$actionGroupInvocationInput": "

Contains information about the action group to be invoked.

" } }, "ActionGroupInvocationOutput": { - "base": "

output from lambda used in action group

", + "base": "

Contains the JSON-formatted string returned by the API invoked by the action group.

", "refs": { - "Observation$actionGroupInvocationOutput": null + "Observation$actionGroupInvocationOutput": "

Contains the JSON-formatted string returned by the API invoked by the action group.

" } }, "ActionGroupName": { - "base": "

Agent Trace Action Group Name

", + "base": null, "refs": { - "ActionGroupInvocationInput$actionGroupName": null + "ActionGroupInvocationInput$actionGroupName": "

The name of the action group.

" } }, "ActionGroupOutputString": { - "base": "

Agent Trace Action Group Lambda Invocation Output String

", + "base": null, "refs": { - "ActionGroupInvocationOutput$text": null + "ActionGroupInvocationOutput$text": "

The JSON-formatted string returned by the API invoked by the action group.

" } }, "AgentAliasId": { - "base": "

Identifier of the agent alias.

", + "base": null, "refs": { - "InvokeAgentRequest$agentAliasId": "

Identifier for Agent Alias

", - "TracePart$agentAliasId": null + "InvokeAgentRequest$agentAliasId": "

The alias of the agent to use.

", + "TracePart$agentAliasId": "

The unique identifier of the alias of the agent.

" } }, "AgentId": { - "base": "

Identifier of the agent.

", + "base": null, "refs": { - "InvokeAgentRequest$agentId": "

Identifier for Agent

", - "TracePart$agentId": null + "InvokeAgentRequest$agentId": "

The unique identifier of the agent to use.

", + "TracePart$agentId": "

The unique identifier of the agent.

" } }, "ApiPath": { - "base": "

Agent Trace Action Group API path

", + "base": null, "refs": { - "ActionGroupInvocationInput$apiPath": null + "ActionGroupInvocationInput$apiPath": "

The path to the API to call, based off the action group.

" } }, "Attribution": { - "base": "

Citations associated with final agent response

", + "base": "

Contains citations for a part of an agent response.

", "refs": { - "PayloadPart$attribution": null + "PayloadPart$attribution": "

Contains citations for a part of an agent response.

" } }, "BadGatewayException": { - "base": "

This exception is thrown when a request fails due to dependency like Lambda, Bedrock, STS resource

", + "base": "

There was an issue with a dependency due to a server issue. Retry your request.

", "refs": { - "ResponseStream$badGatewayException": null + "ResponseStream$badGatewayException": "

There was an issue with a dependency due to a server issue. Retry your request.

" } }, "BedrockModelArn": { - "base": "

Arn of a Bedrock model.

", + "base": null, "refs": { - "KnowledgeBaseRetrieveAndGenerateConfiguration$modelArn": null + "KnowledgeBaseRetrieveAndGenerateConfiguration$modelArn": "

The ARN of the foundation model used to generate a response.

" } }, "Boolean": { "base": null, "refs": { - "InvokeAgentRequest$endSession": "

End current session

", - "InvokeAgentRequest$enableTrace": "

Enable agent trace events for improved debugging

", - "PreProcessingParsedResponse$isValid": "

Boolean value

" + "InvokeAgentRequest$enableTrace": "

Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see Trace enablement.

", + "InvokeAgentRequest$endSession": "

Specifies whether to end the session with the agent or not.

", + "PreProcessingParsedResponse$isValid": "

Whether the user input is valid or not. If false, the agent doesn't proceed to orchestration.

" } }, "Citation": { - "base": "

Citation associated with the agent response

", + "base": "

An object containing a segment of the generated response that is based on a source in the knowledge base, alongside information about the source.

", "refs": { "Citations$member": null } }, "Citations": { - "base": "

List of citations

", + "base": null, "refs": { - "Attribution$citations": null, - "RetrieveAndGenerateResponse$citations": null + "Attribution$citations": "

A list of citations and related information for a part of an agent response.

", + "RetrieveAndGenerateResponse$citations": "

A list of segments of the generated response that are based on sources in the knowledge base, alongside information about the sources.

" } }, "ConflictException": { - "base": "

This exception is thrown when there is a conflict performing an operation

", + "base": "

There was a conflict performing an operation. Resolve the conflict and retry your request.

", "refs": { - "ResponseStream$conflictException": null + "ResponseStream$conflictException": "

There was a conflict performing an operation. Resolve the conflict and retry your request.

" } }, "ContentMap": { - "base": "

Content type paramter map

", + "base": null, "refs": { - "RequestBody$content": null + "RequestBody$content": "

The content in the request body.

" } }, "CreationMode": { - "base": "

indicates if agent uses default prompt or overriden prompt

", + "base": null, "refs": { - "ModelInvocationInput$promptCreationMode": null, - "ModelInvocationInput$parserMode": null + "ModelInvocationInput$parserMode": "

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.

", + "ModelInvocationInput$promptCreationMode": "

Specifies whether the default prompt template was OVERRIDDEN. If it was, the basePromptTemplate that was set in the PromptOverrideConfiguration object when the agent was created or updated is used instead.

" } }, "DependencyFailedException": { - "base": "

This exception is thrown when a request fails due to dependency like Lambda, Bedrock, STS resource due to a customer fault (i.e. bad configuration)

", + "base": "

There was an issue with a dependency. Check the resource configurations and retry the request.

", "refs": { - "ResponseStream$dependencyFailedException": null + "ResponseStream$dependencyFailedException": "

There was an issue with a dependency. Check the resource configurations and retry the request.

" } }, "Double": { "base": null, "refs": { - "KnowledgeBaseRetrievalResult$score": "

The relevance score of a result.

" + "KnowledgeBaseRetrievalResult$score": "

The level of relevance of the result to the query.

" } }, "FailureReasonString": { - "base": "

Agent Trace Failed Reason String

", + "base": null, "refs": { - "FailureTrace$failureReason": null + "FailureTrace$failureReason": "

The reason the interaction failed.

" } }, "FailureTrace": { - "base": "

Trace Part which is emitted when agent trace could not be generated

", + "base": "

Contains information about the failure of the interaction.

", "refs": { - "Trace$failureTrace": null + "Trace$failureTrace": "

Contains information about the failure of the interaction.

" } }, "FinalResponse": { - "base": "

Agent finish output

", + "base": "

Contains details about the response to the user.

", "refs": { - "Observation$finalResponse": null + "Observation$finalResponse": "

Contains details about the response to the user.

" } }, "FinalResponseString": { - "base": "

Agent Trace Action Group Lambda Invocation Output String

", + "base": null, "refs": { - "FinalResponse$text": null + "FinalResponse$text": "

The text in the response to the user.

" } }, "GeneratedResponsePart": { - "base": "

Generate response part

", + "base": "

Contains metadata about a part of the generated response that is accompanied by a citation.

", "refs": { - "Citation$generatedResponsePart": null + "Citation$generatedResponsePart": "

Contains the generated response and metadata

" } }, "InferenceConfiguration": { - "base": "

Configurations for controlling the inference response of an InvokeAgent API call

", + "base": "

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.

", "refs": { - "ModelInvocationInput$inferenceConfiguration": null + "ModelInvocationInput$inferenceConfiguration": "

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.

" } }, "InputText": { - "base": "

Model text input

", + "base": null, "refs": { - "InvokeAgentRequest$inputText": "

Input data in the format specified in the Content-Type request header.

" + "InvokeAgentRequest$inputText": "

The prompt text to send the agent.

" } }, "InternalServerException": { - "base": "

This exception is thrown if there was an unexpected error during processing of request

", + "base": "

An internal server error occurred. Retry your request.

", "refs": { - "ResponseStream$internalServerException": null + "ResponseStream$internalServerException": "

An internal server error occurred. Retry your request.

" } }, "InvocationInput": { - "base": "

Trace Part which contains input details for action group or knowledge base

", + "base": "

Contains information pertaining to the action group or knowledge base that is being invoked.

", "refs": { - "OrchestrationTrace$invocationInput": null + "OrchestrationTrace$invocationInput": "

Contains information pertaining to the action group or knowledge base that is being invoked.

" } }, "InvocationType": { - "base": "

types of invocations

", + "base": null, "refs": { - "InvocationInput$invocationType": null + "InvocationInput$invocationType": "

Specifies whether the agent is invoking an action group or a knowledge base.

" } }, "InvokeAgentRequest": { - "base": "

InvokeAgent Request

", + "base": null, "refs": { } }, "InvokeAgentResponse": { - "base": "

InvokeAgent Response

", + "base": null, "refs": { } }, "KmsKeyArn": { - "base": "

A KMS key ARN

", + "base": null, "refs": { - "RetrieveAndGenerateSessionConfiguration$kmsKeyArn": "

The KMS key arn to encrypt the customer data of the session.

" + "RetrieveAndGenerateSessionConfiguration$kmsKeyArn": "

The ARN of the KMS key encrypting the session.

" } }, "KnowledgeBaseId": { - "base": "

Identifier of the KnowledgeBase

", + "base": null, "refs": { - "KnowledgeBaseRetrieveAndGenerateConfiguration$knowledgeBaseId": null, - "RetrieveRequest$knowledgeBaseId": null + "KnowledgeBaseRetrieveAndGenerateConfiguration$knowledgeBaseId": "

The unique identifier of the knowledge base that is queried and the foundation model used for generation.

", + "RetrieveRequest$knowledgeBaseId": "

The unique identifier of the knowledge base to query.

" } }, "KnowledgeBaseLookupInput": { - "base": "

Input to lambda used in action group

", + "base": "

Contains details about the knowledge base to look up and the query to be made.

", "refs": { - "InvocationInput$knowledgeBaseLookupInput": null + "InvocationInput$knowledgeBaseLookupInput": "

Contains details about the knowledge base to look up and the query to be made.

" } }, "KnowledgeBaseLookupInputString": { - "base": "

Agent Trace Action Group Lambda Invocation Output String

", + "base": null, "refs": { - "KnowledgeBaseLookupInput$text": null + "KnowledgeBaseLookupInput$text": "

The query made to the knowledge base.

" } }, "KnowledgeBaseLookupOutput": { - "base": "

Input to lambda used in action group

", + "base": "

Contains details about the results from looking up the knowledge base.

", "refs": { - "Observation$knowledgeBaseLookupOutput": null + "Observation$knowledgeBaseLookupOutput": "

Contains details about the results from looking up the knowledge base.

" } }, "KnowledgeBaseQuery": { - "base": "

Knowledge base input query.

", + "base": "

Contains the query made to the knowledge base.

", "refs": { - "RetrieveRequest$retrievalQuery": null + "RetrieveRequest$retrievalQuery": "

The query to send the knowledge base.

" } }, "KnowledgeBaseQueryTextString": { "base": null, "refs": { - "KnowledgeBaseQuery$text": "

Knowledge base input query in text

" + "KnowledgeBaseQuery$text": "

The text of the query made to the knowledge base.

" } }, "KnowledgeBaseRetrievalConfiguration": { - "base": "

Search parameters for retrieving from knowledge base.

", + "base": "

Contains details about how the results should be returned.

This data type is used in the following API operations:

", "refs": { - "KnowledgeBaseRetrieveAndGenerateConfiguration$retrievalConfiguration": null, - "RetrieveRequest$retrievalConfiguration": null + "KnowledgeBaseRetrieveAndGenerateConfiguration$retrievalConfiguration": "

Contains configurations for how to retrieve and return the knowledge base query.

", + "RetrieveRequest$retrievalConfiguration": "

Contains details about how the results should be returned.

" } }, "KnowledgeBaseRetrievalResult": { - "base": "

Result item returned from a knowledge base retrieval.

", + "base": "

Details about a result from querying the knowledge base.

", "refs": { "KnowledgeBaseRetrievalResults$member": null } }, "KnowledgeBaseRetrievalResults": { - "base": "

List of knowledge base retrieval results

", + "base": null, "refs": { - "RetrieveResponse$retrievalResults": null + "RetrieveResponse$retrievalResults": "

A list of results from querying the knowledge base.

" } }, "KnowledgeBaseRetrieveAndGenerateConfiguration": { - "base": "

Configurations for retrieval and generation for knowledge base.

", + "base": "

Contains details about the resource being queried.

", "refs": { - "RetrieveAndGenerateConfiguration$knowledgeBaseConfiguration": null + "RetrieveAndGenerateConfiguration$knowledgeBaseConfiguration": "

Contains details about the resource being queried.

" } }, "KnowledgeBaseVectorSearchConfiguration": { - "base": "

Knowledge base vector search configuration

", + "base": "

Configurations for how to carry out the search.

", "refs": { - "KnowledgeBaseRetrievalConfiguration$vectorSearchConfiguration": null + "KnowledgeBaseRetrievalConfiguration$vectorSearchConfiguration": "

Contains details about how the results from the vector search should be returned.

" } }, "KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger": { "base": null, "refs": { - "KnowledgeBaseVectorSearchConfiguration$numberOfResults": "

Top-K results to retrieve from knowledge base.

" + "KnowledgeBaseVectorSearchConfiguration$numberOfResults": "

The number of results to return.

The numberOfResults field is currently unsupported for RetrieveAndGenerate. Don't include it in this field if you are sending a RetrieveAndGenerate request.

" } }, "LambdaArn": { - "base": "

ARN of a Lambda.

", + "base": null, "refs": { - "ModelInvocationInput$overrideLambda": null + "ModelInvocationInput$overrideLambda": "

The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence.

" } }, "MaximumLength": { - "base": "

Maximum length of output

", + "base": null, "refs": { - "InferenceConfiguration$maximumLength": null + "InferenceConfiguration$maximumLength": "

The maximum number of tokens allowed in the generated response.

" } }, "MimeType": { - "base": "

Content type of the request

", + "base": null, "refs": { - "InvokeAgentResponse$contentType": "

streaming response mimetype of the model

" + "InvokeAgentResponse$contentType": "

The MIME type of the input data in the request. The default value is application/json.

" } }, "ModelInvocationInput": { - "base": "

Trace Part which contains information used to call Invoke Model

", + "base": "

The input for the pre-processing step.

", "refs": { - "OrchestrationTrace$modelInvocationInput": null, - "PostProcessingTrace$modelInvocationInput": null, - "PreProcessingTrace$modelInvocationInput": null + "OrchestrationTrace$modelInvocationInput": "

The input for the orchestration step.

", + "PostProcessingTrace$modelInvocationInput": "

The input for the post-processing step.

", + "PreProcessingTrace$modelInvocationInput": "

The input for the pre-processing step.

" } }, "NextToken": { - "base": "

Opaque continuation token of previous paginated response.

", + "base": null, "refs": { - "RetrieveRequest$nextToken": null, - "RetrieveResponse$nextToken": null + "RetrieveRequest$nextToken": "

If there are more results than can fit in the response, the response returns a nextToken. Use this token in the nextToken field of another request to retrieve the next batch of results.

", + "RetrieveResponse$nextToken": "

If there are more results than can fit in the response, the response returns a nextToken. Use this token in the nextToken field of another request to retrieve the next batch of results.

" } }, "NonBlankString": { - "base": "

Non Blank String

", + "base": null, "refs": { "AccessDeniedException$message": null, "BadGatewayException$message": null, - "BadGatewayException$resourceName": null, + "BadGatewayException$resourceName": "

The name of the dependency that caused the issue, such as Amazon Bedrock, Lambda, or STS.

", "ConflictException$message": null, "DependencyFailedException$message": null, - "DependencyFailedException$resourceName": null, + "DependencyFailedException$resourceName": "

The name of the dependency that caused the issue, such as Amazon Bedrock, Lambda, or STS.

", "InternalServerException$message": null, "ResourceNotFoundException$message": null, "ServiceQuotaExceededException$message": null, @@ -327,187 +327,187 @@ } }, "Observation": { - "base": "

Trace Part which contains output details for action group or knowledge base or final response

", + "base": "

Contains the result or output of an action group or knowledge base, or the response to the user.

", "refs": { - "OrchestrationTrace$observation": null + "OrchestrationTrace$observation": "

Details about the observation (the output of the action group Lambda or knowledge base) made by the agent.

" } }, "OrchestrationTrace": { - "base": "

Trace contains intermidate response during orchestration

", + "base": "

Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.

", "refs": { - "Trace$orchestrationTrace": null + "Trace$orchestrationTrace": "

Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.

" } }, "OutputString": { - "base": "

Agent Trace Output String

", + "base": null, "refs": { - "PostProcessingParsedResponse$text": null + "PostProcessingParsedResponse$text": "

The text returned by the parser.

" } }, "Parameter": { - "base": "

parameters included in action group invocation

", + "base": "

A parameter in the Lambda input event.

", "refs": { "Parameters$member": null } }, "Parameters": { - "base": "

list of parameters included in action group invocation

", + "base": null, "refs": { - "ActionGroupInvocationInput$parameters": null, + "ActionGroupInvocationInput$parameters": "

The parameters in the Lambda input event.

", "ContentMap$value": null } }, "PartBody": { - "base": "

PartBody of the payload in bytes

", + "base": null, "refs": { - "PayloadPart$bytes": null + "PayloadPart$bytes": "

A part of the agent response in bytes.

" } }, "PayloadPart": { - "base": "

Base 64 endoded byte response

", + "base": "

Contains a part of an agent response and citations for it.

", "refs": { - "ResponseStream$chunk": null + "ResponseStream$chunk": "

Contains a part of an agent response and citations for it.

" } }, "PostProcessingModelInvocationOutput": { - "base": "

Trace Part which contains information related to postprocessing

", + "base": "

The foundation model output from the post-processing step.

", "refs": { - "PostProcessingTrace$modelInvocationOutput": null + "PostProcessingTrace$modelInvocationOutput": "

The foundation model output from the post-processing step.

" } }, "PostProcessingParsedResponse": { - "base": "

Trace Part which contains information if preprocessing was successful

", + "base": "

Details about the response from the Lambda parsing of the output from the post-processing step.

", "refs": { - "PostProcessingModelInvocationOutput$parsedResponse": null + "PostProcessingModelInvocationOutput$parsedResponse": "

Details about the response from the Lambda parsing of the output of the post-processing step.

" } }, "PostProcessingTrace": { - "base": "

Trace Part which contains information related to post processing step

", + "base": "

Details about the post-processing step, in which the agent shapes the response.

", "refs": { - "Trace$postProcessingTrace": null + "Trace$postProcessingTrace": "

Details about the post-processing step, in which the agent shapes the response..

" } }, "PreProcessingModelInvocationOutput": { - "base": "

Trace Part which contains information related to preprocessing

", + "base": "

The foundation model output from the pre-processing step.

", "refs": { - "PreProcessingTrace$modelInvocationOutput": null + "PreProcessingTrace$modelInvocationOutput": "

The foundation model output from the pre-processing step.

" } }, "PreProcessingParsedResponse": { - "base": "

Trace Part which contains information if preprocessing was successful

", + "base": "

Details about the response from the Lambda parsing of the output from the pre-processing step.

", "refs": { - "PreProcessingModelInvocationOutput$parsedResponse": null + "PreProcessingModelInvocationOutput$parsedResponse": "

Details about the response from the Lambda parsing of the output of the pre-processing step.

" } }, "PreProcessingTrace": { - "base": "

Trace Part which contains information related to preprocessing step

", + "base": "

Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.

", "refs": { - "Trace$preProcessingTrace": null + "Trace$preProcessingTrace": "

Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.

" } }, "PromptSessionAttributesMap": { - "base": "

Session attributes that go to the prompt

", + "base": null, "refs": { - "SessionState$promptSessionAttributes": "

Prompt Session Attributes

" + "SessionState$promptSessionAttributes": "

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.

" } }, "PromptText": { - "base": "

Prompt Message

", + "base": null, "refs": { - "ModelInvocationInput$text": null + "ModelInvocationInput$text": "

The text that prompted the agent at this step.

" } }, "PromptType": { - "base": "

types of prompts

", + "base": null, "refs": { - "ModelInvocationInput$type": null + "ModelInvocationInput$type": "

The step in the agent sequence.

" } }, "Rationale": { - "base": "

Trace Part which contains information related to reasoning

", + "base": "

Contains the reasoning, based on the input, that the agent uses to justify carrying out an action group or getting information from a knowledge base.

", "refs": { - "OrchestrationTrace$rationale": null + "OrchestrationTrace$rationale": "

Details about the reasoning, based on the input, that the agent uses to justify carrying out an action group or getting information from a knowledge base.

" } }, "RationaleString": { - "base": "

Agent Trace Rationale String

", + "base": null, "refs": { - "PreProcessingParsedResponse$rationale": null, - "Rationale$text": null + "PreProcessingParsedResponse$rationale": "

The text returned by the parsing of the pre-processing step, explaining the steps that the agent plans to take in orchestration, if the user input is valid.

", + "Rationale$text": "

The reasoning or thought process of the agent, based on the input.

" } }, "RepromptResponse": { - "base": "

Observation information if there were reprompts

", + "base": "

Contains details about the agent's response to reprompt the input.

", "refs": { - "Observation$repromptResponse": null + "Observation$repromptResponse": "

Contains details about the response to reprompt the input.

" } }, "RequestBody": { - "base": "

Request Body Content Map

", + "base": "

The parameters in the request body for the Lambda input event.

", "refs": { - "ActionGroupInvocationInput$requestBody": null + "ActionGroupInvocationInput$requestBody": "

The parameters in the request body for the Lambda input event.

" } }, "ResourceNotFoundException": { - "base": "

This exception is thrown when a resource referenced by the operation does not exist

", + "base": "

The specified resource ARN was not found. Check the ARN and try your request again.

", "refs": { - "ResponseStream$resourceNotFoundException": null + "ResponseStream$resourceNotFoundException": "

The specified resource ARN was not found. Check the ARN and try your request again.

" } }, "ResponseStream": { - "base": "

Response body of is a stream

", + "base": "

The response from invoking the agent and associated citations and trace information.

", "refs": { - "InvokeAgentResponse$completion": "

Inference response from the model in the format specified in the Content-Type response header.

" + "InvokeAgentResponse$completion": "

The agent's response to the user prompt.

" } }, "RetrievalResultContent": { - "base": "

Content of a retrieval result.

", + "base": "

Contains the cited text from the data source.

", "refs": { - "KnowledgeBaseRetrievalResult$content": null, - "RetrievedReference$content": null + "KnowledgeBaseRetrievalResult$content": "

Contains a chunk of text from a data source in the knowledge base.

", + "RetrievedReference$content": "

Contains the cited text from the data source.

" } }, "RetrievalResultLocation": { - "base": "

The source location of a retrieval result.

", + "base": "

Contains information about the location of the data source.

", "refs": { - "KnowledgeBaseRetrievalResult$location": null, - "RetrievedReference$location": null + "KnowledgeBaseRetrievalResult$location": "

Contains information about the location of the data source.

", + "RetrievedReference$location": "

Contains information about the location of the data source.

" } }, "RetrievalResultLocationType": { - "base": "

The location type of a retrieval result.

", + "base": null, "refs": { - "RetrievalResultLocation$type": null + "RetrievalResultLocation$type": "

The type of the location of the data source.

" } }, "RetrievalResultS3Location": { - "base": "

The S3 location of a retrieval result.

", + "base": "

Contains the S3 location of the data source.

", "refs": { - "RetrievalResultLocation$s3Location": null + "RetrievalResultLocation$s3Location": "

Contains the S3 location of the data source.

" } }, "RetrieveAndGenerateConfiguration": { - "base": "

Configures the retrieval and generation for the session.

", + "base": "

Contains details about the resource being queried.

", "refs": { - "RetrieveAndGenerateRequest$retrieveAndGenerateConfiguration": null + "RetrieveAndGenerateRequest$retrieveAndGenerateConfiguration": "

Contains details about the resource being queried and the foundation model used for generation.

" } }, "RetrieveAndGenerateInput": { - "base": "

Customer input of the turn

", + "base": "

Contains the query made to the knowledge base.

", "refs": { - "RetrieveAndGenerateRequest$input": null + "RetrieveAndGenerateRequest$input": "

Contains the query made to the knowledge base.

" } }, "RetrieveAndGenerateInputTextString": { "base": null, "refs": { - "RetrieveAndGenerateInput$text": "

Customer input of the turn in text

" + "RetrieveAndGenerateInput$text": "

The query made to the knowledge base.

" } }, "RetrieveAndGenerateOutput": { - "base": "

Service response of the turn

", + "base": "

Contains the response generated from querying the knowledge base.

", "refs": { - "RetrieveAndGenerateResponse$output": null + "RetrieveAndGenerateResponse$output": "

Contains the response generated from querying the knowledge base.

" } }, "RetrieveAndGenerateRequest": { @@ -521,15 +521,15 @@ } }, "RetrieveAndGenerateSessionConfiguration": { - "base": "

Configures common parameters of the session.

", + "base": "

Contains configuration about the session with the knowledge base.

", "refs": { - "RetrieveAndGenerateRequest$sessionConfiguration": null + "RetrieveAndGenerateRequest$sessionConfiguration": "

Contains details about the session with the knowledge base.

" } }, "RetrieveAndGenerateType": { - "base": "

The type of RetrieveAndGenerate.

", + "base": null, "refs": { - "RetrieveAndGenerateConfiguration$type": null + "RetrieveAndGenerateConfiguration$type": "

The type of resource that is queried by the request.

" } }, "RetrieveRequest": { @@ -543,177 +543,177 @@ } }, "RetrievedReference": { - "base": "

Retrieved reference

", + "base": "

Contains metadata about a sources cited for the generated response.

", "refs": { "RetrievedReferences$member": null } }, "RetrievedReferences": { - "base": "

list of retrieved references

", + "base": null, "refs": { - "Citation$retrievedReferences": null, - "KnowledgeBaseLookupOutput$retrievedReferences": null + "Citation$retrievedReferences": "

Contains metadata about the sources cited for the generated response.

", + "KnowledgeBaseLookupOutput$retrievedReferences": "

Contains metadata about the sources cited for the generated response.

" } }, "SearchType": { - "base": "

Query type to be performed on data store.

", + "base": null, "refs": { - "KnowledgeBaseVectorSearchConfiguration$overrideSearchType": "

Override the type of query to be performed on data store

" + "KnowledgeBaseVectorSearchConfiguration$overrideSearchType": "

By default, Amazon Bedrock decides a search strategy for you. If you're using an Amazon OpenSearch Serverless vector store that contains a filterable text field, you can specify whether to query the knowledge base with a HYBRID search using both vector embeddings and raw text, or SEMANTIC search using only vector embeddings. For other vector store configurations, only SEMANTIC search is available. For more information, see Test a knowledge base.

" } }, "ServiceQuotaExceededException": { - "base": "

This exception is thrown when a request is made beyond the service quota

", + "base": "

The number of requests exceeds the service quota. Resubmit your request later.

", "refs": { - "ResponseStream$serviceQuotaExceededException": null + "ResponseStream$serviceQuotaExceededException": "

The number of requests exceeds the service quota. Resubmit your request later.

" } }, "SessionAttributesMap": { - "base": "

Session attributes are pass through attributes passed to the action group

", + "base": null, "refs": { - "SessionState$sessionAttributes": "

Session Attributes

" + "SessionState$sessionAttributes": "

Contains attributes that persist across a session and the values of those attributes.

" } }, "SessionId": { - "base": "

Identifier of the session.

", + "base": null, "refs": { - "InvokeAgentRequest$sessionId": "

Identifier used for the current session

", - "InvokeAgentResponse$sessionId": "

streaming response mimetype of the model

", - "RetrieveAndGenerateRequest$sessionId": null, - "RetrieveAndGenerateResponse$sessionId": null, - "TracePart$sessionId": null + "InvokeAgentRequest$sessionId": "

The unique identifier of the session. Use the same value across requests to continue the same conversation.

", + "InvokeAgentResponse$sessionId": "

The unique identifier of the session with the agent.

", + "RetrieveAndGenerateRequest$sessionId": "

The unique identifier of the session. Reuse the same value to continue the same session with the knowledge base.

", + "RetrieveAndGenerateResponse$sessionId": "

The unique identifier of the session. Reuse the same value to continue the same session with the knowledge base.

", + "TracePart$sessionId": "

The unique identifier of the session with the agent.

" } }, "SessionState": { - "base": "

Session state provided

", + "base": "

Contains parameters that specify various attributes that persist across a session or prompt. You can define session state attributes as key-value pairs when writing a Lambda function for an action group or pass them when making an InvokeAgent request. Use session state attributes to control and provide conversational context for your agent and to help customize your agent's behavior. For more information, see Session context.

", "refs": { - "InvokeAgentRequest$sessionState": "

Session state passed by customer. Base64 encoded json string representation of SessionState.

" + "InvokeAgentRequest$sessionState": "

Contains parameters that specify various attributes of the session.

" } }, "Source": { - "base": "

Parsing error source

", + "base": null, "refs": { - "RepromptResponse$source": null + "RepromptResponse$source": "

Specifies what output is prompting the agent to reprompt the input.

" } }, "Span": { - "base": "

Span of text

", + "base": "

Contains information about where the text with a citation begins and ends in the generated output.

", "refs": { - "TextResponsePart$span": null + "TextResponsePart$span": "

Contains information about where the text with a citation begins and ends in the generated output.

" } }, "SpanEndInteger": { "base": null, "refs": { - "Span$end": "

End of span

" + "Span$end": "

Where the text with a citation ends in the generated output.

" } }, "SpanStartInteger": { "base": null, "refs": { - "Span$start": "

Start of span

" + "Span$start": "

Where the text with a citation starts in the generated output.

" } }, "StopSequences": { - "base": "

List of stop sequences

", + "base": null, "refs": { - "InferenceConfiguration$stopSequences": null + "InferenceConfiguration$stopSequences": "

A list of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response.

" } }, "String": { "base": null, "refs": { "ContentMap$key": null, - "Parameter$name": "

Name of parameter

", - "Parameter$type": "

Type of parameter

", - "Parameter$value": "

Value of parameter

", + "Parameter$name": "

The name of the parameter.

", + "Parameter$type": "

The type of the parameter.

", + "Parameter$value": "

The value of the parameter.

", "PromptSessionAttributesMap$key": null, "PromptSessionAttributesMap$value": null, - "RepromptResponse$text": "

Reprompt response text

", - "RetrievalResultContent$text": "

Content of a retrieval result in text

", - "RetrievalResultS3Location$uri": "

URI of S3 location

", - "RetrieveAndGenerateOutput$text": "

Service response of the turn in text

", + "RepromptResponse$text": "

The text reprompting the input.

", + "RetrievalResultContent$text": "

The cited text from the data source.

", + "RetrievalResultS3Location$uri": "

The S3 URI of the data source.

", + "RetrieveAndGenerateOutput$text": "

The response generated from querying the knowledge base.

", "SessionAttributesMap$key": null, "SessionAttributesMap$value": null, "StopSequences$member": null, - "TextResponsePart$text": "

Response part in text

" + "TextResponsePart$text": "

The part of the generated text that contains a citation.

" } }, "Temperature": { - "base": "

Controls randomness, higher values increase diversity

", + "base": null, "refs": { - "InferenceConfiguration$temperature": null + "InferenceConfiguration$temperature": "

The likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options.

" } }, "TextResponsePart": { - "base": "

Text response part

", + "base": "

Contains the part of the generated text that contains a citation, alongside where it begins and ends.

", "refs": { - "GeneratedResponsePart$textResponsePart": null + "GeneratedResponsePart$textResponsePart": "

Contains metadata about a textual part of the generated response that is accompanied by a citation.

" } }, "ThrottlingException": { - "base": "

This exception is thrown when the number of requests exceeds the limit

", + "base": "

The number of requests exceeds the limit. Resubmit your request later.

", "refs": { - "ResponseStream$throttlingException": null + "ResponseStream$throttlingException": "

The number of requests exceeds the limit. Resubmit your request later.

" } }, "TopK": { - "base": "

Sample from the k most likely next tokens

", + "base": null, "refs": { - "InferenceConfiguration$topK": null + "InferenceConfiguration$topK": "

While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for topK is the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set topK to 50, the model selects the next token from among the top 50 most likely choices.

" } }, "TopP": { - "base": "

Cumulative probability cutoff for token selection

", + "base": null, "refs": { - "InferenceConfiguration$topP": null + "InferenceConfiguration$topP": "

While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for Top P determines the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set topP to 80, the model only selects the next token from the top 80% of the probability distribution of next tokens.

" } }, "Trace": { - "base": "

Trace contains intermidate response for customer

", + "base": "

Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.

", "refs": { - "TracePart$trace": null + "TracePart$trace": "

Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.

" } }, "TraceId": { - "base": "

Identifier for trace

", + "base": null, "refs": { - "FailureTrace$traceId": null, - "InvocationInput$traceId": null, - "ModelInvocationInput$traceId": null, - "Observation$traceId": null, - "PostProcessingModelInvocationOutput$traceId": null, - "PreProcessingModelInvocationOutput$traceId": null, - "Rationale$traceId": null + "FailureTrace$traceId": "

The unique identifier of the trace.

", + "InvocationInput$traceId": "

The unique identifier of the trace.

", + "ModelInvocationInput$traceId": "

The unique identifier of the trace.

", + "Observation$traceId": "

The unique identifier of the trace.

", + "PostProcessingModelInvocationOutput$traceId": "

The unique identifier of the trace.

", + "PreProcessingModelInvocationOutput$traceId": "

The unique identifier of the trace.

", + "Rationale$traceId": "

The unique identifier of the trace step.

" } }, "TraceKnowledgeBaseId": { - "base": "

Agent Trace Action Group Knowledge Base Id

", + "base": null, "refs": { - "KnowledgeBaseLookupInput$knowledgeBaseId": null + "KnowledgeBaseLookupInput$knowledgeBaseId": "

The unique identifier of the knowledge base to look up.

" } }, "TracePart": { - "base": "

Trace Part which contains intermidate response for customer

", + "base": "

Contains information about the agent and session, alongside the agent's reasoning process and results from calling API actions and querying knowledge bases and metadata about the trace. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.

", "refs": { - "ResponseStream$trace": null + "ResponseStream$trace": "

Contains information about the agent and session, alongside the agent's reasoning process and results from calling API actions and querying knowledge bases and metadata about the trace. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace events.

" } }, "Type": { - "base": "

types of observations

", + "base": null, "refs": { - "Observation$type": null + "Observation$type": "

Specifies what kind of information the agent returns in the observation. The following values are possible.

" } }, "ValidationException": { - "base": "

This exception is thrown when the request's input validation fails

", + "base": "

Input validation failed. Check your request parameters and retry the request.

", "refs": { - "ResponseStream$validationException": null + "ResponseStream$validationException": "

Input validation failed. Check your request parameters and retry the request.

" } }, "Verb": { - "base": "

Agent Trace Action Group Action verb

", + "base": null, "refs": { - "ActionGroupInvocationInput$verb": null + "ActionGroupInvocationInput$verb": "

The API method being used, based off the action group.

" } } } diff --git a/models/apis/cloudtrail/2013-11-01/api-2.json b/models/apis/cloudtrail/2013-11-01/api-2.json index 447ad8fbd2e..4a0ad3831eb 100644 --- a/models/apis/cloudtrail/2013-11-01/api-2.json +++ b/models/apis/cloudtrail/2013-11-01/api-2.json @@ -138,6 +138,7 @@ {"shape":"TrailNotProvidedException"}, {"shape":"TagsLimitExceededException"}, {"shape":"InvalidParameterCombinationException"}, + {"shape":"InvalidParameterException"}, {"shape":"KmsKeyNotFoundException"}, {"shape":"KmsKeyDisabledException"}, {"shape":"KmsException"}, @@ -295,6 +296,7 @@ {"shape":"UnsupportedOperationException"}, {"shape":"OperationNotPermittedException"}, {"shape":"InvalidTrailNameException"}, + {"shape":"CloudTrailARNInvalidException"}, {"shape":"NoManagementAccountSLRExistsException"} ], "idempotent":true @@ -556,7 +558,8 @@ "errors":[ {"shape":"InvalidNextTokenException"}, {"shape":"OperationNotPermittedException"}, - {"shape":"UnsupportedOperationException"} + {"shape":"UnsupportedOperationException"}, + {"shape":"InvalidParameterException"} ], "idempotent":true }, diff --git a/models/apis/cloudtrail/2013-11-01/docs-2.json b/models/apis/cloudtrail/2013-11-01/docs-2.json index f5bcd90fa0a..1baeac06722 100644 --- a/models/apis/cloudtrail/2013-11-01/docs-2.json +++ b/models/apis/cloudtrail/2013-11-01/docs-2.json @@ -96,7 +96,7 @@ } }, "AdvancedEventSelector": { - "base": "

Advanced event selectors let you create fine-grained selectors for the following CloudTrail event record fields. They help you control costs by logging only those events that are important to you. For more information about advanced event selectors, see Logging data events in the CloudTrail User Guide.

You cannot apply both event selectors and advanced event selectors to a trail.

", + "base": "

Advanced event selectors let you create fine-grained selectors for CloudTrail management and data events. They help you control costs by logging only those events that are important to you. For more information about advanced event selectors, see Logging management events and Logging data events in the CloudTrail User Guide.

You cannot apply both event selectors and advanced event selectors to a trail.

Supported CloudTrail event record fields for management events

Supported CloudTrail event record fields for data events

For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the only supported field is eventCategory.

", "refs": { "AdvancedEventSelectors$member": null } @@ -1296,7 +1296,7 @@ "LookupAttributeValue": { "base": null, "refs": { - "LookupAttribute$AttributeValue": "

Specifies a value for the specified AttributeKey.

" + "LookupAttribute$AttributeValue": "

Specifies a value for the specified AttributeKey.

The maximum length for the AttributeValue is 2000 characters. The following characters ('_', ' ', ',', '\\\\n') count as two characters towards the 2000 character limit.

" } }, "LookupAttributesList": { @@ -1680,7 +1680,7 @@ "SelectorField": { "base": null, "refs": { - "AdvancedFieldSelector$Field": "

A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the field is used only for selecting events as filtering is not supported.

For CloudTrail management events, supported fields include readOnly, eventCategory, and eventSource.

For CloudTrail data events, supported fields include readOnly, eventCategory, eventName, resources.type, and resources.ARN.

For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the only supported field is eventCategory.

" + "AdvancedFieldSelector$Field": "

A field in a CloudTrail event record on which to filter events to be logged. For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the field is used only for selecting events as filtering is not supported.

For CloudTrail management events, supported fields include readOnly, eventCategory, and eventSource.

For CloudTrail data events, supported fields include readOnly, eventCategory, eventName, resources.type, and resources.ARN.

For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or events outside of Amazon Web Services, the only supported field is eventCategory.

" } }, "SelectorName": { diff --git a/models/apis/codebuild/2016-10-06/docs-2.json b/models/apis/codebuild/2016-10-06/docs-2.json index d1dfcab7717..19af38c5ecc 100644 --- a/models/apis/codebuild/2016-10-06/docs-2.json +++ b/models/apis/codebuild/2016-10-06/docs-2.json @@ -43,7 +43,7 @@ "PutResourcePolicy": "

Stores a resource policy for the ARN of a Project or ReportGroup object.

", "RetryBuild": "

Restarts a build.

", "RetryBuildBatch": "

Restarts a failed batch build. Only batch builds that have failed can be retried.

", - "StartBuild": "

Starts running a build.

", + "StartBuild": "

Starts running a build with the settings defined in the project. These setting include: how to run a build, where to get the source code, which build environment to use, which build commands to run, and where to store the build output.

You can also start a build run by overriding some of the build settings in the project. The overrides only apply for that specific start build request. The settings in the project are unaltered.

", "StartBuildBatch": "

Starts a batch build for a project.

", "StopBuild": "

Attempts to stop running a build.

", "StopBuildBatch": "

Stops a running batch build.

", @@ -1817,7 +1817,7 @@ "StartBuildBatchInput$idempotencyToken": "

A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuildBatch request. The token is included in the StartBuildBatch request and is valid for five minutes. If you repeat the StartBuildBatch request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.

", "StartBuildInput$sourceVersion": "

The version of the build input to be built, for this build only. If not specified, the latest version is used. If specified, the contents depends on the source provider:

CodeCommit

The commit ID, branch, or Git tag to use.

GitHub

The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

Bitbucket

The commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

Amazon S3

The version ID of the object that represents the build input ZIP file to use.

If sourceVersion is specified at the project level, then this sourceVersion (at the build level) takes precedence.

For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.

", "StartBuildInput$sourceLocationOverride": "

A location that overrides, for this build, the source location for the one defined in the build project.

", - "StartBuildInput$buildspecOverride": "

A buildspec file declaration that overrides, for this build only, the latest one already defined in the build project.

If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file relative to the value of the built-in CODEBUILD_SRC_DIR environment variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this value is not provided or is set to an empty string, the source code must contain a buildspec file in its root directory. For more information, see Buildspec File Name and Storage Location.

", + "StartBuildInput$buildspecOverride": "

A buildspec file declaration that overrides the latest one defined in the build project, for this build only. The buildspec defined on the project is not changed.

If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file relative to the value of the built-in CODEBUILD_SRC_DIR environment variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this value is not provided or is set to an empty string, the source code must contain a buildspec file in its root directory. For more information, see Buildspec File Name and Storage Location.

Since this property allows you to change the build commands that will run in the container, you should note that an IAM principal with the ability to call this API and set this parameter can override the default settings. Moreover, we encourage that you use a trustworthy buildspec location like a file in your source repository or a Amazon S3 bucket.

", "StartBuildInput$certificateOverride": "

The name of a certificate for this build that overrides the one specified in the build project.

", "StartBuildInput$idempotencyToken": "

A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request. The token is included in the StartBuild request and is valid for 5 minutes. If you repeat the StartBuild request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.

", "TestCase$testRawDataPath": "

The path to the raw data file that contains the test result.

", @@ -2027,7 +2027,7 @@ "WebhookFilterType": { "base": null, "refs": { - "WebhookFilter$type": "

The type of webhook filter. There are six webhook filter types: EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF, FILE_PATH, and COMMIT_MESSAGE.

EVENT

A webhook event triggers a build when the provided pattern matches one of five event types: PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The EVENT patterns are specified as a comma-separated string. For example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters all push, pull request created, and pull request updated events.

The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise only.

ACTOR_ACCOUNT_ID

A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression pattern.

HEAD_REF

A webhook event triggers a build when the head reference matches the regular expression pattern. For example, refs/heads/branch-name and refs/tags/tag-name.

Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events.

BASE_REF

A webhook event triggers a build when the base reference matches the regular expression pattern. For example, refs/heads/branch-name.

Works with pull request events only.

FILE_PATH

A webhook triggers a build when the path of a changed file matches the regular expression pattern.

Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.

COMMIT_MESSAGE

A webhook triggers a build when the head commit message matches the regular expression pattern.

Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.

" + "WebhookFilter$type": "

The type of webhook filter. There are six webhook filter types: EVENT, ACTOR_ACCOUNT_ID, HEAD_REF, BASE_REF, FILE_PATH, and COMMIT_MESSAGE.

" } }, "WrapperBoolean": { diff --git a/models/apis/cognito-idp/2016-04-18/api-2.json b/models/apis/cognito-idp/2016-04-18/api-2.json index 031267cb303..3fbda4f4ff5 100644 --- a/models/apis/cognito-idp/2016-04-18/api-2.json +++ b/models/apis/cognito-idp/2016-04-18/api-2.json @@ -1626,6 +1626,7 @@ "errors":[ {"shape":"InvalidParameterException"}, {"shape":"TooManyRequestsException"}, + {"shape":"ConcurrentModificationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidSmsRoleAccessPolicyException"}, {"shape":"InvalidSmsRoleTrustRelationshipException"}, diff --git a/models/apis/cognito-idp/2016-04-18/docs-2.json b/models/apis/cognito-idp/2016-04-18/docs-2.json index 690480c0876..01c0dc42f68 100644 --- a/models/apis/cognito-idp/2016-04-18/docs-2.json +++ b/models/apis/cognito-idp/2016-04-18/docs-2.json @@ -20,7 +20,7 @@ "AdminListGroupsForUser": "

Lists the groups that a user belongs to.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

", "AdminListUserAuthEvents": "

A history of user activity and any risks detected as part of Amazon Cognito advanced security.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

", "AdminRemoveUserFromGroup": "

Removes the specified user from the specified group.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

", - "AdminResetUserPassword": "

Resets the specified user's password in a user pool as an administrator. Works on any user.

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.

Deactivates a user's password, requiring them to change it. If a user tries to sign in after the API is called, Amazon Cognito responds with a PasswordResetRequiredException error. Your app must then perform the actions that reset your user's password: the forgot-password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

", + "AdminResetUserPassword": "

Resets the specified user's password in a user pool as an administrator. Works on any user.

To use this API operation, your user pool must have self-service account recovery configured. Use AdminSetUserPassword if you manage passwords as an administrator.

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.

Deactivates a user's password, requiring them to change it. If a user tries to sign in after the API is called, Amazon Cognito responds with a PasswordResetRequiredException error. Your app must then perform the actions that reset your user's password: the forgot-password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

", "AdminRespondToAuthChallenge": "

Some API operations in a user pool generate a challenge, like a prompt for an MFA code, for device authentication that bypasses MFA, or for a custom authentication challenge. An AdminRespondToAuthChallenge API request provides the answer to that challenge, like a code or a secure remote password (SRP). The parameters of a response to an authentication challenge vary with the type of challenge.

For more information about custom authentication challenges, see Custom authentication challenge Lambda triggers.

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

", "AdminSetUserMFAPreference": "

The user's multi-factor authentication (MFA) preference, including which MFA options are activated, and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

", "AdminSetUserPassword": "

Sets the specified user's password in a user pool as an administrator. Works on any user.

The password can be temporary or permanent. If it is temporary, the user status enters the FORCE_CHANGE_PASSWORD state. When the user next tries to sign in, the InitiateAuth/AdminInitiateAuth response will contain the NEW_PASSWORD_REQUIRED challenge. If the user doesn't sign in before it expires, the user won't be able to sign in, and an administrator must reset their password.

Once the user has set a new password, or the password is permanent, the user status is set to Confirmed.

AdminSetUserPassword can set a password for the user profile that Amazon Cognito creates for third-party federated users. When you set a password, the federated user's status changes from EXTERNAL_PROVIDER to CONFIRMED. A user in this state can sign in as a federated user, and initiate authentication flows in the API like a linked native user. They can also modify their password and attributes in token-authenticated API requests like ChangePassword and UpdateUserAttributes. As a best security practice and to keep users in sync with your external IdP, don't set passwords on federated user profiles. To set up a federated user for native sign-in with a linked native user, refer to Linking federated users to an existing user profile.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

", @@ -57,7 +57,7 @@ "DescribeUserPoolClient": "

Client method for returning the configuration information and metadata of the specified user pool app client.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

", "DescribeUserPoolDomain": "

Gets information about a domain.

", "ForgetDevice": "

Forgets the specified device. For more information about device authentication, see Working with user devices in your user pool.

Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin.

Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.

", - "ForgotPassword": "

Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the Username parameter, you can use the username or user alias. The method used to send the confirmation code is sent according to the specified AccountRecoverySetting. For more information, see Recovering User Accounts in the Amazon Cognito Developer Guide. To use the confirmation code for resetting the password, call ConfirmForgotPassword.

If neither a verified phone number nor a verified email exists, this API returns InvalidParameterException. If your app client has a client secret and you don't provide a SECRET_HASH parameter, this API returns NotAuthorizedException.

Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.

", + "ForgotPassword": "

Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the Username parameter, you can use the username or user alias. The method used to send the confirmation code is sent according to the specified AccountRecoverySetting. For more information, see Recovering User Accounts in the Amazon Cognito Developer Guide. To use the confirmation code for resetting the password, call ConfirmForgotPassword.

If neither a verified phone number nor a verified email exists, this API returns InvalidParameterException. If your app client has a client secret and you don't provide a SECRET_HASH parameter, this API returns NotAuthorizedException.

To use this API operation, your user pool must have self-service account recovery configured. Use AdminSetUserPassword if you manage passwords as an administrator.

Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.

This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.

If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.

", "GetCSVHeader": "

Gets the header information for the comma-separated value (CSV) file to be used as input for the user import job.

", "GetDevice": "

Gets the device. For more information about device authentication, see Working with user devices in your user pool.

Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin.

Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.

", "GetGroup": "

Gets a group.

Calling this action requires developer credentials.

", @@ -2733,7 +2733,7 @@ "NotifyConfigurationType$From": "

The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.

", "NotifyConfigurationType$ReplyTo": "

The destination to which the receiver of an email should reply to.

", "NumberAttributeConstraintsType$MinValue": "

The minimum value of an attribute that is of the number data type.

", - "NumberAttributeConstraintsType$MaxValue": "

The maximum value of an attribute that is of the number data type.

", + "NumberAttributeConstraintsType$MaxValue": "

The maximum length of a number attribute value. Must be a number less than or equal to 2^1023, represented as a string with a length of 131072 characters or fewer.

", "ProviderDetailsType$key": null, "ProviderDetailsType$value": null, "ProviderUserIdentifierType$ProviderAttributeName": "

The name of the provider attribute to link to, such as NameID.

", @@ -2742,7 +2742,7 @@ "SkippedIPRangeListType$member": null, "SmsConfigurationType$ExternalId": "

The external ID provides additional security for your IAM role. You can use an ExternalId with the IAM role that you use with Amazon SNS to send SMS messages for your user pool. If you provide an ExternalId, your Amazon Cognito user pool includes it in the request to assume your IAM role. You can configure the role trust policy to require that Amazon Cognito, and any principal, provide the ExternalID. If you use the Amazon Cognito Management Console to create a role for SMS multi-factor authentication (MFA), Amazon Cognito creates a role with the required permissions and a trust policy that demonstrates use of the ExternalId.

For more information about the ExternalId of a role, see How to use an external ID when granting access to your Amazon Web Services resources to a third party

", "StringAttributeConstraintsType$MinLength": "

The minimum length.

", - "StringAttributeConstraintsType$MaxLength": "

The maximum length.

", + "StringAttributeConstraintsType$MaxLength": "

The maximum length of a string attribute value. Must be a number less than or equal to 2^1023, represented as a string with a length of 131072 characters or fewer.

", "UserContextDataType$IpAddress": "

The source IP address of your user's device.

", "UserContextDataType$EncodedData": "

Encoded device-fingerprint details that your app collected with the Amazon Cognito context data collection library. For more information, see Adding user device and session data to API requests.

", "UserMFASettingListType$member": null, @@ -3001,7 +3001,7 @@ "UserFilterType": { "base": null, "refs": { - "ListUsersRequest$Filter": "

A filter string of the form \"AttributeName Filter-Type \"AttributeValue\"\". Quotation marks within the filter string must be escaped using the backslash (\\) character. For example, \"family_name = \\\"Reddy\\\"\".

If the filter string is empty, ListUsers returns all users in the user pool.

You can only search for the following standard attributes:

Custom attributes aren't searchable.

You can also list users with a client-side filter. The server-side filter matches no more than one attribute. For an advanced search, use a client-side filter with the --query parameter of the list-users action in the CLI. When you use a client-side filter, ListUsers returns a paginated list of zero or more users. You can receive multiple pages in a row with zero results. Repeat the query with each pagination token that is returned until you receive a null pagination token value, and then review the combined result.

For more information about server-side and client-side filtering, see FilteringCLI output in the Command Line Interface User Guide.

For more information, see Searching for Users Using the ListUsers API and Examples of Using the ListUsers API in the Amazon Cognito Developer Guide.

" + "ListUsersRequest$Filter": "

A filter string of the form \"AttributeName Filter-Type \"AttributeValue\"\". Quotation marks within the filter string must be escaped using the backslash (\\) character. For example, \"family_name = \\\"Reddy\\\"\".

If the filter string is empty, ListUsers returns all users in the user pool.

You can only search for the following standard attributes:

Custom attributes aren't searchable.

You can also list users with a client-side filter. The server-side filter matches no more than one attribute. For an advanced search, use a client-side filter with the --query parameter of the list-users action in the CLI. When you use a client-side filter, ListUsers returns a paginated list of zero or more users. You can receive multiple pages in a row with zero results. Repeat the query with each pagination token that is returned until you receive a null pagination token value, and then review the combined result.

For more information about server-side and client-side filtering, see FilteringCLI output in the Command Line Interface User Guide.

For more information, see Searching for Users Using the ListUsers API and Examples of Using the ListUsers API in the Amazon Cognito Developer Guide.

" } }, "UserImportInProgressException": { @@ -3299,36 +3299,36 @@ "UsernameType": { "base": null, "refs": { - "AdminAddUserToGroupRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminConfirmSignUpRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", + "AdminAddUserToGroupRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminConfirmSignUpRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", "AdminCreateUserRequest$Username": "

The value that you want to set as the username sign-in attribute. The following conditions apply to the username parameter.

", - "AdminDeleteUserAttributesRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminDeleteUserRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminDisableUserRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminEnableUserRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminForgetDeviceRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminGetDeviceRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminGetUserRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", + "AdminDeleteUserAttributesRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminDeleteUserRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminDisableUserRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminEnableUserRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminForgetDeviceRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminGetDeviceRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminGetUserRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", "AdminGetUserResponse$Username": "

The username of the user that you requested.

", - "AdminListDevicesRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminListGroupsForUserRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminListUserAuthEventsRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminRemoveUserFromGroupRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminResetUserPasswordRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminSetUserMFAPreferenceRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminSetUserPasswordRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminSetUserSettingsRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminUpdateAuthEventFeedbackRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminUpdateDeviceStatusRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminUpdateUserAttributesRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "AdminUserGlobalSignOutRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "ConfirmForgotPasswordRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "ConfirmSignUpRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", - "ForgotPasswordRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", + "AdminListDevicesRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminListGroupsForUserRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminListUserAuthEventsRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminRemoveUserFromGroupRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminResetUserPasswordRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminSetUserMFAPreferenceRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminSetUserPasswordRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminSetUserSettingsRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminUpdateAuthEventFeedbackRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminUpdateDeviceStatusRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminUpdateUserAttributesRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "AdminUserGlobalSignOutRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "ConfirmForgotPasswordRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "ConfirmSignUpRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", + "ForgotPasswordRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", "GetUserResponse$Username": "

The username of the user that you requested.

", - "ResendConfirmationCodeRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", + "ResendConfirmationCodeRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", "SignUpRequest$Username": "

The username of the user that you want to sign up. The value of this parameter is typically a username, but can be any alias attribute in your user pool.

", - "UpdateAuthEventFeedbackRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

", + "UpdateAuthEventFeedbackRequest$Username": "

The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

", "UserType$Username": "

The user name of the user you want to describe.

" } }, diff --git a/models/apis/guardduty/2017-11-28/api-2.json b/models/apis/guardduty/2017-11-28/api-2.json index 3eee599b26e..efc4252b9d3 100644 --- a/models/apis/guardduty/2017-11-28/api-2.json +++ b/models/apis/guardduty/2017-11-28/api-2.json @@ -7377,7 +7377,9 @@ "LAMBDA_NETWORK_LOGS", "EKS_RUNTIME_MONITORING", "FARGATE_RUNTIME_MONITORING", - "EC2_RUNTIME_MONITORING" + "EC2_RUNTIME_MONITORING", + "RDS_DBI_PROTECTION_PROVISIONED", + "RDS_DBI_PROTECTION_SERVERLESS" ] }, "UsageFeatureList":{ diff --git a/models/apis/guardduty/2017-11-28/docs-2.json b/models/apis/guardduty/2017-11-28/docs-2.json index e0ff85f1712..66563ca2387 100644 --- a/models/apis/guardduty/2017-11-28/docs-2.json +++ b/models/apis/guardduty/2017-11-28/docs-2.json @@ -5,7 +5,7 @@ "AcceptAdministratorInvitation": "

Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.

", "AcceptInvitation": "

Accepts the invitation to be monitored by a GuardDuty administrator account.

", "ArchiveFindings": "

Archives GuardDuty findings that are specified by the list of finding IDs.

Only the administrator account can archive findings. Member accounts don't have permission to archive findings from their accounts.

", - "CreateDetector": "

Creates a single Amazon GuardDuty detector. A detector is a resource that represents the GuardDuty service. To start using GuardDuty, you must create a detector in each Region where you enable the service. You can have only one detector per account per Region. All data sources are enabled in a new detector by default.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

", + "CreateDetector": "

Creates a single GuardDuty detector. A detector is a resource that represents the GuardDuty service. To start using GuardDuty, you must create a detector in each Region where you enable the service. You can have only one detector per account per Region. All data sources are enabled in a new detector by default.

Specifying both EKS Runtime Monitoring (EKS_RUNTIME_MONITORING) and Runtime Monitoring (RUNTIME_MONITORING) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

", "CreateFilter": "

Creates a filter using the specified finding criteria. The maximum number of saved filters per Amazon Web Services account per Region is 100. For more information, see Quotas for GuardDuty.

", "CreateIPSet": "

Creates a new IPSet, which is called a trusted IP list in the console user interface. An IPSet is a list of IP addresses that are trusted for secure communication with Amazon Web Services infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are included in IPSets. Only users from the administrator account can use this operation.

", "CreateMembers": "

Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization.

As a delegated administrator, using CreateMembers will enable GuardDuty in the added member accounts, with the exception of the organization delegated administrator account. A delegated administrator must enable GuardDuty prior to being added as a member.

When you use CreateMembers as an Organizations delegated administrator, GuardDuty applies your organization's auto-enable settings to the member accounts in this request, irrespective of the accounts being new or existing members. For more information about the existing auto-enable settings for your organization, see DescribeOrganizationConfiguration.

If you are adding accounts by invitation, before using InviteMembers, use CreateMembers after GuardDuty has been enabled in potential member accounts.

If you disassociate a member from a GuardDuty delegated administrator, the member account details obtained from this API, including the associated email addresses, will be retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.

", @@ -40,7 +40,7 @@ "GetMasterAccount": "

Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.

", "GetMemberDetectors": "

Describes which data sources are enabled for the member account's detector.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

", "GetMembers": "

Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account IDs.

", - "GetOrganizationStatistics": "

Retrieves how many active member accounts in your Amazon Web Services organization have each feature enabled within GuardDuty. Only a delegated GuardDuty administrator of an organization can run this API.

When you create a new Amazon Web Services organization, it might take up to 24 hours to generate the statistics for the entire organization.

", + "GetOrganizationStatistics": "

Retrieves how many active member accounts have each feature enabled within GuardDuty. Only a delegated GuardDuty administrator of an organization can run this API.

When you create a new organization, it might take up to 24 hours to generate the statistics for the entire organization.

", "GetRemainingFreeTrialDays": "

Provides the number of days left for each data source used in the free trial period.

", "GetThreatIntelSet": "

Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.

", "GetUsageStatistics": "

Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID. For newly enabled detectors or data sources, the cost returned will include only the usage so far under 30 days. This may differ from the cost metrics in the console, which project usage over 30 days to provide a monthly cost estimate. For more information, see Understanding How Usage Costs are Calculated.

", @@ -56,19 +56,19 @@ "ListPublishingDestinations": "

Returns a list of publishing destinations associated with the specified detectorId.

", "ListTagsForResource": "

Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, threat intel sets, and publishing destination, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource.

", "ListThreatIntelSets": "

Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the ThreatIntelSets associated with the administrator account are returned.

", - "StartMalwareScan": "

Initiates the malware scan. Invoking this API will automatically create the Service-linked role in the corresponding account.

", + "StartMalwareScan": "

Initiates the malware scan. Invoking this API will automatically create the Service-linked role in the corresponding account.

When the malware scan starts, you can use the associated scan ID to track the status of the scan. For more information, see DescribeMalwareScans.

", "StartMonitoringMembers": "

Turns on GuardDuty monitoring of the specified member accounts. Use this operation to restart monitoring of accounts that you stopped monitoring with the StopMonitoringMembers operation.

", "StopMonitoringMembers": "

Stops GuardDuty monitoring for the specified member accounts. Use the StartMonitoringMembers operation to restart monitoring for those accounts.

With autoEnableOrganizationMembers configuration for your organization set to ALL, you'll receive an error if you attempt to stop monitoring the member accounts in your organization.

", "TagResource": "

Adds tags to a resource.

", "UnarchiveFindings": "

Unarchives GuardDuty findings specified by the findingIds.

", "UntagResource": "

Removes tags from a resource.

", - "UpdateDetector": "

Updates the GuardDuty detector specified by the detectorId.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

", + "UpdateDetector": "

Updates the GuardDuty detector specified by the detector ID.

Specifying both EKS Runtime Monitoring (EKS_RUNTIME_MONITORING) and Runtime Monitoring (RUNTIME_MONITORING) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

", "UpdateFilter": "

Updates the filter specified by the filter name.

", "UpdateFindingsFeedback": "

Marks the specified GuardDuty findings as useful or not useful.

", "UpdateIPSet": "

Updates the IPSet specified by the IPSet ID.

", "UpdateMalwareScanSettings": "

Updates the malware scan settings.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

", - "UpdateMemberDetectors": "

Contains information on member accounts to be updated.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

", - "UpdateOrganizationConfiguration": "

Configures the delegated administrator account with the provided values. You must provide a value for either autoEnableOrganizationMembers or autoEnable, but not both.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

", + "UpdateMemberDetectors": "

Contains information on member accounts to be updated.

Specifying both EKS Runtime Monitoring (EKS_RUNTIME_MONITORING) and Runtime Monitoring (RUNTIME_MONITORING) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

", + "UpdateOrganizationConfiguration": "

Configures the delegated administrator account with the provided values. You must provide a value for either autoEnableOrganizationMembers or autoEnable, but not both.

Specifying both EKS Runtime Monitoring (EKS_RUNTIME_MONITORING) and Runtime Monitoring (RUNTIME_MONITORING) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

", "UpdatePublishingDestination": "

Updates information about the publishing destination specified by the destinationId.

", "UpdateThreatIntelSet": "

Updates the ThreatIntelSet specified by the ThreatIntelSet ID.

" }, @@ -278,8 +278,8 @@ "AutoEnableMembers": { "base": null, "refs": { - "DescribeOrganizationConfigurationResponse$AutoEnableOrganizationMembers": "

Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization.

", - "UpdateOrganizationConfigurationRequest$AutoEnableOrganizationMembers": "

Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization. You must provide a value for either autoEnableOrganizationMembers or autoEnable.

Use one of the following configuration values for autoEnableOrganizationMembers:

" + "DescribeOrganizationConfigurationResponse$AutoEnableOrganizationMembers": "

Indicates the auto-enablement configuration of GuardDuty or any of the corresponding protection plans for the member accounts in the organization.

", + "UpdateOrganizationConfigurationRequest$AutoEnableOrganizationMembers": "

Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization. You must provide a value for either autoEnableOrganizationMembers or autoEnable.

Use one of the following configuration values for autoEnableOrganizationMembers:

" } }, "AwsApiCallAction": { @@ -868,13 +868,13 @@ } }, "DetectorFeatureConfiguration": { - "base": "

Contains information about a GuardDuty feature.

", + "base": "

Contains information about a GuardDuty feature.

Specifying both EKS Runtime Monitoring (EKS_RUNTIME_MONITORING) and Runtime Monitoring (RUNTIME_MONITORING) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.

", "refs": { "DetectorFeatureConfigurations$member": null } }, "DetectorFeatureConfigurationResult": { - "base": "

Contains information about a GuardDuty feature.

", + "base": "

Contains information about a GuardDuty feature.

Specifying both EKS Runtime Monitoring (EKS_RUNTIME_MONITORING) and Runtime Monitoring (RUNTIME_MONITORING) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.

", "refs": { "DetectorFeatureConfigurationsResults$member": null } diff --git a/models/apis/transfer/2018-11-05/api-2.json b/models/apis/transfer/2018-11-05/api-2.json index cd2a328dc51..4326a89fbe3 100644 --- a/models/apis/transfer/2018-11-05/api-2.json +++ b/models/apis/transfer/2018-11-05/api-2.json @@ -1817,6 +1817,7 @@ "AES128_CBC", "AES192_CBC", "AES256_CBC", + "DES_EDE3_CBC", "NONE" ] }, diff --git a/models/apis/transfer/2018-11-05/docs-2.json b/models/apis/transfer/2018-11-05/docs-2.json index ad105d44521..177e8588119 100644 --- a/models/apis/transfer/2018-11-05/docs-2.json +++ b/models/apis/transfer/2018-11-05/docs-2.json @@ -4,7 +4,7 @@ "operations": { "CreateAccess": "

Used by administrators to choose which groups in the directory should have access to upload and download files over the enabled protocols using Transfer Family. For example, a Microsoft Active Directory might contain 50,000 users, but only a small fraction might need the ability to transfer files to the server. An administrator can use CreateAccess to limit the access to the correct set of users who need this ability.

", "CreateAgreement": "

Creates an agreement. An agreement is a bilateral trading partner agreement, or partnership, between an Transfer Family server and an AS2 process. The agreement defines the file and message transfer relationship between the server and the AS2 process. To define an agreement, Transfer Family combines a server, local profile, partner profile, certificate, and other attributes.

The partner is identified with the PartnerProfileId, and the AS2 process is identified with the LocalProfileId.

", - "CreateConnector": "

Creates the connector, which captures the parameters for a connection for the AS2 or SFTP protocol. For AS2, the connector is required for sending files to an externally hosted AS2 server. For SFTP, the connector is required when sending files to an SFTP server or receiving files from an SFTP server. For more details about connectors, see Create AS2 connectors and Create SFTP connectors.

You must specify exactly one configuration object: either for AS2 (As2Config) or SFTP (SftpConfig).

", + "CreateConnector": "

Creates the connector, which captures the parameters for a connection for the AS2 or SFTP protocol. For AS2, the connector is required for sending files to an externally hosted AS2 server. For SFTP, the connector is required when sending files to an SFTP server or receiving files from an SFTP server. For more details about connectors, see Configure AS2 connectors and Create SFTP connectors.

You must specify exactly one configuration object: either for AS2 (As2Config) or SFTP (SftpConfig).

", "CreateProfile": "

Creates the local or partner profile to use for AS2 transfers.

", "CreateServer": "

Instantiates an auto-scaling virtual server based on the selected file transfer protocol in Amazon Web Services. When you make updates to your file transfer protocol-enabled server or when you work with users, use the service-generated ServerId property that is assigned to the newly created server.

", "CreateUser": "

Creates a user and associates them with an existing file transfer protocol-enabled server. You can only create and associate users with servers that have the IdentityProviderType set to SERVICE_MANAGED. Using parameters for CreateUser, you can specify the user name, set the home directory, store the user's public key, and assign the user's Identity and Access Management (IAM) role. You can also optionally add a session policy, and assign metadata with tags that can be used to group and search for users.

", @@ -60,7 +60,7 @@ "UpdateHostKey": "

Updates the description for the host key that's specified by the ServerId and HostKeyId parameters.

", "UpdateProfile": "

Updates some of the parameters for an existing profile. Provide the ProfileId for the profile that you want to update, along with the new values for the parameters to update.

", "UpdateServer": "

Updates the file transfer protocol-enabled server's properties after that server has been created.

The UpdateServer call returns the ServerId of the server you updated.

", - "UpdateUser": "

Assigns new properties to a user. Parameters you pass modify any or all of the following: the home directory, role, and policy for the UserName and ServerId you specify.

The response returns the ServerId and the UserName for the updated user.

" + "UpdateUser": "

Assigns new properties to a user. Parameters you pass modify any or all of the following: the home directory, role, and policy for the UserName and ServerId you specify.

The response returns the ServerId and the UserName for the updated user.

In the console, you can select Restricted when you create or update a user. This ensures that the user can't access anything outside of their home directory. The programmatic way to configure this behavior is to update the user. Set their HomeDirectoryType to LOGICAL, and specify HomeDirectoryMappings with Entry as root (/) and Target as their home directory.

For example, if the user's home directory is /test/admin-user, the following command updates the user so that their configuration in the console shows the Restricted flag as selected.

aws transfer update-user --server-id <server-id> --user-name admin-user --home-directory-type LOGICAL --home-directory-mappings \"[{\\\"Entry\\\":\\\"/\\\", \\\"Target\\\":\\\"/test/admin-user\\\"}]\"

" }, "shapes": { "AccessDeniedException": { @@ -77,7 +77,7 @@ "AddressAllocationIds": { "base": null, "refs": { - "EndpointDetails$AddressAllocationIds": "

A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint.

This property can only be set when EndpointType is set to VPC and it is only valid in the UpdateServer API.

" + "EndpointDetails$AddressAllocationIds": "

A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint.

An address allocation ID corresponds to the allocation ID of an Elastic IP address. This value can be retrieved from the allocationId field from the Amazon EC2 Address data type. One way to retrieve this value is by calling the EC2 DescribeAddresses API.

This parameter is optional. Set this parameter if you want to make your VPC endpoint public-facing. For details, see Create an internet-facing endpoint for your server.

This property can only be set as follows:

" } }, "AgreementId": { @@ -680,7 +680,7 @@ "EncryptionAlg": { "base": null, "refs": { - "As2ConnectorConfig$EncryptionAlgorithm": "

The algorithm that is used to encrypt the file.

You can only specify NONE if the URL for your connector uses HTTPS. This ensures that no traffic is sent in clear text.

" + "As2ConnectorConfig$EncryptionAlgorithm": "

The algorithm that is used to encrypt the file.

Note the following:

" } }, "EncryptionType": { @@ -1753,7 +1753,7 @@ } }, "SftpConnectorConfig": { - "base": "

Contains the details for an SFTP connector object. The connector object is used for transferring files to and from a partner's SFTP server.

", + "base": "

Contains the details for an SFTP connector object. The connector object is used for transferring files to and from a partner's SFTP server.

Because the SftpConnectorConfig data type is used for both creating and updating SFTP connectors, its parameters, TrustedHostKeys and UserSecretId are marked as not required. This is a bit misleading, as they are not required when you are updating an existing SFTP connector, but are required when you are creating a new SFTP connector.

", "refs": { "CreateConnectorRequest$SftpConfig": "

A structure that contains the parameters for an SFTP connector object.

", "DescribedConnector$SftpConfig": "

A structure that contains the parameters for an SFTP connector object.

", @@ -1769,7 +1769,7 @@ "SftpConnectorTrustedHostKeyList": { "base": null, "refs": { - "SftpConnectorConfig$TrustedHostKeys": "

The public portion of the host key, or keys, that are used to identify the external server to which you are connecting. You can use the ssh-keyscan command against the SFTP server to retrieve the necessary key.

The three standard SSH public key format elements are <key type>, <body base64>, and an optional <comment>, with spaces between each element. Specify only the <key type> and <body base64>: do not enter the <comment> portion of the key.

For the trusted host key, Transfer Family accepts RSA and ECDSA keys.

" + "SftpConnectorConfig$TrustedHostKeys": "

The public portion of the host key, or keys, that are used to identify the external server to which you are connecting. You can use the ssh-keyscan command against the SFTP server to retrieve the necessary key.

The three standard SSH public key format elements are <key type>, <body base64>, and an optional <comment>, with spaces between each element. Specify only the <key type> and <body base64>: do not enter the <comment> portion of the key.

For the trusted host key, Transfer Family accepts RSA and ECDSA keys.

Run this command to retrieve the SFTP server host key, where your SFTP server name is ftp.host.com.

ssh-keyscan ftp.host.com

This prints the public host key to standard output.

ftp.host.com ssh-rsa AAAAB3Nza...<long-string-for-public-key

Copy and paste this string into the TrustedHostKeys field for the create-connector command or into the Trusted host keys field in the console.

" } }, "SigningAlg": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 6667248064d..98b4b6aef59 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -8677,6 +8677,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -10699,6 +10700,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -14788,6 +14790,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -21193,6 +21196,12 @@ } } }, + "network-firewall" : { + "endpoints" : { + "cn-north-1" : { }, + "cn-northwest-1" : { } + } + }, "oam" : { "endpoints" : { "cn-north-1" : { }, @@ -26598,7 +26607,8 @@ }, "arc-zonal-shift" : { "endpoints" : { - "us-iso-east-1" : { } + "us-iso-east-1" : { }, + "us-iso-west-1" : { } } }, "athena" : { diff --git a/service/batch/api.go b/service/batch/api.go index 29011974e43..6846f1f8020 100644 --- a/service/batch/api.go +++ b/service/batch/api.go @@ -5299,6 +5299,11 @@ type CreateJobQueueInput struct { // JobQueueName is a required field JobQueueName *string `locationName:"jobQueueName" type:"string" required:"true"` + // The set of actions that Batch performs on jobs that remain at the head of + // the job queue in the specified state longer than specified times. Batch will + // perform each action after maxTimeSeconds has passed. + JobStateTimeLimitActions []*JobStateTimeLimitAction `locationName:"jobStateTimeLimitActions" type:"list"` + // The priority of the job queue. Job queues with a higher priority (or a higher // integer value for the priority parameter) are evaluated first when associated // with the same compute environment. Priority is determined in descending order. @@ -5373,6 +5378,16 @@ func (s *CreateJobQueueInput) Validate() error { } } } + if s.JobStateTimeLimitActions != nil { + for i, v := range s.JobStateTimeLimitActions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "JobStateTimeLimitActions", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -5392,6 +5407,12 @@ func (s *CreateJobQueueInput) SetJobQueueName(v string) *CreateJobQueueInput { return s } +// SetJobStateTimeLimitActions sets the JobStateTimeLimitActions field's value. +func (s *CreateJobQueueInput) SetJobStateTimeLimitActions(v []*JobStateTimeLimitAction) *CreateJobQueueInput { + s.JobStateTimeLimitActions = v + return s +} + // SetPriority sets the Priority field's value. func (s *CreateJobQueueInput) SetPriority(v int64) *CreateJobQueueInput { s.Priority = &v @@ -9676,6 +9697,18 @@ type JobDetail struct { // A short, human-readable string to provide more details for the current status // of the job. + // + // * CAPACITY:INSUFFICIENT_INSTANCE_CAPACITY - All compute environments have + // insufficient capacity to service the job. + // + // * MISCONFIGURATION:COMPUTE_ENVIRONMENT_MAX_RESOURCE - All compute environments + // have a maxVcpu setting that is smaller than the job requirements. + // + // * MISCONFIGURATION:JOB_RESOURCE_REQUIREMENT - All compute environments + // have no connected instances that meet the job requirements. + // + // * MISCONFIGURATION:SERVICE_ROLE_PERMISSIONS - All compute environments + // have problems with the service role permissions. StatusReason *string `locationName:"statusReason" type:"string"` // The Unix timestamp (in milliseconds) for when the job was stopped. More specifically, @@ -9903,6 +9936,11 @@ type JobQueueDetail struct { // JobQueueName is a required field JobQueueName *string `locationName:"jobQueueName" type:"string" required:"true"` + // The set of actions that Batch perform on jobs that remain at the head of + // the job queue in the specified state longer than specified times. Batch will + // perform each action after maxTimeSeconds has passed. + JobStateTimeLimitActions []*JobStateTimeLimitAction `locationName:"jobStateTimeLimitActions" type:"list"` + // The priority of the job queue. Job queues with a higher priority (or a higher // integer value for the priority parameter) are evaluated first when associated // with the same compute environment. Priority is determined in descending order. @@ -9974,6 +10012,12 @@ func (s *JobQueueDetail) SetJobQueueName(v string) *JobQueueDetail { return s } +// SetJobStateTimeLimitActions sets the JobStateTimeLimitActions field's value. +func (s *JobQueueDetail) SetJobStateTimeLimitActions(v []*JobStateTimeLimitAction) *JobQueueDetail { + s.JobStateTimeLimitActions = v + return s +} + // SetPriority sets the Priority field's value. func (s *JobQueueDetail) SetPriority(v int64) *JobQueueDetail { s.Priority = &v @@ -10010,6 +10054,101 @@ func (s *JobQueueDetail) SetTags(v map[string]*string) *JobQueueDetail { return s } +// Specifies an action that Batch will take after the job has remained at the +// head of the queue in the specified state for longer than the specified time. +type JobStateTimeLimitAction struct { + _ struct{} `type:"structure"` + + // The action to take when a job is at the head of the job queue in the specified + // state for the specified period of time. The only supported value is "CANCEL", + // which will cancel the job. + // + // Action is a required field + Action *string `locationName:"action" type:"string" required:"true" enum:"JobStateTimeLimitActionsAction"` + + // The approximate amount of time, in seconds, that must pass with the job in + // the specified state before the action is taken. The minimum value is 600 + // (10 minutes) and the maximum value is 86,400 (24 hours). + // + // MaxTimeSeconds is a required field + MaxTimeSeconds *int64 `locationName:"maxTimeSeconds" type:"integer" required:"true"` + + // The reason to log for the action being taken. + // + // Reason is a required field + Reason *string `locationName:"reason" type:"string" required:"true"` + + // The state of the job needed to trigger the action. The only supported value + // is "RUNNABLE". + // + // State is a required field + State *string `locationName:"state" type:"string" required:"true" enum:"JobStateTimeLimitActionsState"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JobStateTimeLimitAction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JobStateTimeLimitAction) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *JobStateTimeLimitAction) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "JobStateTimeLimitAction"} + if s.Action == nil { + invalidParams.Add(request.NewErrParamRequired("Action")) + } + if s.MaxTimeSeconds == nil { + invalidParams.Add(request.NewErrParamRequired("MaxTimeSeconds")) + } + if s.Reason == nil { + invalidParams.Add(request.NewErrParamRequired("Reason")) + } + if s.State == nil { + invalidParams.Add(request.NewErrParamRequired("State")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAction sets the Action field's value. +func (s *JobStateTimeLimitAction) SetAction(v string) *JobStateTimeLimitAction { + s.Action = &v + return s +} + +// SetMaxTimeSeconds sets the MaxTimeSeconds field's value. +func (s *JobStateTimeLimitAction) SetMaxTimeSeconds(v int64) *JobStateTimeLimitAction { + s.MaxTimeSeconds = &v + return s +} + +// SetReason sets the Reason field's value. +func (s *JobStateTimeLimitAction) SetReason(v string) *JobStateTimeLimitAction { + s.Reason = &v + return s +} + +// SetState sets the State field's value. +func (s *JobStateTimeLimitAction) SetState(v string) *JobStateTimeLimitAction { + s.State = &v + return s +} + // An object that represents summary details of a job. type JobSummary struct { _ struct{} `type:"structure"` @@ -13156,7 +13295,7 @@ type TaskContainerDetails struct { // false, its failure doesn't affect the rest of the containers in a task. If // this parameter is omitted, a container is assumed to be essential. // - // All tasks must have at least one essential container. If you have an application + // All jobs must have at least one essential container. If you have an application // that's composed of multiple containers, group containers that are used for // a common purpose into components, and separate the different components into // multiple task definitions. For more information, see Application Architecture @@ -13584,7 +13723,7 @@ type TaskContainerProperties struct { // false, its failure doesn't affect the rest of the containers in a task. If // this parameter is omitted, a container is assumed to be essential. // - // All tasks must have at least one essential container. If you have an application + // All jobs must have at least one essential container. If you have an application // that's composed of multiple containers, group containers that are used for // a common purpose into components, and separate the different components into // multiple task definitions. For more information, see Application Architecture @@ -14511,6 +14650,11 @@ type UpdateJobQueueInput struct { // JobQueue is a required field JobQueue *string `locationName:"jobQueue" type:"string" required:"true"` + // The set of actions that Batch perform on jobs that remain at the head of + // the job queue in the specified state longer than specified times. Batch will + // perform each action after maxTimeSeconds has passed. + JobStateTimeLimitActions []*JobStateTimeLimitAction `locationName:"jobStateTimeLimitActions" type:"list"` + // The priority of the job queue. Job queues with a higher priority (or a higher // integer value for the priority parameter) are evaluated first when associated // with the same compute environment. Priority is determined in descending order. @@ -14566,6 +14710,16 @@ func (s *UpdateJobQueueInput) Validate() error { } } } + if s.JobStateTimeLimitActions != nil { + for i, v := range s.JobStateTimeLimitActions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "JobStateTimeLimitActions", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -14585,6 +14739,12 @@ func (s *UpdateJobQueueInput) SetJobQueue(v string) *UpdateJobQueueInput { return s } +// SetJobStateTimeLimitActions sets the JobStateTimeLimitActions field's value. +func (s *UpdateJobQueueInput) SetJobStateTimeLimitActions(v []*JobStateTimeLimitAction) *UpdateJobQueueInput { + s.JobStateTimeLimitActions = v + return s +} + // SetPriority sets the Priority field's value. func (s *UpdateJobQueueInput) SetPriority(v int64) *UpdateJobQueueInput { s.Priority = &v @@ -15142,6 +15302,30 @@ func JobDefinitionType_Values() []string { } } +const ( + // JobStateTimeLimitActionsActionCancel is a JobStateTimeLimitActionsAction enum value + JobStateTimeLimitActionsActionCancel = "CANCEL" +) + +// JobStateTimeLimitActionsAction_Values returns all elements of the JobStateTimeLimitActionsAction enum +func JobStateTimeLimitActionsAction_Values() []string { + return []string{ + JobStateTimeLimitActionsActionCancel, + } +} + +const ( + // JobStateTimeLimitActionsStateRunnable is a JobStateTimeLimitActionsState enum value + JobStateTimeLimitActionsStateRunnable = "RUNNABLE" +) + +// JobStateTimeLimitActionsState_Values returns all elements of the JobStateTimeLimitActionsState enum +func JobStateTimeLimitActionsState_Values() []string { + return []string{ + JobStateTimeLimitActionsStateRunnable, + } +} + const ( // JobStatusSubmitted is a JobStatus enum value JobStatusSubmitted = "SUBMITTED" diff --git a/service/bedrockagentruntime/api.go b/service/bedrockagentruntime/api.go index 4b7263f332f..f0c7f783132 100644 --- a/service/bedrockagentruntime/api.go +++ b/service/bedrockagentruntime/api.go @@ -72,8 +72,30 @@ func (c *BedrockAgentRuntime) InvokeAgentRequest(input *InvokeAgentInput) (req * // InvokeAgent API operation for Agents for Amazon Bedrock Runtime. // -// Invokes the specified Bedrock model to run inference using the input provided -// in the request body. +// Sends a prompt for the agent to process and respond to. +// +// The CLI doesn't support InvokeAgent. +// +// - 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 (https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events). +// +// - End a conversation by setting endSession to true. +// +// - Include attributes for the session or prompt in the sessionState object. +// +// 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. +// +// - Errors are also surfaced in the response. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -85,35 +107,35 @@ func (c *BedrockAgentRuntime) InvokeAgentRequest(input *InvokeAgentInput) (req * // Returned Error Types: // // - ConflictException -// This exception is thrown when there is a conflict performing an operation +// There was a conflict performing an operation. Resolve the conflict and retry +// your request. // // - ResourceNotFoundException -// This exception is thrown when a resource referenced by the operation does -// not exist +// The specified resource ARN was not found. Check the ARN and try your request +// again. // // - ValidationException -// This exception is thrown when the request's input validation fails +// Input validation failed. Check your request parameters and retry the request. // // - InternalServerException -// This exception is thrown if there was an unexpected error during processing -// of request +// An internal server error occurred. Retry your request. // // - DependencyFailedException -// This exception is thrown when a request fails due to dependency like Lambda, -// Bedrock, STS resource due to a customer fault (i.e. bad configuration) +// There was an issue with a dependency. Check the resource configurations and +// retry the request. // // - BadGatewayException -// This exception is thrown when a request fails due to dependency like Lambda, -// Bedrock, STS resource +// There was an issue with a dependency due to a server issue. Retry your request. // // - ThrottlingException -// This exception is thrown when the number of requests exceeds the limit +// The number of requests exceeds the limit. Resubmit your request later. // // - AccessDeniedException -// This exception is thrown when a request is denied per access permissions +// The request is denied because of missing access permissions. Check your permissions +// and retry your request. // // - ServiceQuotaExceededException -// This exception is thrown when a request is made beyond the service quota +// The number of requests exceeds the service quota. Resubmit your request later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/InvokeAgent func (c *BedrockAgentRuntime) InvokeAgent(input *InvokeAgentInput) (*InvokeAgentOutput, error) { @@ -335,7 +357,7 @@ func (c *BedrockAgentRuntime) RetrieveRequest(input *RetrieveInput) (req *reques // Retrieve API operation for Agents for Amazon Bedrock Runtime. // -// Retrieve from knowledge base. +// Queries a knowledge base and retrieves information from it. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -347,35 +369,35 @@ func (c *BedrockAgentRuntime) RetrieveRequest(input *RetrieveInput) (req *reques // Returned Error Types: // // - ConflictException -// This exception is thrown when there is a conflict performing an operation +// There was a conflict performing an operation. Resolve the conflict and retry +// your request. // // - ResourceNotFoundException -// This exception is thrown when a resource referenced by the operation does -// not exist +// The specified resource ARN was not found. Check the ARN and try your request +// again. // // - ValidationException -// This exception is thrown when the request's input validation fails +// Input validation failed. Check your request parameters and retry the request. // // - InternalServerException -// This exception is thrown if there was an unexpected error during processing -// of request +// An internal server error occurred. Retry your request. // // - DependencyFailedException -// This exception is thrown when a request fails due to dependency like Lambda, -// Bedrock, STS resource due to a customer fault (i.e. bad configuration) +// There was an issue with a dependency. Check the resource configurations and +// retry the request. // // - BadGatewayException -// This exception is thrown when a request fails due to dependency like Lambda, -// Bedrock, STS resource +// There was an issue with a dependency due to a server issue. Retry your request. // // - ThrottlingException -// This exception is thrown when the number of requests exceeds the limit +// The number of requests exceeds the limit. Resubmit your request later. // // - AccessDeniedException -// This exception is thrown when a request is denied per access permissions +// The request is denied because of missing access permissions. Check your permissions +// and retry your request. // // - ServiceQuotaExceededException -// This exception is thrown when a request is made beyond the service quota +// The number of requests exceeds the service quota. Resubmit your request later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/Retrieve func (c *BedrockAgentRuntime) Retrieve(input *RetrieveInput) (*RetrieveOutput, error) { @@ -493,7 +515,13 @@ func (c *BedrockAgentRuntime) RetrieveAndGenerateRequest(input *RetrieveAndGener // RetrieveAndGenerate API operation for Agents for Amazon Bedrock Runtime. // -// # RetrieveAndGenerate API +// Queries a knowledge base and generates responses based on the retrieved results. +// The response cites up to five sources but only selects the ones that are +// relevant to the query. +// +// The numberOfResults field is currently unsupported for RetrieveAndGenerate. +// Don't include it in the vectorSearchConfiguration (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_KnowledgeBaseVectorSearchConfiguration.html) +// object. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -505,35 +533,35 @@ func (c *BedrockAgentRuntime) RetrieveAndGenerateRequest(input *RetrieveAndGener // Returned Error Types: // // - ConflictException -// This exception is thrown when there is a conflict performing an operation +// There was a conflict performing an operation. Resolve the conflict and retry +// your request. // // - ResourceNotFoundException -// This exception is thrown when a resource referenced by the operation does -// not exist +// The specified resource ARN was not found. Check the ARN and try your request +// again. // // - ValidationException -// This exception is thrown when the request's input validation fails +// Input validation failed. Check your request parameters and retry the request. // // - InternalServerException -// This exception is thrown if there was an unexpected error during processing -// of request +// An internal server error occurred. Retry your request. // // - DependencyFailedException -// This exception is thrown when a request fails due to dependency like Lambda, -// Bedrock, STS resource due to a customer fault (i.e. bad configuration) +// There was an issue with a dependency. Check the resource configurations and +// retry the request. // // - BadGatewayException -// This exception is thrown when a request fails due to dependency like Lambda, -// Bedrock, STS resource +// There was an issue with a dependency due to a server issue. Retry your request. // // - ThrottlingException -// This exception is thrown when the number of requests exceeds the limit +// The number of requests exceeds the limit. Resubmit your request later. // // - AccessDeniedException -// This exception is thrown when a request is denied per access permissions +// The request is denied because of missing access permissions. Check your permissions +// and retry your request. // // - ServiceQuotaExceededException -// This exception is thrown when a request is made beyond the service quota +// The number of requests exceeds the service quota. Resubmit your request later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/RetrieveAndGenerate func (c *BedrockAgentRuntime) RetrieveAndGenerate(input *RetrieveAndGenerateInput) (*RetrieveAndGenerateOutput, error) { @@ -557,12 +585,12 @@ func (c *BedrockAgentRuntime) RetrieveAndGenerateWithContext(ctx aws.Context, in return out, req.Send() } -// This exception is thrown when a request is denied per access permissions +// The request is denied because of missing access permissions. Check your permissions +// and retry your request. type AccessDeniedException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // Non Blank String Message_ *string `locationName:"message" type:"string"` } @@ -651,31 +679,31 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } -// input to lambda used in action group +// Contains information about the action group being invoked. type ActionGroupInvocationInput_ struct { _ struct{} `type:"structure"` - // Agent Trace Action Group Name + // The name of the action group. // // ActionGroupName is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ActionGroupInvocationInput_'s // String and GoString methods. ActionGroupName *string `locationName:"actionGroupName" type:"string" sensitive:"true"` - // Agent Trace Action Group API path + // The path to the API to call, based off the action group. // // ApiPath is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ActionGroupInvocationInput_'s // String and GoString methods. ApiPath *string `locationName:"apiPath" type:"string" sensitive:"true"` - // list of parameters included in action group invocation + // The parameters in the Lambda input event. Parameters []*Parameter `locationName:"parameters" type:"list"` - // Request Body Content Map + // The parameters in the request body for the Lambda input event. RequestBody *RequestBody `locationName:"requestBody" type:"structure"` - // Agent Trace Action Group Action verb + // The API method being used, based off the action group. // // Verb is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ActionGroupInvocationInput_'s @@ -731,11 +759,12 @@ func (s *ActionGroupInvocationInput_) SetVerb(v string) *ActionGroupInvocationIn return s } -// output from lambda used in action group +// Contains the JSON-formatted string returned by the API invoked by the action +// group. type ActionGroupInvocationOutput_ struct { _ struct{} `type:"structure"` - // Agent Trace Action Group Lambda Invocation Output String + // The JSON-formatted string returned by the API invoked by the action group. // // Text is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ActionGroupInvocationOutput_'s @@ -767,11 +796,11 @@ func (s *ActionGroupInvocationOutput_) SetText(v string) *ActionGroupInvocationO return s } -// Citations associated with final agent response +// Contains citations for a part of an agent response. type Attribution struct { _ struct{} `type:"structure"` - // List of citations + // A list of citations and related information for a part of an agent response. Citations []*Citation `locationName:"citations" type:"list"` } @@ -799,16 +828,15 @@ func (s *Attribution) SetCitations(v []*Citation) *Attribution { return s } -// This exception is thrown when a request fails due to dependency like Lambda, -// Bedrock, STS resource +// There was an issue with a dependency due to a server issue. Retry your request. type BadGatewayException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // Non Blank String Message_ *string `locationName:"message" type:"string"` - // Non Blank String + // The name of the dependency that caused the issue, such as Amazon Bedrock, + // Lambda, or STS. ResourceName *string `locationName:"resourceName" type:"string"` } @@ -897,14 +925,15 @@ func (s *BadGatewayException) RequestID() string { return s.RespMetadata.RequestID } -// Citation associated with the agent response +// An object containing a segment of the generated response that is based on +// a source in the knowledge base, alongside information about the source. type Citation struct { _ struct{} `type:"structure"` - // Generate response part + // Contains the generated response and metadata GeneratedResponsePart *GeneratedResponsePart `locationName:"generatedResponsePart" type:"structure"` - // list of retrieved references + // Contains metadata about the sources cited for the generated response. RetrievedReferences []*RetrievedReference `locationName:"retrievedReferences" type:"list"` } @@ -938,12 +967,12 @@ func (s *Citation) SetRetrievedReferences(v []*RetrievedReference) *Citation { return s } -// This exception is thrown when there is a conflict performing an operation +// There was a conflict performing an operation. Resolve the conflict and retry +// your request. type ConflictException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // Non Blank String Message_ *string `locationName:"message" type:"string"` } @@ -1032,16 +1061,16 @@ func (s *ConflictException) RequestID() string { return s.RespMetadata.RequestID } -// This exception is thrown when a request fails due to dependency like Lambda, -// Bedrock, STS resource due to a customer fault (i.e. bad configuration) +// There was an issue with a dependency. Check the resource configurations and +// retry the request. type DependencyFailedException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // Non Blank String Message_ *string `locationName:"message" type:"string"` - // Non Blank String + // The name of the dependency that caused the issue, such as Amazon Bedrock, + // Lambda, or STS. ResourceName *string `locationName:"resourceName" type:"string"` } @@ -1130,18 +1159,18 @@ func (s *DependencyFailedException) RequestID() string { return s.RespMetadata.RequestID } -// Trace Part which is emitted when agent trace could not be generated +// Contains information about the failure of the interaction. type FailureTrace struct { _ struct{} `type:"structure" sensitive:"true"` - // Agent Trace Failed Reason String + // The reason the interaction failed. // // FailureReason is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by FailureTrace's // String and GoString methods. FailureReason *string `locationName:"failureReason" type:"string" sensitive:"true"` - // Identifier for trace + // The unique identifier of the trace. TraceId *string `locationName:"traceId" min:"2" type:"string"` } @@ -1175,11 +1204,11 @@ func (s *FailureTrace) SetTraceId(v string) *FailureTrace { return s } -// Agent finish output +// Contains details about the response to the user. type FinalResponse struct { _ struct{} `type:"structure"` - // Agent Trace Action Group Lambda Invocation Output String + // The text in the response to the user. // // Text is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by FinalResponse's @@ -1211,11 +1240,13 @@ func (s *FinalResponse) SetText(v string) *FinalResponse { return s } -// Generate response part +// Contains metadata about a part of the generated response that is accompanied +// by a citation. type GeneratedResponsePart struct { _ struct{} `type:"structure"` - // Text response part + // Contains metadata about a textual part of the generated response that is + // accompanied by a citation. // // TextResponsePart is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GeneratedResponsePart's @@ -1247,24 +1278,39 @@ func (s *GeneratedResponsePart) SetTextResponsePart(v *TextResponsePart) *Genera return s } -// Configurations for controlling the inference response of an InvokeAgent API -// call +// Specifications about the inference parameters that were provided alongside +// the prompt. These are specified in the PromptOverrideConfiguration (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) +// object that was set when the agent was created or updated. For more information, +// see Inference parameters for foundation models (https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). type InferenceConfiguration struct { _ struct{} `type:"structure"` - // Maximum length of output + // The maximum number of tokens allowed in the generated response. MaximumLength *int64 `locationName:"maximumLength" type:"integer"` - // List of stop sequences + // A list of stop sequences. A stop sequence is a sequence of characters that + // causes the model to stop generating the response. StopSequences []*string `locationName:"stopSequences" type:"list"` - // Controls randomness, higher values increase diversity + // The likelihood of the model selecting higher-probability options while generating + // a response. A lower value makes the model more likely to choose higher-probability + // options, while a higher value makes the model more likely to choose lower-probability + // options. Temperature *float64 `locationName:"temperature" type:"float"` - // Sample from the k most likely next tokens + // While generating a response, the model determines the probability of the + // following token at each point of generation. The value that you set for topK + // is the number of most-likely candidates from which the model chooses the + // next token in the sequence. For example, if you set topK to 50, the model + // selects the next token from among the top 50 most likely choices. TopK *int64 `locationName:"topK" type:"integer"` - // Cumulative probability cutoff for token selection + // While generating a response, the model determines the probability of the + // following token at each point of generation. The value that you set for Top + // P determines the number of most-likely candidates from which the model chooses + // the next token in the sequence. For example, if you set topP to 80, the model + // only selects the next token from the top 80% of the probability distribution + // of next tokens. TopP *float64 `locationName:"topP" type:"float"` } @@ -1316,13 +1362,11 @@ func (s *InferenceConfiguration) SetTopP(v float64) *InferenceConfiguration { return s } -// This exception is thrown if there was an unexpected error during processing -// of request +// An internal server error occurred. Retry your request. type InternalServerException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // Non Blank String Message_ *string `locationName:"message" type:"string"` } @@ -1411,20 +1455,22 @@ func (s *InternalServerException) RequestID() string { return s.RespMetadata.RequestID } -// Trace Part which contains input details for action group or knowledge base +// Contains information pertaining to the action group or knowledge base that +// is being invoked. type InvocationInput_ struct { _ struct{} `type:"structure" sensitive:"true"` - // input to lambda used in action group + // Contains information about the action group to be invoked. ActionGroupInvocationInput *ActionGroupInvocationInput_ `locationName:"actionGroupInvocationInput" type:"structure"` - // types of invocations + // Specifies whether the agent is invoking an action group or a knowledge base. InvocationType *string `locationName:"invocationType" type:"string" enum:"InvocationType"` - // Input to lambda used in action group + // Contains details about the knowledge base to look up and the query to be + // made. KnowledgeBaseLookupInput *KnowledgeBaseLookupInput_ `locationName:"knowledgeBaseLookupInput" type:"structure"` - // Identifier for trace + // The unique identifier of the trace. TraceId *string `locationName:"traceId" min:"2" type:"string"` } @@ -1470,27 +1516,27 @@ func (s *InvocationInput_) SetTraceId(v string) *InvocationInput_ { return s } -// InvokeAgent Request type InvokeAgentInput struct { _ struct{} `type:"structure"` - // Identifier for Agent Alias + // The alias of the agent to use. // // AgentAliasId is a required field AgentAliasId *string `location:"uri" locationName:"agentAliasId" type:"string" required:"true"` - // Identifier for Agent + // The unique identifier of the agent to use. // // AgentId is a required field AgentId *string `location:"uri" locationName:"agentId" type:"string" required:"true"` - // Enable agent trace events for improved debugging + // Specifies whether to turn on the trace or not to track the agent's reasoning + // process. For more information, see Trace enablement (https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events). EnableTrace *bool `locationName:"enableTrace" type:"boolean"` - // End current session + // Specifies whether to end the session with the agent or not. EndSession *bool `locationName:"endSession" type:"boolean"` - // Input data in the format specified in the Content-Type request header. + // The prompt text to send the agent. // // InputText is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by InvokeAgentInput's @@ -1499,13 +1545,13 @@ type InvokeAgentInput struct { // InputText is a required field InputText *string `locationName:"inputText" type:"string" required:"true" sensitive:"true"` - // Identifier used for the current session + // The unique identifier of the session. Use the same value across requests + // to continue the same conversation. // // SessionId is a required field SessionId *string `location:"uri" locationName:"sessionId" min:"2" type:"string" required:"true"` - // Session state passed by customer. Base64 encoded json string representation - // of SessionState. + // Contains parameters that specify various attributes of the session. SessionState *SessionState `locationName:"sessionState" type:"structure"` } @@ -1600,18 +1646,17 @@ func (s *InvokeAgentInput) SetSessionState(v *SessionState) *InvokeAgentInput { return s } -// InvokeAgent Response type InvokeAgentOutput struct { _ struct{} `type:"structure" payload:"Completion"` eventStream *InvokeAgentEventStream - // streaming response mimetype of the model + // The MIME type of the input data in the request. The default value is application/json. // // ContentType is a required field ContentType *string `location:"header" locationName:"x-amzn-bedrock-agent-content-type" type:"string" required:"true"` - // streaming response mimetype of the model + // The unique identifier of the session with the agent. // // SessionId is a required field SessionId *string `location:"header" locationName:"x-amz-bedrock-agent-session-id" min:"2" type:"string" required:"true"` @@ -1652,18 +1697,19 @@ func (s *InvokeAgentOutput) GetStream() *InvokeAgentEventStream { return s.eventStream } -// Input to lambda used in action group +// Contains details about the knowledge base to look up and the query to be +// made. type KnowledgeBaseLookupInput_ struct { _ struct{} `type:"structure"` - // Agent Trace Action Group Knowledge Base Id + // The unique identifier of the knowledge base to look up. // // KnowledgeBaseId is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by KnowledgeBaseLookupInput_'s // String and GoString methods. KnowledgeBaseId *string `locationName:"knowledgeBaseId" type:"string" sensitive:"true"` - // Agent Trace Action Group Lambda Invocation Output String + // The query made to the knowledge base. // // Text is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by KnowledgeBaseLookupInput_'s @@ -1701,11 +1747,11 @@ func (s *KnowledgeBaseLookupInput_) SetText(v string) *KnowledgeBaseLookupInput_ return s } -// Input to lambda used in action group +// Contains details about the results from looking up the knowledge base. type KnowledgeBaseLookupOutput_ struct { _ struct{} `type:"structure"` - // list of retrieved references + // Contains metadata about the sources cited for the generated response. RetrievedReferences []*RetrievedReference `locationName:"retrievedReferences" type:"list"` } @@ -1733,11 +1779,11 @@ func (s *KnowledgeBaseLookupOutput_) SetRetrievedReferences(v []*RetrievedRefere return s } -// Knowledge base input query. +// Contains the query made to the knowledge base. type KnowledgeBaseQuery struct { _ struct{} `type:"structure" sensitive:"true"` - // Knowledge base input query in text + // The text of the query made to the knowledge base. // // Text is a required field Text *string `locationName:"text" type:"string" required:"true"` @@ -1780,11 +1826,17 @@ func (s *KnowledgeBaseQuery) SetText(v string) *KnowledgeBaseQuery { return s } -// Search parameters for retrieving from knowledge base. +// Contains details about how the results should be returned. +// +// This data type is used in the following API operations: +// +// - Retrieve request body (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax) +// +// - RetrieveAndGenerate request body (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax) type KnowledgeBaseRetrievalConfiguration struct { _ struct{} `type:"structure"` - // Knowledge base vector search configuration + // Contains details about how the results from the vector search should be returned. // // VectorSearchConfiguration is a required field VectorSearchConfiguration *KnowledgeBaseVectorSearchConfiguration `locationName:"vectorSearchConfiguration" type:"structure" required:"true"` @@ -1832,11 +1884,11 @@ func (s *KnowledgeBaseRetrievalConfiguration) SetVectorSearchConfiguration(v *Kn return s } -// Result item returned from a knowledge base retrieval. +// Details about a result from querying the knowledge base. type KnowledgeBaseRetrievalResult struct { _ struct{} `type:"structure"` - // Content of a retrieval result. + // Contains a chunk of text from a data source in the knowledge base. // // Content is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by KnowledgeBaseRetrievalResult's @@ -1845,14 +1897,14 @@ type KnowledgeBaseRetrievalResult struct { // Content is a required field Content *RetrievalResultContent `locationName:"content" type:"structure" required:"true" sensitive:"true"` - // The source location of a retrieval result. + // Contains information about the location of the data source. // // Location is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by KnowledgeBaseRetrievalResult's // String and GoString methods. Location *RetrievalResultLocation `locationName:"location" type:"structure" sensitive:"true"` - // The relevance score of a result. + // The level of relevance of the result to the query. Score *float64 `locationName:"score" type:"double"` } @@ -1892,21 +1944,23 @@ func (s *KnowledgeBaseRetrievalResult) SetScore(v float64) *KnowledgeBaseRetriev return s } -// Configurations for retrieval and generation for knowledge base. +// Contains details about the resource being queried. type KnowledgeBaseRetrieveAndGenerateConfiguration struct { _ struct{} `type:"structure"` - // Identifier of the KnowledgeBase + // The unique identifier of the knowledge base that is queried and the foundation + // model used for generation. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `locationName:"knowledgeBaseId" type:"string" required:"true"` - // Arn of a Bedrock model. + // The ARN of the foundation model used to generate a response. // // ModelArn is a required field ModelArn *string `locationName:"modelArn" min:"20" type:"string" required:"true"` - // Search parameters for retrieving from knowledge base. + // Contains configurations for how to retrieve and return the knowledge base + // query. RetrievalConfiguration *KnowledgeBaseRetrievalConfiguration `locationName:"retrievalConfiguration" type:"structure"` } @@ -1970,14 +2024,22 @@ func (s *KnowledgeBaseRetrieveAndGenerateConfiguration) SetRetrievalConfiguratio return s } -// Knowledge base vector search configuration +// Configurations for how to carry out the search. type KnowledgeBaseVectorSearchConfiguration struct { _ struct{} `type:"structure"` - // Top-K results to retrieve from knowledge base. + // The number of results to return. + // + // The numberOfResults field is currently unsupported for RetrieveAndGenerate. + // Don't include it in this field if you are sending a RetrieveAndGenerate request. NumberOfResults *int64 `locationName:"numberOfResults" min:"1" type:"integer"` - // Override the type of query to be performed on data store + // By default, Amazon Bedrock decides a search strategy for you. If you're using + // an Amazon OpenSearch Serverless vector store that contains a filterable text + // field, you can specify whether to query the knowledge base with a HYBRID + // search using both vector embeddings and raw text, or SEMANTIC search using + // only vector embeddings. For other vector store configurations, only SEMANTIC + // search is available. For more information, see Test a knowledge base (https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-test.html). OverrideSearchType *string `locationName:"overrideSearchType" type:"string" enum:"SearchType"` } @@ -2024,34 +2086,49 @@ func (s *KnowledgeBaseVectorSearchConfiguration) SetOverrideSearchType(v string) return s } -// Trace Part which contains information used to call Invoke Model +// The input for the pre-processing step. +// +// - The type matches the agent step. +// +// - The text contains the prompt. +// +// - The inferenceConfiguration, parserMode, and overrideLambda values are +// set in the PromptOverrideConfiguration (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) +// object that was set when the agent was created or updated. type ModelInvocationInput_ struct { _ struct{} `type:"structure" sensitive:"true"` - // Configurations for controlling the inference response of an InvokeAgent API - // call + // Specifications about the inference parameters that were provided alongside + // the prompt. These are specified in the PromptOverrideConfiguration (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + // object that was set when the agent was created or updated. For more information, + // see Inference parameters for foundation models (https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). InferenceConfiguration *InferenceConfiguration `locationName:"inferenceConfiguration" type:"structure"` - // ARN of a Lambda. + // The ARN of the Lambda function to use when parsing the raw foundation model + // output in parts of the agent sequence. OverrideLambda *string `locationName:"overrideLambda" type:"string"` - // indicates if agent uses default prompt or overriden prompt + // 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. ParserMode *string `locationName:"parserMode" type:"string" enum:"CreationMode"` - // indicates if agent uses default prompt or overriden prompt + // Specifies whether the default prompt template was OVERRIDDEN. If it was, + // the basePromptTemplate that was set in the PromptOverrideConfiguration (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + // object when the agent was created or updated is used instead. PromptCreationMode *string `locationName:"promptCreationMode" type:"string" enum:"CreationMode"` - // Prompt Message + // The text that prompted the agent at this step. // // Text is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ModelInvocationInput_'s // String and GoString methods. Text *string `locationName:"text" type:"string" sensitive:"true"` - // Identifier for trace + // The unique identifier of the trace. TraceId *string `locationName:"traceId" min:"2" type:"string"` - // types of prompts + // The step in the agent sequence. Type *string `locationName:"type" type:"string" enum:"PromptType"` } @@ -2115,31 +2192,43 @@ func (s *ModelInvocationInput_) SetType(v string) *ModelInvocationInput_ { return s } -// Trace Part which contains output details for action group or knowledge base -// or final response +// Contains the result or output of an action group or knowledge base, or the +// response to the user. type Observation struct { _ struct{} `type:"structure" sensitive:"true"` - // output from lambda used in action group + // Contains the JSON-formatted string returned by the API invoked by the action + // group. ActionGroupInvocationOutput *ActionGroupInvocationOutput_ `locationName:"actionGroupInvocationOutput" type:"structure"` - // Agent finish output + // Contains details about the response to the user. FinalResponse *FinalResponse `locationName:"finalResponse" type:"structure"` - // Input to lambda used in action group + // Contains details about the results from looking up the knowledge base. KnowledgeBaseLookupOutput *KnowledgeBaseLookupOutput_ `locationName:"knowledgeBaseLookupOutput" type:"structure"` - // Observation information if there were reprompts + // Contains details about the response to reprompt the input. // // RepromptResponse is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Observation's // String and GoString methods. RepromptResponse *RepromptResponse `locationName:"repromptResponse" type:"structure" sensitive:"true"` - // Identifier for trace + // The unique identifier of the trace. TraceId *string `locationName:"traceId" min:"2" type:"string"` - // types of observations + // Specifies what kind of information the agent returns in the observation. + // The following values are possible. + // + // * ACTION_GROUP – The agent returns the result of an action group. + // + // * KNOWLEDGE_BASE – The agent returns information from a knowledge base. + // + // * FINISH – The agent returns a final response to the user with no follow-up. + // + // * ASK_USER – The agent asks the user a question. + // + // * REPROMPT – The agent prompts the user again for the same information. Type *string `locationName:"type" type:"string" enum:"Type"` } @@ -2197,33 +2286,44 @@ func (s *Observation) SetType(v string) *Observation { return s } -// Trace contains intermidate response during orchestration +// Details about the orchestration step, in which the agent determines the order +// in which actions are executed and which knowledge bases are retrieved. type OrchestrationTrace struct { _ struct{} `type:"structure" sensitive:"true"` - // Trace Part which contains input details for action group or knowledge base + // Contains information pertaining to the action group or knowledge base that + // is being invoked. // // InvocationInput is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by OrchestrationTrace's // String and GoString methods. InvocationInput *InvocationInput_ `locationName:"invocationInput" type:"structure" sensitive:"true"` - // Trace Part which contains information used to call Invoke Model + // The input for the orchestration step. + // + // * The type is ORCHESTRATION. + // + // * The text contains the prompt. + // + // * The inferenceConfiguration, parserMode, and overrideLambda values are + // set in the PromptOverrideConfiguration (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + // object that was set when the agent was created or updated. // // ModelInvocationInput is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by OrchestrationTrace's // String and GoString methods. ModelInvocationInput *ModelInvocationInput_ `locationName:"modelInvocationInput" type:"structure" sensitive:"true"` - // Trace Part which contains output details for action group or knowledge base - // or final response + // Details about the observation (the output of the action group Lambda or knowledge + // base) made by the agent. // // Observation is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by OrchestrationTrace's // String and GoString methods. Observation *Observation `locationName:"observation" type:"structure" sensitive:"true"` - // Trace Part which contains information related to reasoning + // Details about the reasoning, based on the input, that the agent uses to justify + // carrying out an action group or getting information from a knowledge base. // // Rationale is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by OrchestrationTrace's @@ -2273,17 +2373,17 @@ func (s *OrchestrationTrace) SetRationale(v *Rationale) *OrchestrationTrace { return s } -// parameters included in action group invocation +// A parameter in the Lambda input event. type Parameter struct { _ struct{} `type:"structure"` - // Name of parameter + // The name of the parameter. Name *string `locationName:"name" type:"string"` - // Type of parameter + // The type of the parameter. Type *string `locationName:"type" type:"string"` - // Value of parameter + // The value of the parameter. Value *string `locationName:"value" type:"string"` } @@ -2323,14 +2423,14 @@ func (s *Parameter) SetValue(v string) *Parameter { return s } -// Base 64 endoded byte response +// Contains a part of an agent response and citations for it. type PayloadPart struct { _ struct{} `type:"structure" sensitive:"true"` - // Citations associated with final agent response + // Contains citations for a part of an agent response. Attribution *Attribution `locationName:"attribution" type:"structure"` - // PartBody of the payload in bytes + // A part of the agent response in bytes. // // Bytes is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by PayloadPart's @@ -2399,18 +2499,19 @@ func (s *PayloadPart) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstrea return msg, err } -// Trace Part which contains information related to postprocessing +// The foundation model output from the post-processing step. type PostProcessingModelInvocationOutput_ struct { _ struct{} `type:"structure" sensitive:"true"` - // Trace Part which contains information if preprocessing was successful + // Details about the response from the Lambda parsing of the output of the post-processing + // step. // // ParsedResponse is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by PostProcessingModelInvocationOutput_'s // String and GoString methods. ParsedResponse *PostProcessingParsedResponse `locationName:"parsedResponse" type:"structure" sensitive:"true"` - // Identifier for trace + // The unique identifier of the trace. TraceId *string `locationName:"traceId" min:"2" type:"string"` } @@ -2444,11 +2545,12 @@ func (s *PostProcessingModelInvocationOutput_) SetTraceId(v string) *PostProcess return s } -// Trace Part which contains information if preprocessing was successful +// Details about the response from the Lambda parsing of the output from the +// post-processing step. type PostProcessingParsedResponse struct { _ struct{} `type:"structure" sensitive:"true"` - // Agent Trace Output String + // The text returned by the parser. // // Text is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by PostProcessingParsedResponse's @@ -2480,18 +2582,26 @@ func (s *PostProcessingParsedResponse) SetText(v string) *PostProcessingParsedRe return s } -// Trace Part which contains information related to post processing step +// Details about the post-processing step, in which the agent shapes the response. type PostProcessingTrace struct { _ struct{} `type:"structure" sensitive:"true"` - // Trace Part which contains information used to call Invoke Model + // The input for the post-processing step. + // + // * The type is POST_PROCESSING. + // + // * The text contains the prompt. + // + // * The inferenceConfiguration, parserMode, and overrideLambda values are + // set in the PromptOverrideConfiguration (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + // object that was set when the agent was created or updated. // // ModelInvocationInput is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by PostProcessingTrace's // String and GoString methods. ModelInvocationInput *ModelInvocationInput_ `locationName:"modelInvocationInput" type:"structure" sensitive:"true"` - // Trace Part which contains information related to postprocessing + // The foundation model output from the post-processing step. // // ModelInvocationOutput is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by PostProcessingTrace's @@ -2529,18 +2639,19 @@ func (s *PostProcessingTrace) SetModelInvocationOutput(v *PostProcessingModelInv return s } -// Trace Part which contains information related to preprocessing +// The foundation model output from the pre-processing step. type PreProcessingModelInvocationOutput_ struct { _ struct{} `type:"structure" sensitive:"true"` - // Trace Part which contains information if preprocessing was successful + // Details about the response from the Lambda parsing of the output of the pre-processing + // step. // // ParsedResponse is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by PreProcessingModelInvocationOutput_'s // String and GoString methods. ParsedResponse *PreProcessingParsedResponse `locationName:"parsedResponse" type:"structure" sensitive:"true"` - // Identifier for trace + // The unique identifier of the trace. TraceId *string `locationName:"traceId" min:"2" type:"string"` } @@ -2574,14 +2685,18 @@ func (s *PreProcessingModelInvocationOutput_) SetTraceId(v string) *PreProcessin return s } -// Trace Part which contains information if preprocessing was successful +// Details about the response from the Lambda parsing of the output from the +// pre-processing step. type PreProcessingParsedResponse struct { _ struct{} `type:"structure" sensitive:"true"` - // Boolean value + // Whether the user input is valid or not. If false, the agent doesn't proceed + // to orchestration. IsValid *bool `locationName:"isValid" type:"boolean"` - // Agent Trace Rationale String + // The text returned by the parsing of the pre-processing step, explaining the + // steps that the agent plans to take in orchestration, if the user input is + // valid. // // Rationale is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by PreProcessingParsedResponse's @@ -2619,18 +2734,27 @@ func (s *PreProcessingParsedResponse) SetRationale(v string) *PreProcessingParse return s } -// Trace Part which contains information related to preprocessing step +// Details about the pre-processing step, in which the agent contextualizes +// and categorizes user inputs. type PreProcessingTrace struct { _ struct{} `type:"structure" sensitive:"true"` - // Trace Part which contains information used to call Invoke Model + // The input for the pre-processing step. + // + // * The type is PRE_PROCESSING. + // + // * The text contains the prompt. + // + // * The inferenceConfiguration, parserMode, and overrideLambda values are + // set in the PromptOverrideConfiguration (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) + // object that was set when the agent was created or updated. // // ModelInvocationInput is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by PreProcessingTrace's // String and GoString methods. ModelInvocationInput *ModelInvocationInput_ `locationName:"modelInvocationInput" type:"structure" sensitive:"true"` - // Trace Part which contains information related to preprocessing + // The foundation model output from the pre-processing step. // // ModelInvocationOutput is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by PreProcessingTrace's @@ -2668,18 +2792,19 @@ func (s *PreProcessingTrace) SetModelInvocationOutput(v *PreProcessingModelInvoc return s } -// Trace Part which contains information related to reasoning +// Contains the reasoning, based on the input, that the agent uses to justify +// carrying out an action group or getting information from a knowledge base. type Rationale struct { _ struct{} `type:"structure" sensitive:"true"` - // Agent Trace Rationale String + // The reasoning or thought process of the agent, based on the input. // // Text is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Rationale's // String and GoString methods. Text *string `locationName:"text" type:"string" sensitive:"true"` - // Identifier for trace + // The unique identifier of the trace step. TraceId *string `locationName:"traceId" min:"2" type:"string"` } @@ -2713,18 +2838,18 @@ func (s *Rationale) SetTraceId(v string) *Rationale { return s } -// Observation information if there were reprompts +// Contains details about the agent's response to reprompt the input. type RepromptResponse struct { _ struct{} `type:"structure" sensitive:"true"` - // Parsing error source + // Specifies what output is prompting the agent to reprompt the input. // // Source is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RepromptResponse's // String and GoString methods. Source *string `locationName:"source" type:"string" enum:"Source" sensitive:"true"` - // Reprompt response text + // The text reprompting the input. Text *string `locationName:"text" type:"string"` } @@ -2758,11 +2883,11 @@ func (s *RepromptResponse) SetText(v string) *RepromptResponse { return s } -// Request Body Content Map +// The parameters in the request body for the Lambda input event. type RequestBody struct { _ struct{} `type:"structure"` - // Content type paramter map + // The content in the request body. Content map[string][]*Parameter `locationName:"content" type:"map"` } @@ -2790,13 +2915,12 @@ func (s *RequestBody) SetContent(v map[string][]*Parameter) *RequestBody { return s } -// This exception is thrown when a resource referenced by the operation does -// not exist +// The specified resource ARN was not found. Check the ARN and try your request +// again. type ResourceNotFoundException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // Non Blank String Message_ *string `locationName:"message" type:"string"` } @@ -3059,11 +3183,11 @@ func (e *ResponseStreamUnknownEvent) UnmarshalEvent( return nil } -// Content of a retrieval result. +// Contains the cited text from the data source. type RetrievalResultContent struct { _ struct{} `type:"structure" sensitive:"true"` - // Content of a retrieval result in text + // The cited text from the data source. // // Text is a required field Text *string `locationName:"text" type:"string" required:"true"` @@ -3093,14 +3217,14 @@ func (s *RetrievalResultContent) SetText(v string) *RetrievalResultContent { return s } -// The source location of a retrieval result. +// Contains information about the location of the data source. type RetrievalResultLocation struct { _ struct{} `type:"structure" sensitive:"true"` - // The S3 location of a retrieval result. + // Contains the S3 location of the data source. S3Location *RetrievalResultS3Location `locationName:"s3Location" type:"structure"` - // The location type of a retrieval result. + // The type of the location of the data source. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"RetrievalResultLocationType"` @@ -3136,11 +3260,11 @@ func (s *RetrievalResultLocation) SetType(v string) *RetrievalResultLocation { return s } -// The S3 location of a retrieval result. +// Contains the S3 location of the data source. type RetrievalResultS3Location struct { _ struct{} `type:"structure"` - // URI of S3 location + // The S3 URI of the data source. Uri *string `locationName:"uri" type:"string"` } @@ -3168,14 +3292,14 @@ func (s *RetrievalResultS3Location) SetUri(v string) *RetrievalResultS3Location return s } -// Configures the retrieval and generation for the session. +// Contains details about the resource being queried. type RetrieveAndGenerateConfiguration struct { _ struct{} `type:"structure"` - // Configurations for retrieval and generation for knowledge base. + // Contains details about the resource being queried. KnowledgeBaseConfiguration *KnowledgeBaseRetrieveAndGenerateConfiguration `locationName:"knowledgeBaseConfiguration" type:"structure"` - // The type of RetrieveAndGenerate. + // The type of resource that is queried by the request. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"RetrieveAndGenerateType"` @@ -3232,7 +3356,7 @@ func (s *RetrieveAndGenerateConfiguration) SetType(v string) *RetrieveAndGenerat type RetrieveAndGenerateInput struct { _ struct{} `type:"structure"` - // Customer input of the turn + // Contains the query made to the knowledge base. // // Input is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RetrieveAndGenerateInput's @@ -3241,13 +3365,15 @@ type RetrieveAndGenerateInput struct { // Input is a required field Input *RetrieveAndGenerateInput_ `locationName:"input" type:"structure" required:"true" sensitive:"true"` - // Configures the retrieval and generation for the session. + // Contains details about the resource being queried and the foundation model + // used for generation. RetrieveAndGenerateConfiguration *RetrieveAndGenerateConfiguration `locationName:"retrieveAndGenerateConfiguration" type:"structure"` - // Configures common parameters of the session. + // Contains details about the session with the knowledge base. SessionConfiguration *RetrieveAndGenerateSessionConfiguration `locationName:"sessionConfiguration" type:"structure"` - // Identifier of the session. + // The unique identifier of the session. Reuse the same value to continue the + // same session with the knowledge base. SessionId *string `locationName:"sessionId" min:"2" type:"string"` } @@ -3324,11 +3450,11 @@ func (s *RetrieveAndGenerateInput) SetSessionId(v string) *RetrieveAndGenerateIn return s } -// Customer input of the turn +// Contains the query made to the knowledge base. type RetrieveAndGenerateInput_ struct { _ struct{} `type:"structure" sensitive:"true"` - // Customer input of the turn in text + // The query made to the knowledge base. // // Text is a required field Text *string `locationName:"text" type:"string" required:"true"` @@ -3374,10 +3500,11 @@ func (s *RetrieveAndGenerateInput_) SetText(v string) *RetrieveAndGenerateInput_ type RetrieveAndGenerateOutput struct { _ struct{} `type:"structure"` - // List of citations + // A list of segments of the generated response that are based on sources in + // the knowledge base, alongside information about the sources. Citations []*Citation `locationName:"citations" type:"list"` - // Service response of the turn + // Contains the response generated from querying the knowledge base. // // Output is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RetrieveAndGenerateOutput's @@ -3386,7 +3513,8 @@ type RetrieveAndGenerateOutput struct { // Output is a required field Output *RetrieveAndGenerateOutput_ `locationName:"output" type:"structure" required:"true" sensitive:"true"` - // Identifier of the session. + // The unique identifier of the session. Reuse the same value to continue the + // same session with the knowledge base. // // SessionId is a required field SessionId *string `locationName:"sessionId" min:"2" type:"string" required:"true"` @@ -3428,11 +3556,11 @@ func (s *RetrieveAndGenerateOutput) SetSessionId(v string) *RetrieveAndGenerateO return s } -// Service response of the turn +// Contains the response generated from querying the knowledge base. type RetrieveAndGenerateOutput_ struct { _ struct{} `type:"structure" sensitive:"true"` - // Service response of the turn in text + // The response generated from querying the knowledge base. // // Text is a required field Text *string `locationName:"text" type:"string" required:"true"` @@ -3462,11 +3590,11 @@ func (s *RetrieveAndGenerateOutput_) SetText(v string) *RetrieveAndGenerateOutpu return s } -// Configures common parameters of the session. +// Contains configuration about the session with the knowledge base. type RetrieveAndGenerateSessionConfiguration struct { _ struct{} `type:"structure"` - // The KMS key arn to encrypt the customer data of the session. + // The ARN of the KMS key encrypting the session. // // KmsKeyArn is a required field KmsKeyArn *string `locationName:"kmsKeyArn" min:"1" type:"string" required:"true"` @@ -3515,18 +3643,20 @@ func (s *RetrieveAndGenerateSessionConfiguration) SetKmsKeyArn(v string) *Retrie type RetrieveInput struct { _ struct{} `type:"structure"` - // Identifier of the KnowledgeBase + // The unique identifier of the knowledge base to query. // // KnowledgeBaseId is a required field KnowledgeBaseId *string `location:"uri" locationName:"knowledgeBaseId" type:"string" required:"true"` - // Opaque continuation token of previous paginated response. + // If there are more results than can fit in the response, the response returns + // a nextToken. Use this token in the nextToken field of another request to + // retrieve the next batch of results. NextToken *string `locationName:"nextToken" min:"1" type:"string"` - // Search parameters for retrieving from knowledge base. + // Contains details about how the results should be returned. RetrievalConfiguration *KnowledgeBaseRetrievalConfiguration `locationName:"retrievalConfiguration" type:"structure"` - // Knowledge base input query. + // The query to send the knowledge base. // // RetrievalQuery is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RetrieveInput's @@ -3613,10 +3743,12 @@ func (s *RetrieveInput) SetRetrievalQuery(v *KnowledgeBaseQuery) *RetrieveInput type RetrieveOutput struct { _ struct{} `type:"structure"` - // Opaque continuation token of previous paginated response. + // If there are more results than can fit in the response, the response returns + // a nextToken. Use this token in the nextToken field of another request to + // retrieve the next batch of results. NextToken *string `locationName:"nextToken" min:"1" type:"string"` - // List of knowledge base retrieval results + // A list of results from querying the knowledge base. // // RetrievalResults is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RetrieveOutput's @@ -3656,18 +3788,18 @@ func (s *RetrieveOutput) SetRetrievalResults(v []*KnowledgeBaseRetrievalResult) return s } -// Retrieved reference +// Contains metadata about a sources cited for the generated response. type RetrievedReference struct { _ struct{} `type:"structure"` - // Content of a retrieval result. + // Contains the cited text from the data source. // // Content is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RetrievedReference's // String and GoString methods. Content *RetrievalResultContent `locationName:"content" type:"structure" sensitive:"true"` - // The source location of a retrieval result. + // Contains information about the location of the data source. // // Location is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RetrievedReference's @@ -3705,12 +3837,11 @@ func (s *RetrievedReference) SetLocation(v *RetrievalResultLocation) *RetrievedR return s } -// This exception is thrown when a request is made beyond the service quota +// The number of requests exceeds the service quota. Resubmit your request later. type ServiceQuotaExceededException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // Non Blank String Message_ *string `locationName:"message" type:"string"` } @@ -3799,14 +3930,24 @@ func (s *ServiceQuotaExceededException) RequestID() string { return s.RespMetadata.RequestID } -// Session state provided +// Contains parameters that specify various attributes that persist across a +// session or prompt. You can define session state attributes as key-value pairs +// when writing a Lambda function (https://docs.aws.amazon.com/bedrock/latest/userguide/agents-lambda.html) +// for an action group or pass them when making an InvokeAgent (https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) +// request. Use session state attributes to control and provide conversational +// context for your agent and to help customize your agent's behavior. For more +// information, see Session context (https://docs.aws.amazon.com/bedrock/latest/userguide/sessionstate.html). type SessionState struct { _ struct{} `type:"structure"` - // Prompt Session Attributes + // 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 (https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-placeholders.html). PromptSessionAttributes map[string]*string `locationName:"promptSessionAttributes" type:"map"` - // Session Attributes + // Contains attributes that persist across a session and the values of those + // attributes. SessionAttributes map[string]*string `locationName:"sessionAttributes" type:"map"` } @@ -3840,14 +3981,15 @@ func (s *SessionState) SetSessionAttributes(v map[string]*string) *SessionState return s } -// Span of text +// Contains information about where the text with a citation begins and ends +// in the generated output. type Span struct { _ struct{} `type:"structure"` - // End of span + // Where the text with a citation ends in the generated output. End *int64 `locationName:"end" type:"integer"` - // Start of span + // Where the text with a citation starts in the generated output. Start *int64 `locationName:"start" type:"integer"` } @@ -3881,14 +4023,16 @@ func (s *Span) SetStart(v int64) *Span { return s } -// Text response part +// Contains the part of the generated text that contains a citation, alongside +// where it begins and ends. type TextResponsePart struct { _ struct{} `type:"structure" sensitive:"true"` - // Span of text + // Contains information about where the text with a citation begins and ends + // in the generated output. Span *Span `locationName:"span" type:"structure"` - // Response part in text + // The part of the generated text that contains a citation. Text *string `locationName:"text" type:"string"` } @@ -3922,12 +4066,11 @@ func (s *TextResponsePart) SetText(v string) *TextResponsePart { return s } -// This exception is thrown when the number of requests exceeds the limit +// The number of requests exceeds the limit. Resubmit your request later. type ThrottlingException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // Non Blank String Message_ *string `locationName:"message" type:"string"` } @@ -4016,32 +4159,37 @@ func (s *ThrottlingException) RequestID() string { return s.RespMetadata.RequestID } -// Trace contains intermidate response for customer +// Contains one part of the agent's reasoning process and results from calling +// API actions and querying knowledge bases. You can use the trace to understand +// how the agent arrived at the response it provided the customer. For more +// information, see Trace enablement (https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement). type Trace struct { _ struct{} `type:"structure" sensitive:"true"` - // Trace Part which is emitted when agent trace could not be generated + // Contains information about the failure of the interaction. // // FailureTrace is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Trace's // String and GoString methods. FailureTrace *FailureTrace `locationName:"failureTrace" type:"structure" sensitive:"true"` - // Trace contains intermidate response during orchestration + // Details about the orchestration step, in which the agent determines the order + // in which actions are executed and which knowledge bases are retrieved. // // OrchestrationTrace is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Trace's // String and GoString methods. OrchestrationTrace *OrchestrationTrace `locationName:"orchestrationTrace" type:"structure" sensitive:"true"` - // Trace Part which contains information related to post processing step + // Details about the post-processing step, in which the agent shapes the response.. // // PostProcessingTrace is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Trace's // String and GoString methods. PostProcessingTrace *PostProcessingTrace `locationName:"postProcessingTrace" type:"structure" sensitive:"true"` - // Trace Part which contains information related to preprocessing step + // Details about the pre-processing step, in which the agent contextualizes + // and categorizes user inputs. // // PreProcessingTrace is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Trace's @@ -4091,20 +4239,27 @@ func (s *Trace) SetPreProcessingTrace(v *PreProcessingTrace) *Trace { return s } -// Trace Part which contains intermidate response for customer +// Contains information about the agent and session, alongside the agent's reasoning +// process and results from calling API actions and querying knowledge bases +// and metadata about the trace. You can use the trace to understand how the +// agent arrived at the response it provided the customer. For more information, +// see Trace enablement (https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement). type TracePart struct { _ struct{} `type:"structure" sensitive:"true"` - // Identifier of the agent alias. + // The unique identifier of the alias of the agent. AgentAliasId *string `locationName:"agentAliasId" type:"string"` - // Identifier of the agent. + // The unique identifier of the agent. AgentId *string `locationName:"agentId" type:"string"` - // Identifier of the session. + // The unique identifier of the session with the agent. SessionId *string `locationName:"sessionId" min:"2" type:"string"` - // Trace contains intermidate response for customer + // Contains one part of the agent's reasoning process and results from calling + // API actions and querying knowledge bases. You can use the trace to understand + // how the agent arrived at the response it provided the customer. For more + // information, see Trace enablement (https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement). // // Trace is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by TracePart's @@ -4183,12 +4338,11 @@ func (s *TracePart) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream. return msg, err } -// This exception is thrown when the request's input validation fails +// Input validation failed. Check your request parameters and retry the request. type ValidationException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // Non Blank String Message_ *string `locationName:"message" type:"string"` } @@ -4277,7 +4431,6 @@ func (s *ValidationException) RequestID() string { return s.RespMetadata.RequestID } -// indicates if agent uses default prompt or overriden prompt const ( // CreationModeDefault is a CreationMode enum value CreationModeDefault = "DEFAULT" @@ -4294,7 +4447,6 @@ func CreationMode_Values() []string { } } -// types of invocations const ( // InvocationTypeActionGroup is a InvocationType enum value InvocationTypeActionGroup = "ACTION_GROUP" @@ -4315,7 +4467,6 @@ func InvocationType_Values() []string { } } -// types of prompts const ( // PromptTypePreProcessing is a PromptType enum value PromptTypePreProcessing = "PRE_PROCESSING" @@ -4340,7 +4491,6 @@ func PromptType_Values() []string { } } -// The location type of a retrieval result. const ( // RetrievalResultLocationTypeS3 is a RetrievalResultLocationType enum value RetrievalResultLocationTypeS3 = "S3" @@ -4353,7 +4503,6 @@ func RetrievalResultLocationType_Values() []string { } } -// The type of RetrieveAndGenerate. const ( // RetrieveAndGenerateTypeKnowledgeBase is a RetrieveAndGenerateType enum value RetrieveAndGenerateTypeKnowledgeBase = "KNOWLEDGE_BASE" @@ -4366,7 +4515,6 @@ func RetrieveAndGenerateType_Values() []string { } } -// Query type to be performed on data store. const ( // SearchTypeHybrid is a SearchType enum value SearchTypeHybrid = "HYBRID" @@ -4383,7 +4531,6 @@ func SearchType_Values() []string { } } -// Parsing error source const ( // SourceActionGroup is a Source enum value SourceActionGroup = "ACTION_GROUP" @@ -4404,7 +4551,6 @@ func Source_Values() []string { } } -// types of observations const ( // TypeActionGroup is a Type enum value TypeActionGroup = "ACTION_GROUP" diff --git a/service/bedrockagentruntime/doc.go b/service/bedrockagentruntime/doc.go index 8f32afec3dd..34f1e3d8a22 100644 --- a/service/bedrockagentruntime/doc.go +++ b/service/bedrockagentruntime/doc.go @@ -3,7 +3,7 @@ // Package bedrockagentruntime provides the client and types for making API // requests to Agents for Amazon Bedrock Runtime. // -// # Amazon Bedrock Agent +// Contains APIs related to model invocation and querying of knowledge bases. // // See https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26 for more information on this service. // diff --git a/service/bedrockagentruntime/errors.go b/service/bedrockagentruntime/errors.go index 09fa2f26778..643d10b0f50 100644 --- a/service/bedrockagentruntime/errors.go +++ b/service/bedrockagentruntime/errors.go @@ -11,59 +11,59 @@ const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // - // This exception is thrown when a request is denied per access permissions + // The request is denied because of missing access permissions. Check your permissions + // and retry your request. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeBadGatewayException for service response error code // "BadGatewayException". // - // This exception is thrown when a request fails due to dependency like Lambda, - // Bedrock, STS resource + // There was an issue with a dependency due to a server issue. Retry your request. ErrCodeBadGatewayException = "BadGatewayException" // ErrCodeConflictException for service response error code // "ConflictException". // - // This exception is thrown when there is a conflict performing an operation + // There was a conflict performing an operation. Resolve the conflict and retry + // your request. ErrCodeConflictException = "ConflictException" // ErrCodeDependencyFailedException for service response error code // "DependencyFailedException". // - // This exception is thrown when a request fails due to dependency like Lambda, - // Bedrock, STS resource due to a customer fault (i.e. bad configuration) + // There was an issue with a dependency. Check the resource configurations and + // retry the request. ErrCodeDependencyFailedException = "DependencyFailedException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // - // This exception is thrown if there was an unexpected error during processing - // of request + // An internal server error occurred. Retry your request. ErrCodeInternalServerException = "InternalServerException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // - // This exception is thrown when a resource referenced by the operation does - // not exist + // The specified resource ARN was not found. Check the ARN and try your request + // again. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceQuotaExceededException for service response error code // "ServiceQuotaExceededException". // - // This exception is thrown when a request is made beyond the service quota + // The number of requests exceeds the service quota. Resubmit your request later. ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // - // This exception is thrown when the number of requests exceeds the limit + // The number of requests exceeds the limit. Resubmit your request later. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeValidationException for service response error code // "ValidationException". // - // This exception is thrown when the request's input validation fails + // Input validation failed. Check your request parameters and retry the request. ErrCodeValidationException = "ValidationException" ) diff --git a/service/cloudtrail/api.go b/service/cloudtrail/api.go index 6669c74f555..ac583b3583d 100644 --- a/service/cloudtrail/api.go +++ b/service/cloudtrail/api.go @@ -702,6 +702,9 @@ func (c *CloudTrail) CreateTrailRequest(input *CreateTrailInput) (req *request.R // This exception is thrown when the combination of parameters provided is not // valid. // +// - InvalidParameterException +// The request includes a parameter that is not valid. +// // - KmsKeyNotFoundException // This exception is thrown when the KMS key does not exist, when the S3 bucket // and the KMS key are not in the same Region, or when the KMS key associated @@ -1594,6 +1597,16 @@ func (c *CloudTrail) DescribeTrailsRequest(input *DescribeTrailsInput) (req *req // // - Not be in IP address format (for example, 192.168.5.4) // +// - ARNInvalidException +// This exception is thrown when an operation is called with an ARN that is +// not valid. +// +// The following is the format of a trail ARN: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail +// +// The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE +// +// The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890 +// // - NoManagementAccountSLRExistsException // This exception is thrown when the management account does not have a service-linked // role. @@ -3321,6 +3334,9 @@ func (c *CloudTrail) ListImportFailuresRequest(input *ListImportFailuresInput) ( // - UnsupportedOperationException // This exception is thrown when the requested operation is not supported. // +// - InvalidParameterException +// The request includes a parameter that is not valid. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListImportFailures func (c *CloudTrail) ListImportFailures(input *ListImportFailuresInput) (*ListImportFailuresOutput, error) { req, out := c.ListImportFailuresRequest(input) @@ -7523,25 +7539,38 @@ func (s AddTagsOutput) GoString() string { return s.String() } -// Advanced event selectors let you create fine-grained selectors for the following -// CloudTrail event record fields. They help you control costs by logging only -// those events that are important to you. For more information about advanced -// event selectors, see Logging data events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) +// Advanced event selectors let you create fine-grained selectors for CloudTrail +// management and data events. They help you control costs by logging only those +// events that are important to you. For more information about advanced event +// selectors, see Logging management events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html) +// and Logging data events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) // in the CloudTrail User Guide. // -// - readOnly +// You cannot apply both event selectors and advanced event selectors to a trail. +// +// Supported CloudTrail event record fields for management events +// +// - eventCategory (required) // // - eventSource // -// - eventName +// - readOnly +// +// Supported CloudTrail event record fields for data events // -// - eventCategory +// - eventCategory (required) // -// - resources.type +// - resources.type (required) +// +// - readOnly +// +// - eventName // // - resources.ARN // -// You cannot apply both event selectors and advanced event selectors to a trail. +// For event data stores for CloudTrail Insights events, Config configuration +// items, Audit Manager evidence, or events outside of Amazon Web Services, +// the only supported field is eventCategory. type AdvancedEventSelector struct { _ struct{} `type:"structure"` @@ -7662,23 +7691,26 @@ type AdvancedFieldSelector struct { // * resources.type - This field is required for CloudTrail data events. // resources.type can only use the Equals operator, and the value can be // one of the following: AWS::DynamoDB::Table AWS::Lambda::Function AWS::S3::Object - // AWS::B2BI::Transformer AWS::Bedrock::AgentAlias AWS::Bedrock::KnowledgeBase - // AWS::Cassandra::Table AWS::CloudFront::KeyValueStore AWS::CloudTrail::Channel - // AWS::CodeWhisperer::Customization AWS::CodeWhisperer::Profile AWS::Cognito::IdentityPool - // AWS::DynamoDB::Stream AWS::EC2::Snapshot AWS::EMRWAL::Workspace AWS::FinSpace::Environment - // AWS::Glue::Table AWS::GuardDuty::Detector AWS::IoTTwinMaker::Entity AWS::IoTTwinMaker::Workspace - // AWS::KendraRanking::ExecutionPlan AWS::KinesisVideo::Stream AWS::ManagedBlockchain::Network - // AWS::ManagedBlockchain::Node AWS::MedicalImaging::Datastore AWS::NeptuneGraph::Graph - // AWS::PCAConnectorAD::Connector AWS::QBusiness::Application AWS::QBusiness::DataSource - // AWS::QBusiness::Index AWS::QBusiness::WebExperience AWS::RDS::DBCluster - // AWS::SageMaker::Endpoint AWS::SageMaker::ExperimentTrialComponent AWS::SageMaker::FeatureGroup - // AWS::ServiceDiscovery::Namespace AWS::ServiceDiscovery::Service AWS::SCN::Instance - // AWS::SNS::PlatformEndpoint AWS::SNS::Topic AWS::SQS::Queue AWS::S3::AccessPoint - // AWS::S3ObjectLambda::AccessPoint AWS::S3Outposts::Object AWS::SSMMessages::ControlChannel - // AWS::ThinClient::Device AWS::ThinClient::Environment AWS::Timestream::Database - // AWS::Timestream::Table AWS::VerifiedPermissions::PolicyStore You can have - // only one resources.type field per selector. To log data events on more - // than one resource type, add another selector. + // AWS::AppConfig::Configuration AWS::B2BI::Transformer AWS::Bedrock::AgentAlias + // AWS::Bedrock::KnowledgeBase AWS::Cassandra::Table AWS::CloudFront::KeyValueStore + // AWS::CloudTrail::Channel AWS::CodeWhisperer::Customization AWS::CodeWhisperer::Profile + // AWS::Cognito::IdentityPool AWS::DynamoDB::Stream AWS::EC2::Snapshot AWS::EMRWAL::Workspace + // AWS::FinSpace::Environment AWS::Glue::Table AWS::GreengrassV2::ComponentVersion + // AWS::GreengrassV2::Deployment AWS::GuardDuty::Detector AWS::IoT::Certificate + // AWS::IoT::Thing AWS::IoTSiteWise::Asset AWS::IoTSiteWise::TimeSeries AWS::IoTTwinMaker::Entity + // AWS::IoTTwinMaker::Workspace AWS::KendraRanking::ExecutionPlan AWS::KinesisVideo::Stream + // AWS::ManagedBlockchain::Network AWS::ManagedBlockchain::Node AWS::MedicalImaging::Datastore + // AWS::NeptuneGraph::Graph AWS::PCAConnectorAD::Connector AWS::QBusiness::Application + // AWS::QBusiness::DataSource AWS::QBusiness::Index AWS::QBusiness::WebExperience + // AWS::RDS::DBCluster AWS::S3::AccessPoint AWS::S3ObjectLambda::AccessPoint + // AWS::S3Outposts::Object AWS::SageMaker::Endpoint AWS::SageMaker::ExperimentTrialComponent + // AWS::SageMaker::FeatureGroup AWS::ServiceDiscovery::Namespace AWS::ServiceDiscovery::Service + // AWS::SCN::Instance AWS::SNS::PlatformEndpoint AWS::SNS::Topic AWS::SWF::Domain + // AWS::SQS::Queue AWS::SSMMessages::ControlChannel AWS::ThinClient::Device + // AWS::ThinClient::Environment AWS::Timestream::Database AWS::Timestream::Table + // AWS::VerifiedPermissions::PolicyStore You can have only one resources.type + // field per selector. To log data events on more than one resource type, + // add another selector. // // * resources.ARN - You can use any operator with resources.ARN, but if // you use Equals or NotEquals, the value must exactly match the ARN of a @@ -7694,6 +7726,9 @@ type AdvancedFieldSelector struct { // the ARN must be in the following format: arn::dynamodb:::table/ // When resources.type equals AWS::Lambda::Function, and the operator is // set to Equals or NotEquals, the ARN must be in the following format: arn::lambda:::function: + // When resources.type equals AWS::AppConfig::Configuration, and the operator + // is set to Equals or NotEquals, the ARN must be in the following format: + // arn::appconfig:::application//environment//configuration/ // When resources.type equals AWS::B2BI::Transformer, and the operator is // set to Equals or NotEquals, the ARN must be in the following format: arn::b2bi:::transformer/ // When resources.type equals AWS::Bedrock::AgentAlias, and the operator @@ -7730,9 +7765,24 @@ type AdvancedFieldSelector struct { // arn::finspace:::environment/ // When resources.type equals AWS::Glue::Table, and the operator is set to // Equals or NotEquals, the ARN must be in the following format: arn::glue:::table// + // When resources.type equals AWS::GreengrassV2::ComponentVersion, and the + // operator is set to Equals or NotEquals, the ARN must be in the following + // format: arn::greengrass:::components/ + // When resources.type equals AWS::GreengrassV2::Deployment, and the operator + // is set to Equals or NotEquals, the ARN must be in the following format: + // arn::greengrass:::deployments/:guardduty:::detector/ + // When resources.type equals AWS::IoT::Certificate, and the operator is + // set to Equals or NotEquals, the ARN must be in the following format: arn::iot:::cert/ + // When resources.type equals AWS::IoT::Thing, and the operator is set to + // Equals or NotEquals, the ARN must be in the following format: arn::iot:::thing/ + // When resources.type equals AWS::IoTSiteWise::Asset, and the operator is + // set to Equals or NotEquals, the ARN must be in the following format: arn::iotsitewise:::asset/ + // When resources.type equals AWS::IoTSiteWise::TimeSeries, and the operator + // is set to Equals or NotEquals, the ARN must be in the following format: + // arn::iotsitewise:::timeseries/ // When resources.type equals AWS::IoTTwinMaker::Entity, and the operator // is set to Equals or NotEquals, the ARN must be in the following format: // arn::iottwinmaker:::workspace//entity/ @@ -7772,6 +7822,17 @@ type AdvancedFieldSelector struct { // arn::qbusiness:::application//web-experience/ // When resources.type equals AWS::RDS::DBCluster, and the operator is set // to Equals or NotEquals, the ARN must be in the following format: arn::rds:::cluster/ + // When resources.type equals AWS::S3::AccessPoint, and the operator is set + // to Equals or NotEquals, the ARN must be in one of the following formats. + // To log events on all objects in an S3 access point, we recommend that + // you use only the access point ARN, don’t include the object path, and + // use the StartsWith or NotStartsWith operators. arn::s3:::accesspoint/ + // arn::s3:::accesspoint//object/ + // When resources.type equals AWS::S3ObjectLambda::AccessPoint, and the operator + // is set to Equals or NotEquals, the ARN must be in the following format: + // arn::s3-object-lambda:::accesspoint/ + // When resources.type equals AWS::S3Outposts::Object, and the operator is + // set to Equals or NotEquals, the ARN must be in the following format: arn::s3-outposts::: // When resources.type equals AWS::SageMaker::Endpoint, and the operator // is set to Equals or NotEquals, the ARN must be in the following format: // arn::sagemaker:::endpoint/ @@ -7794,19 +7855,10 @@ type AdvancedFieldSelector struct { // arn::sns:::endpoint/// // When resources.type equals AWS::SNS::Topic, and the operator is set to // Equals or NotEquals, the ARN must be in the following format: arn::sns::: + // When resources.type equals AWS::SWF::Domain, and the operator is set to + // Equals or NotEquals, the ARN must be in the following format: arn::swf:::domain/ // When resources.type equals AWS::SQS::Queue, and the operator is set to // Equals or NotEquals, the ARN must be in the following format: arn::sqs::: - // When resources.type equals AWS::S3::AccessPoint, and the operator is set - // to Equals or NotEquals, the ARN must be in one of the following formats. - // To log events on all objects in an S3 access point, we recommend that - // you use only the access point ARN, don’t include the object path, and - // use the StartsWith or NotStartsWith operators. arn::s3:::accesspoint/ - // arn::s3:::accesspoint//object/ - // When resources.type equals AWS::S3ObjectLambda::AccessPoint, and the operator - // is set to Equals or NotEquals, the ARN must be in the following format: - // arn::s3-object-lambda:::accesspoint/ - // When resources.type equals AWS::S3Outposts::Object, and the operator is - // set to Equals or NotEquals, the ARN must be in the following format: arn::s3-outposts::: // When resources.type equals AWS::SSMMessages::ControlChannel, and the operator // is set to Equals or NotEquals, the ARN must be in the following format: // arn::ssmmessages:::control-channel/ @@ -16845,6 +16897,10 @@ type LookupAttribute struct { // Specifies a value for the specified AttributeKey. // + // The maximum length for the AttributeValue is 2000 characters. The following + // characters ('_', '', ',', '\\n') count as two characters towards the 2000 + // character limit. + // // AttributeValue is a required field AttributeValue *string `min:"1" type:"string" required:"true"` } diff --git a/service/codebuild/api.go b/service/codebuild/api.go index 85c3509d63b..b690264aa94 100644 --- a/service/codebuild/api.go +++ b/service/codebuild/api.go @@ -4122,7 +4122,13 @@ func (c *CodeBuild) StartBuildRequest(input *StartBuildInput) (req *request.Requ // StartBuild API operation for AWS CodeBuild. // -// Starts running a build. +// Starts running a build with the settings defined in the project. These setting +// include: how to run a build, where to get the source code, which build environment +// to use, which build commands to run, and where to store the build output. +// +// You can also start a build run by overriding some of the build settings in +// the project. The overrides only apply for that specific start build request. +// The settings in the project are unaltered. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -15659,8 +15665,9 @@ type StartBuildInput struct { // is GITHUB, GITHUB_ENTERPRISE, or BITBUCKET. BuildStatusConfigOverride *BuildStatusConfig `locationName:"buildStatusConfigOverride" type:"structure"` - // A buildspec file declaration that overrides, for this build only, the latest - // one already defined in the build project. + // A buildspec file declaration that overrides the latest one defined in the + // build project, for this build only. The buildspec defined on the project + // is not changed. // // If this value is set, it can be either an inline buildspec definition, the // path to an alternate buildspec file relative to the value of the built-in @@ -15670,6 +15677,12 @@ type StartBuildInput struct { // If this value is not provided or is set to an empty string, the source code // must contain a buildspec file in its root directory. For more information, // see Buildspec File Name and Storage Location (https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage). + // + // Since this property allows you to change the build commands that will run + // in the container, you should note that an IAM principal with the ability + // to call this API and set this parameter can override the default settings. + // Moreover, we encourage that you use a trustworthy buildspec location like + // a file in your source repository or a Amazon S3 bucket. BuildspecOverride *string `locationName:"buildspecOverride" type:"string"` // A ProjectCache object specified for this build that overrides the one defined @@ -17854,53 +17867,36 @@ type WebhookFilter struct { // The type of webhook filter. There are six webhook filter types: EVENT, ACTOR_ACCOUNT_ID, // HEAD_REF, BASE_REF, FILE_PATH, and COMMIT_MESSAGE. // - // EVENT - // - // A webhook event triggers a build when the provided pattern matches one of - // five event types: PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, PULL_REQUEST_REOPENED, - // and PULL_REQUEST_MERGED. The EVENT patterns are specified as a comma-separated - // string. For example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters - // all push, pull request created, and pull request updated events. - // - // The PULL_REQUEST_REOPENED works with GitHub and GitHub Enterprise only. - // - // ACTOR_ACCOUNT_ID - // - // A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket - // account ID matches the regular expression pattern. - // - // HEAD_REF - // - // A webhook event triggers a build when the head reference matches the regular - // expression pattern. For example, refs/heads/branch-name and refs/tags/tag-name. - // - // Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise - // pull request, Bitbucket push, and Bitbucket pull request events. - // - // BASE_REF - // - // A webhook event triggers a build when the base reference matches the regular - // expression pattern. For example, refs/heads/branch-name. - // - // Works with pull request events only. - // - // FILE_PATH - // - // A webhook triggers a build when the path of a changed file matches the regular - // expression pattern. - // - // Works with GitHub and Bitbucket events push and pull requests events. Also - // works with GitHub Enterprise push events, but does not work with GitHub Enterprise - // pull request events. - // - // COMMIT_MESSAGE - // - // A webhook triggers a build when the head commit message matches the regular - // expression pattern. - // - // Works with GitHub and Bitbucket events push and pull requests events. Also - // works with GitHub Enterprise push events, but does not work with GitHub Enterprise - // pull request events. + // * EVENT A webhook event triggers a build when the provided pattern matches + // one of six event types: PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED, + // PULL_REQUEST_CLOSED, PULL_REQUEST_REOPENED, and PULL_REQUEST_MERGED. The + // EVENT patterns are specified as a comma-separated string. For example, + // PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED filters all push, pull + // request created, and pull request updated events. The PULL_REQUEST_REOPENED + // works with GitHub and GitHub Enterprise only. + // + // * ACTOR_ACCOUNT_ID A webhook event triggers a build when a GitHub, GitHub + // Enterprise, or Bitbucket account ID matches the regular expression pattern. + // + // * HEAD_REF A webhook event triggers a build when the head reference matches + // the regular expression pattern. For example, refs/heads/branch-name and + // refs/tags/tag-name. Works with GitHub and GitHub Enterprise push, GitHub + // and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull + // request events. + // + // * BASE_REF A webhook event triggers a build when the base reference matches + // the regular expression pattern. For example, refs/heads/branch-name. Works + // with pull request events only. + // + // * FILE_PATH A webhook triggers a build when the path of a changed file + // matches the regular expression pattern. Works with GitHub and Bitbucket + // events push and pull requests events. Also works with GitHub Enterprise + // push events, but does not work with GitHub Enterprise pull request events. + // + // * COMMIT_MESSAGE A webhook triggers a build when the head commit message + // matches the regular expression pattern. Works with GitHub and Bitbucket + // events push and pull requests events. Also works with GitHub Enterprise + // push events, but does not work with GitHub Enterprise pull request events. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"WebhookFilterType"` diff --git a/service/cognitoidentityprovider/api.go b/service/cognitoidentityprovider/api.go index 28ace40e2e7..a8366ebf79a 100644 --- a/service/cognitoidentityprovider/api.go +++ b/service/cognitoidentityprovider/api.go @@ -2358,6 +2358,10 @@ func (c *CognitoIdentityProvider) AdminResetUserPasswordRequest(input *AdminRese // Resets the specified user's password in a user pool as an administrator. // Works on any user. // +// To use this API operation, your user pool must have self-service account +// recovery configured. Use AdminSetUserPassword (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserPassword.html) +// if you manage passwords as an administrator. +// // This action might generate an SMS text message. Starting June 1, 2021, US // telecom carriers require you to register an origination phone number before // you can send SMS messages to US phone numbers. If you use SMS text messages @@ -6725,6 +6729,10 @@ func (c *CognitoIdentityProvider) ForgotPasswordRequest(input *ForgotPasswordInp // returns InvalidParameterException. If your app client has a client secret // and you don't provide a SECRET_HASH parameter, this API returns NotAuthorizedException. // +// To use this API operation, your user pool must have self-service account +// recovery configured. Use AdminSetUserPassword (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserPassword.html) +// if you manage passwords as an administrator. +// // Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies // in requests for this API operation. For this operation, you can't use IAM // credentials to authorize requests, and you can't grant IAM permissions in @@ -10633,6 +10641,9 @@ func (c *CognitoIdentityProvider) SetUserPoolMfaConfigRequest(input *SetUserPool // This exception is thrown when the user has made too many requests for a given // operation. // +// - ConcurrentModificationException +// This exception is thrown if two or more modifications are happening concurrently. +// // - ResourceNotFoundException // This exception is thrown when the Amazon Cognito service can't find the requested // resource. @@ -13157,8 +13168,9 @@ type AdminAddUserToGroupInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminAddUserToGroupInput's @@ -13295,8 +13307,9 @@ type AdminConfirmSignUpInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminConfirmSignUpInput's @@ -13775,8 +13788,9 @@ type AdminDeleteUserAttributesInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminDeleteUserAttributesInput's @@ -13882,8 +13896,9 @@ type AdminDeleteUserInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminDeleteUserInput's @@ -14065,8 +14080,9 @@ type AdminDisableUserInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminDisableUserInput's @@ -14163,8 +14179,9 @@ type AdminEnableUserInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminEnableUserInput's @@ -14266,8 +14283,9 @@ type AdminForgetDeviceInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminForgetDeviceInput's @@ -14379,8 +14397,9 @@ type AdminGetDeviceInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminGetDeviceInput's @@ -14500,8 +14519,9 @@ type AdminGetUserInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminGetUserInput's @@ -15227,8 +15247,9 @@ type AdminListDevicesInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminListDevicesInput's @@ -15366,8 +15387,9 @@ type AdminListGroupsForUserInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminListGroupsForUserInput's @@ -15502,8 +15524,9 @@ type AdminListUserAuthEventsInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminListUserAuthEventsInput's @@ -15636,8 +15659,9 @@ type AdminRemoveUserFromGroupInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminRemoveUserFromGroupInput's @@ -15775,8 +15799,9 @@ type AdminResetUserPasswordInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminResetUserPasswordInput's @@ -16220,8 +16245,9 @@ type AdminSetUserMFAPreferenceInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminSetUserMFAPreferenceInput's @@ -16339,8 +16365,9 @@ type AdminSetUserPasswordInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminSetUserPasswordInput's @@ -16457,8 +16484,9 @@ type AdminSetUserSettingsInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminSetUserSettingsInput's @@ -16586,8 +16614,9 @@ type AdminUpdateAuthEventFeedbackInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminUpdateAuthEventFeedbackInput's @@ -16711,8 +16740,9 @@ type AdminUpdateDeviceStatusInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminUpdateDeviceStatusInput's @@ -16878,8 +16908,9 @@ type AdminUpdateUserAttributesInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminUpdateUserAttributesInput's @@ -17001,8 +17032,9 @@ type AdminUserGlobalSignOutInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AdminUserGlobalSignOutInput's @@ -18425,8 +18457,9 @@ type ConfirmForgotPasswordInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ConfirmForgotPasswordInput's @@ -18640,8 +18673,9 @@ type ConfirmSignUpInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ConfirmSignUpInput's @@ -23120,8 +23154,9 @@ type ForgotPasswordInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ForgotPasswordInput's @@ -27803,7 +27838,9 @@ func (s *NotifyEmailType) SetTextBody(v string) *NotifyEmailType { type NumberAttributeConstraintsType struct { _ struct{} `type:"structure"` - // The maximum value of an attribute that is of the number data type. + // The maximum length of a number attribute value. Must be a number less than + // or equal to 2^1023, represented as a string with a length of 131072 characters + // or fewer. MaxValue *string `type:"string"` // The minimum value of an attribute that is of the number data type. @@ -28399,8 +28436,9 @@ type ResendConfirmationCodeInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ResendConfirmationCodeInput's @@ -31003,7 +31041,9 @@ func (s *StopUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *StopUs type StringAttributeConstraintsType struct { _ struct{} `type:"structure"` - // The maximum length. + // The maximum length of a string attribute value. Must be a number less than + // or equal to 2^1023, represented as a string with a length of 131072 characters + // or fewer. MaxLength *string `type:"string"` // The minimum length. @@ -31919,8 +31959,9 @@ type UpdateAuthEventFeedbackInput struct { // The username of the user that you want to query or modify. The value of this // parameter is typically your user's username, but it can be any of their alias - // attributes. If username isn't an alias attribute in your user pool, you can - // also use their sub in this request. + // attributes. If username isn't an alias attribute in your user pool, this + // value must be the sub of a local user or the username of a user from a third-party + // IdP. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateAuthEventFeedbackInput's diff --git a/service/guardduty/api.go b/service/guardduty/api.go index 487fb5287ef..269d6d0775a 100644 --- a/service/guardduty/api.go +++ b/service/guardduty/api.go @@ -318,11 +318,23 @@ func (c *GuardDuty) CreateDetectorRequest(input *CreateDetectorInput) (req *requ // CreateDetector API operation for Amazon GuardDuty. // -// Creates a single Amazon GuardDuty detector. A detector is a resource that -// represents the GuardDuty service. To start using GuardDuty, you must create -// a detector in each Region where you enable the service. You can have only -// one detector per account per Region. All data sources are enabled in a new -// detector by default. +// Creates a single GuardDuty detector. A detector is a resource that represents +// the GuardDuty service. To start using GuardDuty, you must create a detector +// in each Region where you enable the service. You can have only one detector +// per account per Region. All data sources are enabled in a new detector by +// default. +// +// - When you don't specify any features, with an exception to RUNTIME_MONITORING, +// all the optional features are enabled by default. +// +// - When you specify some of the features, any feature that is not specified +// in the API call gets enabled by default, with an exception to RUNTIME_MONITORING. +// +// Specifying both EKS Runtime Monitoring (EKS_RUNTIME_MONITORING) and Runtime +// Monitoring (RUNTIME_MONITORING) will cause an error. You can add only one +// of these two features because Runtime Monitoring already includes the threat +// detection for Amazon EKS resources. For more information, see Runtime Monitoring +// (https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html). // // There might be regional differences because some data sources might not be // available in all the Amazon Web Services Regions where GuardDuty is presently @@ -3462,12 +3474,12 @@ func (c *GuardDuty) GetOrganizationStatisticsRequest(input *GetOrganizationStati // GetOrganizationStatistics API operation for Amazon GuardDuty. // -// Retrieves how many active member accounts in your Amazon Web Services organization -// have each feature enabled within GuardDuty. Only a delegated GuardDuty administrator -// of an organization can run this API. +// Retrieves how many active member accounts have each feature enabled within +// GuardDuty. Only a delegated GuardDuty administrator of an organization can +// run this API. // -// When you create a new Amazon Web Services organization, it might take up -// to 24 hours to generate the statistics for the entire organization. +// When you create a new organization, it might take up to 24 hours to generate +// the statistics for the entire organization. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5460,6 +5472,9 @@ func (c *GuardDuty) StartMalwareScanRequest(input *StartMalwareScanInput) (req * // Service-linked role (https://docs.aws.amazon.com/guardduty/latest/ug/slr-permissions-malware-protection.html) // in the corresponding account. // +// When the malware scan starts, you can use the associated scan ID to track +// the status of the scan. For more information, see DescribeMalwareScans (https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DescribeMalwareScans.html). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -5971,7 +5986,13 @@ func (c *GuardDuty) UpdateDetectorRequest(input *UpdateDetectorInput) (req *requ // UpdateDetector API operation for Amazon GuardDuty. // -// Updates the GuardDuty detector specified by the detectorId. +// Updates the GuardDuty detector specified by the detector ID. +// +// Specifying both EKS Runtime Monitoring (EKS_RUNTIME_MONITORING) and Runtime +// Monitoring (RUNTIME_MONITORING) will cause an error. You can add only one +// of these two features because Runtime Monitoring already includes the threat +// detection for Amazon EKS resources. For more information, see Runtime Monitoring +// (https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html). // // There might be regional differences because some data sources might not be // available in all the Amazon Web Services Regions where GuardDuty is presently @@ -6394,6 +6415,12 @@ func (c *GuardDuty) UpdateMemberDetectorsRequest(input *UpdateMemberDetectorsInp // // Contains information on member accounts to be updated. // +// Specifying both EKS Runtime Monitoring (EKS_RUNTIME_MONITORING) and Runtime +// Monitoring (RUNTIME_MONITORING) will cause an error. You can add only one +// of these two features because Runtime Monitoring already includes the threat +// detection for Amazon EKS resources. For more information, see Runtime Monitoring +// (https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html). +// // There might be regional differences because some data sources might not be // available in all the Amazon Web Services Regions where GuardDuty is presently // supported. For more information, see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html). @@ -6483,6 +6510,12 @@ func (c *GuardDuty) UpdateOrganizationConfigurationRequest(input *UpdateOrganiza // You must provide a value for either autoEnableOrganizationMembers or autoEnable, // but not both. // +// Specifying both EKS Runtime Monitoring (EKS_RUNTIME_MONITORING) and Runtime +// Monitoring (RUNTIME_MONITORING) will cause an error. You can add only one +// of these two features because Runtime Monitoring already includes the threat +// detection for Amazon EKS resources. For more information, see Runtime Monitoring +// (https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html). +// // There might be regional differences because some data sources might not be // available in all the Amazon Web Services Regions where GuardDuty is presently // supported. For more information, see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html). @@ -11517,20 +11550,26 @@ type DescribeOrganizationConfigurationOutput struct { // Deprecated: This field is deprecated, use AutoEnableOrganizationMembers instead AutoEnable *bool `locationName:"autoEnable" deprecated:"true" type:"boolean"` - // Indicates the auto-enablement configuration of GuardDuty for the member accounts - // in the organization. + // Indicates the auto-enablement configuration of GuardDuty or any of the corresponding + // protection plans for the member accounts in the organization. // // * NEW: Indicates that when a new account joins the organization, they - // will have GuardDuty enabled automatically. + // will have GuardDuty or any of the corresponding protection plans enabled + // automatically. // // * ALL: Indicates that all accounts in the organization have GuardDuty - // enabled automatically. This includes NEW accounts that join the organization - // and accounts that may have been suspended or removed from the organization - // in GuardDuty. - // - // * NONE: Indicates that GuardDuty will not be automatically enabled for - // any account in the organization. The administrator must manage GuardDuty - // for each account in the organization individually. + // and any of the corresponding protection plans enabled automatically. This + // includes NEW accounts that join the organization and accounts that may + // have been suspended or removed from the organization in GuardDuty. + // + // * NONE: Indicates that GuardDuty or any of the corresponding protection + // plans will not be automatically enabled for any account in the organization. + // The administrator must manage GuardDuty for each account in the organization + // individually. When you update the auto-enable setting from ALL or NEW + // to NONE, this action doesn't disable the corresponding option for your + // existing accounts. This configuration will apply to the new accounts that + // join the organization. After you update the auto-enable settings, no new + // account will have the corresponding option as enabled. AutoEnableOrganizationMembers *string `locationName:"autoEnableOrganizationMembers" type:"string" enum:"AutoEnableMembers"` // Describes which data sources are enabled automatically for member accounts. @@ -11982,6 +12021,12 @@ func (s *DetectorAdditionalConfigurationResult) SetUpdatedAt(v time.Time) *Detec } // Contains information about a GuardDuty feature. +// +// Specifying both EKS Runtime Monitoring (EKS_RUNTIME_MONITORING) and Runtime +// Monitoring (RUNTIME_MONITORING) will cause an error. You can add only one +// of these two features because Runtime Monitoring already includes the threat +// detection for Amazon EKS resources. For more information, see Runtime Monitoring +// (https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html). type DetectorFeatureConfiguration struct { _ struct{} `type:"structure"` @@ -12032,6 +12077,12 @@ func (s *DetectorFeatureConfiguration) SetStatus(v string) *DetectorFeatureConfi } // Contains information about a GuardDuty feature. +// +// Specifying both EKS Runtime Monitoring (EKS_RUNTIME_MONITORING) and Runtime +// Monitoring (RUNTIME_MONITORING) will cause an error. You can add only one +// of these two features because Runtime Monitoring already includes the threat +// detection for Amazon EKS resources. For more information, see Runtime Monitoring +// (https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html). type DetectorFeatureConfigurationResult struct { _ struct{} `type:"structure"` @@ -24258,7 +24309,12 @@ type UpdateOrganizationConfigurationInput struct { // // * NONE: Indicates that GuardDuty will not be automatically enabled for // any account in the organization. The administrator must manage GuardDuty - // for each account in the organization individually. + // for each account in the organization individually. When you update the + // auto-enable setting from ALL or NEW to NONE, this action doesn't disable + // the corresponding option for your existing accounts. This configuration + // will apply to the new accounts that join the organization. After you update + // the auto-enable settings, no new account will have the corresponding option + // as enabled. AutoEnableOrganizationMembers *string `locationName:"autoEnableOrganizationMembers" type:"string" enum:"AutoEnableMembers"` // Describes which data sources will be updated. @@ -26165,6 +26221,12 @@ const ( // UsageFeatureEc2RuntimeMonitoring is a UsageFeature enum value UsageFeatureEc2RuntimeMonitoring = "EC2_RUNTIME_MONITORING" + + // UsageFeatureRdsDbiProtectionProvisioned is a UsageFeature enum value + UsageFeatureRdsDbiProtectionProvisioned = "RDS_DBI_PROTECTION_PROVISIONED" + + // UsageFeatureRdsDbiProtectionServerless is a UsageFeature enum value + UsageFeatureRdsDbiProtectionServerless = "RDS_DBI_PROTECTION_SERVERLESS" ) // UsageFeature_Values returns all elements of the UsageFeature enum @@ -26181,6 +26243,8 @@ func UsageFeature_Values() []string { UsageFeatureEksRuntimeMonitoring, UsageFeatureFargateRuntimeMonitoring, UsageFeatureEc2RuntimeMonitoring, + UsageFeatureRdsDbiProtectionProvisioned, + UsageFeatureRdsDbiProtectionServerless, } } diff --git a/service/transfer/api.go b/service/transfer/api.go index 93489e74504..00e2a30eb16 100644 --- a/service/transfer/api.go +++ b/service/transfer/api.go @@ -263,7 +263,7 @@ func (c *Transfer) CreateConnectorRequest(input *CreateConnectorInput) (req *req // the AS2 or SFTP protocol. For AS2, the connector is required for sending // files to an externally hosted AS2 server. For SFTP, the connector is required // when sending files to an SFTP server or receiving files from an SFTP server. -// For more details about connectors, see Create AS2 connectors (https://docs.aws.amazon.com/transfer/latest/userguide/create-b2b-server.html#configure-as2-connector) +// For more details about connectors, see Configure AS2 connectors (https://docs.aws.amazon.com/transfer/latest/userguide/configure-as2-connector.html) // and Create SFTP connectors (https://docs.aws.amazon.com/transfer/latest/userguide/configure-sftp-connector.html). // // You must specify exactly one configuration object: either for AS2 (As2Config) @@ -6251,6 +6251,19 @@ func (c *Transfer) UpdateUserRequest(input *UpdateUserInput) (req *request.Reque // // The response returns the ServerId and the UserName for the updated user. // +// In the console, you can select Restricted when you create or update a user. +// This ensures that the user can't access anything outside of their home directory. +// The programmatic way to configure this behavior is to update the user. Set +// their HomeDirectoryType to LOGICAL, and specify HomeDirectoryMappings with +// Entry as root (/) and Target as their home directory. +// +// For example, if the user's home directory is /test/admin-user, the following +// command updates the user so that their configuration in the console shows +// the Restricted flag as selected. +// +// aws transfer update-user --server-id --user-name admin-user --home-directory-type +// LOGICAL --home-directory-mappings "[{\"Entry\":\"/\", \"Target\":\"/test/admin-user\"}]" +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -6406,8 +6419,13 @@ type As2ConnectorConfig struct { // The algorithm that is used to encrypt the file. // - // You can only specify NONE if the URL for your connector uses HTTPS. This - // ensures that no traffic is sent in clear text. + // Note the following: + // + // * Do not use the DES_EDE3_CBC algorithm unless you must support a legacy + // client that requires it, as it is a weak encryption algorithm. + // + // * You can only specify NONE if the URL for your connector uses HTTPS. + // Using HTTPS ensures that no traffic is sent in clear text. EncryptionAlgorithm *string `type:"string" enum:"EncryptionAlg"` // A unique identifier for the AS2 local profile. @@ -12173,8 +12191,34 @@ type EndpointDetails struct { // A list of address allocation IDs that are required to attach an Elastic IP // address to your server's endpoint. // - // This property can only be set when EndpointType is set to VPC and it is only - // valid in the UpdateServer API. + // An address allocation ID corresponds to the allocation ID of an Elastic IP + // address. This value can be retrieved from the allocationId field from the + // Amazon EC2 Address (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Address.html) + // data type. One way to retrieve this value is by calling the EC2 DescribeAddresses + // (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAddresses.html) + // API. + // + // This parameter is optional. Set this parameter if you want to make your VPC + // endpoint public-facing. For details, see Create an internet-facing endpoint + // for your server (https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#create-internet-facing-endpoint). + // + // This property can only be set as follows: + // + // * EndpointType must be set to VPC + // + // * The Transfer Family server must be offline. + // + // * You cannot set this parameter for Transfer Family servers that use the + // FTP protocol. + // + // * The server must already have SubnetIds populated (SubnetIds and AddressAllocationIds + // cannot be updated simultaneously). + // + // * AddressAllocationIds can't contain duplicates, and must be equal in + // length to SubnetIds. For example, if you have three subnet IDs, you must + // also specify three address allocation IDs. + // + // * Call the UpdateServer API to set or change this parameter. AddressAllocationIds []*string `type:"list"` // A list of security groups IDs that are available to attach to your server's @@ -16510,6 +16554,12 @@ func (s *ServiceUnavailableException) RequestID() string { // Contains the details for an SFTP connector object. The connector object is // used for transferring files to and from a partner's SFTP server. +// +// Because the SftpConnectorConfig data type is used for both creating and updating +// SFTP connectors, its parameters, TrustedHostKeys and UserSecretId are marked +// as not required. This is a bit misleading, as they are not required when +// you are updating an existing SFTP connector, but are required when you are +// creating a new SFTP connector. type SftpConnectorConfig struct { _ struct{} `type:"structure"` @@ -16529,6 +16579,18 @@ type SftpConnectorConfig struct { // * For ECDSA keys, the string is either ecdsa-sha2-nistp256, // ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521, depending on the size of // the key you generated. + // + // Run this command to retrieve the SFTP server host key, where your SFTP server + // name is ftp.host.com. + // + // ssh-keyscan ftp.host.com + // + // This prints the public host key to standard output. + // + // ftp.host.com ssh-rsa AAAAB3Nza...