@aws-sdk/client-account 3.649.0 → 3.650.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 -36
- package/dist-es/commands/AcceptPrimaryEmailUpdateCommand.js +1 -3
- package/dist-es/commands/DeleteAlternateContactCommand.js +1 -3
- package/dist-es/commands/DisableRegionCommand.js +1 -3
- package/dist-es/commands/EnableRegionCommand.js +1 -3
- package/dist-es/commands/GetAlternateContactCommand.js +1 -3
- package/dist-es/commands/GetContactInformationCommand.js +1 -3
- package/dist-es/commands/GetPrimaryEmailCommand.js +1 -3
- package/dist-es/commands/GetRegionOptStatusCommand.js +1 -3
- package/dist-es/commands/ListRegionsCommand.js +1 -3
- package/dist-es/commands/PutAlternateContactCommand.js +1 -3
- package/dist-es/commands/PutContactInformationCommand.js +1 -3
- package/dist-es/commands/StartPrimaryEmailUpdateCommand.js +1 -3
- package/dist-es/endpoint/endpointResolver.js +7 -3
- package/package.json +4 -4
- package/dist-types/tsdoc-metadata.json +0 -11
package/dist-cjs/index.js
CHANGED
|
@@ -885,9 +885,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
885
885
|
}), "deserializeMetadata");
|
|
886
886
|
|
|
887
887
|
// src/commands/AcceptPrimaryEmailUpdateCommand.ts
|
|
888
|
-
var _AcceptPrimaryEmailUpdateCommand = class _AcceptPrimaryEmailUpdateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
889
|
-
...commonParams
|
|
890
|
-
}).m(function(Command, cs, config, o) {
|
|
888
|
+
var _AcceptPrimaryEmailUpdateCommand = class _AcceptPrimaryEmailUpdateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
891
889
|
return [
|
|
892
890
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
893
891
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -901,9 +899,7 @@ var AcceptPrimaryEmailUpdateCommand = _AcceptPrimaryEmailUpdateCommand;
|
|
|
901
899
|
|
|
902
900
|
|
|
903
901
|
|
|
904
|
-
var _DeleteAlternateContactCommand = class _DeleteAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
905
|
-
...commonParams
|
|
906
|
-
}).m(function(Command, cs, config, o) {
|
|
902
|
+
var _DeleteAlternateContactCommand = class _DeleteAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
907
903
|
return [
|
|
908
904
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
909
905
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -917,9 +913,7 @@ var DeleteAlternateContactCommand = _DeleteAlternateContactCommand;
|
|
|
917
913
|
|
|
918
914
|
|
|
919
915
|
|
|
920
|
-
var _DisableRegionCommand = class _DisableRegionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
921
|
-
...commonParams
|
|
922
|
-
}).m(function(Command, cs, config, o) {
|
|
916
|
+
var _DisableRegionCommand = class _DisableRegionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
923
917
|
return [
|
|
924
918
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
925
919
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -933,9 +927,7 @@ var DisableRegionCommand = _DisableRegionCommand;
|
|
|
933
927
|
|
|
934
928
|
|
|
935
929
|
|
|
936
|
-
var _EnableRegionCommand = class _EnableRegionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
937
|
-
...commonParams
|
|
938
|
-
}).m(function(Command, cs, config, o) {
|
|
930
|
+
var _EnableRegionCommand = class _EnableRegionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
939
931
|
return [
|
|
940
932
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
941
933
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -949,9 +941,7 @@ var EnableRegionCommand = _EnableRegionCommand;
|
|
|
949
941
|
|
|
950
942
|
|
|
951
943
|
|
|
952
|
-
var _GetAlternateContactCommand = class _GetAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
953
|
-
...commonParams
|
|
954
|
-
}).m(function(Command, cs, config, o) {
|
|
944
|
+
var _GetAlternateContactCommand = class _GetAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
955
945
|
return [
|
|
956
946
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
957
947
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -965,9 +955,7 @@ var GetAlternateContactCommand = _GetAlternateContactCommand;
|
|
|
965
955
|
|
|
966
956
|
|
|
967
957
|
|
|
968
|
-
var _GetContactInformationCommand = class _GetContactInformationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
969
|
-
...commonParams
|
|
970
|
-
}).m(function(Command, cs, config, o) {
|
|
958
|
+
var _GetContactInformationCommand = class _GetContactInformationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
971
959
|
return [
|
|
972
960
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
973
961
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -981,9 +969,7 @@ var GetContactInformationCommand = _GetContactInformationCommand;
|
|
|
981
969
|
|
|
982
970
|
|
|
983
971
|
|
|
984
|
-
var _GetPrimaryEmailCommand = class _GetPrimaryEmailCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
985
|
-
...commonParams
|
|
986
|
-
}).m(function(Command, cs, config, o) {
|
|
972
|
+
var _GetPrimaryEmailCommand = class _GetPrimaryEmailCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
987
973
|
return [
|
|
988
974
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
989
975
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -997,9 +983,7 @@ var GetPrimaryEmailCommand = _GetPrimaryEmailCommand;
|
|
|
997
983
|
|
|
998
984
|
|
|
999
985
|
|
|
1000
|
-
var _GetRegionOptStatusCommand = class _GetRegionOptStatusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1001
|
-
...commonParams
|
|
1002
|
-
}).m(function(Command, cs, config, o) {
|
|
986
|
+
var _GetRegionOptStatusCommand = class _GetRegionOptStatusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1003
987
|
return [
|
|
1004
988
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1005
989
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1013,9 +997,7 @@ var GetRegionOptStatusCommand = _GetRegionOptStatusCommand;
|
|
|
1013
997
|
|
|
1014
998
|
|
|
1015
999
|
|
|
1016
|
-
var _ListRegionsCommand = class _ListRegionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1017
|
-
...commonParams
|
|
1018
|
-
}).m(function(Command, cs, config, o) {
|
|
1000
|
+
var _ListRegionsCommand = class _ListRegionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1019
1001
|
return [
|
|
1020
1002
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1021
1003
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1029,9 +1011,7 @@ var ListRegionsCommand = _ListRegionsCommand;
|
|
|
1029
1011
|
|
|
1030
1012
|
|
|
1031
1013
|
|
|
1032
|
-
var _PutAlternateContactCommand = class _PutAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1033
|
-
...commonParams
|
|
1034
|
-
}).m(function(Command, cs, config, o) {
|
|
1014
|
+
var _PutAlternateContactCommand = class _PutAlternateContactCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1035
1015
|
return [
|
|
1036
1016
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1037
1017
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1045,9 +1025,7 @@ var PutAlternateContactCommand = _PutAlternateContactCommand;
|
|
|
1045
1025
|
|
|
1046
1026
|
|
|
1047
1027
|
|
|
1048
|
-
var _PutContactInformationCommand = class _PutContactInformationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1049
|
-
...commonParams
|
|
1050
|
-
}).m(function(Command, cs, config, o) {
|
|
1028
|
+
var _PutContactInformationCommand = class _PutContactInformationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1051
1029
|
return [
|
|
1052
1030
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1053
1031
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1061,9 +1039,7 @@ var PutContactInformationCommand = _PutContactInformationCommand;
|
|
|
1061
1039
|
|
|
1062
1040
|
|
|
1063
1041
|
|
|
1064
|
-
var _StartPrimaryEmailUpdateCommand = class _StartPrimaryEmailUpdateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1065
|
-
...commonParams
|
|
1066
|
-
}).m(function(Command, cs, config, o) {
|
|
1042
|
+
var _StartPrimaryEmailUpdateCommand = class _StartPrimaryEmailUpdateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1067
1043
|
return [
|
|
1068
1044
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1069
1045
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -7,9 +7,7 @@ import { de_AcceptPrimaryEmailUpdateCommand, se_AcceptPrimaryEmailUpdateCommand
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class AcceptPrimaryEmailUpdateCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_DeleteAlternateContactCommand, se_DeleteAlternateContactCommand } fr
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteAlternateContactCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_DisableRegionCommand, se_DisableRegionCommand } from "../protocols/A
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DisableRegionCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_EnableRegionCommand, se_EnableRegionCommand } from "../protocols/Aws
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class EnableRegionCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_GetAlternateContactCommand, se_GetAlternateContactCommand } from "..
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class GetAlternateContactCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_GetContactInformationCommand, se_GetContactInformationCommand } from
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class GetContactInformationCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_GetPrimaryEmailCommand, se_GetPrimaryEmailCommand } from "../protoco
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class GetPrimaryEmailCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_GetRegionOptStatusCommand, se_GetRegionOptStatusCommand } from "../p
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetRegionOptStatusCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ListRegionsCommand, se_ListRegionsCommand } from "../protocols/Aws_r
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListRegionsCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_PutAlternateContactCommand, se_PutAlternateContactCommand } from "..
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class PutAlternateContactCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_PutContactInformationCommand, se_PutContactInformationCommand } from
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class PutContactInformationCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_StartPrimaryEmailUpdateCommand, se_StartPrimaryEmailUpdateCommand }
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class StartPrimaryEmailUpdateCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
+
});
|
|
4
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
-
return resolveEndpoint(ruleSet, {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
6
10
|
endpointParams: endpointParams,
|
|
7
11
|
logger: context.logger,
|
|
8
|
-
});
|
|
12
|
+
}));
|
|
9
13
|
};
|
|
10
14
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-account",
|
|
3
3
|
"description": "AWS SDK for JavaScript Account Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.650.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-account",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.650.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.650.0",
|
|
25
25
|
"@aws-sdk/core": "3.649.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.650.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.649.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
-
{
|
|
4
|
-
"tsdocVersion": "0.12",
|
|
5
|
-
"toolPackages": [
|
|
6
|
-
{
|
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
|
8
|
-
"packageVersion": "7.34.4"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|