Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #1351

Merged
merged 5 commits into from
Apr 28, 2022
Merged

Release #1351

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
workflow_call:

env:
rust_version: 1.56.1
rust_version: 1.58.1
rust_toolchain_components: clippy,rustfmt

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:

env:
java_version: 11
rust_version: 1.56.1
rust_version: 1.58.1
rust_toolchain_components: clippy,rustfmt
apt_dependencies: libssl-dev gnuplot jq

Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<!-- Do not manually edit this file, use `update-changelogs` -->
0.41.0 (April 28th, 2022)
=========================
**Breaking Changes:**
- ⚠ ([smithy-rs#1318](https://github.com/awslabs/smithy-rs/issues/1318)) Bump [MSRV](https://github.com/awslabs/aws-sdk-rust#supported-rust-versions-msrv) from 1.56.1 to 1.58.1 per our "two versions behind" policy.

**New this release:**
- ([smithy-rs#1307](https://github.com/awslabs/smithy-rs/issues/1307)) Add new trait for HTTP body callbacks. This is the first step to enabling us to implement optional checksum verification of requests and responses.
- ([smithy-rs#1330](https://github.com/awslabs/smithy-rs/issues/1330)) Upgrade to Smithy 1.21.0


0.40.2 (April 14th, 2022)
=========================

Expand Down
30 changes: 0 additions & 30 deletions CHANGELOG.next.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,3 @@
# references = ["smithy-rs#920"]
# meta = { "breaking" = false, "tada" = false, "bug" = false }
# author = "rcoh"

[[aws-sdk-rust]]
message = "Bump [MSRV](https://github.com/awslabs/aws-sdk-rust#supported-rust-versions-msrv) from 1.56.1 to 1.58.1 per our \"two versions behind\" policy."
references = ["smithy-rs#1318"]
meta = { "breaking" = true, "tada" = false, "bug" = false }
author = "Velfi"

[[smithy-rs]]
message = "Bump [MSRV](https://github.com/awslabs/aws-sdk-rust#supported-rust-versions-msrv) from 1.56.1 to 1.58.1 per our \"two versions behind\" policy."
references = ["smithy-rs#1318"]
meta = { "breaking" = true, "tada" = false, "bug" = false }
author = "Velfi"

[[smithy-rs]]
message = "Add new trait for HTTP body callbacks. This is the first step to enabling us to implement optional checksum verification of requests and responses."
references = ["smithy-rs#1307"]
meta = { "breaking" = false, "tada" = false, "bug" = false }
author = "Velfi"

[[smithy-rs]]
message = "Upgrade to Smithy 1.21.0"
references = ["smithy-rs#1330"]
meta = { "breaking" = false, "tada" = false, "bug" = false }
author = "jdisanti"

[[aws-sdk-rust]]
message = "Suppress irrelevant `$HOME` expansion warning when running in a Lambda Extension"
references = ["smithy-rs#1344"]
meta = { "breaking" = false, "tada" = false, "bug" = true }
author = "ryansb"
12 changes: 12 additions & 0 deletions aws/SDK_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
<!-- Do not manually edit this file, use `update-changelogs` -->
0.11.0 (April 28th, 2022)
=========================
**Breaking Changes:**
- ⚠ ([smithy-rs#1318](https://github.com/awslabs/smithy-rs/issues/1318)) Bump [MSRV](https://github.com/awslabs/aws-sdk-rust#supported-rust-versions-msrv) from 1.56.1 to 1.58.1 per our "two versions behind" policy.

**New this release:**
- 🐛 ([smithy-rs#1344](https://github.com/awslabs/smithy-rs/issues/1344), @ryansb) Suppress irrelevant `$HOME` expansion warning when running in a Lambda Extension

**Contributors**
Thank you for your contributions! ❤
- @ryansb ([smithy-rs#1344](https://github.com/awslabs/smithy-rs/issues/1344))

0.10.1 (April 14th, 2022)
=========================

Expand Down
10 changes: 5 additions & 5 deletions aws/sdk/aws-models/amplify.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@
"repositoryCloneMethod": {
"target": "com.amazonaws.amplify#RepositoryCloneMethod",
"traits": {
"smithy.api#documentation": "<p>The authentication protocol to use to access the Git repository for an Amplify app.\n For a GitHub repository, specify <code>TOKEN</code>. For an Amazon Web Services CodeCommit repository,\n specify <code>SIGV4</code>. For GitLab and Bitbucket repositories, specify\n <code>SSH</code>.</p>"
"smithy.api#documentation": "<note>\n <p>This is for internal use.</p>\n </note>\n <p>The Amplify service uses this parameter to specify the authentication protocol to use to access\n the Git repository for an Amplify app. Amplify specifies <code>TOKEN</code> for a GitHub\n repository, <code>SIGV4</code> for an Amazon Web Services CodeCommit repository, and\n <code>SSH</code> for GitLab and Bitbucket repositories.</p>"
}
}
},
Expand Down Expand Up @@ -1001,13 +1001,13 @@
"oauthToken": {
"target": "com.amazonaws.amplify#OauthToken",
"traits": {
"smithy.api#documentation": "<p> The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key. The OAuth token is not\n stored. </p>"
"smithy.api#documentation": "<p>The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key using SSH cloning. The\n OAuth token is not stored.</p>\n <p>Use <code>oauthToken</code> for repository providers other than GitHub, such as\n Bitbucket or CodeCommit. To authorize access to GitHub as your repository provider, use\n <code>accessToken</code>.</p>\n <p>You must specify either <code>oauthToken</code> or <code>accessToken</code> when you\n create a new app.</p>\n <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see <a href=\"https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth\">Migrating an existing OAuth app to the Amplify GitHub App</a> in the\n <i>Amplify User Guide</i> .</p>"
}
},
"accessToken": {
"target": "com.amazonaws.amplify#AccessToken",
"traits": {
"smithy.api#documentation": "<p> The personal access token for a third-party source control system for an Amplify app.\n The personal access token is used to create a webhook and a read-only deploy key. The\n token is not stored. </p>"
"smithy.api#documentation": "<p>The personal access token for a GitHub repository for an Amplify app. The personal\n access token is used to authorize access to a GitHub repository using the Amplify GitHub\n App. The token is not stored.</p>\n <p>Use <code>accessToken</code> for GitHub repositories only. To authorize access to a\n repository provider such as Bitbucket or CodeCommit, use <code>oauthToken</code>.</p>\n <p>You must specify either <code>accessToken</code> or <code>oauthToken</code> when you\n create a new app.</p>\n <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see <a href=\"https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth\">Migrating an existing OAuth app to the Amplify GitHub App</a> in the\n <i>Amplify User Guide</i> .</p>"
}
},
"environmentVariables": {
Expand Down Expand Up @@ -5008,13 +5008,13 @@
"oauthToken": {
"target": "com.amazonaws.amplify#OauthToken",
"traits": {
"smithy.api#documentation": "<p> The OAuth token for a third-party source control system for an Amplify app. The token\n is used to create a webhook and a read-only deploy key. The OAuth token is not stored.\n </p>"
"smithy.api#documentation": "<p>The OAuth token for a third-party source control system for an Amplify app. The OAuth\n token is used to create a webhook and a read-only deploy key using SSH cloning. The\n OAuth token is not stored.</p>\n <p>Use <code>oauthToken</code> for repository providers other than GitHub, such as\n Bitbucket or CodeCommit.</p>\n <p>To authorize access to GitHub as your repository provider, use\n <code>accessToken</code>.</p>\n <p>You must specify either <code>oauthToken</code> or <code>accessToken</code> when you\n update an app.</p>\n <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see <a href=\"https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth\">Migrating an existing OAuth app to the Amplify GitHub App</a> in the\n <i>Amplify User Guide</i> .</p>"
}
},
"accessToken": {
"target": "com.amazonaws.amplify#AccessToken",
"traits": {
"smithy.api#documentation": "<p> The personal access token for a third-party source control system for an Amplify app.\n The token is used to create webhook and a read-only deploy key. The token is not stored.\n </p>"
"smithy.api#documentation": "<p>The personal access token for a GitHub repository for an Amplify app. The personal\n access token is used to authorize access to a GitHub repository using the Amplify GitHub\n App. The token is not stored.</p>\n <p>Use <code>accessToken</code> for GitHub repositories only. To authorize access to a\n repository provider such as Bitbucket or CodeCommit, use <code>oauthToken</code>.</p>\n <p>You must specify either <code>accessToken</code> or <code>oauthToken</code> when you\n update an app.</p>\n <p>Existing Amplify apps deployed from a GitHub repository using OAuth continue to work\n with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub\n App. For more information, see <a href=\"https://docs.aws.amazon.com/amplify/latest/UserGuide/setting-up-GitHub-access.html#migrating-to-github-app-auth\">Migrating an existing OAuth app to the Amplify GitHub App</a> in the\n <i>Amplify User Guide</i> .</p>"
}
}
},
Expand Down
100 changes: 99 additions & 1 deletion aws/sdk/aws-models/appflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
"traits": {
"smithy.api#length": {
"min": 0,
"max": 512
"max": 2048
},
"smithy.api#pattern": "^\\S+$"
}
Expand Down Expand Up @@ -4871,6 +4871,77 @@
"smithy.api#documentation": "<p>The OAuth 2.0 credentials required for OAuth 2.0 authentication.</p>"
}
},
"com.amazonaws.appflow#OAuth2CustomParameter": {
"type": "structure",
"members": {
"key": {
"target": "com.amazonaws.appflow#Key",
"traits": {
"smithy.api#documentation": "<p>The key of the custom parameter required for OAuth 2.0 authentication.</p>"
}
},
"isRequired": {
"target": "com.amazonaws.appflow#Boolean",
"traits": {
"smithy.api#documentation": "<p>Indicates whether the custom parameter for OAuth 2.0 authentication is required.</p>"
}
},
"label": {
"target": "com.amazonaws.appflow#Label",
"traits": {
"smithy.api#documentation": "<p>The label of the custom parameter used for OAuth 2.0 authentication.</p>"
}
},
"description": {
"target": "com.amazonaws.appflow#Description",
"traits": {
"smithy.api#documentation": "<p>A description about the custom parameter used for OAuth 2.0 authentication.</p>"
}
},
"isSensitiveField": {
"target": "com.amazonaws.appflow#Boolean",
"traits": {
"smithy.api#documentation": "<p>Indicates whether this authentication custom parameter is a sensitive field.</p>"
}
},
"connectorSuppliedValues": {
"target": "com.amazonaws.appflow#ConnectorSuppliedValueList",
"traits": {
"smithy.api#documentation": "<p>Contains default values for this authentication parameter that are supplied by the\n connector.</p>"
}
},
"type": {
"target": "com.amazonaws.appflow#OAuth2CustomPropType",
"traits": {
"smithy.api#documentation": "<p>Indicates whether custom parameter is used with TokenUrl or AuthUrl.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Custom parameter required for OAuth 2.0 authentication.</p>"
}
},
"com.amazonaws.appflow#OAuth2CustomPropType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "TOKEN_URL",
"name": "TOKEN_URL"
},
{
"value": "AUTH_URL",
"name": "AUTH_URL"
}
]
}
},
"com.amazonaws.appflow#OAuth2CustomPropertiesList": {
"type": "list",
"member": {
"target": "com.amazonaws.appflow#OAuth2CustomParameter"
}
},
"com.amazonaws.appflow#OAuth2Defaults": {
"type": "structure",
"members": {
Expand All @@ -4897,6 +4968,12 @@
"traits": {
"smithy.api#documentation": "<p>OAuth 2.0 grant types supported by the connector.</p>"
}
},
"oauth2CustomProperties": {
"target": "com.amazonaws.appflow#OAuth2CustomPropertiesList",
"traits": {
"smithy.api#documentation": "<p>List of custom parameters required for OAuth 2.0 authentication.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -4940,6 +5017,12 @@
"smithy.api#documentation": "<p>The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.</p>",
"smithy.api#required": {}
}
},
"tokenUrlCustomProperties": {
"target": "com.amazonaws.appflow#TokenUrlCustomProperties",
"traits": {
"smithy.api#documentation": "<p>Associates your token URL with a map of properties that you define. Use this parameter\n to provide any additional details that the connector requires to authenticate your\n request.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -7799,6 +7882,21 @@
"smithy.api#pattern": "^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]$"
}
},
"com.amazonaws.appflow#TokenUrlCustomProperties": {
"type": "map",
"key": {
"target": "com.amazonaws.appflow#CustomPropertyKey"
},
"value": {
"target": "com.amazonaws.appflow#CustomPropertyValue"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 50
}
}
},
"com.amazonaws.appflow#TokenUrlList": {
"type": "list",
"member": {
Expand Down
22 changes: 22 additions & 0 deletions aws/sdk/aws-models/appstream.json
Original file line number Diff line number Diff line change
Expand Up @@ -1382,6 +1382,12 @@
"traits": {
"smithy.api#documentation": "<p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>"
}
},
"SessionScriptS3Location": {
"target": "com.amazonaws.appstream#S3Location",
"traits": {
"smithy.api#documentation": "<p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>"
}
}
}
},
Expand Down Expand Up @@ -4121,6 +4127,12 @@
"traits": {
"smithy.api#documentation": "<p>The USB device filter strings associated with the fleet.</p>"
}
},
"SessionScriptS3Location": {
"target": "com.amazonaws.appstream#S3Location",
"traits": {
"smithy.api#documentation": "<p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -4151,6 +4163,10 @@
{
"value": "USB_DEVICE_FILTER_STRINGS",
"name": "USB_DEVICE_FILTER_STRINGS"
},
{
"value": "SESSION_SCRIPT_S3_LOCATION",
"name": "SESSION_SCRIPT_S3_LOCATION"
}
]
}
Expand Down Expand Up @@ -6867,6 +6883,12 @@
"traits": {
"smithy.api#documentation": "<p>The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.</p>"
}
},
"SessionScriptS3Location": {
"target": "com.amazonaws.appstream#S3Location",
"traits": {
"smithy.api#documentation": "<p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets. </p>"
}
}
}
},
Expand Down
Loading