@aws-sdk/client-acm 3.193.0 → 3.195.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 (92) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/ACMClient.js +11 -8
  3. package/dist-cjs/commands/AddTagsToCertificateCommand.js +10 -0
  4. package/dist-cjs/commands/DeleteCertificateCommand.js +10 -0
  5. package/dist-cjs/commands/DescribeCertificateCommand.js +10 -0
  6. package/dist-cjs/commands/ExportCertificateCommand.js +10 -0
  7. package/dist-cjs/commands/GetAccountConfigurationCommand.js +10 -0
  8. package/dist-cjs/commands/GetCertificateCommand.js +10 -0
  9. package/dist-cjs/commands/ImportCertificateCommand.js +10 -0
  10. package/dist-cjs/commands/ListCertificatesCommand.js +10 -0
  11. package/dist-cjs/commands/ListTagsForCertificateCommand.js +10 -0
  12. package/dist-cjs/commands/PutAccountConfigurationCommand.js +10 -0
  13. package/dist-cjs/commands/RemoveTagsFromCertificateCommand.js +10 -0
  14. package/dist-cjs/commands/RenewCertificateCommand.js +10 -0
  15. package/dist-cjs/commands/RequestCertificateCommand.js +10 -0
  16. package/dist-cjs/commands/ResendValidationEmailCommand.js +10 -0
  17. package/dist-cjs/commands/UpdateCertificateOptionsCommand.js +10 -0
  18. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  19. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  20. package/dist-cjs/endpoint/ruleset.js +343 -0
  21. package/dist-cjs/runtimeConfig.shared.js +3 -3
  22. package/dist-es/ACMClient.js +12 -9
  23. package/dist-es/commands/AddTagsToCertificateCommand.js +10 -0
  24. package/dist-es/commands/DeleteCertificateCommand.js +10 -0
  25. package/dist-es/commands/DescribeCertificateCommand.js +10 -0
  26. package/dist-es/commands/ExportCertificateCommand.js +10 -0
  27. package/dist-es/commands/GetAccountConfigurationCommand.js +10 -0
  28. package/dist-es/commands/GetCertificateCommand.js +10 -0
  29. package/dist-es/commands/ImportCertificateCommand.js +10 -0
  30. package/dist-es/commands/ListCertificatesCommand.js +10 -0
  31. package/dist-es/commands/ListTagsForCertificateCommand.js +10 -0
  32. package/dist-es/commands/PutAccountConfigurationCommand.js +10 -0
  33. package/dist-es/commands/RemoveTagsFromCertificateCommand.js +10 -0
  34. package/dist-es/commands/RenewCertificateCommand.js +10 -0
  35. package/dist-es/commands/RequestCertificateCommand.js +10 -0
  36. package/dist-es/commands/ResendValidationEmailCommand.js +10 -0
  37. package/dist-es/commands/UpdateCertificateOptionsCommand.js +10 -0
  38. package/dist-es/endpoint/EndpointParameters.js +8 -0
  39. package/dist-es/endpoint/endpointResolver.js +8 -0
  40. package/dist-es/endpoint/ruleset.js +340 -0
  41. package/dist-es/runtimeConfig.shared.js +2 -2
  42. package/dist-types/ACMClient.d.ts +6 -9
  43. package/dist-types/commands/AddTagsToCertificateCommand.d.ts +2 -0
  44. package/dist-types/commands/DeleteCertificateCommand.d.ts +2 -0
  45. package/dist-types/commands/DescribeCertificateCommand.d.ts +2 -0
  46. package/dist-types/commands/ExportCertificateCommand.d.ts +2 -0
  47. package/dist-types/commands/GetAccountConfigurationCommand.d.ts +2 -0
  48. package/dist-types/commands/GetCertificateCommand.d.ts +2 -0
  49. package/dist-types/commands/ImportCertificateCommand.d.ts +2 -0
  50. package/dist-types/commands/ListCertificatesCommand.d.ts +2 -0
  51. package/dist-types/commands/ListTagsForCertificateCommand.d.ts +2 -0
  52. package/dist-types/commands/PutAccountConfigurationCommand.d.ts +2 -0
  53. package/dist-types/commands/RemoveTagsFromCertificateCommand.d.ts +2 -0
  54. package/dist-types/commands/RenewCertificateCommand.d.ts +2 -0
  55. package/dist-types/commands/RequestCertificateCommand.d.ts +2 -0
  56. package/dist-types/commands/ResendValidationEmailCommand.d.ts +2 -0
  57. package/dist-types/commands/UpdateCertificateOptionsCommand.d.ts +2 -0
  58. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  59. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  60. package/dist-types/endpoint/ruleset.d.ts +2 -0
  61. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  62. package/dist-types/runtimeConfig.d.ts +4 -2
  63. package/dist-types/runtimeConfig.native.d.ts +4 -2
  64. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  65. package/dist-types/ts3.4/ACMClient.d.ts +15 -8
  66. package/dist-types/ts3.4/commands/AddTagsToCertificateCommand.d.ts +2 -0
  67. package/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +2 -0
  68. package/dist-types/ts3.4/commands/DescribeCertificateCommand.d.ts +2 -0
  69. package/dist-types/ts3.4/commands/ExportCertificateCommand.d.ts +2 -0
  70. package/dist-types/ts3.4/commands/GetAccountConfigurationCommand.d.ts +2 -0
  71. package/dist-types/ts3.4/commands/GetCertificateCommand.d.ts +2 -0
  72. package/dist-types/ts3.4/commands/ImportCertificateCommand.d.ts +2 -0
  73. package/dist-types/ts3.4/commands/ListCertificatesCommand.d.ts +2 -0
  74. package/dist-types/ts3.4/commands/ListTagsForCertificateCommand.d.ts +2 -0
  75. package/dist-types/ts3.4/commands/PutAccountConfigurationCommand.d.ts +2 -0
  76. package/dist-types/ts3.4/commands/RemoveTagsFromCertificateCommand.d.ts +2 -0
  77. package/dist-types/ts3.4/commands/RenewCertificateCommand.d.ts +2 -0
  78. package/dist-types/ts3.4/commands/RequestCertificateCommand.d.ts +2 -0
  79. package/dist-types/ts3.4/commands/ResendValidationEmailCommand.d.ts +2 -0
  80. package/dist-types/ts3.4/commands/UpdateCertificateOptionsCommand.d.ts +2 -0
  81. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  82. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  83. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  84. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  85. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  86. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  87. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  88. package/package.json +4 -2
  89. package/dist-cjs/endpoints.js +0 -196
  90. package/dist-es/endpoints.js +0 -192
  91. package/dist-types/endpoints.d.ts +0 -2
  92. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,196 +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
- "ca-central-1": {
7
- variants: [
8
- {
9
- hostname: "acm-fips.ca-central-1.amazonaws.com",
10
- tags: ["fips"],
11
- },
12
- ],
13
- },
14
- "us-east-1": {
15
- variants: [
16
- {
17
- hostname: "acm-fips.us-east-1.amazonaws.com",
18
- tags: ["fips"],
19
- },
20
- ],
21
- },
22
- "us-east-2": {
23
- variants: [
24
- {
25
- hostname: "acm-fips.us-east-2.amazonaws.com",
26
- tags: ["fips"],
27
- },
28
- ],
29
- },
30
- "us-gov-east-1": {
31
- variants: [
32
- {
33
- hostname: "acm.us-gov-east-1.amazonaws.com",
34
- tags: [],
35
- },
36
- ],
37
- signingRegion: "us-gov-east-1",
38
- },
39
- "us-gov-west-1": {
40
- variants: [
41
- {
42
- hostname: "acm.us-gov-west-1.amazonaws.com",
43
- tags: [],
44
- },
45
- ],
46
- signingRegion: "us-gov-west-1",
47
- },
48
- "us-west-1": {
49
- variants: [
50
- {
51
- hostname: "acm-fips.us-west-1.amazonaws.com",
52
- tags: ["fips"],
53
- },
54
- ],
55
- },
56
- "us-west-2": {
57
- variants: [
58
- {
59
- hostname: "acm-fips.us-west-2.amazonaws.com",
60
- tags: ["fips"],
61
- },
62
- ],
63
- },
64
- };
65
- const partitionHash = {
66
- aws: {
67
- regions: [
68
- "af-south-1",
69
- "ap-east-1",
70
- "ap-northeast-1",
71
- "ap-northeast-2",
72
- "ap-northeast-3",
73
- "ap-south-1",
74
- "ap-southeast-1",
75
- "ap-southeast-2",
76
- "ap-southeast-3",
77
- "ca-central-1",
78
- "ca-central-1-fips",
79
- "eu-central-1",
80
- "eu-north-1",
81
- "eu-south-1",
82
- "eu-west-1",
83
- "eu-west-2",
84
- "eu-west-3",
85
- "me-central-1",
86
- "me-south-1",
87
- "sa-east-1",
88
- "us-east-1",
89
- "us-east-1-fips",
90
- "us-east-2",
91
- "us-east-2-fips",
92
- "us-west-1",
93
- "us-west-1-fips",
94
- "us-west-2",
95
- "us-west-2-fips",
96
- ],
97
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
98
- variants: [
99
- {
100
- hostname: "acm.{region}.amazonaws.com",
101
- tags: [],
102
- },
103
- {
104
- hostname: "acm-fips.{region}.amazonaws.com",
105
- tags: ["fips"],
106
- },
107
- {
108
- hostname: "acm-fips.{region}.api.aws",
109
- tags: ["dualstack", "fips"],
110
- },
111
- {
112
- hostname: "acm.{region}.api.aws",
113
- tags: ["dualstack"],
114
- },
115
- ],
116
- },
117
- "aws-cn": {
118
- regions: ["cn-north-1", "cn-northwest-1"],
119
- regionRegex: "^cn\\-\\w+\\-\\d+$",
120
- variants: [
121
- {
122
- hostname: "acm.{region}.amazonaws.com.cn",
123
- tags: [],
124
- },
125
- {
126
- hostname: "acm-fips.{region}.amazonaws.com.cn",
127
- tags: ["fips"],
128
- },
129
- {
130
- hostname: "acm-fips.{region}.api.amazonwebservices.com.cn",
131
- tags: ["dualstack", "fips"],
132
- },
133
- {
134
- hostname: "acm.{region}.api.amazonwebservices.com.cn",
135
- tags: ["dualstack"],
136
- },
137
- ],
138
- },
139
- "aws-iso": {
140
- regions: ["us-iso-east-1", "us-iso-west-1"],
141
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
142
- variants: [
143
- {
144
- hostname: "acm.{region}.c2s.ic.gov",
145
- tags: [],
146
- },
147
- {
148
- hostname: "acm-fips.{region}.c2s.ic.gov",
149
- tags: ["fips"],
150
- },
151
- ],
152
- },
153
- "aws-iso-b": {
154
- regions: ["us-isob-east-1"],
155
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
156
- variants: [
157
- {
158
- hostname: "acm.{region}.sc2s.sgov.gov",
159
- tags: [],
160
- },
161
- {
162
- hostname: "acm-fips.{region}.sc2s.sgov.gov",
163
- tags: ["fips"],
164
- },
165
- ],
166
- },
167
- "aws-us-gov": {
168
- regions: ["us-gov-east-1", "us-gov-west-1"],
169
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
170
- variants: [
171
- {
172
- hostname: "acm.{region}.amazonaws.com",
173
- tags: [],
174
- },
175
- {
176
- hostname: "acm.{region}.amazonaws.com",
177
- tags: ["fips"],
178
- },
179
- {
180
- hostname: "acm-fips.{region}.api.aws",
181
- tags: ["dualstack", "fips"],
182
- },
183
- {
184
- hostname: "acm.{region}.api.aws",
185
- tags: ["dualstack"],
186
- },
187
- ],
188
- },
189
- };
190
- const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
191
- ...options,
192
- signingService: "acm",
193
- regionHash,
194
- partitionHash,
195
- });
196
- exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
@@ -1,192 +0,0 @@
1
- import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
- "ca-central-1": {
4
- variants: [
5
- {
6
- hostname: "acm-fips.ca-central-1.amazonaws.com",
7
- tags: ["fips"],
8
- },
9
- ],
10
- },
11
- "us-east-1": {
12
- variants: [
13
- {
14
- hostname: "acm-fips.us-east-1.amazonaws.com",
15
- tags: ["fips"],
16
- },
17
- ],
18
- },
19
- "us-east-2": {
20
- variants: [
21
- {
22
- hostname: "acm-fips.us-east-2.amazonaws.com",
23
- tags: ["fips"],
24
- },
25
- ],
26
- },
27
- "us-gov-east-1": {
28
- variants: [
29
- {
30
- hostname: "acm.us-gov-east-1.amazonaws.com",
31
- tags: [],
32
- },
33
- ],
34
- signingRegion: "us-gov-east-1",
35
- },
36
- "us-gov-west-1": {
37
- variants: [
38
- {
39
- hostname: "acm.us-gov-west-1.amazonaws.com",
40
- tags: [],
41
- },
42
- ],
43
- signingRegion: "us-gov-west-1",
44
- },
45
- "us-west-1": {
46
- variants: [
47
- {
48
- hostname: "acm-fips.us-west-1.amazonaws.com",
49
- tags: ["fips"],
50
- },
51
- ],
52
- },
53
- "us-west-2": {
54
- variants: [
55
- {
56
- hostname: "acm-fips.us-west-2.amazonaws.com",
57
- tags: ["fips"],
58
- },
59
- ],
60
- },
61
- };
62
- const partitionHash = {
63
- aws: {
64
- regions: [
65
- "af-south-1",
66
- "ap-east-1",
67
- "ap-northeast-1",
68
- "ap-northeast-2",
69
- "ap-northeast-3",
70
- "ap-south-1",
71
- "ap-southeast-1",
72
- "ap-southeast-2",
73
- "ap-southeast-3",
74
- "ca-central-1",
75
- "ca-central-1-fips",
76
- "eu-central-1",
77
- "eu-north-1",
78
- "eu-south-1",
79
- "eu-west-1",
80
- "eu-west-2",
81
- "eu-west-3",
82
- "me-central-1",
83
- "me-south-1",
84
- "sa-east-1",
85
- "us-east-1",
86
- "us-east-1-fips",
87
- "us-east-2",
88
- "us-east-2-fips",
89
- "us-west-1",
90
- "us-west-1-fips",
91
- "us-west-2",
92
- "us-west-2-fips",
93
- ],
94
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
95
- variants: [
96
- {
97
- hostname: "acm.{region}.amazonaws.com",
98
- tags: [],
99
- },
100
- {
101
- hostname: "acm-fips.{region}.amazonaws.com",
102
- tags: ["fips"],
103
- },
104
- {
105
- hostname: "acm-fips.{region}.api.aws",
106
- tags: ["dualstack", "fips"],
107
- },
108
- {
109
- hostname: "acm.{region}.api.aws",
110
- tags: ["dualstack"],
111
- },
112
- ],
113
- },
114
- "aws-cn": {
115
- regions: ["cn-north-1", "cn-northwest-1"],
116
- regionRegex: "^cn\\-\\w+\\-\\d+$",
117
- variants: [
118
- {
119
- hostname: "acm.{region}.amazonaws.com.cn",
120
- tags: [],
121
- },
122
- {
123
- hostname: "acm-fips.{region}.amazonaws.com.cn",
124
- tags: ["fips"],
125
- },
126
- {
127
- hostname: "acm-fips.{region}.api.amazonwebservices.com.cn",
128
- tags: ["dualstack", "fips"],
129
- },
130
- {
131
- hostname: "acm.{region}.api.amazonwebservices.com.cn",
132
- tags: ["dualstack"],
133
- },
134
- ],
135
- },
136
- "aws-iso": {
137
- regions: ["us-iso-east-1", "us-iso-west-1"],
138
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
139
- variants: [
140
- {
141
- hostname: "acm.{region}.c2s.ic.gov",
142
- tags: [],
143
- },
144
- {
145
- hostname: "acm-fips.{region}.c2s.ic.gov",
146
- tags: ["fips"],
147
- },
148
- ],
149
- },
150
- "aws-iso-b": {
151
- regions: ["us-isob-east-1"],
152
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
153
- variants: [
154
- {
155
- hostname: "acm.{region}.sc2s.sgov.gov",
156
- tags: [],
157
- },
158
- {
159
- hostname: "acm-fips.{region}.sc2s.sgov.gov",
160
- tags: ["fips"],
161
- },
162
- ],
163
- },
164
- "aws-us-gov": {
165
- regions: ["us-gov-east-1", "us-gov-west-1"],
166
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
167
- variants: [
168
- {
169
- hostname: "acm.{region}.amazonaws.com",
170
- tags: [],
171
- },
172
- {
173
- hostname: "acm.{region}.amazonaws.com",
174
- tags: ["fips"],
175
- },
176
- {
177
- hostname: "acm-fips.{region}.api.aws",
178
- tags: ["dualstack", "fips"],
179
- },
180
- {
181
- hostname: "acm.{region}.api.aws",
182
- tags: ["dualstack"],
183
- },
184
- ],
185
- },
186
- };
187
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
188
- ...options,
189
- signingService: "acm",
190
- regionHash,
191
- partitionHash,
192
- });
@@ -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;