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