@aws-sdk/client-account
Advanced tools
Comparing version 3.649.0 to 3.650.0
@@ -888,5 +888,3 @@ "use strict"; | ||
// src/commands/AcceptPrimaryEmailUpdateCommand.ts | ||
var _AcceptPrimaryEmailUpdateCommand = class _AcceptPrimaryEmailUpdateCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...commonParams | ||
}).m(function(Command, cs, config, o) { | ||
var _AcceptPrimaryEmailUpdateCommand = class _AcceptPrimaryEmailUpdateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { | ||
return [ | ||
@@ -905,5 +903,3 @@ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
var _DeleteAlternateContactCommand = class _DeleteAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...commonParams | ||
}).m(function(Command, cs, config, o) { | ||
var _DeleteAlternateContactCommand = class _DeleteAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { | ||
return [ | ||
@@ -922,5 +918,3 @@ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
var _DisableRegionCommand = class _DisableRegionCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...commonParams | ||
}).m(function(Command, cs, config, o) { | ||
var _DisableRegionCommand = class _DisableRegionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { | ||
return [ | ||
@@ -939,5 +933,3 @@ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
var _EnableRegionCommand = class _EnableRegionCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...commonParams | ||
}).m(function(Command, cs, config, o) { | ||
var _EnableRegionCommand = class _EnableRegionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { | ||
return [ | ||
@@ -956,5 +948,3 @@ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
var _GetAlternateContactCommand = class _GetAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...commonParams | ||
}).m(function(Command, cs, config, o) { | ||
var _GetAlternateContactCommand = class _GetAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { | ||
return [ | ||
@@ -973,5 +963,3 @@ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
var _GetContactInformationCommand = class _GetContactInformationCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...commonParams | ||
}).m(function(Command, cs, config, o) { | ||
var _GetContactInformationCommand = class _GetContactInformationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { | ||
return [ | ||
@@ -990,5 +978,3 @@ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
var _GetPrimaryEmailCommand = class _GetPrimaryEmailCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...commonParams | ||
}).m(function(Command, cs, config, o) { | ||
var _GetPrimaryEmailCommand = class _GetPrimaryEmailCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { | ||
return [ | ||
@@ -1007,5 +993,3 @@ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
var _GetRegionOptStatusCommand = class _GetRegionOptStatusCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...commonParams | ||
}).m(function(Command, cs, config, o) { | ||
var _GetRegionOptStatusCommand = class _GetRegionOptStatusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { | ||
return [ | ||
@@ -1024,5 +1008,3 @@ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
var _ListRegionsCommand = class _ListRegionsCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...commonParams | ||
}).m(function(Command, cs, config, o) { | ||
var _ListRegionsCommand = class _ListRegionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { | ||
return [ | ||
@@ -1041,5 +1023,3 @@ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
var _PutAlternateContactCommand = class _PutAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...commonParams | ||
}).m(function(Command, cs, config, o) { | ||
var _PutAlternateContactCommand = class _PutAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { | ||
return [ | ||
@@ -1058,5 +1038,3 @@ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
var _PutContactInformationCommand = class _PutContactInformationCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...commonParams | ||
}).m(function(Command, cs, config, o) { | ||
var _PutContactInformationCommand = class _PutContactInformationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { | ||
return [ | ||
@@ -1075,5 +1053,3 @@ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
var _StartPrimaryEmailUpdateCommand = class _StartPrimaryEmailUpdateCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...commonParams | ||
}).m(function(Command, cs, config, o) { | ||
var _StartPrimaryEmailUpdateCommand = class _StartPrimaryEmailUpdateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { | ||
return [ | ||
@@ -1080,0 +1056,0 @@ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), |
@@ -10,5 +10,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.ep(commonParams) | ||
.m(function (Command, cs, config, o) { | ||
@@ -15,0 +13,0 @@ return [ |
@@ -9,5 +9,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.ep(commonParams) | ||
.m(function (Command, cs, config, o) { | ||
@@ -14,0 +12,0 @@ return [ |
@@ -9,5 +9,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.ep(commonParams) | ||
.m(function (Command, cs, config, o) { | ||
@@ -14,0 +12,0 @@ return [ |
@@ -9,5 +9,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.ep(commonParams) | ||
.m(function (Command, cs, config, o) { | ||
@@ -14,0 +12,0 @@ return [ |
@@ -10,5 +10,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.ep(commonParams) | ||
.m(function (Command, cs, config, o) { | ||
@@ -15,0 +13,0 @@ return [ |
@@ -10,5 +10,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.ep(commonParams) | ||
.m(function (Command, cs, config, o) { | ||
@@ -15,0 +13,0 @@ return [ |
@@ -10,5 +10,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.ep(commonParams) | ||
.m(function (Command, cs, config, o) { | ||
@@ -15,0 +13,0 @@ return [ |
@@ -9,5 +9,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.ep(commonParams) | ||
.m(function (Command, cs, config, o) { | ||
@@ -14,0 +12,0 @@ return [ |
@@ -9,5 +9,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.ep(commonParams) | ||
.m(function (Command, cs, config, o) { | ||
@@ -14,0 +12,0 @@ return [ |
@@ -10,5 +10,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.ep(commonParams) | ||
.m(function (Command, cs, config, o) { | ||
@@ -15,0 +13,0 @@ return [ |
@@ -10,5 +10,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.ep(commonParams) | ||
.m(function (Command, cs, config, o) { | ||
@@ -15,0 +13,0 @@ return [ |
@@ -10,5 +10,3 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.ep(commonParams) | ||
.m(function (Command, cs, config, o) { | ||
@@ -15,0 +13,0 @@ return [ |
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; | ||
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints"; | ||
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints"; | ||
import { ruleSet } from "./ruleset"; | ||
const cache = new EndpointCache({ | ||
size: 50, | ||
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], | ||
}); | ||
export const defaultEndpointResolver = (endpointParams, context = {}) => { | ||
return resolveEndpoint(ruleSet, { | ||
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, { | ||
endpointParams: endpointParams, | ||
logger: context.logger, | ||
}); | ||
})); | ||
}; | ||
customEndpointFunctions.aws = awsEndpointFunctions; |
{ | ||
"name": "@aws-sdk/client-account", | ||
"description": "AWS SDK for JavaScript Account Client for Node.js, Browser and React Native", | ||
"version": "3.649.0", | ||
"version": "3.650.0", | ||
"scripts": { | ||
@@ -23,6 +23,6 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"@aws-crypto/sha256-js": "5.2.0", | ||
"@aws-sdk/client-sso-oidc": "3.649.0", | ||
"@aws-sdk/client-sts": "3.649.0", | ||
"@aws-sdk/client-sso-oidc": "3.650.0", | ||
"@aws-sdk/client-sts": "3.650.0", | ||
"@aws-sdk/core": "3.649.0", | ||
"@aws-sdk/credential-provider-node": "3.649.0", | ||
"@aws-sdk/credential-provider-node": "3.650.0", | ||
"@aws-sdk/middleware-host-header": "3.649.0", | ||
@@ -29,0 +29,0 @@ "@aws-sdk/middleware-logger": "3.649.0", |
334322
113
6848
+ Added@aws-sdk/client-sso@3.650.0(transitive)
+ Added@aws-sdk/client-sso-oidc@3.650.0(transitive)
+ Added@aws-sdk/client-sts@3.650.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.650.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.650.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.650.0(transitive)
- Removed@aws-sdk/client-sso@3.649.0(transitive)
- Removed@aws-sdk/client-sso-oidc@3.649.0(transitive)
- Removed@aws-sdk/client-sts@3.649.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.649.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.649.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.649.0(transitive)
Updated@aws-sdk/client-sts@3.650.0