@aws-sdk/client-account 3.193.0 → 3.196.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/AccountClient.js +11 -8
  3. package/dist-cjs/commands/DeleteAlternateContactCommand.js +10 -0
  4. package/dist-cjs/commands/GetAlternateContactCommand.js +10 -0
  5. package/dist-cjs/commands/GetContactInformationCommand.js +10 -0
  6. package/dist-cjs/commands/PutAlternateContactCommand.js +10 -0
  7. package/dist-cjs/commands/PutContactInformationCommand.js +10 -0
  8. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  9. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  10. package/dist-cjs/endpoint/ruleset.js +864 -0
  11. package/dist-cjs/runtimeConfig.shared.js +3 -3
  12. package/dist-es/AccountClient.js +12 -9
  13. package/dist-es/commands/DeleteAlternateContactCommand.js +10 -0
  14. package/dist-es/commands/GetAlternateContactCommand.js +10 -0
  15. package/dist-es/commands/GetContactInformationCommand.js +10 -0
  16. package/dist-es/commands/PutAlternateContactCommand.js +10 -0
  17. package/dist-es/commands/PutContactInformationCommand.js +10 -0
  18. package/dist-es/endpoint/EndpointParameters.js +8 -0
  19. package/dist-es/endpoint/endpointResolver.js +8 -0
  20. package/dist-es/endpoint/ruleset.js +861 -0
  21. package/dist-es/runtimeConfig.shared.js +2 -2
  22. package/dist-types/AccountClient.d.ts +6 -9
  23. package/dist-types/commands/DeleteAlternateContactCommand.d.ts +2 -0
  24. package/dist-types/commands/GetAlternateContactCommand.d.ts +2 -0
  25. package/dist-types/commands/GetContactInformationCommand.d.ts +2 -0
  26. package/dist-types/commands/PutAlternateContactCommand.d.ts +2 -0
  27. package/dist-types/commands/PutContactInformationCommand.d.ts +2 -0
  28. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  29. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  30. package/dist-types/endpoint/ruleset.d.ts +2 -0
  31. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  32. package/dist-types/runtimeConfig.d.ts +4 -2
  33. package/dist-types/runtimeConfig.native.d.ts +4 -2
  34. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  35. package/dist-types/ts3.4/AccountClient.d.ts +15 -8
  36. package/dist-types/ts3.4/commands/DeleteAlternateContactCommand.d.ts +2 -0
  37. package/dist-types/ts3.4/commands/GetAlternateContactCommand.d.ts +2 -0
  38. package/dist-types/ts3.4/commands/GetContactInformationCommand.d.ts +2 -0
  39. package/dist-types/ts3.4/commands/PutAlternateContactCommand.d.ts +2 -0
  40. package/dist-types/ts3.4/commands/PutContactInformationCommand.d.ts +2 -0
  41. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  42. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  43. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  48. package/package.json +5 -3
  49. package/dist-cjs/endpoints.js +0 -154
  50. package/dist-es/endpoints.js +0 -150
  51. package/dist-types/endpoints.d.ts +0 -2
  52. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,154 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultRegionInfoProvider = void 0;
4
- const config_resolver_1 = require("@aws-sdk/config-resolver");
5
- const regionHash = {
6
- "aws-cn-global": {
7
- variants: [
8
- {
9
- hostname: "account.cn-northwest-1.amazonaws.com.cn",
10
- tags: [],
11
- },
12
- ],
13
- signingRegion: "cn-northwest-1",
14
- },
15
- "aws-global": {
16
- variants: [
17
- {
18
- hostname: "account.us-east-1.amazonaws.com",
19
- tags: [],
20
- },
21
- ],
22
- signingRegion: "us-east-1",
23
- },
24
- };
25
- const partitionHash = {
26
- aws: {
27
- regions: [
28
- "af-south-1",
29
- "ap-east-1",
30
- "ap-northeast-1",
31
- "ap-northeast-2",
32
- "ap-northeast-3",
33
- "ap-south-1",
34
- "ap-southeast-1",
35
- "ap-southeast-2",
36
- "ap-southeast-3",
37
- "aws-global",
38
- "ca-central-1",
39
- "eu-central-1",
40
- "eu-north-1",
41
- "eu-south-1",
42
- "eu-west-1",
43
- "eu-west-2",
44
- "eu-west-3",
45
- "me-central-1",
46
- "me-south-1",
47
- "sa-east-1",
48
- "us-east-1",
49
- "us-east-2",
50
- "us-west-1",
51
- "us-west-2",
52
- ],
53
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
54
- variants: [
55
- {
56
- hostname: "account.{region}.amazonaws.com",
57
- tags: [],
58
- },
59
- {
60
- hostname: "account-fips.{region}.amazonaws.com",
61
- tags: ["fips"],
62
- },
63
- {
64
- hostname: "account-fips.{region}.api.aws",
65
- tags: ["dualstack", "fips"],
66
- },
67
- {
68
- hostname: "account.{region}.api.aws",
69
- tags: ["dualstack"],
70
- },
71
- ],
72
- endpoint: "aws-global",
73
- },
74
- "aws-cn": {
75
- regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
76
- regionRegex: "^cn\\-\\w+\\-\\d+$",
77
- variants: [
78
- {
79
- hostname: "account.{region}.amazonaws.com.cn",
80
- tags: [],
81
- },
82
- {
83
- hostname: "account-fips.{region}.amazonaws.com.cn",
84
- tags: ["fips"],
85
- },
86
- {
87
- hostname: "account-fips.{region}.api.amazonwebservices.com.cn",
88
- tags: ["dualstack", "fips"],
89
- },
90
- {
91
- hostname: "account.{region}.api.amazonwebservices.com.cn",
92
- tags: ["dualstack"],
93
- },
94
- ],
95
- endpoint: "aws-cn-global",
96
- },
97
- "aws-iso": {
98
- regions: ["us-iso-east-1", "us-iso-west-1"],
99
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
100
- variants: [
101
- {
102
- hostname: "account.{region}.c2s.ic.gov",
103
- tags: [],
104
- },
105
- {
106
- hostname: "account-fips.{region}.c2s.ic.gov",
107
- tags: ["fips"],
108
- },
109
- ],
110
- },
111
- "aws-iso-b": {
112
- regions: ["us-isob-east-1"],
113
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
114
- variants: [
115
- {
116
- hostname: "account.{region}.sc2s.sgov.gov",
117
- tags: [],
118
- },
119
- {
120
- hostname: "account-fips.{region}.sc2s.sgov.gov",
121
- tags: ["fips"],
122
- },
123
- ],
124
- },
125
- "aws-us-gov": {
126
- regions: ["us-gov-east-1", "us-gov-west-1"],
127
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
128
- variants: [
129
- {
130
- hostname: "account.{region}.amazonaws.com",
131
- tags: [],
132
- },
133
- {
134
- hostname: "account-fips.{region}.amazonaws.com",
135
- tags: ["fips"],
136
- },
137
- {
138
- hostname: "account-fips.{region}.api.aws",
139
- tags: ["dualstack", "fips"],
140
- },
141
- {
142
- hostname: "account.{region}.api.aws",
143
- tags: ["dualstack"],
144
- },
145
- ],
146
- },
147
- };
148
- const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
149
- ...options,
150
- signingService: "account",
151
- regionHash,
152
- partitionHash,
153
- });
154
- exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
@@ -1,150 +0,0 @@
1
- import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
- "aws-cn-global": {
4
- variants: [
5
- {
6
- hostname: "account.cn-northwest-1.amazonaws.com.cn",
7
- tags: [],
8
- },
9
- ],
10
- signingRegion: "cn-northwest-1",
11
- },
12
- "aws-global": {
13
- variants: [
14
- {
15
- hostname: "account.us-east-1.amazonaws.com",
16
- tags: [],
17
- },
18
- ],
19
- signingRegion: "us-east-1",
20
- },
21
- };
22
- const partitionHash = {
23
- aws: {
24
- regions: [
25
- "af-south-1",
26
- "ap-east-1",
27
- "ap-northeast-1",
28
- "ap-northeast-2",
29
- "ap-northeast-3",
30
- "ap-south-1",
31
- "ap-southeast-1",
32
- "ap-southeast-2",
33
- "ap-southeast-3",
34
- "aws-global",
35
- "ca-central-1",
36
- "eu-central-1",
37
- "eu-north-1",
38
- "eu-south-1",
39
- "eu-west-1",
40
- "eu-west-2",
41
- "eu-west-3",
42
- "me-central-1",
43
- "me-south-1",
44
- "sa-east-1",
45
- "us-east-1",
46
- "us-east-2",
47
- "us-west-1",
48
- "us-west-2",
49
- ],
50
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
51
- variants: [
52
- {
53
- hostname: "account.{region}.amazonaws.com",
54
- tags: [],
55
- },
56
- {
57
- hostname: "account-fips.{region}.amazonaws.com",
58
- tags: ["fips"],
59
- },
60
- {
61
- hostname: "account-fips.{region}.api.aws",
62
- tags: ["dualstack", "fips"],
63
- },
64
- {
65
- hostname: "account.{region}.api.aws",
66
- tags: ["dualstack"],
67
- },
68
- ],
69
- endpoint: "aws-global",
70
- },
71
- "aws-cn": {
72
- regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
73
- regionRegex: "^cn\\-\\w+\\-\\d+$",
74
- variants: [
75
- {
76
- hostname: "account.{region}.amazonaws.com.cn",
77
- tags: [],
78
- },
79
- {
80
- hostname: "account-fips.{region}.amazonaws.com.cn",
81
- tags: ["fips"],
82
- },
83
- {
84
- hostname: "account-fips.{region}.api.amazonwebservices.com.cn",
85
- tags: ["dualstack", "fips"],
86
- },
87
- {
88
- hostname: "account.{region}.api.amazonwebservices.com.cn",
89
- tags: ["dualstack"],
90
- },
91
- ],
92
- endpoint: "aws-cn-global",
93
- },
94
- "aws-iso": {
95
- regions: ["us-iso-east-1", "us-iso-west-1"],
96
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
97
- variants: [
98
- {
99
- hostname: "account.{region}.c2s.ic.gov",
100
- tags: [],
101
- },
102
- {
103
- hostname: "account-fips.{region}.c2s.ic.gov",
104
- tags: ["fips"],
105
- },
106
- ],
107
- },
108
- "aws-iso-b": {
109
- regions: ["us-isob-east-1"],
110
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
111
- variants: [
112
- {
113
- hostname: "account.{region}.sc2s.sgov.gov",
114
- tags: [],
115
- },
116
- {
117
- hostname: "account-fips.{region}.sc2s.sgov.gov",
118
- tags: ["fips"],
119
- },
120
- ],
121
- },
122
- "aws-us-gov": {
123
- regions: ["us-gov-east-1", "us-gov-west-1"],
124
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
125
- variants: [
126
- {
127
- hostname: "account.{region}.amazonaws.com",
128
- tags: [],
129
- },
130
- {
131
- hostname: "account-fips.{region}.amazonaws.com",
132
- tags: ["fips"],
133
- },
134
- {
135
- hostname: "account-fips.{region}.api.aws",
136
- tags: ["dualstack", "fips"],
137
- },
138
- {
139
- hostname: "account.{region}.api.aws",
140
- tags: ["dualstack"],
141
- },
142
- ],
143
- },
144
- };
145
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
146
- ...options,
147
- signingService: "account",
148
- regionHash,
149
- partitionHash,
150
- });
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;