@aws-sdk/util-endpoints
Advanced tools
Comparing version 3.293.0 to 3.295.0
import { EndpointPartition } from "@aws-sdk/types"; | ||
export declare type PartitionsInfo = { | ||
export type PartitionsInfo = { | ||
partitions: Array<{ | ||
@@ -4,0 +4,0 @@ id: string; |
@@ -1,2 +0,2 @@ | ||
export declare type GetAttrValue = string | boolean | { | ||
export type GetAttrValue = string | boolean | { | ||
[key: string]: GetAttrValue; | ||
@@ -3,0 +3,0 @@ } | Array<GetAttrValue>; |
import { EndpointPartition } from "@aws-sdk/types"; | ||
export declare type PartitionsInfo = { | ||
export type PartitionsInfo = { | ||
partitions: Array<{ | ||
@@ -4,0 +4,0 @@ id: string; |
@@ -1,2 +0,2 @@ | ||
export declare type GetAttrValue = | ||
export type GetAttrValue = | ||
| string | ||
@@ -3,0 +3,0 @@ | boolean |
import { EndpointObjectProperty } from "@aws-sdk/types"; | ||
import { ConditionObject, Expression } from "./shared"; | ||
export declare type EndpointObjectProperties = Record< | ||
string, | ||
EndpointObjectProperty | ||
>; | ||
export declare type EndpointObjectHeaders = Record<string, Expression[]>; | ||
export declare type EndpointObject = { | ||
export type EndpointObjectProperties = Record<string, EndpointObjectProperty>; | ||
export type EndpointObjectHeaders = Record<string, Expression[]>; | ||
export type EndpointObject = { | ||
url: Expression; | ||
@@ -13,3 +10,3 @@ properties?: EndpointObjectProperties; | ||
}; | ||
export declare type EndpointRuleObject = { | ||
export type EndpointRuleObject = { | ||
type: "endpoint"; | ||
@@ -16,0 +13,0 @@ conditions?: ConditionObject[]; |
import { ConditionObject, Expression } from "./shared"; | ||
export declare type ErrorRuleObject = { | ||
export type ErrorRuleObject = { | ||
type: "error"; | ||
@@ -4,0 +4,0 @@ conditions?: ConditionObject[]; |
import { RuleSetRules } from "./TreeRuleObject"; | ||
export declare type DeprecatedObject = { | ||
export type DeprecatedObject = { | ||
message?: string; | ||
since?: string; | ||
}; | ||
export declare type ParameterObject = { | ||
export type ParameterObject = { | ||
type: "String" | "Boolean"; | ||
@@ -14,3 +14,3 @@ default?: string | boolean; | ||
}; | ||
export declare type RuleSetObject = { | ||
export type RuleSetObject = { | ||
version: string; | ||
@@ -17,0 +17,0 @@ serviceId?: string; |
import { Logger } from "@aws-sdk/types"; | ||
export declare type ReferenceObject = { | ||
export type ReferenceObject = { | ||
ref: string; | ||
}; | ||
export declare type FunctionObject = { | ||
export type FunctionObject = { | ||
fn: string; | ||
argv: FunctionArgv; | ||
}; | ||
export declare type FunctionArgv = Array<Expression | boolean | number>; | ||
export declare type FunctionReturn = | ||
export type FunctionArgv = Array<Expression | boolean | number>; | ||
export type FunctionReturn = | ||
| string | ||
@@ -17,14 +17,14 @@ | boolean | ||
}; | ||
export declare type ConditionObject = FunctionObject & { | ||
export type ConditionObject = FunctionObject & { | ||
assign?: string; | ||
}; | ||
export declare type Expression = string | ReferenceObject | FunctionObject; | ||
export declare type EndpointParams = Record<string, string | boolean>; | ||
export declare type EndpointResolverOptions = { | ||
export type Expression = string | ReferenceObject | FunctionObject; | ||
export type EndpointParams = Record<string, string | boolean>; | ||
export type EndpointResolverOptions = { | ||
endpointParams: EndpointParams; | ||
logger?: Logger; | ||
}; | ||
export declare type ReferenceRecord = Record<string, FunctionReturn>; | ||
export declare type EvaluateOptions = EndpointResolverOptions & { | ||
export type ReferenceRecord = Record<string, FunctionReturn>; | ||
export type EvaluateOptions = EndpointResolverOptions & { | ||
referenceRecord: ReferenceRecord; | ||
}; |
import { EndpointRuleObject } from "./EndpointRuleObject"; | ||
import { ErrorRuleObject } from "./ErrorRuleObject"; | ||
import { ConditionObject } from "./shared"; | ||
export declare type RuleSetRules = Array< | ||
export type RuleSetRules = Array< | ||
EndpointRuleObject | ErrorRuleObject | TreeRuleObject | ||
>; | ||
export declare type TreeRuleObject = { | ||
export type TreeRuleObject = { | ||
type: "tree"; | ||
@@ -9,0 +9,0 @@ conditions?: ConditionObject[]; |
import { EndpointObjectProperty } from "@aws-sdk/types"; | ||
import { ConditionObject, Expression } from "./shared"; | ||
export declare type EndpointObjectProperties = Record<string, EndpointObjectProperty>; | ||
export declare type EndpointObjectHeaders = Record<string, Expression[]>; | ||
export declare type EndpointObject = { | ||
export type EndpointObjectProperties = Record<string, EndpointObjectProperty>; | ||
export type EndpointObjectHeaders = Record<string, Expression[]>; | ||
export type EndpointObject = { | ||
url: Expression; | ||
@@ -10,3 +10,3 @@ properties?: EndpointObjectProperties; | ||
}; | ||
export declare type EndpointRuleObject = { | ||
export type EndpointRuleObject = { | ||
type: "endpoint"; | ||
@@ -13,0 +13,0 @@ conditions?: ConditionObject[]; |
import { ConditionObject, Expression } from "./shared"; | ||
export declare type ErrorRuleObject = { | ||
export type ErrorRuleObject = { | ||
type: "error"; | ||
@@ -4,0 +4,0 @@ conditions?: ConditionObject[]; |
import { RuleSetRules } from "./TreeRuleObject"; | ||
export declare type DeprecatedObject = { | ||
export type DeprecatedObject = { | ||
message?: string; | ||
since?: string; | ||
}; | ||
export declare type ParameterObject = { | ||
export type ParameterObject = { | ||
type: "String" | "Boolean"; | ||
@@ -14,3 +14,3 @@ default?: string | boolean; | ||
}; | ||
export declare type RuleSetObject = { | ||
export type RuleSetObject = { | ||
version: string; | ||
@@ -17,0 +17,0 @@ serviceId?: string; |
import { Logger } from "@aws-sdk/types"; | ||
export declare type ReferenceObject = { | ||
export type ReferenceObject = { | ||
ref: string; | ||
}; | ||
export declare type FunctionObject = { | ||
export type FunctionObject = { | ||
fn: string; | ||
argv: FunctionArgv; | ||
}; | ||
export declare type FunctionArgv = Array<Expression | boolean | number>; | ||
export declare type FunctionReturn = string | boolean | number | { | ||
export type FunctionArgv = Array<Expression | boolean | number>; | ||
export type FunctionReturn = string | boolean | number | { | ||
[key: string]: FunctionReturn; | ||
}; | ||
export declare type ConditionObject = FunctionObject & { | ||
export type ConditionObject = FunctionObject & { | ||
assign?: string; | ||
}; | ||
export declare type Expression = string | ReferenceObject | FunctionObject; | ||
export declare type EndpointParams = Record<string, string | boolean>; | ||
export declare type EndpointResolverOptions = { | ||
export type Expression = string | ReferenceObject | FunctionObject; | ||
export type EndpointParams = Record<string, string | boolean>; | ||
export type EndpointResolverOptions = { | ||
endpointParams: EndpointParams; | ||
logger?: Logger; | ||
}; | ||
export declare type ReferenceRecord = Record<string, FunctionReturn>; | ||
export declare type EvaluateOptions = EndpointResolverOptions & { | ||
export type ReferenceRecord = Record<string, FunctionReturn>; | ||
export type EvaluateOptions = EndpointResolverOptions & { | ||
referenceRecord: ReferenceRecord; | ||
}; |
import { EndpointRuleObject } from "./EndpointRuleObject"; | ||
import { ErrorRuleObject } from "./ErrorRuleObject"; | ||
import { ConditionObject } from "./shared"; | ||
export declare type RuleSetRules = Array<EndpointRuleObject | ErrorRuleObject | TreeRuleObject>; | ||
export declare type TreeRuleObject = { | ||
export type RuleSetRules = Array<EndpointRuleObject | ErrorRuleObject | TreeRuleObject>; | ||
export type TreeRuleObject = { | ||
type: "tree"; | ||
@@ -7,0 +7,0 @@ conditions?: ConditionObject[]; |
{ | ||
"name": "@aws-sdk/util-endpoints", | ||
"version": "3.293.0", | ||
"version": "3.295.0", | ||
"description": "Utilities to help with endpoint resolution", | ||
@@ -24,4 +24,4 @@ "main": "./dist-cjs/index.js", | ||
"dependencies": { | ||
"@aws-sdk/types": "3.292.0", | ||
"tslib": "^2.3.1" | ||
"@aws-sdk/types": "3.295.0", | ||
"tslib": "^2.5.0" | ||
}, | ||
@@ -53,3 +53,3 @@ "engines": { | ||
"typedoc": "0.23.23", | ||
"typescript": "~4.6.2" | ||
"typescript": "~4.9.5" | ||
}, | ||
@@ -56,0 +56,0 @@ "typedoc": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94105
2117
+ Added@aws-sdk/types@3.295.0(transitive)
- Removed@aws-sdk/types@3.292.0(transitive)
Updated@aws-sdk/types@3.295.0
Updatedtslib@^2.5.0