Skip to content

Commit

Permalink
Merge branch 'version-3' into s3-crc32
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp committed Sep 20, 2024
2 parents 82a3232 + e6ef6d8 commit 0c239b2
Show file tree
Hide file tree
Showing 3,340 changed files with 88,019 additions and 103,407 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ body:
description: What is the problem? A clear and concise description of the bug.
validations:
required: true
- type: checkboxes
id: regression
attributes:
label: Regression Issue
description: What is a regression? If it worked in a previous version but doesn't in the latest version, it's considered a regression. In this case, please provide specific version number in the report.
options:
- label: Select this option if this issue appears to be a regression.
required: false
- type: textarea
id: expected
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@e9772d140489982e0e3704fea5ee93d536f1e275
uses: tj-actions/changed-files@48d8f15b2aaa3d255ca5af3eba4870f807ce6b3c
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}

Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/issue-regression-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Apply potential regression label on issues
name: issue-regression-label
on:
issues:
types: [opened, edited]
jobs:
add-regression-label:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Fetch template body
id: check_regression
uses: actions/github-script@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TEMPLATE_BODY: ${{ github.event.issue.body }}
with:
script: |
const regressionPattern = /\[x\] Select this option if this issue appears to be a regression\./i;
const template = `${process.env.TEMPLATE_BODY}`
const match = regressionPattern.test(template);
core.setOutput('is_regression', match);
- name: Manage regression label
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
if [ "${{ steps.check_regression.outputs.is_regression }}" == "true" ]; then
gh issue edit ${{ github.event.issue.number }} --add-label "potential-regression" -R ${{ github.repository }}
else
gh issue edit ${{ github.event.issue.number }} --remove-label "potential-regression" -R ${{ github.repository }}
fi
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ RubyGems.org page under "LINKS" section.
| AWS Device Farm | Aws::DeviceFarm | aws-sdk-devicefarm | 2015-06-23 |
| AWS Direct Connect | Aws::DirectConnect | aws-sdk-directconnect | 2012-10-25 |
| AWS Directory Service | Aws::DirectoryService | aws-sdk-directoryservice | 2015-04-16 |
| AWS Directory Service Data | Aws::DirectoryServiceData | aws-sdk-directoryservicedata | 2023-05-31 |
| AWS EC2 Instance Connect | Aws::EC2InstanceConnect | aws-sdk-ec2instanceconnect | 2018-04-02 |
| AWS Elastic Beanstalk | Aws::ElasticBeanstalk | aws-sdk-elasticbeanstalk | 2010-12-01 |
| AWS Elemental MediaConvert | Aws::MediaConvert | aws-sdk-mediaconvert | 2017-08-29 |
Expand Down Expand Up @@ -527,7 +528,6 @@ RubyGems.org page under "LINKS" section.
| Amazon DynamoDB | Aws::DynamoDB | aws-sdk-dynamodb | 2012-08-10 |
| Amazon DynamoDB Accelerator (DAX) | Aws::DAX | aws-sdk-dax | 2017-04-19 |
| Amazon DynamoDB Streams | Aws::DynamoDBStreams | aws-sdk-dynamodbstreams | 2012-08-10 |
| Amazon EC2 Container Registry | Aws::ECR | aws-sdk-ecr | 2015-09-21 |
| Amazon EC2 Container Service | Aws::ECS | aws-sdk-ecs | 2014-11-13 |
| Amazon EKS Auth | Aws::EKSAuth | aws-sdk-eksauth | 2023-11-26 |
| Amazon EMR | Aws::EMR | aws-sdk-emr | 2009-03-31 |
Expand All @@ -536,6 +536,7 @@ RubyGems.org page under "LINKS" section.
| Amazon Elastic Inference | Aws::ElasticInference | aws-sdk-elasticinference | 2017-07-25 |
| Amazon Elastic Block Store | Aws::EBS | aws-sdk-ebs | 2019-11-02 |
| Amazon Elastic Compute Cloud | Aws::EC2 | aws-sdk-ec2 | 2016-11-15 |
| Amazon Elastic Container Registry | Aws::ECR | aws-sdk-ecr | 2015-09-21 |
| Amazon Elastic Container Registry Public | Aws::ECRPublic | aws-sdk-ecrpublic | 2020-10-30 |
| Amazon Elastic File System | Aws::EFS | aws-sdk-efs | 2015-02-01 |
| Amazon Elastic Kubernetes Service | Aws::EKS | aws-sdk-eks | 2017-11-01 |
Expand Down Expand Up @@ -636,7 +637,6 @@ RubyGems.org page under "LINKS" section.
| Amazon Verified Permissions | Aws::VerifiedPermissions | aws-sdk-verifiedpermissions | 2021-12-01 |
| Amazon Voice ID | Aws::VoiceID | aws-sdk-voiceid | 2021-09-27 |
| Amazon WorkDocs | Aws::WorkDocs | aws-sdk-workdocs | 2016-05-01 |
| Amazon WorkLink | Aws::WorkLink | aws-sdk-worklink | 2018-09-25 |
| Amazon WorkMail | Aws::WorkMail | aws-sdk-workmail | 2017-10-01 |
| Amazon WorkMail Message Flow | Aws::WorkMailMessageFlow | aws-sdk-workmailmessageflow | 2019-05-01 |
| Amazon WorkSpaces | Aws::WorkSpaces | aws-sdk-workspaces | 2015-04-08 |
Expand Down
6 changes: 3 additions & 3 deletions apis/amplify/2017-07-25/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1124,9 +1124,9 @@
"Platform": {
"base": null,
"refs": {
"App$platform": "<p>The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to <code>WEB_DYNAMIC</code>.</p>",
"CreateAppRequest$platform": "<p>The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to <code>WEB_DYNAMIC</code>.</p>",
"UpdateAppRequest$platform": "<p>The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to <code>WEB_DYNAMIC</code>.</p>"
"App$platform": "<p>The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to <code>WEB_DYNAMIC</code>.</p> <p>If you are deploying an SSG only app with Next.js 14 or later, you must use the platform type <code>WEB_COMPUTE</code>.</p>",
"CreateAppRequest$platform": "<p>The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to <code>WEB_DYNAMIC</code>.</p> <p>If you are deploying an SSG only app with Next.js version 14 or later, you must set the platform type to <code>WEB_COMPUTE</code> and set the artifacts <code>baseDirectory</code> to <code>.next</code> in the application's build settings. For an example of the build specification settings, see <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/deploy-nextjs-app.html#build-setting-detection-ssg-14\">Amplify build settings for a Next.js 14 SSG application</a> in the <i>Amplify Hosting User Guide</i>.</p>",
"UpdateAppRequest$platform": "<p>The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to <code>WEB_DYNAMIC</code>.</p> <p>If you are deploying an SSG only app with Next.js version 14 or later, you must set the platform type to <code>WEB_COMPUTE</code>.</p>"
}
},
"ProductionBranch": {
Expand Down
6 changes: 3 additions & 3 deletions apis/bedrock-agent-runtime/2023-07-26/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,9 @@
},
"BedrockModelArn":{
"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}))$"
"max":2048,
"min":1,
"pattern":"^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))))|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$"
},
"Boolean":{
"type":"boolean",
Expand Down
6 changes: 3 additions & 3 deletions apis/bedrock-agent-runtime/2023-07-26/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"InvokeAgent": "<note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeAgent</code>.</p> </note> <p>Sends a prompt for the agent to process and respond to. Note the following fields for the request:</p> <ul> <li> <p>To continue the same conversation with an agent, use the same <code>sessionId</code> value in the request.</p> </li> <li> <p>To activate trace enablement, turn <code>enableTrace</code> to <code>true</code>. 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 <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events\">Trace enablement</a>.</p> </li> <li> <p>End a conversation by setting <code>endSession</code> to <code>true</code>.</p> </li> <li> <p>In the <code>sessionState</code> object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group.</p> </li> </ul> <p>The response is returned in the <code>bytes</code> field of the <code>chunk</code> object.</p> <ul> <li> <p>The <code>attribution</code> object contains citations for parts of the response.</p> </li> <li> <p>If you set <code>enableTrace</code> to <code>true</code> in the request, you can trace the agent's steps and reasoning process that led it to the response.</p> </li> <li> <p>If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the <code>returnControl</code> field.</p> </li> <li> <p>Errors are also surfaced in the response.</p> </li> </ul>",
"InvokeFlow": "<p>Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html\">Test a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeFlow</code>.</p> </note>",
"Retrieve": "<p>Queries a knowledge base and retrieves information from it.</p>",
"RetrieveAndGenerate": "<p>Queries a knowledge base and generates responses based on the retrieved results. The response only cites sources that are relevant to the query.</p>"
"RetrieveAndGenerate": "<p>Queries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a>. The response only cites sources that are relevant to the query.</p>"
},
"shapes": {
"AccessDeniedException": {
Expand Down Expand Up @@ -152,7 +152,7 @@
"base": null,
"refs": {
"ExternalSourcesRetrieveAndGenerateConfiguration$modelArn": "<p>The modelArn used with the external source wrapper object in the retrieveAndGenerate function.</p>",
"KnowledgeBaseRetrieveAndGenerateConfiguration$modelArn": "<p>The ARN of the foundation model used to generate a response.</p>"
"KnowledgeBaseRetrieveAndGenerateConfiguration$modelArn": "<p>The ARN of the foundation model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> used to generate a response.</p>"
}
},
"Boolean": {
Expand Down Expand Up @@ -847,7 +847,7 @@
"base": null,
"refs": {
"KnowledgeBaseConfiguration$knowledgeBaseId": "<p>The unique identifier for a knowledge base attached to the agent.</p>",
"KnowledgeBaseRetrieveAndGenerateConfiguration$knowledgeBaseId": "<p>The unique identifier of the knowledge base that is queried and the foundation model used for generation.</p>",
"KnowledgeBaseRetrieveAndGenerateConfiguration$knowledgeBaseId": "<p>The unique identifier of the knowledge base that is queried.</p>",
"RetrieveRequest$knowledgeBaseId": "<p>The unique identifier of the knowledge base to query.</p>"
}
},
Expand Down
2 changes: 1 addition & 1 deletion apis/bedrock-agent/2023-06-05/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,7 @@
"type":"string",
"max":2048,
"min":1,
"pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})$"
"pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)$"
},
"Boolean":{
"type":"boolean",
Expand Down
6 changes: 3 additions & 3 deletions apis/bedrock-agent/2023-06-05/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,15 +318,15 @@
}
},
"BedrockFoundationModelConfiguration": {
"base": "<p>Settings for a foundation model used to parse documents for a data source.</p>",
"base": "<p>Settings for a foundation model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> used to parse documents for a data source.</p>",
"refs": {
"ParsingConfiguration$bedrockFoundationModelConfiguration": "<p>Settings for a foundation model used to parse documents for a data source.</p>"
}
},
"BedrockModelArn": {
"base": null,
"refs": {
"BedrockFoundationModelConfiguration$modelArn": "<p>The model's ARN.</p>"
"BedrockFoundationModelConfiguration$modelArn": "<p>The ARN of the foundation model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a>.</p>"
}
},
"Boolean": {
Expand Down Expand Up @@ -2217,7 +2217,7 @@
}
},
"ParsingConfiguration": {
"base": "<p>Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page.</p> <p>To use a model to parse PDF documents, set the parsing strategy to <code>BEDROCK_FOUNDATION_MODEL</code> and specify the model to use by ARN. You can also override the default parsing prompt with instructions for how to interpret images and tables in your documents. The following models are supported.</p> <ul> <li> <p>Anthropic Claude 3 Sonnet - <code>anthropic.claude-3-sonnet-20240229-v1:0</code> </p> </li> <li> <p>Anthropic Claude 3 Haiku - <code>anthropic.claude-3-haiku-20240307-v1:0</code> </p> </li> </ul> <p>You can get the ARN of a model with the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListFoundationModels.html\">ListFoundationModels</a> action. Standard model usage charges apply for the foundation model parsing strategy.</p>",
"base": "<p>Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page.</p> <p>To use a model to parse PDF documents, set the parsing strategy to <code>BEDROCK_FOUNDATION_MODEL</code> and specify the model or <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html\">inference profile</a> to use by ARN. You can also override the default parsing prompt with instructions for how to interpret images and tables in your documents. The following models are supported.</p> <ul> <li> <p>Anthropic Claude 3 Sonnet - <code>anthropic.claude-3-sonnet-20240229-v1:0</code> </p> </li> <li> <p>Anthropic Claude 3 Haiku - <code>anthropic.claude-3-haiku-20240307-v1:0</code> </p> </li> </ul> <p>You can get the ARN of a model with the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListFoundationModels.html\">ListFoundationModels</a> action. Standard model usage charges apply for the foundation model parsing strategy.</p>",
"refs": {
"VectorIngestionConfiguration$parsingConfiguration": "<p>A custom parser for data source documents.</p>"
}
Expand Down
Loading

0 comments on commit 0c239b2

Please sign in to comment.