Skip to content

Commit

Permalink
Updates SDK to v2.1586.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Mar 26, 2024
1 parent 46afb27 commit 1458fb2
Show file tree
Hide file tree
Showing 24 changed files with 757 additions and 208 deletions.
22 changes: 22 additions & 0 deletions .changes/2.1586.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"type": "feature",
"category": "BedrockAgentRuntime",
"description": "This release adds support to customize prompts sent through the RetrieveAndGenerate API in Agents for Amazon Bedrock."
},
{
"type": "feature",
"category": "CostExplorer",
"description": "Adds support for backfill of cost allocation tags, with new StartCostAllocationTagBackfill and ListCostAllocationTagBackfillHistory API."
},
{
"type": "feature",
"category": "EC2",
"description": "Documentation updates for Elastic Compute Cloud (EC2)."
},
{
"type": "feature",
"category": "Finspace",
"description": "Add new operation delete-kx-cluster-node and add status parameter to list-kx-cluster-node operation."
}
]
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1585.0-->
<!--LATEST=2.1586.0-->
<!--ENTRYINSERT-->

## 2.1586.0
* feature: BedrockAgentRuntime: This release adds support to customize prompts sent through the RetrieveAndGenerate API in Agents for Amazon Bedrock.
* feature: CostExplorer: Adds support for backfill of cost allocation tags, with new StartCostAllocationTagBackfill and ListCostAllocationTagBackfillHistory API.
* feature: EC2: Documentation updates for Elastic Compute Cloud (EC2).
* feature: Finspace: Add new operation delete-kx-cluster-node and add status parameter to list-kx-cluster-node operation.

## 2.1585.0
* feature: CodeBuild: Supporting GitLab and GitLab Self Managed as source types in AWS CodeBuild.
* feature: EC2: Added support for ModifyInstanceMetadataDefaults and GetInstanceMetadataDefaults to set Instance Metadata Service account defaults
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
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.1585.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1586.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
14 changes: 14 additions & 0 deletions apis/bedrock-agent-runtime-2023-07-26.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,20 @@
"modelArn"
],
"members": {
"generationConfiguration": {
"type": "structure",
"members": {
"promptTemplate": {
"type": "structure",
"members": {
"textPromptTemplate": {
"type": "string",
"sensitive": true
}
}
}
}
},
"knowledgeBaseId": {},
"modelArn": {},
"retrievalConfiguration": {
Expand Down
84 changes: 57 additions & 27 deletions apis/bedrock-agent-runtime-2023-07-26.normal.json

Large diffs are not rendered by default.

52 changes: 52 additions & 0 deletions apis/ce-2017-10-25.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -1483,6 +1483,29 @@
}
}
},
"ListCostAllocationTagBackfillHistory": {
"input": {
"type": "structure",
"members": {
"NextToken": {},
"MaxResults": {
"type": "integer"
}
}
},
"output": {
"type": "structure",
"members": {
"BackfillRequests": {
"type": "list",
"member": {
"shape": "S7t"
}
},
"NextToken": {}
}
}
},
"ListCostAllocationTags": {
"input": {
"type": "structure",
Expand Down Expand Up @@ -1640,6 +1663,25 @@
}
}
},
"StartCostAllocationTagBackfill": {
"input": {
"type": "structure",
"required": [
"BackfillFrom"
],
"members": {
"BackfillFrom": {}
}
},
"output": {
"type": "structure",
"members": {
"BackfillRequest": {
"shape": "S7t"
}
}
}
},
"StartSavingsPlansPurchaseRecommendationGeneration": {
"input": {
"type": "structure",
Expand Down Expand Up @@ -2330,6 +2372,16 @@
"shape": "S7a"
}
}
},
"S7t": {
"type": "structure",
"members": {
"BackfillFrom": {},
"RequestedAt": {},
"CompletedAt": {},
"BackfillStatus": {},
"LastUpdatedAt": {}
}
}
}
}
134 changes: 134 additions & 0 deletions apis/ce-2017-10-25.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,28 @@
],
"documentation": "<p>Retrieves a forecast for how much Amazon Web Services predicts that you will use over the forecast time period that you select, based on your past usage. </p>"
},
"ListCostAllocationTagBackfillHistory": {
"name": "ListCostAllocationTagBackfillHistory",
"http": {
"method": "POST",
"requestUri": "/"
},
"input": {
"shape": "ListCostAllocationTagBackfillHistoryRequest"
},
"output": {
"shape": "ListCostAllocationTagBackfillHistoryResponse"
},
"errors": [
{
"shape": "LimitExceededException"
},
{
"shape": "InvalidNextTokenException"
}
],
"documentation": "<p> Retrieves a list of your historical cost allocation tag backfill requests. </p>"
},
"ListCostAllocationTags": {
"name": "ListCostAllocationTags",
"http": {
Expand Down Expand Up @@ -781,6 +803,28 @@
],
"documentation": "<p>Modifies the feedback property of a given cost anomaly. </p>"
},
"StartCostAllocationTagBackfill": {
"name": "StartCostAllocationTagBackfill",
"http": {
"method": "POST",
"requestUri": "/"
},
"input": {
"shape": "StartCostAllocationTagBackfillRequest"
},
"output": {
"shape": "StartCostAllocationTagBackfillResponse"
},
"errors": [
{
"shape": "LimitExceededException"
},
{
"shape": "BackfillLimitExceededException"
}
],
"documentation": "<p> Request a cost allocation tag backfill. This will backfill the activation status (either <code>active</code> or <code>inactive</code>) for all tag keys from <code>para:BackfillFrom</code> up to the when this request is made.</p> <p>You can request a backfill once every 24 hours. </p>"
},
"StartSavingsPlansPurchaseRecommendationGeneration": {
"name": "StartSavingsPlansPurchaseRecommendationGeneration",
"http": {
Expand Down Expand Up @@ -1246,6 +1290,48 @@
},
"documentation": "<p>The cost allocation tag structure. This includes detailed metadata for the <code>CostAllocationTag</code> object. </p>"
},
"CostAllocationTagBackfillRequest": {
"type": "structure",
"members": {
"BackfillFrom": {
"shape": "ZonedDateTime",
"documentation": "<p> The date the backfill starts from. </p>"
},
"RequestedAt": {
"shape": "ZonedDateTime",
"documentation": "<p> The time when the backfill was requested. </p>"
},
"CompletedAt": {
"shape": "ZonedDateTime",
"documentation": "<p> The backfill completion time. </p>"
},
"BackfillStatus": {
"shape": "CostAllocationTagBackfillStatus",
"documentation": "<p> The status of the cost allocation tag backfill request. </p>"
},
"LastUpdatedAt": {
"shape": "ZonedDateTime",
"documentation": "<p> The time when the backfill status was last updated. </p>"
}
},
"documentation": "<p> The cost allocation tag backfill request structure that contains metadata and details of a certain backfill.</p>"
},
"CostAllocationTagBackfillRequestList": {
"type": "list",
"member": {
"shape": "CostAllocationTagBackfillRequest"
},
"max": 1000,
"min": 0
},
"CostAllocationTagBackfillStatus": {
"type": "string",
"enum": [
"SUCCEEDED",
"PROCESSING",
"FAILED"
]
},
"CostAllocationTagKeyList": {
"type": "list",
"member": {
Expand Down Expand Up @@ -3580,6 +3666,33 @@
"shape": "Key"
}
},
"ListCostAllocationTagBackfillHistoryRequest": {
"type": "structure",
"members": {
"NextToken": {
"shape": "NextPageToken",
"documentation": "<p> The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. </p>"
},
"MaxResults": {
"shape": "CostAllocationTagsMaxResults",
"documentation": "<p> The maximum number of objects that are returned for this request. </p>",
"box": true
}
}
},
"ListCostAllocationTagBackfillHistoryResponse": {
"type": "structure",
"members": {
"BackfillRequests": {
"shape": "CostAllocationTagBackfillRequestList",
"documentation": "<p> The list of historical cost allocation tag backfill requests. </p>"
},
"NextToken": {
"shape": "NextPageToken",
"documentation": "<p> The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. </p>"
}
}
},
"ListCostAllocationTagsRequest": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -5215,6 +5328,27 @@
"DESCENDING"
]
},
"StartCostAllocationTagBackfillRequest": {
"type": "structure",
"required": [
"BackfillFrom"
],
"members": {
"BackfillFrom": {
"shape": "ZonedDateTime",
"documentation": "<p> The date you want the backfill to start from. The date can only be a first day of the month (a billing start date). Dates can't precede the previous twelve months, or in the future.</p>"
}
}
},
"StartCostAllocationTagBackfillResponse": {
"type": "structure",
"members": {
"BackfillRequest": {
"shape": "CostAllocationTagBackfillRequest",
"documentation": "<p> An object containing detailed metadata of your new backfill request. </p>"
}
}
},
"StartSavingsPlansPurchaseRecommendationGenerationRequest": {
"type": "structure",
"members": {}
Expand Down
5 changes: 5 additions & 0 deletions apis/ce-2017-10-25.paginators.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"output_token": "NextToken",
"limit_key": "MaxResults"
},
"ListCostAllocationTagBackfillHistory": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults"
},
"ListCostAllocationTags": {
"input_token": "NextToken",
"output_token": "NextToken",
Expand Down
4 changes: 1 addition & 3 deletions apis/ec2-2016-11-15.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -2289,9 +2289,7 @@
"locationName": "item",
"type": "structure",
"members": {
"Key": {
"locationName": "key"
},
"Key": {},
"Values": {
"shape": "So",
"locationName": "Value"
Expand Down
8 changes: 5 additions & 3 deletions apis/ec2-2016-11-15.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -49333,13 +49333,15 @@
"members": {
"Key": {
"shape": "String",
"locationName": "key"
"documentation": "<p>The name of a DHCP option.</p>"
},
"Values": {
"shape": "ValueStringList",
"documentation": "<p>The values for the DHCP option.</p>",
"locationName": "Value"
}
}
},
"documentation": "<p>Describes a DHCP configuration option.</p>"
},
"NewDhcpConfigurationList": {
"type": "list",
Expand Down Expand Up @@ -55833,7 +55835,7 @@
},
"MaxResults": {
"shape": "TransitGatewayMaxResults",
"documentation": "<p>The maximum number of routes to return. If a value is not provided, the default is 1000.</p>"
"documentation": "<p>The maximum number of routes to return.</p>"
},
"DryRun": {
"shape": "Boolean",
Expand Down

0 comments on commit 1458fb2

Please sign in to comment.