@aws-sdk/client-verifiedpermissions 3.430.0 → 3.431.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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.de_UpdatePolicyTemplateCommand = exports.de_UpdatePolicyStoreCommand = exports.de_UpdatePolicyCommand = exports.de_UpdateIdentitySourceCommand = exports.de_PutSchemaCommand = exports.de_ListPolicyTemplatesCommand = exports.de_ListPolicyStoresCommand = exports.de_ListPoliciesCommand = exports.de_ListIdentitySourcesCommand = exports.de_IsAuthorizedWithTokenCommand = exports.de_IsAuthorizedCommand = exports.de_GetSchemaCommand = exports.de_GetPolicyTemplateCommand = exports.de_GetPolicyStoreCommand = exports.de_GetPolicyCommand = exports.de_GetIdentitySourceCommand = exports.de_DeletePolicyTemplateCommand = exports.de_DeletePolicyStoreCommand = exports.de_DeletePolicyCommand = exports.de_DeleteIdentitySourceCommand = exports.de_CreatePolicyTemplateCommand = exports.de_CreatePolicyStoreCommand = exports.de_CreatePolicyCommand = exports.de_CreateIdentitySourceCommand = exports.se_UpdatePolicyTemplateCommand = exports.se_UpdatePolicyStoreCommand = exports.se_UpdatePolicyCommand = exports.se_UpdateIdentitySourceCommand = exports.se_PutSchemaCommand = exports.se_ListPolicyTemplatesCommand = exports.se_ListPolicyStoresCommand = exports.se_ListPoliciesCommand = exports.se_ListIdentitySourcesCommand = exports.se_IsAuthorizedWithTokenCommand = exports.se_IsAuthorizedCommand = exports.se_GetSchemaCommand = exports.se_GetPolicyTemplateCommand = exports.se_GetPolicyStoreCommand = exports.se_GetPolicyCommand = exports.se_GetIdentitySourceCommand = exports.se_DeletePolicyTemplateCommand = exports.se_DeletePolicyStoreCommand = exports.se_DeletePolicyCommand = exports.se_DeleteIdentitySourceCommand = exports.se_CreatePolicyTemplateCommand = exports.se_CreatePolicyStoreCommand = exports.se_CreatePolicyCommand = exports.se_CreateIdentitySourceCommand = void 0;
4
+ const core_1 = require("@aws-sdk/core");
4
5
  const protocol_http_1 = require("@smithy/protocol-http");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const uuid_1 = require("uuid");
@@ -1519,7 +1520,7 @@ const de_GetIdentitySourceOutput = (output, context) => {
1519
1520
  const de_GetPolicyOutput = (output, context) => {
1520
1521
  return (0, smithy_client_1.take)(output, {
1521
1522
  createdDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1522
- definition: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
1523
+ definition: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
1523
1524
  lastUpdatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1524
1525
  policyId: smithy_client_1.expectString,
1525
1526
  policyStoreId: smithy_client_1.expectString,
@@ -1600,7 +1601,7 @@ const de_ListPolicyTemplatesOutput = (output, context) => {
1600
1601
  const de_PolicyItem = (output, context) => {
1601
1602
  return (0, smithy_client_1.take)(output, {
1602
1603
  createdDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1603
- definition: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
1604
+ definition: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
1604
1605
  lastUpdatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
1605
1606
  policyId: smithy_client_1.expectString,
1606
1607
  policyStoreId: smithy_client_1.expectString,
@@ -1,5 +1,6 @@
1
+ import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
1
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, expectUnion as __expectUnion, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
3
4
  import { v4 as generateIdempotencyToken } from "uuid";
4
5
  import { AccessDeniedException, AttributeValue, ConflictException, ContextDefinition, EntitiesDefinition, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
5
6
  import { VerifiedPermissionsServiceException as __BaseException } from "../models/VerifiedPermissionsServiceException";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-verifiedpermissions",
3
3
  "description": "AWS SDK for JavaScript Verifiedpermissions Client for Node.js, Browser and React Native",
4
- "version": "3.430.0",
4
+ "version": "3.431.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,10 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.430.0",
25
- "@aws-sdk/credential-provider-node": "3.430.0",
26
- "@aws-sdk/middleware-host-header": "3.429.0",
24
+ "@aws-sdk/client-sts": "3.431.0",
25
+ "@aws-sdk/core": "3.431.0",
26
+ "@aws-sdk/credential-provider-node": "3.431.0",
27
+ "@aws-sdk/middleware-host-header": "3.431.0",
27
28
  "@aws-sdk/middleware-logger": "3.428.0",
28
29
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
30
  "@aws-sdk/middleware-signing": "3.428.0",