@aws-sdk/client-verifiedpermissions 3.879.0 → 3.882.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 +12 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/protocols/Aws_json1_0.js +8 -0
- package/dist-types/commands/BatchIsAuthorizedCommand.d.ts +8 -0
- package/dist-types/commands/BatchIsAuthorizedWithTokenCommand.d.ts +8 -0
- package/dist-types/commands/IsAuthorizedCommand.d.ts +4 -0
- package/dist-types/commands/IsAuthorizedWithTokenCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +56 -2
- package/dist-types/ts3.4/models/models_0.d.ts +48 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -761,6 +761,8 @@ var AttributeValue;
|
|
|
761
761
|
if (value.record !== void 0) return visitor.record(value.record);
|
|
762
762
|
if (value.ipaddr !== void 0) return visitor.ipaddr(value.ipaddr);
|
|
763
763
|
if (value.decimal !== void 0) return visitor.decimal(value.decimal);
|
|
764
|
+
if (value.datetime !== void 0) return visitor.datetime(value.datetime);
|
|
765
|
+
if (value.duration !== void 0) return visitor.duration(value.duration);
|
|
764
766
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
765
767
|
}, "visit");
|
|
766
768
|
})(AttributeValue || (AttributeValue = {}));
|
|
@@ -1258,6 +1260,8 @@ var AttributeValueFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
|
1258
1260
|
};
|
|
1259
1261
|
if (obj.ipaddr !== void 0) return { ipaddr: import_smithy_client.SENSITIVE_STRING };
|
|
1260
1262
|
if (obj.decimal !== void 0) return { decimal: import_smithy_client.SENSITIVE_STRING };
|
|
1263
|
+
if (obj.datetime !== void 0) return { datetime: import_smithy_client.SENSITIVE_STRING };
|
|
1264
|
+
if (obj.duration !== void 0) return { duration: import_smithy_client.SENSITIVE_STRING };
|
|
1261
1265
|
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1262
1266
|
}, "AttributeValueFilterSensitiveLog");
|
|
1263
1267
|
var ContextDefinitionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
@@ -2050,7 +2054,9 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
2050
2054
|
var se_AttributeValue = /* @__PURE__ */ __name((input, context) => {
|
|
2051
2055
|
return AttributeValue.visit(input, {
|
|
2052
2056
|
boolean: /* @__PURE__ */ __name((value) => ({ boolean: value }), "boolean"),
|
|
2057
|
+
datetime: /* @__PURE__ */ __name((value) => ({ datetime: value }), "datetime"),
|
|
2053
2058
|
decimal: /* @__PURE__ */ __name((value) => ({ decimal: value }), "decimal"),
|
|
2059
|
+
duration: /* @__PURE__ */ __name((value) => ({ duration: value }), "duration"),
|
|
2054
2060
|
entityIdentifier: /* @__PURE__ */ __name((value) => ({ entityIdentifier: (0, import_smithy_client._json)(value) }), "entityIdentifier"),
|
|
2055
2061
|
ipaddr: /* @__PURE__ */ __name((value) => ({ ipaddr: value }), "ipaddr"),
|
|
2056
2062
|
long: /* @__PURE__ */ __name((value) => ({ long: value }), "long"),
|
|
@@ -2216,9 +2222,15 @@ var de_AttributeValue = /* @__PURE__ */ __name((output, context) => {
|
|
|
2216
2222
|
if ((0, import_smithy_client.expectBoolean)(output.boolean) !== void 0) {
|
|
2217
2223
|
return { boolean: (0, import_smithy_client.expectBoolean)(output.boolean) };
|
|
2218
2224
|
}
|
|
2225
|
+
if ((0, import_smithy_client.expectString)(output.datetime) !== void 0) {
|
|
2226
|
+
return { datetime: (0, import_smithy_client.expectString)(output.datetime) };
|
|
2227
|
+
}
|
|
2219
2228
|
if ((0, import_smithy_client.expectString)(output.decimal) !== void 0) {
|
|
2220
2229
|
return { decimal: (0, import_smithy_client.expectString)(output.decimal) };
|
|
2221
2230
|
}
|
|
2231
|
+
if ((0, import_smithy_client.expectString)(output.duration) !== void 0) {
|
|
2232
|
+
return { duration: (0, import_smithy_client.expectString)(output.duration) };
|
|
2233
|
+
}
|
|
2222
2234
|
if (output.entityIdentifier != null) {
|
|
2223
2235
|
return {
|
|
2224
2236
|
entityIdentifier: (0, import_smithy_client._json)(output.entityIdentifier)
|
|
@@ -327,6 +327,10 @@ export var AttributeValue;
|
|
|
327
327
|
return visitor.ipaddr(value.ipaddr);
|
|
328
328
|
if (value.decimal !== undefined)
|
|
329
329
|
return visitor.decimal(value.decimal);
|
|
330
|
+
if (value.datetime !== undefined)
|
|
331
|
+
return visitor.datetime(value.datetime);
|
|
332
|
+
if (value.duration !== undefined)
|
|
333
|
+
return visitor.duration(value.duration);
|
|
330
334
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
331
335
|
};
|
|
332
336
|
})(AttributeValue || (AttributeValue = {}));
|
|
@@ -846,6 +850,10 @@ export const AttributeValueFilterSensitiveLog = (obj) => {
|
|
|
846
850
|
return { ipaddr: SENSITIVE_STRING };
|
|
847
851
|
if (obj.decimal !== undefined)
|
|
848
852
|
return { decimal: SENSITIVE_STRING };
|
|
853
|
+
if (obj.datetime !== undefined)
|
|
854
|
+
return { datetime: SENSITIVE_STRING };
|
|
855
|
+
if (obj.duration !== undefined)
|
|
856
|
+
return { duration: SENSITIVE_STRING };
|
|
849
857
|
if (obj.$unknown !== undefined)
|
|
850
858
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
851
859
|
};
|
|
@@ -701,7 +701,9 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
701
701
|
const se_AttributeValue = (input, context) => {
|
|
702
702
|
return AttributeValue.visit(input, {
|
|
703
703
|
boolean: (value) => ({ boolean: value }),
|
|
704
|
+
datetime: (value) => ({ datetime: value }),
|
|
704
705
|
decimal: (value) => ({ decimal: value }),
|
|
706
|
+
duration: (value) => ({ duration: value }),
|
|
705
707
|
entityIdentifier: (value) => ({ entityIdentifier: _json(value) }),
|
|
706
708
|
ipaddr: (value) => ({ ipaddr: value }),
|
|
707
709
|
long: (value) => ({ long: value }),
|
|
@@ -875,9 +877,15 @@ const de_AttributeValue = (output, context) => {
|
|
|
875
877
|
if (__expectBoolean(output.boolean) !== undefined) {
|
|
876
878
|
return { boolean: __expectBoolean(output.boolean) };
|
|
877
879
|
}
|
|
880
|
+
if (__expectString(output.datetime) !== undefined) {
|
|
881
|
+
return { datetime: __expectString(output.datetime) };
|
|
882
|
+
}
|
|
878
883
|
if (__expectString(output.decimal) !== undefined) {
|
|
879
884
|
return { decimal: __expectString(output.decimal) };
|
|
880
885
|
}
|
|
886
|
+
if (__expectString(output.duration) !== undefined) {
|
|
887
|
+
return { duration: __expectString(output.duration) };
|
|
888
|
+
}
|
|
881
889
|
if (output.entityIdentifier != null) {
|
|
882
890
|
return {
|
|
883
891
|
entityIdentifier: _json(output.entityIdentifier),
|
|
@@ -66,6 +66,8 @@ declare const BatchIsAuthorizedCommand_base: {
|
|
|
66
66
|
* },
|
|
67
67
|
* ipaddr: "STRING_VALUE",
|
|
68
68
|
* decimal: "STRING_VALUE",
|
|
69
|
+
* datetime: "STRING_VALUE",
|
|
70
|
+
* duration: "STRING_VALUE",
|
|
69
71
|
* },
|
|
70
72
|
* ],
|
|
71
73
|
* record: {
|
|
@@ -73,6 +75,8 @@ declare const BatchIsAuthorizedCommand_base: {
|
|
|
73
75
|
* },
|
|
74
76
|
* ipaddr: "STRING_VALUE",
|
|
75
77
|
* decimal: "STRING_VALUE",
|
|
78
|
+
* datetime: "STRING_VALUE",
|
|
79
|
+
* duration: "STRING_VALUE",
|
|
76
80
|
* },
|
|
77
81
|
* },
|
|
78
82
|
* parents: [ // ParentList
|
|
@@ -141,6 +145,8 @@ declare const BatchIsAuthorizedCommand_base: {
|
|
|
141
145
|
* // },
|
|
142
146
|
* // ipaddr: "STRING_VALUE",
|
|
143
147
|
* // decimal: "STRING_VALUE",
|
|
148
|
+
* // datetime: "STRING_VALUE",
|
|
149
|
+
* // duration: "STRING_VALUE",
|
|
144
150
|
* // },
|
|
145
151
|
* // ],
|
|
146
152
|
* // record: {
|
|
@@ -148,6 +154,8 @@ declare const BatchIsAuthorizedCommand_base: {
|
|
|
148
154
|
* // },
|
|
149
155
|
* // ipaddr: "STRING_VALUE",
|
|
150
156
|
* // decimal: "STRING_VALUE",
|
|
157
|
+
* // datetime: "STRING_VALUE",
|
|
158
|
+
* // duration: "STRING_VALUE",
|
|
151
159
|
* // },
|
|
152
160
|
* // },
|
|
153
161
|
* // cedarJson: "STRING_VALUE",
|
|
@@ -68,6 +68,8 @@ declare const BatchIsAuthorizedWithTokenCommand_base: {
|
|
|
68
68
|
* },
|
|
69
69
|
* ipaddr: "STRING_VALUE",
|
|
70
70
|
* decimal: "STRING_VALUE",
|
|
71
|
+
* datetime: "STRING_VALUE",
|
|
72
|
+
* duration: "STRING_VALUE",
|
|
71
73
|
* },
|
|
72
74
|
* ],
|
|
73
75
|
* record: {
|
|
@@ -75,6 +77,8 @@ declare const BatchIsAuthorizedWithTokenCommand_base: {
|
|
|
75
77
|
* },
|
|
76
78
|
* ipaddr: "STRING_VALUE",
|
|
77
79
|
* decimal: "STRING_VALUE",
|
|
80
|
+
* datetime: "STRING_VALUE",
|
|
81
|
+
* duration: "STRING_VALUE",
|
|
78
82
|
* },
|
|
79
83
|
* },
|
|
80
84
|
* parents: [ // ParentList
|
|
@@ -139,6 +143,8 @@ declare const BatchIsAuthorizedWithTokenCommand_base: {
|
|
|
139
143
|
* // },
|
|
140
144
|
* // ipaddr: "STRING_VALUE",
|
|
141
145
|
* // decimal: "STRING_VALUE",
|
|
146
|
+
* // datetime: "STRING_VALUE",
|
|
147
|
+
* // duration: "STRING_VALUE",
|
|
142
148
|
* // },
|
|
143
149
|
* // ],
|
|
144
150
|
* // record: {
|
|
@@ -146,6 +152,8 @@ declare const BatchIsAuthorizedWithTokenCommand_base: {
|
|
|
146
152
|
* // },
|
|
147
153
|
* // ipaddr: "STRING_VALUE",
|
|
148
154
|
* // decimal: "STRING_VALUE",
|
|
155
|
+
* // datetime: "STRING_VALUE",
|
|
156
|
+
* // duration: "STRING_VALUE",
|
|
149
157
|
* // },
|
|
150
158
|
* // },
|
|
151
159
|
* // cedarJson: "STRING_VALUE",
|
|
@@ -72,6 +72,8 @@ declare const IsAuthorizedCommand_base: {
|
|
|
72
72
|
* },
|
|
73
73
|
* ipaddr: "STRING_VALUE",
|
|
74
74
|
* decimal: "STRING_VALUE",
|
|
75
|
+
* datetime: "STRING_VALUE",
|
|
76
|
+
* duration: "STRING_VALUE",
|
|
75
77
|
* },
|
|
76
78
|
* ],
|
|
77
79
|
* record: {
|
|
@@ -79,6 +81,8 @@ declare const IsAuthorizedCommand_base: {
|
|
|
79
81
|
* },
|
|
80
82
|
* ipaddr: "STRING_VALUE",
|
|
81
83
|
* decimal: "STRING_VALUE",
|
|
84
|
+
* datetime: "STRING_VALUE",
|
|
85
|
+
* duration: "STRING_VALUE",
|
|
82
86
|
* },
|
|
83
87
|
* },
|
|
84
88
|
* cedarJson: "STRING_VALUE",
|
|
@@ -70,6 +70,8 @@ declare const IsAuthorizedWithTokenCommand_base: {
|
|
|
70
70
|
* },
|
|
71
71
|
* ipaddr: "STRING_VALUE",
|
|
72
72
|
* decimal: "STRING_VALUE",
|
|
73
|
+
* datetime: "STRING_VALUE",
|
|
74
|
+
* duration: "STRING_VALUE",
|
|
73
75
|
* },
|
|
74
76
|
* ],
|
|
75
77
|
* record: {
|
|
@@ -77,6 +79,8 @@ declare const IsAuthorizedWithTokenCommand_base: {
|
|
|
77
79
|
* },
|
|
78
80
|
* ipaddr: "STRING_VALUE",
|
|
79
81
|
* decimal: "STRING_VALUE",
|
|
82
|
+
* datetime: "STRING_VALUE",
|
|
83
|
+
* duration: "STRING_VALUE",
|
|
80
84
|
* },
|
|
81
85
|
* },
|
|
82
86
|
* cedarJson: "STRING_VALUE",
|
|
@@ -2336,7 +2336,7 @@ export interface StaticPolicyDefinitionItem {
|
|
|
2336
2336
|
description?: string | undefined;
|
|
2337
2337
|
}
|
|
2338
2338
|
/**
|
|
2339
|
-
* <p>Contains information about a policy created by instantiating a policy template. </p>
|
|
2339
|
+
* <p>Contains information about a policy created by instantiating a policy template. </p>
|
|
2340
2340
|
* @public
|
|
2341
2341
|
*/
|
|
2342
2342
|
export interface TemplateLinkedPolicyDefinitionItem {
|
|
@@ -2963,7 +2963,7 @@ export interface UntagResourceOutput {
|
|
|
2963
2963
|
* <p>The value of an attribute.</p> <p>Contains information about the runtime context for a request for which an authorization decision is made. </p> <p>This data type is used as a member of the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ContextDefinition.html">ContextDefinition</a> structure which is uses as a request parameter for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorized.html">IsAuthorized</a>, <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_BatchIsAuthorized.html">BatchIsAuthorized</a>, and <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorizedWithToken.html">IsAuthorizedWithToken</a> operations.</p>
|
|
2964
2964
|
* @public
|
|
2965
2965
|
*/
|
|
2966
|
-
export type AttributeValue = AttributeValue.BooleanMember | AttributeValue.DecimalMember | AttributeValue.EntityIdentifierMember | AttributeValue.IpaddrMember | AttributeValue.LongMember | AttributeValue.RecordMember | AttributeValue.SetMember | AttributeValue.StringMember | AttributeValue.$UnknownMember;
|
|
2966
|
+
export type AttributeValue = AttributeValue.BooleanMember | AttributeValue.DatetimeMember | AttributeValue.DecimalMember | AttributeValue.DurationMember | AttributeValue.EntityIdentifierMember | AttributeValue.IpaddrMember | AttributeValue.LongMember | AttributeValue.RecordMember | AttributeValue.SetMember | AttributeValue.StringMember | AttributeValue.$UnknownMember;
|
|
2967
2967
|
/**
|
|
2968
2968
|
* @public
|
|
2969
2969
|
*/
|
|
@@ -2981,6 +2981,8 @@ export declare namespace AttributeValue {
|
|
|
2981
2981
|
record?: never;
|
|
2982
2982
|
ipaddr?: never;
|
|
2983
2983
|
decimal?: never;
|
|
2984
|
+
datetime?: never;
|
|
2985
|
+
duration?: never;
|
|
2984
2986
|
$unknown?: never;
|
|
2985
2987
|
}
|
|
2986
2988
|
/**
|
|
@@ -2996,6 +2998,8 @@ export declare namespace AttributeValue {
|
|
|
2996
2998
|
record?: never;
|
|
2997
2999
|
ipaddr?: never;
|
|
2998
3000
|
decimal?: never;
|
|
3001
|
+
datetime?: never;
|
|
3002
|
+
duration?: never;
|
|
2999
3003
|
$unknown?: never;
|
|
3000
3004
|
}
|
|
3001
3005
|
/**
|
|
@@ -3011,6 +3015,8 @@ export declare namespace AttributeValue {
|
|
|
3011
3015
|
record?: never;
|
|
3012
3016
|
ipaddr?: never;
|
|
3013
3017
|
decimal?: never;
|
|
3018
|
+
datetime?: never;
|
|
3019
|
+
duration?: never;
|
|
3014
3020
|
$unknown?: never;
|
|
3015
3021
|
}
|
|
3016
3022
|
/**
|
|
@@ -3026,6 +3032,8 @@ export declare namespace AttributeValue {
|
|
|
3026
3032
|
record?: never;
|
|
3027
3033
|
ipaddr?: never;
|
|
3028
3034
|
decimal?: never;
|
|
3035
|
+
datetime?: never;
|
|
3036
|
+
duration?: never;
|
|
3029
3037
|
$unknown?: never;
|
|
3030
3038
|
}
|
|
3031
3039
|
/**
|
|
@@ -3041,6 +3049,8 @@ export declare namespace AttributeValue {
|
|
|
3041
3049
|
record?: never;
|
|
3042
3050
|
ipaddr?: never;
|
|
3043
3051
|
decimal?: never;
|
|
3052
|
+
datetime?: never;
|
|
3053
|
+
duration?: never;
|
|
3044
3054
|
$unknown?: never;
|
|
3045
3055
|
}
|
|
3046
3056
|
/**
|
|
@@ -3056,6 +3066,8 @@ export declare namespace AttributeValue {
|
|
|
3056
3066
|
record: Record<string, AttributeValue>;
|
|
3057
3067
|
ipaddr?: never;
|
|
3058
3068
|
decimal?: never;
|
|
3069
|
+
datetime?: never;
|
|
3070
|
+
duration?: never;
|
|
3059
3071
|
$unknown?: never;
|
|
3060
3072
|
}
|
|
3061
3073
|
/**
|
|
@@ -3071,6 +3083,8 @@ export declare namespace AttributeValue {
|
|
|
3071
3083
|
record?: never;
|
|
3072
3084
|
ipaddr: string;
|
|
3073
3085
|
decimal?: never;
|
|
3086
|
+
datetime?: never;
|
|
3087
|
+
duration?: never;
|
|
3074
3088
|
$unknown?: never;
|
|
3075
3089
|
}
|
|
3076
3090
|
/**
|
|
@@ -3086,6 +3100,42 @@ export declare namespace AttributeValue {
|
|
|
3086
3100
|
record?: never;
|
|
3087
3101
|
ipaddr?: never;
|
|
3088
3102
|
decimal: string;
|
|
3103
|
+
datetime?: never;
|
|
3104
|
+
duration?: never;
|
|
3105
|
+
$unknown?: never;
|
|
3106
|
+
}
|
|
3107
|
+
/**
|
|
3108
|
+
* <p>An attribute value of <a href="https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-datetime">datetime</a> type.</p> <p>Example: <code>\{"datetime": "2024-10-15T11:35:00Z"\}</code> </p>
|
|
3109
|
+
* @public
|
|
3110
|
+
*/
|
|
3111
|
+
interface DatetimeMember {
|
|
3112
|
+
boolean?: never;
|
|
3113
|
+
entityIdentifier?: never;
|
|
3114
|
+
long?: never;
|
|
3115
|
+
string?: never;
|
|
3116
|
+
set?: never;
|
|
3117
|
+
record?: never;
|
|
3118
|
+
ipaddr?: never;
|
|
3119
|
+
decimal?: never;
|
|
3120
|
+
datetime: string;
|
|
3121
|
+
duration?: never;
|
|
3122
|
+
$unknown?: never;
|
|
3123
|
+
}
|
|
3124
|
+
/**
|
|
3125
|
+
* <p>An attribute value of <a href="https://docs.cedarpolicy.com/policies/syntax-datatypes.html#datatype-duration">duration</a> type.</p> <p>Example: <code>\{"duration": "1h30m"\}</code> </p>
|
|
3126
|
+
* @public
|
|
3127
|
+
*/
|
|
3128
|
+
interface DurationMember {
|
|
3129
|
+
boolean?: never;
|
|
3130
|
+
entityIdentifier?: never;
|
|
3131
|
+
long?: never;
|
|
3132
|
+
string?: never;
|
|
3133
|
+
set?: never;
|
|
3134
|
+
record?: never;
|
|
3135
|
+
ipaddr?: never;
|
|
3136
|
+
decimal?: never;
|
|
3137
|
+
datetime?: never;
|
|
3138
|
+
duration: string;
|
|
3089
3139
|
$unknown?: never;
|
|
3090
3140
|
}
|
|
3091
3141
|
/**
|
|
@@ -3100,6 +3150,8 @@ export declare namespace AttributeValue {
|
|
|
3100
3150
|
record?: never;
|
|
3101
3151
|
ipaddr?: never;
|
|
3102
3152
|
decimal?: never;
|
|
3153
|
+
datetime?: never;
|
|
3154
|
+
duration?: never;
|
|
3103
3155
|
$unknown: [string, any];
|
|
3104
3156
|
}
|
|
3105
3157
|
interface Visitor<T> {
|
|
@@ -3111,6 +3163,8 @@ export declare namespace AttributeValue {
|
|
|
3111
3163
|
record: (value: Record<string, AttributeValue>) => T;
|
|
3112
3164
|
ipaddr: (value: string) => T;
|
|
3113
3165
|
decimal: (value: string) => T;
|
|
3166
|
+
datetime: (value: string) => T;
|
|
3167
|
+
duration: (value: string) => T;
|
|
3114
3168
|
_: (name: string, value: any) => T;
|
|
3115
3169
|
}
|
|
3116
3170
|
const visit: <T>(value: AttributeValue, visitor: Visitor<T>) => T;
|
|
@@ -1018,7 +1018,9 @@ export interface UntagResourceInput {
|
|
|
1018
1018
|
export interface UntagResourceOutput {}
|
|
1019
1019
|
export type AttributeValue =
|
|
1020
1020
|
| AttributeValue.BooleanMember
|
|
1021
|
+
| AttributeValue.DatetimeMember
|
|
1021
1022
|
| AttributeValue.DecimalMember
|
|
1023
|
+
| AttributeValue.DurationMember
|
|
1022
1024
|
| AttributeValue.EntityIdentifierMember
|
|
1023
1025
|
| AttributeValue.IpaddrMember
|
|
1024
1026
|
| AttributeValue.LongMember
|
|
@@ -1036,6 +1038,8 @@ export declare namespace AttributeValue {
|
|
|
1036
1038
|
record?: never;
|
|
1037
1039
|
ipaddr?: never;
|
|
1038
1040
|
decimal?: never;
|
|
1041
|
+
datetime?: never;
|
|
1042
|
+
duration?: never;
|
|
1039
1043
|
$unknown?: never;
|
|
1040
1044
|
}
|
|
1041
1045
|
interface EntityIdentifierMember {
|
|
@@ -1047,6 +1051,8 @@ export declare namespace AttributeValue {
|
|
|
1047
1051
|
record?: never;
|
|
1048
1052
|
ipaddr?: never;
|
|
1049
1053
|
decimal?: never;
|
|
1054
|
+
datetime?: never;
|
|
1055
|
+
duration?: never;
|
|
1050
1056
|
$unknown?: never;
|
|
1051
1057
|
}
|
|
1052
1058
|
interface LongMember {
|
|
@@ -1058,6 +1064,8 @@ export declare namespace AttributeValue {
|
|
|
1058
1064
|
record?: never;
|
|
1059
1065
|
ipaddr?: never;
|
|
1060
1066
|
decimal?: never;
|
|
1067
|
+
datetime?: never;
|
|
1068
|
+
duration?: never;
|
|
1061
1069
|
$unknown?: never;
|
|
1062
1070
|
}
|
|
1063
1071
|
interface StringMember {
|
|
@@ -1069,6 +1077,8 @@ export declare namespace AttributeValue {
|
|
|
1069
1077
|
record?: never;
|
|
1070
1078
|
ipaddr?: never;
|
|
1071
1079
|
decimal?: never;
|
|
1080
|
+
datetime?: never;
|
|
1081
|
+
duration?: never;
|
|
1072
1082
|
$unknown?: never;
|
|
1073
1083
|
}
|
|
1074
1084
|
interface SetMember {
|
|
@@ -1080,6 +1090,8 @@ export declare namespace AttributeValue {
|
|
|
1080
1090
|
record?: never;
|
|
1081
1091
|
ipaddr?: never;
|
|
1082
1092
|
decimal?: never;
|
|
1093
|
+
datetime?: never;
|
|
1094
|
+
duration?: never;
|
|
1083
1095
|
$unknown?: never;
|
|
1084
1096
|
}
|
|
1085
1097
|
interface RecordMember {
|
|
@@ -1091,6 +1103,8 @@ export declare namespace AttributeValue {
|
|
|
1091
1103
|
record: Record<string, AttributeValue>;
|
|
1092
1104
|
ipaddr?: never;
|
|
1093
1105
|
decimal?: never;
|
|
1106
|
+
datetime?: never;
|
|
1107
|
+
duration?: never;
|
|
1094
1108
|
$unknown?: never;
|
|
1095
1109
|
}
|
|
1096
1110
|
interface IpaddrMember {
|
|
@@ -1102,6 +1116,8 @@ export declare namespace AttributeValue {
|
|
|
1102
1116
|
record?: never;
|
|
1103
1117
|
ipaddr: string;
|
|
1104
1118
|
decimal?: never;
|
|
1119
|
+
datetime?: never;
|
|
1120
|
+
duration?: never;
|
|
1105
1121
|
$unknown?: never;
|
|
1106
1122
|
}
|
|
1107
1123
|
interface DecimalMember {
|
|
@@ -1113,6 +1129,34 @@ export declare namespace AttributeValue {
|
|
|
1113
1129
|
record?: never;
|
|
1114
1130
|
ipaddr?: never;
|
|
1115
1131
|
decimal: string;
|
|
1132
|
+
datetime?: never;
|
|
1133
|
+
duration?: never;
|
|
1134
|
+
$unknown?: never;
|
|
1135
|
+
}
|
|
1136
|
+
interface DatetimeMember {
|
|
1137
|
+
boolean?: never;
|
|
1138
|
+
entityIdentifier?: never;
|
|
1139
|
+
long?: never;
|
|
1140
|
+
string?: never;
|
|
1141
|
+
set?: never;
|
|
1142
|
+
record?: never;
|
|
1143
|
+
ipaddr?: never;
|
|
1144
|
+
decimal?: never;
|
|
1145
|
+
datetime: string;
|
|
1146
|
+
duration?: never;
|
|
1147
|
+
$unknown?: never;
|
|
1148
|
+
}
|
|
1149
|
+
interface DurationMember {
|
|
1150
|
+
boolean?: never;
|
|
1151
|
+
entityIdentifier?: never;
|
|
1152
|
+
long?: never;
|
|
1153
|
+
string?: never;
|
|
1154
|
+
set?: never;
|
|
1155
|
+
record?: never;
|
|
1156
|
+
ipaddr?: never;
|
|
1157
|
+
decimal?: never;
|
|
1158
|
+
datetime?: never;
|
|
1159
|
+
duration: string;
|
|
1116
1160
|
$unknown?: never;
|
|
1117
1161
|
}
|
|
1118
1162
|
interface $UnknownMember {
|
|
@@ -1124,6 +1168,8 @@ export declare namespace AttributeValue {
|
|
|
1124
1168
|
record?: never;
|
|
1125
1169
|
ipaddr?: never;
|
|
1126
1170
|
decimal?: never;
|
|
1171
|
+
datetime?: never;
|
|
1172
|
+
duration?: never;
|
|
1127
1173
|
$unknown: [string, any];
|
|
1128
1174
|
}
|
|
1129
1175
|
interface Visitor<T> {
|
|
@@ -1135,6 +1181,8 @@ export declare namespace AttributeValue {
|
|
|
1135
1181
|
record: (value: Record<string, AttributeValue>) => T;
|
|
1136
1182
|
ipaddr: (value: string) => T;
|
|
1137
1183
|
decimal: (value: string) => T;
|
|
1184
|
+
datetime: (value: string) => T;
|
|
1185
|
+
duration: (value: string) => T;
|
|
1138
1186
|
_: (name: string, value: any) => T;
|
|
1139
1187
|
}
|
|
1140
1188
|
const visit: <T>(value: AttributeValue, visitor: Visitor<T>) => T;
|
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.
|
|
4
|
+
"version": "3.882.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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.882.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.882.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.873.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.876.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.873.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.882.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.873.0",
|
|
30
30
|
"@aws-sdk/types": "3.862.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.879.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.873.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.882.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.5",
|
|
35
|
-
"@smithy/core": "^3.9.
|
|
35
|
+
"@smithy/core": "^3.9.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.1.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.21",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.22",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.9",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.1.4",
|
|
45
45
|
"@smithy/node-http-handler": "^4.1.1",
|
|
46
46
|
"@smithy/protocol-http": "^5.1.3",
|
|
47
|
-
"@smithy/smithy-client": "^4.5.
|
|
47
|
+
"@smithy/smithy-client": "^4.5.2",
|
|
48
48
|
"@smithy/types": "^4.3.2",
|
|
49
49
|
"@smithy/url-parser": "^4.0.5",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.29",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.29",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.7",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.5",
|
|
57
57
|
"@smithy/util-retry": "^4.0.7",
|