@aws-sdk/client-sesv2 3.565.0 → 3.567.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1452,19 +1452,17 @@ var se_ListContactsCommand = /* @__PURE__ */ __name(async (input, context) => {
1452
1452
  const headers = {
1453
1453
  "content-type": "application/json"
1454
1454
  };
1455
- b.bp("/v2/email/contact-lists/{ContactListName}/contacts");
1455
+ b.bp("/v2/email/contact-lists/{ContactListName}/contacts/list");
1456
1456
  b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
1457
- const query = (0, import_smithy_client.map)({
1458
- [_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
1459
- [_NT]: [, input[_NT]]
1460
- });
1461
1457
  let body;
1462
1458
  body = JSON.stringify(
1463
1459
  (0, import_smithy_client.take)(input, {
1464
- Filter: (_) => (0, import_smithy_client._json)(_)
1460
+ Filter: (_) => (0, import_smithy_client._json)(_),
1461
+ NextToken: [],
1462
+ PageSize: []
1465
1463
  })
1466
1464
  );
1467
- b.m("GET").h(headers).q(query).b(body);
1465
+ b.m("POST").h(headers).b(body);
1468
1466
  return b.build();
1469
1467
  }, "se_ListContactsCommand");
1470
1468
  var se_ListCustomVerificationEmailTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -1571,18 +1569,16 @@ var se_ListImportJobsCommand = /* @__PURE__ */ __name(async (input, context) =>
1571
1569
  const headers = {
1572
1570
  "content-type": "application/json"
1573
1571
  };
1574
- b.bp("/v2/email/import-jobs");
1575
- const query = (0, import_smithy_client.map)({
1576
- [_NT]: [, input[_NT]],
1577
- [_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()]
1578
- });
1572
+ b.bp("/v2/email/import-jobs/list");
1579
1573
  let body;
1580
1574
  body = JSON.stringify(
1581
1575
  (0, import_smithy_client.take)(input, {
1582
- ImportDestinationType: []
1576
+ ImportDestinationType: [],
1577
+ NextToken: [],
1578
+ PageSize: []
1583
1579
  })
1584
1580
  );
1585
- b.m("GET").h(headers).q(query).b(body);
1581
+ b.m("POST").h(headers).b(body);
1586
1582
  return b.build();
1587
1583
  }, "se_ListImportJobsCommand");
1588
1584
  var se_ListRecommendationsCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -550,17 +550,15 @@ export const se_ListContactsCommand = async (input, context) => {
550
550
  const headers = {
551
551
  "content-type": "application/json",
552
552
  };
553
- b.bp("/v2/email/contact-lists/{ContactListName}/contacts");
553
+ b.bp("/v2/email/contact-lists/{ContactListName}/contacts/list");
554
554
  b.p("ContactListName", () => input.ContactListName, "{ContactListName}", false);
555
- const query = map({
556
- [_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
557
- [_NT]: [, input[_NT]],
558
- });
559
555
  let body;
560
556
  body = JSON.stringify(take(input, {
561
557
  Filter: (_) => _json(_),
558
+ NextToken: [],
559
+ PageSize: [],
562
560
  }));
563
- b.m("GET").h(headers).q(query).b(body);
561
+ b.m("POST").h(headers).b(body);
564
562
  return b.build();
565
563
  };
566
564
  export const se_ListCustomVerificationEmailTemplatesCommand = async (input, context) => {
@@ -665,16 +663,14 @@ export const se_ListImportJobsCommand = async (input, context) => {
665
663
  const headers = {
666
664
  "content-type": "application/json",
667
665
  };
668
- b.bp("/v2/email/import-jobs");
669
- const query = map({
670
- [_NT]: [, input[_NT]],
671
- [_PS]: [() => input.PageSize !== void 0, () => input[_PS].toString()],
672
- });
666
+ b.bp("/v2/email/import-jobs/list");
673
667
  let body;
674
668
  body = JSON.stringify(take(input, {
675
669
  ImportDestinationType: [],
670
+ NextToken: [],
671
+ PageSize: [],
676
672
  }));
677
- b.m("GET").h(headers).q(query).b(body);
673
+ b.m("POST").h(headers).b(body);
678
674
  return b.build();
679
675
  };
680
676
  export const se_ListRecommendationsCommand = async (input, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sesv2",
3
3
  "description": "AWS SDK for JavaScript Sesv2 Client for Node.js, Browser and React Native",
4
- "version": "3.565.0",
4
+ "version": "3.567.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sesv2",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/core": "3.556.0",
24
- "@aws-sdk/credential-provider-node": "3.565.0",
25
- "@aws-sdk/middleware-host-header": "3.535.0",
26
- "@aws-sdk/middleware-logger": "3.535.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.535.0",
28
- "@aws-sdk/middleware-user-agent": "3.540.0",
29
- "@aws-sdk/region-config-resolver": "3.535.0",
30
- "@aws-sdk/types": "3.535.0",
31
- "@aws-sdk/util-endpoints": "3.540.0",
32
- "@aws-sdk/util-user-agent-browser": "3.535.0",
33
- "@aws-sdk/util-user-agent-node": "3.535.0",
23
+ "@aws-sdk/core": "3.567.0",
24
+ "@aws-sdk/credential-provider-node": "3.567.0",
25
+ "@aws-sdk/middleware-host-header": "3.567.0",
26
+ "@aws-sdk/middleware-logger": "3.567.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.567.0",
28
+ "@aws-sdk/middleware-user-agent": "3.567.0",
29
+ "@aws-sdk/region-config-resolver": "3.567.0",
30
+ "@aws-sdk/types": "3.567.0",
31
+ "@aws-sdk/util-endpoints": "3.567.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.567.0",
33
+ "@aws-sdk/util-user-agent-node": "3.567.0",
34
34
  "@smithy/config-resolver": "^2.2.0",
35
35
  "@smithy/core": "^1.4.2",
36
36
  "@smithy/fetch-http-handler": "^2.5.0",
@@ -59,8 +59,7 @@
59
59
  "tslib": "^2.6.2"
60
60
  },
61
61
  "devDependencies": {
62
- "@smithy/service-client-documentation-generator": "^2.2.0",
63
- "@tsconfig/node14": "1.0.3",
62
+ "@tsconfig/node16": "16.1.3",
64
63
  "@types/node": "^14.14.31",
65
64
  "concurrently": "7.0.0",
66
65
  "downlevel-dts": "0.10.1",
@@ -68,7 +67,7 @@
68
67
  "typescript": "~4.9.5"
69
68
  },
70
69
  "engines": {
71
- "node": ">=14.0.0"
70
+ "node": ">=16.0.0"
72
71
  },
73
72
  "typesVersions": {
74
73
  "<4.0": {