@aws-sdk/client-verifiedpermissions 3.934.0 → 3.936.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,12 +1,14 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { VerifiedPermissionsServiceException as __BaseException } from "./VerifiedPermissionsServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
1
+ import {
2
+ BatchGetPolicyErrorCode,
3
+ CedarVersion,
4
+ Decision,
5
+ DeletionProtection,
6
+ OpenIdIssuer,
7
+ PolicyEffect,
8
+ PolicyType,
9
+ ResourceType,
10
+ ValidationMode,
11
+ } from "./enums";
10
12
  export interface ActionIdentifier {
11
13
  actionType: string | undefined;
12
14
  actionId: string | undefined;
@@ -22,12 +24,6 @@ export interface BatchGetPolicyInputItem {
22
24
  export interface BatchGetPolicyInput {
23
25
  requests: BatchGetPolicyInputItem[] | undefined;
24
26
  }
25
- export declare const BatchGetPolicyErrorCode: {
26
- readonly POLICY_NOT_FOUND: "POLICY_NOT_FOUND";
27
- readonly POLICY_STORE_NOT_FOUND: "POLICY_STORE_NOT_FOUND";
28
- };
29
- export type BatchGetPolicyErrorCode =
30
- (typeof BatchGetPolicyErrorCode)[keyof typeof BatchGetPolicyErrorCode];
31
27
  export interface BatchGetPolicyErrorItem {
32
28
  code: BatchGetPolicyErrorCode | undefined;
33
29
  policyStoreId: string | undefined;
@@ -69,11 +65,6 @@ export declare namespace PolicyDefinitionDetail {
69
65
  _: (name: string, value: any) => T;
70
66
  }
71
67
  }
72
- export declare const PolicyType: {
73
- readonly STATIC: "STATIC";
74
- readonly TEMPLATE_LINKED: "TEMPLATE_LINKED";
75
- };
76
- export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
77
68
  export interface BatchGetPolicyOutputItem {
78
69
  policyStoreId: string | undefined;
79
70
  policyId: string | undefined;
@@ -86,71 +77,16 @@ export interface BatchGetPolicyOutput {
86
77
  results: BatchGetPolicyOutputItem[] | undefined;
87
78
  errors: BatchGetPolicyErrorItem[] | undefined;
88
79
  }
89
- export declare class InternalServerException extends __BaseException {
90
- readonly name: "InternalServerException";
91
- readonly $fault: "server";
92
- $retryable: {};
93
- constructor(
94
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
95
- );
96
- }
97
- export declare class ThrottlingException extends __BaseException {
98
- readonly name: "ThrottlingException";
99
- readonly $fault: "client";
100
- $retryable: {
101
- throttling: boolean;
102
- };
103
- serviceCode?: string | undefined;
104
- quotaCode?: string | undefined;
105
- constructor(
106
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
107
- );
108
- }
109
80
  export interface ValidationExceptionField {
110
81
  path: string | undefined;
111
82
  message: string | undefined;
112
83
  }
113
- export declare class ValidationException extends __BaseException {
114
- readonly name: "ValidationException";
115
- readonly $fault: "client";
116
- fieldList?: ValidationExceptionField[] | undefined;
117
- constructor(
118
- opts: __ExceptionOptionType<ValidationException, __BaseException>
119
- );
120
- }
121
- export declare const Decision: {
122
- readonly ALLOW: "ALLOW";
123
- readonly DENY: "DENY";
124
- };
125
- export type Decision = (typeof Decision)[keyof typeof Decision];
126
84
  export interface DeterminingPolicyItem {
127
85
  policyId: string | undefined;
128
86
  }
129
87
  export interface EvaluationErrorItem {
130
88
  errorDescription: string | undefined;
131
89
  }
132
- export declare const ResourceType: {
133
- readonly IDENTITY_SOURCE: "IDENTITY_SOURCE";
134
- readonly POLICY: "POLICY";
135
- readonly POLICY_STORE: "POLICY_STORE";
136
- readonly POLICY_TEMPLATE: "POLICY_TEMPLATE";
137
- readonly SCHEMA: "SCHEMA";
138
- };
139
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
140
- export declare class ResourceNotFoundException extends __BaseException {
141
- readonly name: "ResourceNotFoundException";
142
- readonly $fault: "client";
143
- resourceId: string | undefined;
144
- resourceType: ResourceType | undefined;
145
- constructor(
146
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
147
- );
148
- }
149
- export declare const CedarVersion: {
150
- readonly CEDAR_2: "CEDAR_2";
151
- readonly CEDAR_4: "CEDAR_4";
152
- };
153
- export type CedarVersion = (typeof CedarVersion)[keyof typeof CedarVersion];
154
90
  export interface CognitoGroupConfiguration {
155
91
  groupEntityType: string | undefined;
156
92
  }
@@ -399,12 +335,6 @@ export interface ResourceConflict {
399
335
  resourceId: string | undefined;
400
336
  resourceType: ResourceType | undefined;
401
337
  }
402
- export declare class ConflictException extends __BaseException {
403
- readonly name: "ConflictException";
404
- readonly $fault: "client";
405
- resources: ResourceConflict[] | undefined;
406
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
407
- }
408
338
  export interface CreateIdentitySourceInput {
409
339
  clientToken?: string | undefined;
410
340
  policyStoreId: string | undefined;
@@ -417,17 +347,6 @@ export interface CreateIdentitySourceOutput {
417
347
  lastUpdatedDate: Date | undefined;
418
348
  policyStoreId: string | undefined;
419
349
  }
420
- export declare class ServiceQuotaExceededException extends __BaseException {
421
- readonly name: "ServiceQuotaExceededException";
422
- readonly $fault: "client";
423
- resourceId?: string | undefined;
424
- resourceType: ResourceType | undefined;
425
- serviceCode?: string | undefined;
426
- quotaCode?: string | undefined;
427
- constructor(
428
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
429
- );
430
- }
431
350
  export interface StaticPolicyDefinition {
432
351
  description?: string | undefined;
433
352
  statement: string | undefined;
@@ -468,11 +387,6 @@ export interface CreatePolicyInput {
468
387
  policyStoreId: string | undefined;
469
388
  definition: PolicyDefinition | undefined;
470
389
  }
471
- export declare const PolicyEffect: {
472
- readonly FORBID: "Forbid";
473
- readonly PERMIT: "Permit";
474
- };
475
- export type PolicyEffect = (typeof PolicyEffect)[keyof typeof PolicyEffect];
476
390
  export interface CreatePolicyOutput {
477
391
  policyStoreId: string | undefined;
478
392
  policyId: string | undefined;
@@ -484,18 +398,6 @@ export interface CreatePolicyOutput {
484
398
  lastUpdatedDate: Date | undefined;
485
399
  effect?: PolicyEffect | undefined;
486
400
  }
487
- export declare const DeletionProtection: {
488
- readonly DISABLED: "DISABLED";
489
- readonly ENABLED: "ENABLED";
490
- };
491
- export type DeletionProtection =
492
- (typeof DeletionProtection)[keyof typeof DeletionProtection];
493
- export declare const ValidationMode: {
494
- readonly OFF: "OFF";
495
- readonly STRICT: "STRICT";
496
- };
497
- export type ValidationMode =
498
- (typeof ValidationMode)[keyof typeof ValidationMode];
499
401
  export interface ValidationSettings {
500
402
  mode: ValidationMode | undefined;
501
403
  }
@@ -538,13 +440,6 @@ export interface DeletePolicyStoreInput {
538
440
  policyStoreId: string | undefined;
539
441
  }
540
442
  export interface DeletePolicyStoreOutput {}
541
- export declare class InvalidStateException extends __BaseException {
542
- readonly name: "InvalidStateException";
543
- readonly $fault: "client";
544
- constructor(
545
- opts: __ExceptionOptionType<InvalidStateException, __BaseException>
546
- );
547
- }
548
443
  export interface DeletePolicyTemplateInput {
549
444
  policyStoreId: string | undefined;
550
445
  policyTemplateId: string | undefined;
@@ -580,10 +475,6 @@ export interface GetIdentitySourceInput {
580
475
  policyStoreId: string | undefined;
581
476
  identitySourceId: string | undefined;
582
477
  }
583
- export declare const OpenIdIssuer: {
584
- readonly COGNITO: "COGNITO";
585
- };
586
- export type OpenIdIssuer = (typeof OpenIdIssuer)[keyof typeof OpenIdIssuer];
587
478
  export interface IdentitySourceDetails {
588
479
  clientIds?: string[] | undefined;
589
480
  userPoolArn?: string | undefined;
@@ -977,14 +868,6 @@ export interface TagResourceInput {
977
868
  tags: Record<string, string> | undefined;
978
869
  }
979
870
  export interface TagResourceOutput {}
980
- export declare class TooManyTagsException extends __BaseException {
981
- readonly name: "TooManyTagsException";
982
- readonly $fault: "client";
983
- resourceName?: string | undefined;
984
- constructor(
985
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
986
- );
987
- }
988
871
  export interface UntagResourceInput {
989
872
  resourceArn: string | undefined;
990
873
  tagKeys: string[] | undefined;
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.934.0",
4
+ "version": "3.936.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-verifiedpermissions",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";