Skip to content

Commit

Permalink
Updates SDK to v2.1618.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed May 10, 2024
1 parent b7f1a02 commit 2520888
Show file tree
Hide file tree
Showing 20 changed files with 262 additions and 44 deletions.
22 changes: 22 additions & 0 deletions .changes/2.1618.0.json
@@ -0,0 +1,22 @@
[
{
"type": "feature",
"category": "Discovery",
"description": "add v2 smoke tests and smithy smokeTests trait for SDK testing"
},
{
"type": "feature",
"category": "GreengrassV2",
"description": "Mark ComponentVersion in ComponentDeploymentSpecification as required."
},
{
"type": "feature",
"category": "SSOOIDC",
"description": "Updated request parameters for PKCE support."
},
{
"type": "feature",
"category": "SageMaker",
"description": "Introduced support for G6 instance types on Sagemaker Notebook Instances and on SageMaker Studio for JupyterLab and CodeEditor applications."
}
]
8 changes: 7 additions & 1 deletion CHANGELOG.md
@@ -1,7 +1,13 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1617.0-->
<!--LATEST=2.1618.0-->
<!--ENTRYINSERT-->

## 2.1618.0
* feature: Discovery: add v2 smoke tests and smithy smokeTests trait for SDK testing
* feature: GreengrassV2: Mark ComponentVersion in ComponentDeploymentSpecification as required.
* feature: SSOOIDC: Updated request parameters for PKCE support.
* feature: SageMaker: Introduced support for G6 instance types on Sagemaker Notebook Instances and on SageMaker Studio for JupyterLab and CodeEditor applications.

## 2.1617.0
* feature: BedrockAgentRuntime: This release adds support to provide guardrail configuration and modify inference parameters that are then used in RetrieveAndGenerate API in Agents for Amazon Bedrock.
* feature: Pinpoint: This release adds support for specifying email message headers for Email Templates, Campaigns, Journeys and Send Messages.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -64,7 +64,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1617.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1618.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
3 changes: 3 additions & 0 deletions apis/discovery-2015-11-01.min.json
Expand Up @@ -5,6 +5,9 @@
"endpointPrefix": "discovery",
"jsonVersion": "1.1",
"protocol": "json",
"protocols": [
"json"
],
"serviceFullName": "AWS Application Discovery Service",
"serviceId": "Application Discovery Service",
"signatureVersion": "v4",
Expand Down
3 changes: 3 additions & 0 deletions apis/discovery-2015-11-01.normal.json
Expand Up @@ -5,6 +5,9 @@
"endpointPrefix": "discovery",
"jsonVersion": "1.1",
"protocol": "json",
"protocols": [
"json"
],
"serviceFullName": "AWS Application Discovery Service",
"serviceId": "Application Discovery Service",
"signatureVersion": "v4",
Expand Down
20 changes: 17 additions & 3 deletions apis/greengrassv2-2020-11-30.min.json
Expand Up @@ -4,6 +4,9 @@
"apiVersion": "2020-11-30",
"endpointPrefix": "greengrass",
"protocol": "rest-json",
"protocols": [
"rest-json"
],
"serviceAbbreviation": "AWS GreengrassV2",
"serviceFullName": "AWS IoT Greengrass V2",
"serviceId": "GreengrassV2",
Expand Down Expand Up @@ -528,6 +531,14 @@
"artifactName": {
"location": "uri",
"locationName": "artifactName"
},
"s3EndpointType": {
"location": "querystring",
"locationName": "s3EndpointType"
},
"iotEndpointType": {
"location": "header",
"locationName": "x-amz-iot-endpoint-type"
}
}
},
Expand Down Expand Up @@ -563,7 +574,7 @@
"type": "structure",
"members": {
"connectivityInfo": {
"shape": "S39",
"shape": "S3b",
"locationName": "ConnectivityInfo"
},
"message": {
Expand Down Expand Up @@ -1213,7 +1224,7 @@
"locationName": "thingName"
},
"connectivityInfo": {
"shape": "S39",
"shape": "S3b",
"locationName": "ConnectivityInfo"
}
}
Expand Down Expand Up @@ -1273,6 +1284,9 @@
"key": {},
"value": {
"type": "structure",
"required": [
"componentVersion"
],
"members": {
"componentVersion": {},
"configurationUpdate": {
Expand Down Expand Up @@ -1407,7 +1421,7 @@
}
}
},
"S39": {
"S3b": {
"type": "list",
"member": {
"type": "structure",
Expand Down
38 changes: 35 additions & 3 deletions apis/greengrassv2-2020-11-30.normal.json
Expand Up @@ -4,6 +4,9 @@
"apiVersion": "2020-11-30",
"endpointPrefix": "greengrass",
"protocol": "rest-json",
"protocols": [
"rest-json"
],
"serviceAbbreviation": "AWS GreengrassV2",
"serviceFullName": "AWS IoT Greengrass V2",
"serviceId": "GreengrassV2",
Expand Down Expand Up @@ -168,7 +171,7 @@
"shape": "RequestAlreadyInProgressException"
}
],
"documentation": "<p>Creates a component. Components are software that run on Greengrass core devices. After you develop and test a component on your core device, you can use this operation to upload your component to IoT Greengrass. Then, you can deploy the component to other core devices.</p> <p>You can use this operation to do the following:</p> <ul> <li> <p> <b>Create components from recipes</b> </p> <p>Create a component from a recipe, which is a file that defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform capability. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/component-recipe-reference.html\">IoT Greengrass component recipe reference</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p> <p>To create a component from a recipe, specify <code>inlineRecipe</code> when you call this operation.</p> </li> <li> <p> <b>Create components from Lambda functions</b> </p> <p>Create a component from an Lambda function that runs on IoT Greengrass. This creates a recipe and artifacts from the Lambda function's deployment package. You can use this operation to migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass V2.</p> <p>This function only accepts Lambda functions that use the following runtimes:</p> <ul> <li> <p>Python 2.7 – <code>python2.7</code> </p> </li> <li> <p>Python 3.7 – <code>python3.7</code> </p> </li> <li> <p>Python 3.8 – <code>python3.8</code> </p> </li> <li> <p>Python 3.9 – <code>python3.9</code> </p> </li> <li> <p>Java 8 – <code>java8</code> </p> </li> <li> <p>Java 11 – <code>java11</code> </p> </li> <li> <p>Node.js 10 – <code>nodejs10.x</code> </p> </li> <li> <p>Node.js 12 – <code>nodejs12.x</code> </p> </li> <li> <p>Node.js 14 – <code>nodejs14.x</code> </p> </li> </ul> <p>To create a component from a Lambda function, specify <code>lambdaFunction</code> when you call this operation.</p> <note> <p>IoT Greengrass currently supports Lambda functions on only Linux core devices.</p> </note> </li> </ul>"
"documentation": "<p>Creates a component. Components are software that run on Greengrass core devices. After you develop and test a component on your core device, you can use this operation to upload your component to IoT Greengrass. Then, you can deploy the component to other core devices.</p> <p>You can use this operation to do the following:</p> <ul> <li> <p> <b>Create components from recipes</b> </p> <p>Create a component from a recipe, which is a file that defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform capability. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/component-recipe-reference.html\">IoT Greengrass component recipe reference</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p> <p>To create a component from a recipe, specify <code>inlineRecipe</code> when you call this operation.</p> </li> <li> <p> <b>Create components from Lambda functions</b> </p> <p>Create a component from an Lambda function that runs on IoT Greengrass. This creates a recipe and artifacts from the Lambda function's deployment package. You can use this operation to migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass V2.</p> <p>This function accepts Lambda functions in all supported versions of Python, Node.js, and Java runtimes. IoT Greengrass doesn't apply any additional restrictions on deprecated Lambda runtime versions.</p> <p>To create a component from a Lambda function, specify <code>lambdaFunction</code> when you call this operation.</p> <note> <p>IoT Greengrass currently supports Lambda functions on only Linux core devices.</p> </note> </li> </ul>"
},
"CreateDeployment": {
"name": "CreateDeployment",
Expand Down Expand Up @@ -1190,6 +1193,9 @@
},
"ComponentDeploymentSpecification": {
"type": "structure",
"required": [
"componentVersion"
],
"members": {
"componentVersion": {
"shape": "ComponentVersionString",
Expand Down Expand Up @@ -2028,6 +2034,18 @@
"documentation": "<p>The name of the artifact.</p> <p>You can use the <a href=\"https://docs.aws.amazon.com/greengrass/v2/APIReference/API_GetComponent.html\">GetComponent</a> operation to download the component recipe, which includes the URI of the artifact. The artifact name is the section of the URI after the scheme. For example, in the artifact URI <code>greengrass:SomeArtifact.zip</code>, the artifact name is <code>SomeArtifact.zip</code>.</p>",
"location": "uri",
"locationName": "artifactName"
},
"s3EndpointType": {
"shape": "S3EndpointType",
"documentation": "<p>Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.</p> <p>All Amazon Web Services Regions except US East (N. Virginia) use <code>REGIONAL</code> in all cases. In the US East (N. Virginia) Region the default is <code>GLOBAL</code>, but you can change it to <code>REGIONAL</code> with this parameter.</p>",
"location": "querystring",
"locationName": "s3EndpointType"
},
"iotEndpointType": {
"shape": "IotEndpointType",
"documentation": "<p>Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint. Specify <code>fips</code> if you want the returned Amazon S3 pre-signed URL to point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default is <code>standard</code>.</p>",
"location": "header",
"locationName": "x-amz-iot-endpoint-type"
}
}
},
Expand Down Expand Up @@ -2246,7 +2264,7 @@
},
"lastInstallationSource": {
"shape": "NonEmptyString",
"documentation": "<p>The most recent deployment source that brought the component to the Greengrass core device. For a thing group deployment or thing deployment, the source will be the The ID of the deployment. and for local deployments it will be <code>LOCAL</code>.</p> <note> <p>Any deployment will attempt to reinstall currently broken components on the device, which will update the last installation source.</p> </note>"
"documentation": "<p>The most recent deployment source that brought the component to the Greengrass core device. For a thing group deployment or thing deployment, the source will be the ID of the last deployment that contained the component. For local deployments it will be <code>LOCAL</code>.</p> <note> <p>Any deployment will attempt to reinstall currently broken components on the device, which will update the last installation source.</p> </note>"
},
"lifecycleStatusCodes": {
"shape": "InstalledComponentLifecycleStatusCodeList",
Expand Down Expand Up @@ -2464,6 +2482,13 @@
"max": 128,
"min": 1
},
"IotEndpointType": {
"type": "string",
"enum": [
"fips",
"standard"
]
},
"IsLatestForTarget": {
"type": "boolean"
},
Expand Down Expand Up @@ -2921,7 +2946,7 @@
},
"maxResults": {
"shape": "DefaultMaxResults",
"documentation": "<p>The maximum number of results to be returned per paginated request.</p>",
"documentation": "<p>The maximum number of results to be returned per paginated request.</p> <p>Default: <code>50</code> </p>",
"box": true,
"location": "querystring",
"locationName": "maxResults"
Expand Down Expand Up @@ -3169,6 +3194,13 @@
"shape": "ResolvedComponentVersion"
}
},
"S3EndpointType": {
"type": "string",
"enum": [
"REGIONAL",
"GLOBAL"
]
},
"String": {
"type": "string"
},
Expand Down
18 changes: 17 additions & 1 deletion apis/sagemaker-2017-07-24.normal.json
Expand Up @@ -6405,6 +6405,14 @@
"ml.g5.12xlarge",
"ml.g5.24xlarge",
"ml.g5.48xlarge",
"ml.g6.xlarge",
"ml.g6.2xlarge",
"ml.g6.4xlarge",
"ml.g6.8xlarge",
"ml.g6.12xlarge",
"ml.g6.16xlarge",
"ml.g6.24xlarge",
"ml.g6.48xlarge",
"ml.geospatial.interactive",
"ml.p4d.24xlarge",
"ml.p4de.24xlarge",
Expand Down Expand Up @@ -23911,7 +23919,15 @@
"ml.r6id.12xlarge",
"ml.r6id.16xlarge",
"ml.r6id.24xlarge",
"ml.r6id.32xlarge"
"ml.r6id.32xlarge",
"ml.g6.xlarge",
"ml.g6.2xlarge",
"ml.g6.4xlarge",
"ml.g6.8xlarge",
"ml.g6.12xlarge",
"ml.g6.16xlarge",
"ml.g6.24xlarge",
"ml.g6.48xlarge"
]
},
"Integer": {
Expand Down
9 changes: 9 additions & 0 deletions apis/sso-oidc-2019-06-10.examples.json
Expand Up @@ -181,6 +181,15 @@
"input": {
"clientName": "My IDE Plugin",
"clientType": "public",
"entitledApplicationArn": "arn:aws:sso::ACCOUNTID:application/ssoins-1111111111111111/apl-1111111111111111",
"grantTypes": [
"authorization_code",
"refresh_token"
],
"issuerUrl": "https://identitycenter.amazonaws.com/ssoins-1111111111111111",
"redirectUris": [
"127.0.0.1:PORT/oauth/callback"
],
"scopes": [
"sso:account:access",
"codewhisperer:completions"
Expand Down
41 changes: 32 additions & 9 deletions apis/sso-oidc-2019-06-10.min.json
Expand Up @@ -5,6 +5,9 @@
"endpointPrefix": "oidc",
"jsonVersion": "1.1",
"protocol": "rest-json",
"protocols": [
"rest-json"
],
"serviceAbbreviation": "SSO OIDC",
"serviceFullName": "AWS SSO OIDC",
"serviceId": "SSO OIDC",
Expand Down Expand Up @@ -38,14 +41,17 @@
"scope": {
"shape": "S8"
},
"redirectUri": {}
"redirectUri": {},
"codeVerifier": {
"shape": "Sb"
}
}
},
"output": {
"type": "structure",
"members": {
"accessToken": {
"shape": "Sc"
"shape": "Sd"
},
"tokenType": {},
"expiresIn": {
Expand All @@ -55,7 +61,7 @@
"shape": "S7"
},
"idToken": {
"shape": "Sf"
"shape": "Sg"
}
}
},
Expand Down Expand Up @@ -91,14 +97,17 @@
"sensitive": true
},
"subjectTokenType": {},
"requestedTokenType": {}
"requestedTokenType": {},
"codeVerifier": {
"shape": "Sb"
}
}
},
"output": {
"type": "structure",
"members": {
"accessToken": {
"shape": "Sc"
"shape": "Sd"
},
"tokenType": {},
"expiresIn": {
Expand All @@ -108,7 +117,7 @@
"shape": "S7"
},
"idToken": {
"shape": "Sf"
"shape": "Sg"
},
"issuedTokenType": {},
"scope": {
Expand All @@ -132,7 +141,17 @@
"clientType": {},
"scopes": {
"shape": "S8"
}
},
"redirectUris": {
"type": "list",
"member": {}
},
"grantTypes": {
"type": "list",
"member": {}
},
"issuerUrl": {},
"entitledApplicationArn": {}
}
},
"output": {
Expand Down Expand Up @@ -204,11 +223,15 @@
"type": "list",
"member": {}
},
"Sc": {
"Sb": {
"type": "string",
"sensitive": true
},
"Sd": {
"type": "string",
"sensitive": true
},
"Sf": {
"Sg": {
"type": "string",
"sensitive": true
}
Expand Down

0 comments on commit 2520888

Please sign in to comment.