@aws-sdk/client-elasticsearch-service 3.37.0 → 3.41.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 (68) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/commands/index.js +43 -0
  3. package/dist-cjs/endpoints.js +155 -9
  4. package/dist-cjs/index.js +4 -55
  5. package/dist-cjs/pagination/index.js +16 -0
  6. package/dist-cjs/runtimeConfig.browser.js +6 -3
  7. package/dist-cjs/runtimeConfig.js +5 -3
  8. package/dist-es/commands/index.js +40 -0
  9. package/dist-es/endpoints.js +155 -9
  10. package/dist-es/index.js +4 -55
  11. package/dist-es/pagination/index.js +13 -0
  12. package/dist-es/runtimeConfig.browser.js +3 -2
  13. package/dist-es/runtimeConfig.js +3 -3
  14. package/dist-types/ElasticsearchServiceClient.d.ts +8 -0
  15. package/dist-types/commands/AcceptInboundCrossClusterSearchConnectionCommand.d.ts +1 -1
  16. package/dist-types/commands/AddTagsCommand.d.ts +1 -1
  17. package/dist-types/commands/AssociatePackageCommand.d.ts +1 -1
  18. package/dist-types/commands/CancelElasticsearchServiceSoftwareUpdateCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateElasticsearchDomainCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateOutboundCrossClusterSearchConnectionCommand.d.ts +1 -1
  21. package/dist-types/commands/CreatePackageCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteElasticsearchDomainCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteElasticsearchServiceRoleCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteInboundCrossClusterSearchConnectionCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteOutboundCrossClusterSearchConnectionCommand.d.ts +1 -1
  26. package/dist-types/commands/DeletePackageCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeDomainAutoTunesCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeElasticsearchDomainCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeElasticsearchDomainConfigCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeElasticsearchDomainsCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeElasticsearchInstanceTypeLimitsCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeInboundCrossClusterSearchConnectionsCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribePackagesCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeReservedElasticsearchInstancesCommand.d.ts +1 -1
  37. package/dist-types/commands/DissociatePackageCommand.d.ts +1 -1
  38. package/dist-types/commands/GetCompatibleElasticsearchVersionsCommand.d.ts +1 -1
  39. package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +1 -1
  40. package/dist-types/commands/GetUpgradeHistoryCommand.d.ts +1 -1
  41. package/dist-types/commands/GetUpgradeStatusCommand.d.ts +1 -1
  42. package/dist-types/commands/ListDomainNamesCommand.d.ts +1 -1
  43. package/dist-types/commands/ListDomainsForPackageCommand.d.ts +1 -1
  44. package/dist-types/commands/ListElasticsearchInstanceTypesCommand.d.ts +1 -1
  45. package/dist-types/commands/ListElasticsearchVersionsCommand.d.ts +1 -1
  46. package/dist-types/commands/ListPackagesForDomainCommand.d.ts +1 -1
  47. package/dist-types/commands/ListTagsCommand.d.ts +1 -1
  48. package/dist-types/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.d.ts +1 -1
  49. package/dist-types/commands/RejectInboundCrossClusterSearchConnectionCommand.d.ts +1 -1
  50. package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
  51. package/dist-types/commands/StartElasticsearchServiceSoftwareUpdateCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateElasticsearchDomainConfigCommand.d.ts +1 -1
  53. package/dist-types/commands/UpdatePackageCommand.d.ts +1 -1
  54. package/dist-types/commands/UpgradeElasticsearchDomainCommand.d.ts +1 -1
  55. package/dist-types/commands/index.d.ts +40 -0
  56. package/dist-types/index.d.ts +4 -55
  57. package/dist-types/pagination/index.d.ts +13 -0
  58. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  59. package/dist-types/runtimeConfig.d.ts +2 -0
  60. package/dist-types/runtimeConfig.native.d.ts +2 -0
  61. package/dist-types/ts3.4/ElasticsearchServiceClient.d.ts +4 -0
  62. package/dist-types/ts3.4/commands/index.d.ts +40 -0
  63. package/dist-types/ts3.4/index.d.ts +4 -55
  64. package/dist-types/ts3.4/pagination/index.d.ts +13 -0
  65. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  66. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  68. package/package.json +26 -26
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
29
+
30
+ **Note:** Version bump only for package @aws-sdk/client-elasticsearch-service
31
+
32
+
33
+
34
+
35
+
36
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
37
+
38
+
39
+ ### Features
40
+
41
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
42
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
43
+
44
+
45
+
46
+
47
+
6
48
  # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
7
49
 
8
50
 
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AcceptInboundCrossClusterSearchConnectionCommand"), exports);
5
+ tslib_1.__exportStar(require("./AddTagsCommand"), exports);
6
+ tslib_1.__exportStar(require("./AssociatePackageCommand"), exports);
7
+ tslib_1.__exportStar(require("./CancelElasticsearchServiceSoftwareUpdateCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateElasticsearchDomainCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateOutboundCrossClusterSearchConnectionCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreatePackageCommand"), exports);
11
+ tslib_1.__exportStar(require("./DeleteElasticsearchDomainCommand"), exports);
12
+ tslib_1.__exportStar(require("./DeleteElasticsearchServiceRoleCommand"), exports);
13
+ tslib_1.__exportStar(require("./DeleteInboundCrossClusterSearchConnectionCommand"), exports);
14
+ tslib_1.__exportStar(require("./DeleteOutboundCrossClusterSearchConnectionCommand"), exports);
15
+ tslib_1.__exportStar(require("./DeletePackageCommand"), exports);
16
+ tslib_1.__exportStar(require("./DescribeDomainAutoTunesCommand"), exports);
17
+ tslib_1.__exportStar(require("./DescribeElasticsearchDomainCommand"), exports);
18
+ tslib_1.__exportStar(require("./DescribeElasticsearchDomainConfigCommand"), exports);
19
+ tslib_1.__exportStar(require("./DescribeElasticsearchDomainsCommand"), exports);
20
+ tslib_1.__exportStar(require("./DescribeElasticsearchInstanceTypeLimitsCommand"), exports);
21
+ tslib_1.__exportStar(require("./DescribeInboundCrossClusterSearchConnectionsCommand"), exports);
22
+ tslib_1.__exportStar(require("./DescribeOutboundCrossClusterSearchConnectionsCommand"), exports);
23
+ tslib_1.__exportStar(require("./DescribePackagesCommand"), exports);
24
+ tslib_1.__exportStar(require("./DescribeReservedElasticsearchInstanceOfferingsCommand"), exports);
25
+ tslib_1.__exportStar(require("./DescribeReservedElasticsearchInstancesCommand"), exports);
26
+ tslib_1.__exportStar(require("./DissociatePackageCommand"), exports);
27
+ tslib_1.__exportStar(require("./GetCompatibleElasticsearchVersionsCommand"), exports);
28
+ tslib_1.__exportStar(require("./GetPackageVersionHistoryCommand"), exports);
29
+ tslib_1.__exportStar(require("./GetUpgradeHistoryCommand"), exports);
30
+ tslib_1.__exportStar(require("./GetUpgradeStatusCommand"), exports);
31
+ tslib_1.__exportStar(require("./ListDomainNamesCommand"), exports);
32
+ tslib_1.__exportStar(require("./ListDomainsForPackageCommand"), exports);
33
+ tslib_1.__exportStar(require("./ListElasticsearchInstanceTypesCommand"), exports);
34
+ tslib_1.__exportStar(require("./ListElasticsearchVersionsCommand"), exports);
35
+ tslib_1.__exportStar(require("./ListPackagesForDomainCommand"), exports);
36
+ tslib_1.__exportStar(require("./ListTagsCommand"), exports);
37
+ tslib_1.__exportStar(require("./PurchaseReservedElasticsearchInstanceOfferingCommand"), exports);
38
+ tslib_1.__exportStar(require("./RejectInboundCrossClusterSearchConnectionCommand"), exports);
39
+ tslib_1.__exportStar(require("./RemoveTagsCommand"), exports);
40
+ tslib_1.__exportStar(require("./StartElasticsearchServiceSoftwareUpdateCommand"), exports);
41
+ tslib_1.__exportStar(require("./UpdateElasticsearchDomainConfigCommand"), exports);
42
+ tslib_1.__exportStar(require("./UpdatePackageCommand"), exports);
43
+ tslib_1.__exportStar(require("./UpgradeElasticsearchDomainCommand"), exports);
@@ -3,9 +3,77 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultRegionInfoProvider = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
- fips: {
7
- hostname: "es-fips.us-gov-west-1.amazonaws.com",
8
- signingRegion: "us-gov-west-1",
6
+ "us-east-1": {
7
+ variants: [
8
+ {
9
+ hostname: "es.us-east-1.amazonaws.com",
10
+ tags: [],
11
+ },
12
+ {
13
+ hostname: "es-fips.us-east-1.amazonaws.com",
14
+ tags: ["fips"],
15
+ },
16
+ ],
17
+ },
18
+ "us-east-2": {
19
+ variants: [
20
+ {
21
+ hostname: "es.us-east-2.amazonaws.com",
22
+ tags: [],
23
+ },
24
+ {
25
+ hostname: "es-fips.us-east-2.amazonaws.com",
26
+ tags: ["fips"],
27
+ },
28
+ ],
29
+ },
30
+ "us-gov-east-1": {
31
+ variants: [
32
+ {
33
+ hostname: "es.us-gov-east-1.amazonaws.com",
34
+ tags: [],
35
+ },
36
+ {
37
+ hostname: "es-fips.us-gov-east-1.amazonaws.com",
38
+ tags: ["fips"],
39
+ },
40
+ ],
41
+ },
42
+ "us-gov-west-1": {
43
+ variants: [
44
+ {
45
+ hostname: "es.us-gov-west-1.amazonaws.com",
46
+ tags: [],
47
+ },
48
+ {
49
+ hostname: "es-fips.us-gov-west-1.amazonaws.com",
50
+ tags: ["fips"],
51
+ },
52
+ ],
53
+ },
54
+ "us-west-1": {
55
+ variants: [
56
+ {
57
+ hostname: "es.us-west-1.amazonaws.com",
58
+ tags: [],
59
+ },
60
+ {
61
+ hostname: "es-fips.us-west-1.amazonaws.com",
62
+ tags: ["fips"],
63
+ },
64
+ ],
65
+ },
66
+ "us-west-2": {
67
+ variants: [
68
+ {
69
+ hostname: "es.us-west-2.amazonaws.com",
70
+ tags: [],
71
+ },
72
+ {
73
+ hostname: "es-fips.us-west-2.amazonaws.com",
74
+ tags: ["fips"],
75
+ },
76
+ ],
9
77
  },
10
78
  };
11
79
  const partitionHash = {
@@ -30,27 +98,105 @@ const partitionHash = {
30
98
  "me-south-1",
31
99
  "sa-east-1",
32
100
  "us-east-1",
101
+ "us-east-1-fips",
33
102
  "us-east-2",
103
+ "us-east-2-fips",
34
104
  "us-west-1",
105
+ "us-west-1-fips",
35
106
  "us-west-2",
107
+ "us-west-2-fips",
108
+ ],
109
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
110
+ variants: [
111
+ {
112
+ hostname: "es.{region}.amazonaws.com",
113
+ tags: [],
114
+ },
115
+ {
116
+ hostname: "es-fips.{region}.amazonaws.com",
117
+ tags: ["fips"],
118
+ },
119
+ {
120
+ hostname: "es-fips.{region}.api.aws",
121
+ tags: ["dualstack", "fips"],
122
+ },
123
+ {
124
+ hostname: "es.{region}.api.aws",
125
+ tags: ["dualstack"],
126
+ },
36
127
  ],
37
- hostname: "es.{region}.amazonaws.com",
38
128
  },
39
129
  "aws-cn": {
40
130
  regions: ["cn-north-1", "cn-northwest-1"],
41
- hostname: "es.{region}.amazonaws.com.cn",
131
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
132
+ variants: [
133
+ {
134
+ hostname: "es.{region}.amazonaws.com.cn",
135
+ tags: [],
136
+ },
137
+ {
138
+ hostname: "es-fips.{region}.amazonaws.com.cn",
139
+ tags: ["fips"],
140
+ },
141
+ {
142
+ hostname: "es-fips.{region}.api.amazonwebservices.com.cn",
143
+ tags: ["dualstack", "fips"],
144
+ },
145
+ {
146
+ hostname: "es.{region}.api.amazonwebservices.com.cn",
147
+ tags: ["dualstack"],
148
+ },
149
+ ],
42
150
  },
43
151
  "aws-iso": {
44
152
  regions: ["us-iso-east-1", "us-iso-west-1"],
45
- hostname: "es.{region}.c2s.ic.gov",
153
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
154
+ variants: [
155
+ {
156
+ hostname: "es.{region}.c2s.ic.gov",
157
+ tags: [],
158
+ },
159
+ {
160
+ hostname: "es-fips.{region}.c2s.ic.gov",
161
+ tags: ["fips"],
162
+ },
163
+ ],
46
164
  },
47
165
  "aws-iso-b": {
48
166
  regions: ["us-isob-east-1"],
49
- hostname: "es.{region}.sc2s.sgov.gov",
167
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
168
+ variants: [
169
+ {
170
+ hostname: "es.{region}.sc2s.sgov.gov",
171
+ tags: [],
172
+ },
173
+ {
174
+ hostname: "es-fips.{region}.sc2s.sgov.gov",
175
+ tags: ["fips"],
176
+ },
177
+ ],
50
178
  },
51
179
  "aws-us-gov": {
52
- regions: ["fips", "us-gov-east-1", "us-gov-west-1"],
53
- hostname: "es.{region}.amazonaws.com",
180
+ regions: ["fips", "us-gov-east-1", "us-gov-east-1-fips", "us-gov-west-1", "us-gov-west-1-fips"],
181
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
182
+ variants: [
183
+ {
184
+ hostname: "es.{region}.amazonaws.com",
185
+ tags: [],
186
+ },
187
+ {
188
+ hostname: "es-fips.{region}.amazonaws.com",
189
+ tags: ["fips"],
190
+ },
191
+ {
192
+ hostname: "es-fips.{region}.api.aws",
193
+ tags: ["dualstack", "fips"],
194
+ },
195
+ {
196
+ hostname: "es.{region}.api.aws",
197
+ tags: ["dualstack"],
198
+ },
199
+ ],
54
200
  },
55
201
  };
56
202
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
package/dist-cjs/index.js CHANGED
@@ -1,59 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./ElasticsearchServiceClient"), exports);
5
4
  tslib_1.__exportStar(require("./ElasticsearchService"), exports);
6
- tslib_1.__exportStar(require("./commands/AcceptInboundCrossClusterSearchConnectionCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/AddTagsCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/AssociatePackageCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CancelElasticsearchServiceSoftwareUpdateCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateElasticsearchDomainCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/CreateOutboundCrossClusterSearchConnectionCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/CreatePackageCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/DeleteElasticsearchDomainCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/DeleteElasticsearchServiceRoleCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/DeleteInboundCrossClusterSearchConnectionCommand"), exports);
16
- tslib_1.__exportStar(require("./commands/DeleteOutboundCrossClusterSearchConnectionCommand"), exports);
17
- tslib_1.__exportStar(require("./commands/DeletePackageCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/DescribeDomainAutoTunesCommand"), exports);
19
- tslib_1.__exportStar(require("./pagination/DescribeDomainAutoTunesPaginator"), exports);
20
- tslib_1.__exportStar(require("./commands/DescribeElasticsearchDomainCommand"), exports);
21
- tslib_1.__exportStar(require("./commands/DescribeElasticsearchDomainConfigCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/DescribeElasticsearchDomainsCommand"), exports);
23
- tslib_1.__exportStar(require("./commands/DescribeElasticsearchInstanceTypeLimitsCommand"), exports);
24
- tslib_1.__exportStar(require("./commands/DescribeInboundCrossClusterSearchConnectionsCommand"), exports);
25
- tslib_1.__exportStar(require("./pagination/DescribeInboundCrossClusterSearchConnectionsPaginator"), exports);
26
- tslib_1.__exportStar(require("./commands/DescribeOutboundCrossClusterSearchConnectionsCommand"), exports);
27
- tslib_1.__exportStar(require("./pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator"), exports);
28
- tslib_1.__exportStar(require("./commands/DescribePackagesCommand"), exports);
29
- tslib_1.__exportStar(require("./pagination/DescribePackagesPaginator"), exports);
30
- tslib_1.__exportStar(require("./commands/DescribeReservedElasticsearchInstanceOfferingsCommand"), exports);
31
- tslib_1.__exportStar(require("./pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator"), exports);
32
- tslib_1.__exportStar(require("./commands/DescribeReservedElasticsearchInstancesCommand"), exports);
33
- tslib_1.__exportStar(require("./pagination/DescribeReservedElasticsearchInstancesPaginator"), exports);
34
- tslib_1.__exportStar(require("./commands/DissociatePackageCommand"), exports);
35
- tslib_1.__exportStar(require("./commands/GetCompatibleElasticsearchVersionsCommand"), exports);
36
- tslib_1.__exportStar(require("./commands/GetPackageVersionHistoryCommand"), exports);
37
- tslib_1.__exportStar(require("./pagination/GetPackageVersionHistoryPaginator"), exports);
38
- tslib_1.__exportStar(require("./commands/GetUpgradeHistoryCommand"), exports);
39
- tslib_1.__exportStar(require("./pagination/GetUpgradeHistoryPaginator"), exports);
40
- tslib_1.__exportStar(require("./commands/GetUpgradeStatusCommand"), exports);
41
- tslib_1.__exportStar(require("./commands/ListDomainNamesCommand"), exports);
42
- tslib_1.__exportStar(require("./commands/ListDomainsForPackageCommand"), exports);
43
- tslib_1.__exportStar(require("./pagination/ListDomainsForPackagePaginator"), exports);
44
- tslib_1.__exportStar(require("./commands/ListElasticsearchInstanceTypesCommand"), exports);
45
- tslib_1.__exportStar(require("./pagination/ListElasticsearchInstanceTypesPaginator"), exports);
46
- tslib_1.__exportStar(require("./commands/ListElasticsearchVersionsCommand"), exports);
47
- tslib_1.__exportStar(require("./pagination/ListElasticsearchVersionsPaginator"), exports);
48
- tslib_1.__exportStar(require("./commands/ListPackagesForDomainCommand"), exports);
49
- tslib_1.__exportStar(require("./pagination/ListPackagesForDomainPaginator"), exports);
50
- tslib_1.__exportStar(require("./commands/ListTagsCommand"), exports);
51
- tslib_1.__exportStar(require("./commands/PurchaseReservedElasticsearchInstanceOfferingCommand"), exports);
52
- tslib_1.__exportStar(require("./commands/RejectInboundCrossClusterSearchConnectionCommand"), exports);
53
- tslib_1.__exportStar(require("./commands/RemoveTagsCommand"), exports);
54
- tslib_1.__exportStar(require("./commands/StartElasticsearchServiceSoftwareUpdateCommand"), exports);
55
- tslib_1.__exportStar(require("./commands/UpdateElasticsearchDomainConfigCommand"), exports);
56
- tslib_1.__exportStar(require("./commands/UpdatePackageCommand"), exports);
57
- tslib_1.__exportStar(require("./commands/UpgradeElasticsearchDomainCommand"), exports);
58
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
59
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./ElasticsearchServiceClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DescribeDomainAutoTunesPaginator"), exports);
5
+ tslib_1.__exportStar(require("./DescribeInboundCrossClusterSearchConnectionsPaginator"), exports);
6
+ tslib_1.__exportStar(require("./DescribeOutboundCrossClusterSearchConnectionsPaginator"), exports);
7
+ tslib_1.__exportStar(require("./DescribePackagesPaginator"), exports);
8
+ tslib_1.__exportStar(require("./DescribeReservedElasticsearchInstanceOfferingsPaginator"), exports);
9
+ tslib_1.__exportStar(require("./DescribeReservedElasticsearchInstancesPaginator"), exports);
10
+ tslib_1.__exportStar(require("./GetPackageVersionHistoryPaginator"), exports);
11
+ tslib_1.__exportStar(require("./GetUpgradeHistoryPaginator"), exports);
12
+ tslib_1.__exportStar(require("./Interfaces"), exports);
13
+ tslib_1.__exportStar(require("./ListDomainsForPackagePaginator"), exports);
14
+ tslib_1.__exportStar(require("./ListElasticsearchInstanceTypesPaginator"), exports);
15
+ tslib_1.__exportStar(require("./ListElasticsearchVersionsPaginator"), exports);
16
+ tslib_1.__exportStar(require("./ListPackagesForDomainPaginator"), exports);
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
16
  const getRuntimeConfig = (config) => {
16
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
18
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
18
19
  return {
19
20
  ...clientSharedValues,
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
30
31
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
31
32
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
32
33
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
33
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8,
34
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8,
34
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
35
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
36
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
37
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
35
38
  };
36
39
  };
37
40
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const getRuntimeConfig = (config) => {
20
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
23
  return {
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
35
35
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
36
36
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
37
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8,
39
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8,
38
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
39
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
40
+ utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
41
+ utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
40
42
  };
41
43
  };
42
44
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,40 @@
1
+ export * from "./AcceptInboundCrossClusterSearchConnectionCommand";
2
+ export * from "./AddTagsCommand";
3
+ export * from "./AssociatePackageCommand";
4
+ export * from "./CancelElasticsearchServiceSoftwareUpdateCommand";
5
+ export * from "./CreateElasticsearchDomainCommand";
6
+ export * from "./CreateOutboundCrossClusterSearchConnectionCommand";
7
+ export * from "./CreatePackageCommand";
8
+ export * from "./DeleteElasticsearchDomainCommand";
9
+ export * from "./DeleteElasticsearchServiceRoleCommand";
10
+ export * from "./DeleteInboundCrossClusterSearchConnectionCommand";
11
+ export * from "./DeleteOutboundCrossClusterSearchConnectionCommand";
12
+ export * from "./DeletePackageCommand";
13
+ export * from "./DescribeDomainAutoTunesCommand";
14
+ export * from "./DescribeElasticsearchDomainCommand";
15
+ export * from "./DescribeElasticsearchDomainConfigCommand";
16
+ export * from "./DescribeElasticsearchDomainsCommand";
17
+ export * from "./DescribeElasticsearchInstanceTypeLimitsCommand";
18
+ export * from "./DescribeInboundCrossClusterSearchConnectionsCommand";
19
+ export * from "./DescribeOutboundCrossClusterSearchConnectionsCommand";
20
+ export * from "./DescribePackagesCommand";
21
+ export * from "./DescribeReservedElasticsearchInstanceOfferingsCommand";
22
+ export * from "./DescribeReservedElasticsearchInstancesCommand";
23
+ export * from "./DissociatePackageCommand";
24
+ export * from "./GetCompatibleElasticsearchVersionsCommand";
25
+ export * from "./GetPackageVersionHistoryCommand";
26
+ export * from "./GetUpgradeHistoryCommand";
27
+ export * from "./GetUpgradeStatusCommand";
28
+ export * from "./ListDomainNamesCommand";
29
+ export * from "./ListDomainsForPackageCommand";
30
+ export * from "./ListElasticsearchInstanceTypesCommand";
31
+ export * from "./ListElasticsearchVersionsCommand";
32
+ export * from "./ListPackagesForDomainCommand";
33
+ export * from "./ListTagsCommand";
34
+ export * from "./PurchaseReservedElasticsearchInstanceOfferingCommand";
35
+ export * from "./RejectInboundCrossClusterSearchConnectionCommand";
36
+ export * from "./RemoveTagsCommand";
37
+ export * from "./StartElasticsearchServiceSoftwareUpdateCommand";
38
+ export * from "./UpdateElasticsearchDomainConfigCommand";
39
+ export * from "./UpdatePackageCommand";
40
+ export * from "./UpgradeElasticsearchDomainCommand";
@@ -1,9 +1,77 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
- fips: {
5
- hostname: "es-fips.us-gov-west-1.amazonaws.com",
6
- signingRegion: "us-gov-west-1",
4
+ "us-east-1": {
5
+ variants: [
6
+ {
7
+ hostname: "es.us-east-1.amazonaws.com",
8
+ tags: [],
9
+ },
10
+ {
11
+ hostname: "es-fips.us-east-1.amazonaws.com",
12
+ tags: ["fips"],
13
+ },
14
+ ],
15
+ },
16
+ "us-east-2": {
17
+ variants: [
18
+ {
19
+ hostname: "es.us-east-2.amazonaws.com",
20
+ tags: [],
21
+ },
22
+ {
23
+ hostname: "es-fips.us-east-2.amazonaws.com",
24
+ tags: ["fips"],
25
+ },
26
+ ],
27
+ },
28
+ "us-gov-east-1": {
29
+ variants: [
30
+ {
31
+ hostname: "es.us-gov-east-1.amazonaws.com",
32
+ tags: [],
33
+ },
34
+ {
35
+ hostname: "es-fips.us-gov-east-1.amazonaws.com",
36
+ tags: ["fips"],
37
+ },
38
+ ],
39
+ },
40
+ "us-gov-west-1": {
41
+ variants: [
42
+ {
43
+ hostname: "es.us-gov-west-1.amazonaws.com",
44
+ tags: [],
45
+ },
46
+ {
47
+ hostname: "es-fips.us-gov-west-1.amazonaws.com",
48
+ tags: ["fips"],
49
+ },
50
+ ],
51
+ },
52
+ "us-west-1": {
53
+ variants: [
54
+ {
55
+ hostname: "es.us-west-1.amazonaws.com",
56
+ tags: [],
57
+ },
58
+ {
59
+ hostname: "es-fips.us-west-1.amazonaws.com",
60
+ tags: ["fips"],
61
+ },
62
+ ],
63
+ },
64
+ "us-west-2": {
65
+ variants: [
66
+ {
67
+ hostname: "es.us-west-2.amazonaws.com",
68
+ tags: [],
69
+ },
70
+ {
71
+ hostname: "es-fips.us-west-2.amazonaws.com",
72
+ tags: ["fips"],
73
+ },
74
+ ],
7
75
  },
8
76
  };
9
77
  var partitionHash = {
@@ -28,27 +96,105 @@ var partitionHash = {
28
96
  "me-south-1",
29
97
  "sa-east-1",
30
98
  "us-east-1",
99
+ "us-east-1-fips",
31
100
  "us-east-2",
101
+ "us-east-2-fips",
32
102
  "us-west-1",
103
+ "us-west-1-fips",
33
104
  "us-west-2",
105
+ "us-west-2-fips",
106
+ ],
107
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
108
+ variants: [
109
+ {
110
+ hostname: "es.{region}.amazonaws.com",
111
+ tags: [],
112
+ },
113
+ {
114
+ hostname: "es-fips.{region}.amazonaws.com",
115
+ tags: ["fips"],
116
+ },
117
+ {
118
+ hostname: "es-fips.{region}.api.aws",
119
+ tags: ["dualstack", "fips"],
120
+ },
121
+ {
122
+ hostname: "es.{region}.api.aws",
123
+ tags: ["dualstack"],
124
+ },
34
125
  ],
35
- hostname: "es.{region}.amazonaws.com",
36
126
  },
37
127
  "aws-cn": {
38
128
  regions: ["cn-north-1", "cn-northwest-1"],
39
- hostname: "es.{region}.amazonaws.com.cn",
129
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
130
+ variants: [
131
+ {
132
+ hostname: "es.{region}.amazonaws.com.cn",
133
+ tags: [],
134
+ },
135
+ {
136
+ hostname: "es-fips.{region}.amazonaws.com.cn",
137
+ tags: ["fips"],
138
+ },
139
+ {
140
+ hostname: "es-fips.{region}.api.amazonwebservices.com.cn",
141
+ tags: ["dualstack", "fips"],
142
+ },
143
+ {
144
+ hostname: "es.{region}.api.amazonwebservices.com.cn",
145
+ tags: ["dualstack"],
146
+ },
147
+ ],
40
148
  },
41
149
  "aws-iso": {
42
150
  regions: ["us-iso-east-1", "us-iso-west-1"],
43
- hostname: "es.{region}.c2s.ic.gov",
151
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
152
+ variants: [
153
+ {
154
+ hostname: "es.{region}.c2s.ic.gov",
155
+ tags: [],
156
+ },
157
+ {
158
+ hostname: "es-fips.{region}.c2s.ic.gov",
159
+ tags: ["fips"],
160
+ },
161
+ ],
44
162
  },
45
163
  "aws-iso-b": {
46
164
  regions: ["us-isob-east-1"],
47
- hostname: "es.{region}.sc2s.sgov.gov",
165
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
166
+ variants: [
167
+ {
168
+ hostname: "es.{region}.sc2s.sgov.gov",
169
+ tags: [],
170
+ },
171
+ {
172
+ hostname: "es-fips.{region}.sc2s.sgov.gov",
173
+ tags: ["fips"],
174
+ },
175
+ ],
48
176
  },
49
177
  "aws-us-gov": {
50
- regions: ["fips", "us-gov-east-1", "us-gov-west-1"],
51
- hostname: "es.{region}.amazonaws.com",
178
+ regions: ["fips", "us-gov-east-1", "us-gov-east-1-fips", "us-gov-west-1", "us-gov-west-1-fips"],
179
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
180
+ variants: [
181
+ {
182
+ hostname: "es.{region}.amazonaws.com",
183
+ tags: [],
184
+ },
185
+ {
186
+ hostname: "es-fips.{region}.amazonaws.com",
187
+ tags: ["fips"],
188
+ },
189
+ {
190
+ hostname: "es-fips.{region}.api.aws",
191
+ tags: ["dualstack", "fips"],
192
+ },
193
+ {
194
+ hostname: "es.{region}.api.aws",
195
+ tags: ["dualstack"],
196
+ },
197
+ ],
52
198
  },
53
199
  };
54
200
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {