Skip to content

Commit 3afef9f

Browse files
committed
chore: Update to std@0.120.0, sdk@v2.1060.0
1 parent b323aa5 commit 3afef9f

File tree

10 files changed

+19
-15
lines changed

10 files changed

+19
-15
lines changed

aws-sdk-js

Submodule aws-sdk-js updated 167 files

generation/deploy/generations.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ export const Generations = new Map<string, ModuleGenerator>([
7777
(config, opts) => new LatestCodeGen(config, opts),
7878
)],
7979
['v0.3', new ModuleGenerator(
80-
'https://deno.land/std@0.115.0',
81-
'v2.1048.0', // https://github.com/aws/aws-sdk-js/releases
80+
'https://deno.land/std@0.120.0',
81+
'v2.1060.0', // https://github.com/aws/aws-sdk-js/releases
8282
new URLSearchParams([
8383
['aws_api_root', 'https://deno.land/x/aws_api@v0.5.0'], // TODO: new version
8484
['docs', 'short'],

generation/helper-library.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export interface Helper {
7171

7272
export const HashMD5: Helper = {
7373
deps: {
74-
HashMd5: "https://deno.land/std@0.115.0/hash/md5.ts",
74+
HashMd5: "https://deno.land/std@0.120.0/hash/md5.ts",
7575
},
7676
chunks: [
7777
`function hashMD5(data: HashMd5.Message): string {`,
@@ -84,7 +84,7 @@ export const HashMD5: Helper = {
8484

8585
export const SerializeBlob: Helper = {
8686
deps: {
87-
Base64: "https://deno.land/std@0.115.0/encoding/base64.ts",
87+
Base64: "https://deno.land/std@0.120.0/encoding/base64.ts",
8888
},
8989
chunks: [
9090
`function serializeBlob(input: string | Uint8Array | null | undefined) {`,
@@ -95,7 +95,7 @@ export const SerializeBlob: Helper = {
9595
};
9696
export const ParseBlob: Helper = {
9797
deps: {
98-
Base64: "https://deno.land/std@0.115.0/encoding/base64.ts",
98+
Base64: "https://deno.land/std@0.120.0/encoding/base64.ts",
9999
},
100100
chunks: [
101101
`function parseBlob(input: string | null | undefined) {`,

generation/script/validate-fixtures.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ async function generateRun(run: TestRun): Promise<void> {
140140

141141
const chunks = new Array<string>();
142142
chunks.push('\n/////////\n');
143-
chunks.push(`import { assertEquals, assertRejects, assertObjectMatch } from "https://deno.land/std@0.115.0/testing/asserts.ts";`);
143+
chunks.push(`import { assertEquals, assertRejects, assertObjectMatch } from "https://deno.land/std@0.120.0/testing/asserts.ts";`);
144144
chunks.push(`import { wrapServiceClient } from '../../client/client.ts';\n`);
145145
chunks.push(`import { ServiceApiClass, AwsServiceError } from '../../client/common.ts';\n`);
146146

lib/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,21 +83,25 @@ const ec2_europe = new ApiFactory({
8383

8484
## Changelog
8585

86-
* `v0.6.0` on `2021-12-TBD`: codegen `v0.3`
86+
* `v0.6.0` on `2022-01-19`: codegen `v0.3`
8787
* **Breaking change:** Some response types now have nullable lists and maps. Workarounds:
8888
* Add a nullcheck around any broken fields if you just want to get going again.
8989
* If you aren't already,
9090
[add an `?actions=...` filter](https://github.com/cloudydeno/deno-aws_api/wiki/Web-Service#parameters)
9191
to your import to produce more-concise types.
9292
* Test on Deno 1.11 up to 1.17 (the current latest)
93-
* Use Deno's `/std@0.115.0`
93+
* Use Deno's `/std@0.120.0`
9494
* Fix specific issues with `Glacier`, `ApiGateway`, `S3`,
9595
and [`EC2`](https://github.com/cloudydeno/deno-aws_api/issues/16)
96+
* Fix 404 when requesting several APIs incluiding Lex and DynamoDBStreams
9697
* Block APIs needing AWS's "eventstream" protocol (so, `S3.SelectObjectContent`)
9798
* Set `docs=short` as the default. For the least bytes, please specify `docs=none`.
9899
* Add experimental request hooks to `ApiFactory`, helps with debugging
99100
* Use Lambda's new IPv6-enabled API endpoints
101+
* Allow selecting IPv6 endpoints for IMDSv2
100102
* Fix incorrect logic reuse between `rest-json` and `json` clients
103+
* Adjust which headers are used for request signatures
104+
* Rewrite of response error parsing
101105
* `v0.5.0` on `2021-08-27`: codegen `v0.2`
102106
* Support Deno 1.11 or later
103107
* Use definitions from `aws-sdk-js@2.971.0`
@@ -204,7 +208,7 @@ Multiple bits are *missing*:
204208

205209
[//]: # (Generated Content Barrier)
206210

207-
All API definitions are current as of [aws-sdk-js `v2.1048.0`](https://github.com/aws/aws-sdk-js/releases/tag/v2.1048.0).
211+
All API definitions are current as of [aws-sdk-js `v2.1060.0`](https://github.com/aws/aws-sdk-js/releases/tag/v2.1060.0).
208212

209213
| Class | Module | Protocol |
210214
| --- | --- | --- |

lib/client/credentials_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { SharedIniFileCredentials } from './credentials.ts';
2-
import { assertEquals } from "https://deno.land/std@0.115.0/testing/asserts.ts";
2+
import { assertEquals } from "https://deno.land/std@0.120.0/testing/asserts.ts";
33

44
Deno.test('basic ini file', async () => {
55
const credential = new SharedIniFileCredentials({

lib/client/endpoints_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals, assertThrows } from "https://deno.land/std@0.115.0/testing/asserts.ts";
1+
import { assertEquals, assertThrows } from "https://deno.land/std@0.120.0/testing/asserts.ts";
22
import type { ApiMetadata } from "./common.ts";
33
import { AwsEndpointResolver, FixedBaseEndpointResolver, S3CompatibleEndpointResolver } from "./endpoints.ts";
44

lib/client/signing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// port of https://github.com/lucacasonato/deno_aws_sign_v4
22
// because that repo (as of press time) unnecesarily brings in 25 source files
33

4-
import { Message, Sha256, HmacSha256 } from "https://deno.land/std@0.115.0/hash/sha256.ts";
4+
import { Message, Sha256, HmacSha256 } from "https://deno.land/std@0.120.0/hash/sha256.ts";
55
import type { Signer, Credentials } from "./common.ts";
66

77
function sha256(data: Message): Sha256 {

lib/encoding/json.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export function readJsonValueBase64(input: JSONValue): JSONValue {
165165
return JSON.parse(atob(input));
166166
}
167167

168-
// from https://deno.land/std@0.115.0/encoding/base64.ts
168+
// from https://deno.land/std@0.120.0/encoding/base64.ts
169169
function decodeBase64(b64: string): Uint8Array {
170170
const binString = atob(b64);
171171
const size = binString.length;

lib/examples/sqs-redriver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { SQS } from '../services/sqs/mod.ts';
66
const sqs = new ApiFactory().makeNew(SQS);
77

88
// we'll be taking input
9-
import { parse as parseFlags } from "https://deno.land/std@0.115.0/flags/mod.ts";
9+
import { parse as parseFlags } from "https://deno.land/std@0.120.0/flags/mod.ts";
1010
import Ask from 'https://deno.land/x/ask@1.0.6/mod.ts';
1111

1212
let { dlq, target, automatic } = parseFlags(Deno.args, {

0 commit comments

Comments
 (0)