@aws-sdk/client-cloudwatch-events 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 (236) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/CloudWatchEventsClient.js +11 -8
  3. package/dist-cjs/commands/ActivateEventSourceCommand.js +10 -0
  4. package/dist-cjs/commands/CancelReplayCommand.js +10 -0
  5. package/dist-cjs/commands/CreateApiDestinationCommand.js +10 -0
  6. package/dist-cjs/commands/CreateArchiveCommand.js +10 -0
  7. package/dist-cjs/commands/CreateConnectionCommand.js +10 -0
  8. package/dist-cjs/commands/CreateEventBusCommand.js +10 -0
  9. package/dist-cjs/commands/CreatePartnerEventSourceCommand.js +10 -0
  10. package/dist-cjs/commands/DeactivateEventSourceCommand.js +10 -0
  11. package/dist-cjs/commands/DeauthorizeConnectionCommand.js +10 -0
  12. package/dist-cjs/commands/DeleteApiDestinationCommand.js +10 -0
  13. package/dist-cjs/commands/DeleteArchiveCommand.js +10 -0
  14. package/dist-cjs/commands/DeleteConnectionCommand.js +10 -0
  15. package/dist-cjs/commands/DeleteEventBusCommand.js +10 -0
  16. package/dist-cjs/commands/DeletePartnerEventSourceCommand.js +10 -0
  17. package/dist-cjs/commands/DeleteRuleCommand.js +10 -0
  18. package/dist-cjs/commands/DescribeApiDestinationCommand.js +10 -0
  19. package/dist-cjs/commands/DescribeArchiveCommand.js +10 -0
  20. package/dist-cjs/commands/DescribeConnectionCommand.js +10 -0
  21. package/dist-cjs/commands/DescribeEventBusCommand.js +10 -0
  22. package/dist-cjs/commands/DescribeEventSourceCommand.js +10 -0
  23. package/dist-cjs/commands/DescribePartnerEventSourceCommand.js +10 -0
  24. package/dist-cjs/commands/DescribeReplayCommand.js +10 -0
  25. package/dist-cjs/commands/DescribeRuleCommand.js +10 -0
  26. package/dist-cjs/commands/DisableRuleCommand.js +10 -0
  27. package/dist-cjs/commands/EnableRuleCommand.js +10 -0
  28. package/dist-cjs/commands/ListApiDestinationsCommand.js +10 -0
  29. package/dist-cjs/commands/ListArchivesCommand.js +10 -0
  30. package/dist-cjs/commands/ListConnectionsCommand.js +10 -0
  31. package/dist-cjs/commands/ListEventBusesCommand.js +10 -0
  32. package/dist-cjs/commands/ListEventSourcesCommand.js +10 -0
  33. package/dist-cjs/commands/ListPartnerEventSourceAccountsCommand.js +10 -0
  34. package/dist-cjs/commands/ListPartnerEventSourcesCommand.js +10 -0
  35. package/dist-cjs/commands/ListReplaysCommand.js +10 -0
  36. package/dist-cjs/commands/ListRuleNamesByTargetCommand.js +10 -0
  37. package/dist-cjs/commands/ListRulesCommand.js +10 -0
  38. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  39. package/dist-cjs/commands/ListTargetsByRuleCommand.js +10 -0
  40. package/dist-cjs/commands/PutEventsCommand.js +10 -0
  41. package/dist-cjs/commands/PutPartnerEventsCommand.js +10 -0
  42. package/dist-cjs/commands/PutPermissionCommand.js +10 -0
  43. package/dist-cjs/commands/PutRuleCommand.js +10 -0
  44. package/dist-cjs/commands/PutTargetsCommand.js +10 -0
  45. package/dist-cjs/commands/RemovePermissionCommand.js +10 -0
  46. package/dist-cjs/commands/RemoveTargetsCommand.js +10 -0
  47. package/dist-cjs/commands/StartReplayCommand.js +10 -0
  48. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  49. package/dist-cjs/commands/TestEventPatternCommand.js +10 -0
  50. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  51. package/dist-cjs/commands/UpdateApiDestinationCommand.js +10 -0
  52. package/dist-cjs/commands/UpdateArchiveCommand.js +10 -0
  53. package/dist-cjs/commands/UpdateConnectionCommand.js +10 -0
  54. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  55. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  56. package/dist-cjs/endpoint/ruleset.js +356 -0
  57. package/dist-cjs/runtimeConfig.shared.js +3 -3
  58. package/dist-es/CloudWatchEventsClient.js +12 -9
  59. package/dist-es/commands/ActivateEventSourceCommand.js +10 -0
  60. package/dist-es/commands/CancelReplayCommand.js +10 -0
  61. package/dist-es/commands/CreateApiDestinationCommand.js +10 -0
  62. package/dist-es/commands/CreateArchiveCommand.js +10 -0
  63. package/dist-es/commands/CreateConnectionCommand.js +10 -0
  64. package/dist-es/commands/CreateEventBusCommand.js +10 -0
  65. package/dist-es/commands/CreatePartnerEventSourceCommand.js +10 -0
  66. package/dist-es/commands/DeactivateEventSourceCommand.js +10 -0
  67. package/dist-es/commands/DeauthorizeConnectionCommand.js +10 -0
  68. package/dist-es/commands/DeleteApiDestinationCommand.js +10 -0
  69. package/dist-es/commands/DeleteArchiveCommand.js +10 -0
  70. package/dist-es/commands/DeleteConnectionCommand.js +10 -0
  71. package/dist-es/commands/DeleteEventBusCommand.js +10 -0
  72. package/dist-es/commands/DeletePartnerEventSourceCommand.js +10 -0
  73. package/dist-es/commands/DeleteRuleCommand.js +10 -0
  74. package/dist-es/commands/DescribeApiDestinationCommand.js +10 -0
  75. package/dist-es/commands/DescribeArchiveCommand.js +10 -0
  76. package/dist-es/commands/DescribeConnectionCommand.js +10 -0
  77. package/dist-es/commands/DescribeEventBusCommand.js +10 -0
  78. package/dist-es/commands/DescribeEventSourceCommand.js +10 -0
  79. package/dist-es/commands/DescribePartnerEventSourceCommand.js +10 -0
  80. package/dist-es/commands/DescribeReplayCommand.js +10 -0
  81. package/dist-es/commands/DescribeRuleCommand.js +10 -0
  82. package/dist-es/commands/DisableRuleCommand.js +10 -0
  83. package/dist-es/commands/EnableRuleCommand.js +10 -0
  84. package/dist-es/commands/ListApiDestinationsCommand.js +10 -0
  85. package/dist-es/commands/ListArchivesCommand.js +10 -0
  86. package/dist-es/commands/ListConnectionsCommand.js +10 -0
  87. package/dist-es/commands/ListEventBusesCommand.js +10 -0
  88. package/dist-es/commands/ListEventSourcesCommand.js +10 -0
  89. package/dist-es/commands/ListPartnerEventSourceAccountsCommand.js +10 -0
  90. package/dist-es/commands/ListPartnerEventSourcesCommand.js +10 -0
  91. package/dist-es/commands/ListReplaysCommand.js +10 -0
  92. package/dist-es/commands/ListRuleNamesByTargetCommand.js +10 -0
  93. package/dist-es/commands/ListRulesCommand.js +10 -0
  94. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  95. package/dist-es/commands/ListTargetsByRuleCommand.js +10 -0
  96. package/dist-es/commands/PutEventsCommand.js +10 -0
  97. package/dist-es/commands/PutPartnerEventsCommand.js +10 -0
  98. package/dist-es/commands/PutPermissionCommand.js +10 -0
  99. package/dist-es/commands/PutRuleCommand.js +10 -0
  100. package/dist-es/commands/PutTargetsCommand.js +10 -0
  101. package/dist-es/commands/RemovePermissionCommand.js +10 -0
  102. package/dist-es/commands/RemoveTargetsCommand.js +10 -0
  103. package/dist-es/commands/StartReplayCommand.js +10 -0
  104. package/dist-es/commands/TagResourceCommand.js +10 -0
  105. package/dist-es/commands/TestEventPatternCommand.js +10 -0
  106. package/dist-es/commands/UntagResourceCommand.js +10 -0
  107. package/dist-es/commands/UpdateApiDestinationCommand.js +10 -0
  108. package/dist-es/commands/UpdateArchiveCommand.js +10 -0
  109. package/dist-es/commands/UpdateConnectionCommand.js +10 -0
  110. package/dist-es/endpoint/EndpointParameters.js +8 -0
  111. package/dist-es/endpoint/endpointResolver.js +8 -0
  112. package/dist-es/endpoint/ruleset.js +353 -0
  113. package/dist-es/runtimeConfig.shared.js +2 -2
  114. package/dist-types/CloudWatchEventsClient.d.ts +6 -9
  115. package/dist-types/commands/ActivateEventSourceCommand.d.ts +2 -0
  116. package/dist-types/commands/CancelReplayCommand.d.ts +2 -0
  117. package/dist-types/commands/CreateApiDestinationCommand.d.ts +2 -0
  118. package/dist-types/commands/CreateArchiveCommand.d.ts +2 -0
  119. package/dist-types/commands/CreateConnectionCommand.d.ts +2 -0
  120. package/dist-types/commands/CreateEventBusCommand.d.ts +2 -0
  121. package/dist-types/commands/CreatePartnerEventSourceCommand.d.ts +2 -0
  122. package/dist-types/commands/DeactivateEventSourceCommand.d.ts +2 -0
  123. package/dist-types/commands/DeauthorizeConnectionCommand.d.ts +2 -0
  124. package/dist-types/commands/DeleteApiDestinationCommand.d.ts +2 -0
  125. package/dist-types/commands/DeleteArchiveCommand.d.ts +2 -0
  126. package/dist-types/commands/DeleteConnectionCommand.d.ts +2 -0
  127. package/dist-types/commands/DeleteEventBusCommand.d.ts +2 -0
  128. package/dist-types/commands/DeletePartnerEventSourceCommand.d.ts +2 -0
  129. package/dist-types/commands/DeleteRuleCommand.d.ts +2 -0
  130. package/dist-types/commands/DescribeApiDestinationCommand.d.ts +2 -0
  131. package/dist-types/commands/DescribeArchiveCommand.d.ts +2 -0
  132. package/dist-types/commands/DescribeConnectionCommand.d.ts +2 -0
  133. package/dist-types/commands/DescribeEventBusCommand.d.ts +2 -0
  134. package/dist-types/commands/DescribeEventSourceCommand.d.ts +2 -0
  135. package/dist-types/commands/DescribePartnerEventSourceCommand.d.ts +2 -0
  136. package/dist-types/commands/DescribeReplayCommand.d.ts +2 -0
  137. package/dist-types/commands/DescribeRuleCommand.d.ts +2 -0
  138. package/dist-types/commands/DisableRuleCommand.d.ts +2 -0
  139. package/dist-types/commands/EnableRuleCommand.d.ts +2 -0
  140. package/dist-types/commands/ListApiDestinationsCommand.d.ts +2 -0
  141. package/dist-types/commands/ListArchivesCommand.d.ts +2 -0
  142. package/dist-types/commands/ListConnectionsCommand.d.ts +2 -0
  143. package/dist-types/commands/ListEventBusesCommand.d.ts +2 -0
  144. package/dist-types/commands/ListEventSourcesCommand.d.ts +2 -0
  145. package/dist-types/commands/ListPartnerEventSourceAccountsCommand.d.ts +2 -0
  146. package/dist-types/commands/ListPartnerEventSourcesCommand.d.ts +2 -0
  147. package/dist-types/commands/ListReplaysCommand.d.ts +2 -0
  148. package/dist-types/commands/ListRuleNamesByTargetCommand.d.ts +2 -0
  149. package/dist-types/commands/ListRulesCommand.d.ts +2 -0
  150. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  151. package/dist-types/commands/ListTargetsByRuleCommand.d.ts +2 -0
  152. package/dist-types/commands/PutEventsCommand.d.ts +2 -0
  153. package/dist-types/commands/PutPartnerEventsCommand.d.ts +2 -0
  154. package/dist-types/commands/PutPermissionCommand.d.ts +2 -0
  155. package/dist-types/commands/PutRuleCommand.d.ts +2 -0
  156. package/dist-types/commands/PutTargetsCommand.d.ts +2 -0
  157. package/dist-types/commands/RemovePermissionCommand.d.ts +2 -0
  158. package/dist-types/commands/RemoveTargetsCommand.d.ts +2 -0
  159. package/dist-types/commands/StartReplayCommand.d.ts +2 -0
  160. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  161. package/dist-types/commands/TestEventPatternCommand.d.ts +2 -0
  162. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  163. package/dist-types/commands/UpdateApiDestinationCommand.d.ts +2 -0
  164. package/dist-types/commands/UpdateArchiveCommand.d.ts +2 -0
  165. package/dist-types/commands/UpdateConnectionCommand.d.ts +2 -0
  166. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  167. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  168. package/dist-types/endpoint/ruleset.d.ts +2 -0
  169. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  170. package/dist-types/runtimeConfig.d.ts +4 -2
  171. package/dist-types/runtimeConfig.native.d.ts +4 -2
  172. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  173. package/dist-types/ts3.4/CloudWatchEventsClient.d.ts +15 -8
  174. package/dist-types/ts3.4/commands/ActivateEventSourceCommand.d.ts +2 -0
  175. package/dist-types/ts3.4/commands/CancelReplayCommand.d.ts +2 -0
  176. package/dist-types/ts3.4/commands/CreateApiDestinationCommand.d.ts +2 -0
  177. package/dist-types/ts3.4/commands/CreateArchiveCommand.d.ts +2 -0
  178. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +2 -0
  179. package/dist-types/ts3.4/commands/CreateEventBusCommand.d.ts +2 -0
  180. package/dist-types/ts3.4/commands/CreatePartnerEventSourceCommand.d.ts +2 -0
  181. package/dist-types/ts3.4/commands/DeactivateEventSourceCommand.d.ts +2 -0
  182. package/dist-types/ts3.4/commands/DeauthorizeConnectionCommand.d.ts +2 -0
  183. package/dist-types/ts3.4/commands/DeleteApiDestinationCommand.d.ts +2 -0
  184. package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +2 -0
  185. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +2 -0
  186. package/dist-types/ts3.4/commands/DeleteEventBusCommand.d.ts +2 -0
  187. package/dist-types/ts3.4/commands/DeletePartnerEventSourceCommand.d.ts +2 -0
  188. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -0
  189. package/dist-types/ts3.4/commands/DescribeApiDestinationCommand.d.ts +2 -0
  190. package/dist-types/ts3.4/commands/DescribeArchiveCommand.d.ts +2 -0
  191. package/dist-types/ts3.4/commands/DescribeConnectionCommand.d.ts +2 -0
  192. package/dist-types/ts3.4/commands/DescribeEventBusCommand.d.ts +2 -0
  193. package/dist-types/ts3.4/commands/DescribeEventSourceCommand.d.ts +2 -0
  194. package/dist-types/ts3.4/commands/DescribePartnerEventSourceCommand.d.ts +2 -0
  195. package/dist-types/ts3.4/commands/DescribeReplayCommand.d.ts +2 -0
  196. package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +2 -0
  197. package/dist-types/ts3.4/commands/DisableRuleCommand.d.ts +2 -0
  198. package/dist-types/ts3.4/commands/EnableRuleCommand.d.ts +2 -0
  199. package/dist-types/ts3.4/commands/ListApiDestinationsCommand.d.ts +2 -0
  200. package/dist-types/ts3.4/commands/ListArchivesCommand.d.ts +2 -0
  201. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +2 -0
  202. package/dist-types/ts3.4/commands/ListEventBusesCommand.d.ts +2 -0
  203. package/dist-types/ts3.4/commands/ListEventSourcesCommand.d.ts +2 -0
  204. package/dist-types/ts3.4/commands/ListPartnerEventSourceAccountsCommand.d.ts +2 -0
  205. package/dist-types/ts3.4/commands/ListPartnerEventSourcesCommand.d.ts +2 -0
  206. package/dist-types/ts3.4/commands/ListReplaysCommand.d.ts +2 -0
  207. package/dist-types/ts3.4/commands/ListRuleNamesByTargetCommand.d.ts +2 -0
  208. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +2 -0
  209. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  210. package/dist-types/ts3.4/commands/ListTargetsByRuleCommand.d.ts +2 -0
  211. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +2 -0
  212. package/dist-types/ts3.4/commands/PutPartnerEventsCommand.d.ts +2 -0
  213. package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +2 -0
  214. package/dist-types/ts3.4/commands/PutRuleCommand.d.ts +2 -0
  215. package/dist-types/ts3.4/commands/PutTargetsCommand.d.ts +2 -0
  216. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -0
  217. package/dist-types/ts3.4/commands/RemoveTargetsCommand.d.ts +2 -0
  218. package/dist-types/ts3.4/commands/StartReplayCommand.d.ts +2 -0
  219. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  220. package/dist-types/ts3.4/commands/TestEventPatternCommand.d.ts +2 -0
  221. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  222. package/dist-types/ts3.4/commands/UpdateApiDestinationCommand.d.ts +2 -0
  223. package/dist-types/ts3.4/commands/UpdateArchiveCommand.d.ts +2 -0
  224. package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +2 -0
  225. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  226. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  227. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  228. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  229. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  230. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  231. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  232. package/package.json +5 -3
  233. package/dist-cjs/endpoints.js +0 -185
  234. package/dist-es/endpoints.js +0 -181
  235. package/dist-types/endpoints.d.ts +0 -2
  236. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -0,0 +1,353 @@
1
+ export const ruleSet = {
2
+ version: "1.0",
3
+ parameters: {
4
+ Region: {
5
+ builtIn: "AWS::Region",
6
+ required: false,
7
+ documentation: "The AWS region used to dispatch the request.",
8
+ type: "String",
9
+ },
10
+ UseDualStack: {
11
+ builtIn: "AWS::UseDualStack",
12
+ required: true,
13
+ default: false,
14
+ documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
15
+ type: "Boolean",
16
+ },
17
+ UseFIPS: {
18
+ builtIn: "AWS::UseFIPS",
19
+ required: true,
20
+ default: false,
21
+ documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
22
+ type: "Boolean",
23
+ },
24
+ Endpoint: {
25
+ builtIn: "SDK::Endpoint",
26
+ required: false,
27
+ documentation: "Override the endpoint used to send this request",
28
+ type: "String",
29
+ },
30
+ },
31
+ rules: [
32
+ {
33
+ conditions: [
34
+ {
35
+ fn: "aws.partition",
36
+ argv: [
37
+ {
38
+ ref: "Region",
39
+ },
40
+ ],
41
+ assign: "PartitionResult",
42
+ },
43
+ ],
44
+ type: "tree",
45
+ rules: [
46
+ {
47
+ conditions: [
48
+ {
49
+ fn: "isSet",
50
+ argv: [
51
+ {
52
+ ref: "Endpoint",
53
+ },
54
+ ],
55
+ },
56
+ {
57
+ fn: "parseURL",
58
+ argv: [
59
+ {
60
+ ref: "Endpoint",
61
+ },
62
+ ],
63
+ assign: "url",
64
+ },
65
+ ],
66
+ type: "tree",
67
+ rules: [
68
+ {
69
+ conditions: [
70
+ {
71
+ fn: "booleanEquals",
72
+ argv: [
73
+ {
74
+ ref: "UseFIPS",
75
+ },
76
+ true,
77
+ ],
78
+ },
79
+ ],
80
+ error: "Invalid Configuration: FIPS and custom endpoint are not supported",
81
+ type: "error",
82
+ },
83
+ {
84
+ conditions: [],
85
+ type: "tree",
86
+ rules: [
87
+ {
88
+ conditions: [
89
+ {
90
+ fn: "booleanEquals",
91
+ argv: [
92
+ {
93
+ ref: "UseDualStack",
94
+ },
95
+ true,
96
+ ],
97
+ },
98
+ ],
99
+ error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
100
+ type: "error",
101
+ },
102
+ {
103
+ conditions: [],
104
+ endpoint: {
105
+ url: {
106
+ ref: "Endpoint",
107
+ },
108
+ properties: {},
109
+ headers: {},
110
+ },
111
+ type: "endpoint",
112
+ },
113
+ ],
114
+ },
115
+ ],
116
+ },
117
+ {
118
+ conditions: [
119
+ {
120
+ fn: "booleanEquals",
121
+ argv: [
122
+ {
123
+ ref: "UseFIPS",
124
+ },
125
+ true,
126
+ ],
127
+ },
128
+ {
129
+ fn: "booleanEquals",
130
+ argv: [
131
+ {
132
+ ref: "UseDualStack",
133
+ },
134
+ true,
135
+ ],
136
+ },
137
+ ],
138
+ type: "tree",
139
+ rules: [
140
+ {
141
+ conditions: [
142
+ {
143
+ fn: "booleanEquals",
144
+ argv: [
145
+ true,
146
+ {
147
+ fn: "getAttr",
148
+ argv: [
149
+ {
150
+ ref: "PartitionResult",
151
+ },
152
+ "supportsFIPS",
153
+ ],
154
+ },
155
+ ],
156
+ },
157
+ {
158
+ fn: "booleanEquals",
159
+ argv: [
160
+ true,
161
+ {
162
+ fn: "getAttr",
163
+ argv: [
164
+ {
165
+ ref: "PartitionResult",
166
+ },
167
+ "supportsDualStack",
168
+ ],
169
+ },
170
+ ],
171
+ },
172
+ ],
173
+ type: "tree",
174
+ rules: [
175
+ {
176
+ conditions: [],
177
+ endpoint: {
178
+ url: "https://events-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
179
+ properties: {},
180
+ headers: {},
181
+ },
182
+ type: "endpoint",
183
+ },
184
+ ],
185
+ },
186
+ {
187
+ conditions: [],
188
+ error: "FIPS and DualStack are enabled, but this partition does not support one or both",
189
+ type: "error",
190
+ },
191
+ ],
192
+ },
193
+ {
194
+ conditions: [
195
+ {
196
+ fn: "booleanEquals",
197
+ argv: [
198
+ {
199
+ ref: "UseFIPS",
200
+ },
201
+ true,
202
+ ],
203
+ },
204
+ ],
205
+ type: "tree",
206
+ rules: [
207
+ {
208
+ conditions: [
209
+ {
210
+ fn: "booleanEquals",
211
+ argv: [
212
+ true,
213
+ {
214
+ fn: "getAttr",
215
+ argv: [
216
+ {
217
+ ref: "PartitionResult",
218
+ },
219
+ "supportsFIPS",
220
+ ],
221
+ },
222
+ ],
223
+ },
224
+ ],
225
+ type: "tree",
226
+ rules: [
227
+ {
228
+ conditions: [],
229
+ type: "tree",
230
+ rules: [
231
+ {
232
+ conditions: [
233
+ {
234
+ fn: "stringEquals",
235
+ argv: [
236
+ {
237
+ ref: "Region",
238
+ },
239
+ "us-gov-west-1",
240
+ ],
241
+ },
242
+ ],
243
+ endpoint: {
244
+ url: "https://events.us-gov-west-1.amazonaws.com",
245
+ properties: {},
246
+ headers: {},
247
+ },
248
+ type: "endpoint",
249
+ },
250
+ {
251
+ conditions: [
252
+ {
253
+ fn: "stringEquals",
254
+ argv: [
255
+ {
256
+ ref: "Region",
257
+ },
258
+ "us-gov-east-1",
259
+ ],
260
+ },
261
+ ],
262
+ endpoint: {
263
+ url: "https://events.us-gov-east-1.amazonaws.com",
264
+ properties: {},
265
+ headers: {},
266
+ },
267
+ type: "endpoint",
268
+ },
269
+ {
270
+ conditions: [],
271
+ endpoint: {
272
+ url: "https://events-fips.{Region}.{PartitionResult#dnsSuffix}",
273
+ properties: {},
274
+ headers: {},
275
+ },
276
+ type: "endpoint",
277
+ },
278
+ ],
279
+ },
280
+ ],
281
+ },
282
+ {
283
+ conditions: [],
284
+ error: "FIPS is enabled but this partition does not support FIPS",
285
+ type: "error",
286
+ },
287
+ ],
288
+ },
289
+ {
290
+ conditions: [
291
+ {
292
+ fn: "booleanEquals",
293
+ argv: [
294
+ {
295
+ ref: "UseDualStack",
296
+ },
297
+ true,
298
+ ],
299
+ },
300
+ ],
301
+ type: "tree",
302
+ rules: [
303
+ {
304
+ conditions: [
305
+ {
306
+ fn: "booleanEquals",
307
+ argv: [
308
+ true,
309
+ {
310
+ fn: "getAttr",
311
+ argv: [
312
+ {
313
+ ref: "PartitionResult",
314
+ },
315
+ "supportsDualStack",
316
+ ],
317
+ },
318
+ ],
319
+ },
320
+ ],
321
+ type: "tree",
322
+ rules: [
323
+ {
324
+ conditions: [],
325
+ endpoint: {
326
+ url: "https://events.{Region}.{PartitionResult#dualStackDnsSuffix}",
327
+ properties: {},
328
+ headers: {},
329
+ },
330
+ type: "endpoint",
331
+ },
332
+ ],
333
+ },
334
+ {
335
+ conditions: [],
336
+ error: "DualStack is enabled but this partition does not support DualStack",
337
+ type: "error",
338
+ },
339
+ ],
340
+ },
341
+ {
342
+ conditions: [],
343
+ endpoint: {
344
+ url: "https://events.{Region}.{PartitionResult#dnsSuffix}",
345
+ properties: {},
346
+ headers: {},
347
+ },
348
+ type: "endpoint",
349
+ },
350
+ ],
351
+ },
352
+ ],
353
+ };
@@ -1,10 +1,10 @@
1
1
  import { parseUrl } from "@aws-sdk/url-parser";
2
- import { defaultRegionInfoProvider } from "./endpoints";
2
+ import { defaultEndpointResolver } from "./endpoint/endpointResolver";
3
3
  export const getRuntimeConfig = (config) => ({
4
4
  apiVersion: "2015-10-07",
5
5
  disableHostPrefix: config?.disableHostPrefix ?? false,
6
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
6
7
  logger: config?.logger ?? {},
7
- regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
8
8
  serviceId: config?.serviceId ?? "CloudWatch Events",
9
9
  urlParser: config?.urlParser ?? parseUrl,
10
10
  });
@@ -1,11 +1,12 @@
1
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
1
+ import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
2
3
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
4
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
5
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
7
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
8
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
10
  import { ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput } from "./commands/ActivateEventSourceCommand";
10
11
  import { CancelReplayCommandInput, CancelReplayCommandOutput } from "./commands/CancelReplayCommand";
11
12
  import { CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput } from "./commands/CreateApiDestinationCommand";
@@ -57,6 +58,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
57
58
  import { UpdateApiDestinationCommandInput, UpdateApiDestinationCommandOutput } from "./commands/UpdateApiDestinationCommand";
58
59
  import { UpdateArchiveCommandInput, UpdateArchiveCommandOutput } from "./commands/UpdateArchiveCommand";
59
60
  import { UpdateConnectionCommandInput, UpdateConnectionCommandOutput } from "./commands/UpdateConnectionCommand";
61
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
60
62
  export declare type ServiceInputTypes = ActivateEventSourceCommandInput | CancelReplayCommandInput | CreateApiDestinationCommandInput | CreateArchiveCommandInput | CreateConnectionCommandInput | CreateEventBusCommandInput | CreatePartnerEventSourceCommandInput | DeactivateEventSourceCommandInput | DeauthorizeConnectionCommandInput | DeleteApiDestinationCommandInput | DeleteArchiveCommandInput | DeleteConnectionCommandInput | DeleteEventBusCommandInput | DeletePartnerEventSourceCommandInput | DeleteRuleCommandInput | DescribeApiDestinationCommandInput | DescribeArchiveCommandInput | DescribeConnectionCommandInput | DescribeEventBusCommandInput | DescribeEventSourceCommandInput | DescribePartnerEventSourceCommandInput | DescribeReplayCommandInput | DescribeRuleCommandInput | DisableRuleCommandInput | EnableRuleCommandInput | ListApiDestinationsCommandInput | ListArchivesCommandInput | ListConnectionsCommandInput | ListEventBusesCommandInput | ListEventSourcesCommandInput | ListPartnerEventSourceAccountsCommandInput | ListPartnerEventSourcesCommandInput | ListReplaysCommandInput | ListRuleNamesByTargetCommandInput | ListRulesCommandInput | ListTagsForResourceCommandInput | ListTargetsByRuleCommandInput | PutEventsCommandInput | PutPartnerEventsCommandInput | PutPermissionCommandInput | PutRuleCommandInput | PutTargetsCommandInput | RemovePermissionCommandInput | RemoveTargetsCommandInput | StartReplayCommandInput | TagResourceCommandInput | TestEventPatternCommandInput | UntagResourceCommandInput | UpdateApiDestinationCommandInput | UpdateArchiveCommandInput | UpdateConnectionCommandInput;
61
63
  export declare type ServiceOutputTypes = ActivateEventSourceCommandOutput | CancelReplayCommandOutput | CreateApiDestinationCommandOutput | CreateArchiveCommandOutput | CreateConnectionCommandOutput | CreateEventBusCommandOutput | CreatePartnerEventSourceCommandOutput | DeactivateEventSourceCommandOutput | DeauthorizeConnectionCommandOutput | DeleteApiDestinationCommandOutput | DeleteArchiveCommandOutput | DeleteConnectionCommandOutput | DeleteEventBusCommandOutput | DeletePartnerEventSourceCommandOutput | DeleteRuleCommandOutput | DescribeApiDestinationCommandOutput | DescribeArchiveCommandOutput | DescribeConnectionCommandOutput | DescribeEventBusCommandOutput | DescribeEventSourceCommandOutput | DescribePartnerEventSourceCommandOutput | DescribeReplayCommandOutput | DescribeRuleCommandOutput | DisableRuleCommandOutput | EnableRuleCommandOutput | ListApiDestinationsCommandOutput | ListArchivesCommandOutput | ListConnectionsCommandOutput | ListEventBusesCommandOutput | ListEventSourcesCommandOutput | ListPartnerEventSourceAccountsCommandOutput | ListPartnerEventSourcesCommandOutput | ListReplaysCommandOutput | ListRuleNamesByTargetCommandOutput | ListRulesCommandOutput | ListTagsForResourceCommandOutput | ListTargetsByRuleCommandOutput | PutEventsCommandOutput | PutPartnerEventsCommandOutput | PutPermissionCommandOutput | PutRuleCommandOutput | PutTargetsCommandOutput | RemovePermissionCommandOutput | RemoveTargetsCommandOutput | StartReplayCommandOutput | TagResourceCommandOutput | TestEventPatternCommandOutput | UntagResourceCommandOutput | UpdateApiDestinationCommandOutput | UpdateArchiveCommandOutput | UpdateConnectionCommandOutput;
62
64
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -149,11 +151,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
149
151
  * @internal
150
152
  */
151
153
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
152
- /**
153
- * Fetch related hostname, signing name or signing region with given region.
154
- * @internal
155
- */
156
- regionInfoProvider?: RegionInfoProvider;
157
154
  /**
158
155
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
159
156
  * @internal
@@ -164,13 +161,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
164
161
  */
165
162
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
166
163
  }
167
- declare type CloudWatchEventsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
164
+ declare type CloudWatchEventsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
168
165
  /**
169
166
  * The configuration interface of CloudWatchEventsClient class constructor that set the region, credentials and other options.
170
167
  */
171
168
  export interface CloudWatchEventsClientConfig extends CloudWatchEventsClientConfigType {
172
169
  }
173
- declare type CloudWatchEventsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
170
+ declare type CloudWatchEventsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
174
171
  /**
175
172
  * The resolved configuration interface of CloudWatchEventsClient class. This is resolved and normalized from the {@link CloudWatchEventsClientConfig | constructor configuration interface}.
176
173
  */
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -26,6 +27,7 @@ export interface ActivateEventSourceCommandOutput extends __MetadataBearer {
26
27
  */
27
28
  export declare class ActivateEventSourceCommand extends $Command<ActivateEventSourceCommandInput, ActivateEventSourceCommandOutput, CloudWatchEventsClientResolvedConfig> {
28
29
  readonly input: ActivateEventSourceCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: ActivateEventSourceCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -25,6 +26,7 @@ export interface CancelReplayCommandOutput extends CancelReplayResponse, __Metad
25
26
  */
26
27
  export declare class CancelReplayCommand extends $Command<CancelReplayCommandInput, CancelReplayCommandOutput, CloudWatchEventsClientResolvedConfig> {
27
28
  readonly input: CancelReplayCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: CancelReplayCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -26,6 +27,7 @@ export interface CreateApiDestinationCommandOutput extends CreateApiDestinationR
26
27
  */
27
28
  export declare class CreateApiDestinationCommand extends $Command<CreateApiDestinationCommandInput, CreateApiDestinationCommandOutput, CloudWatchEventsClientResolvedConfig> {
28
29
  readonly input: CreateApiDestinationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: CreateApiDestinationCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -29,6 +30,7 @@ export interface CreateArchiveCommandOutput extends CreateArchiveResponse, __Met
29
30
  */
30
31
  export declare class CreateArchiveCommand extends $Command<CreateArchiveCommandInput, CreateArchiveCommandOutput, CloudWatchEventsClientResolvedConfig> {
31
32
  readonly input: CreateArchiveCommandInput;
33
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
34
  constructor(input: CreateArchiveCommandInput);
33
35
  /**
34
36
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -26,6 +27,7 @@ export interface CreateConnectionCommandOutput extends CreateConnectionResponse,
26
27
  */
27
28
  export declare class CreateConnectionCommand extends $Command<CreateConnectionCommandInput, CreateConnectionCommandOutput, CloudWatchEventsClientResolvedConfig> {
28
29
  readonly input: CreateConnectionCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: CreateConnectionCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -27,6 +28,7 @@ export interface CreateEventBusCommandOutput extends CreateEventBusResponse, __M
27
28
  */
28
29
  export declare class CreateEventBusCommand extends $Command<CreateEventBusCommandInput, CreateEventBusCommandOutput, CloudWatchEventsClientResolvedConfig> {
29
30
  readonly input: CreateEventBusCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
32
  constructor(input: CreateEventBusCommandInput);
31
33
  /**
32
34
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -48,6 +49,7 @@ export interface CreatePartnerEventSourceCommandOutput extends CreatePartnerEven
48
49
  */
49
50
  export declare class CreatePartnerEventSourceCommand extends $Command<CreatePartnerEventSourceCommandInput, CreatePartnerEventSourceCommandOutput, CloudWatchEventsClientResolvedConfig> {
50
51
  readonly input: CreatePartnerEventSourceCommandInput;
52
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
51
53
  constructor(input: CreatePartnerEventSourceCommandInput);
52
54
  /**
53
55
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -29,6 +30,7 @@ export interface DeactivateEventSourceCommandOutput extends __MetadataBearer {
29
30
  */
30
31
  export declare class DeactivateEventSourceCommand extends $Command<DeactivateEventSourceCommandInput, DeactivateEventSourceCommandOutput, CloudWatchEventsClientResolvedConfig> {
31
32
  readonly input: DeactivateEventSourceCommandInput;
33
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
34
  constructor(input: DeactivateEventSourceCommandInput);
33
35
  /**
34
36
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -26,6 +27,7 @@ export interface DeauthorizeConnectionCommandOutput extends DeauthorizeConnectio
26
27
  */
27
28
  export declare class DeauthorizeConnectionCommand extends $Command<DeauthorizeConnectionCommandInput, DeauthorizeConnectionCommandOutput, CloudWatchEventsClientResolvedConfig> {
28
29
  readonly input: DeauthorizeConnectionCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: DeauthorizeConnectionCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -25,6 +26,7 @@ export interface DeleteApiDestinationCommandOutput extends DeleteApiDestinationR
25
26
  */
26
27
  export declare class DeleteApiDestinationCommand extends $Command<DeleteApiDestinationCommandInput, DeleteApiDestinationCommandOutput, CloudWatchEventsClientResolvedConfig> {
27
28
  readonly input: DeleteApiDestinationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteApiDestinationCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -25,6 +26,7 @@ export interface DeleteArchiveCommandOutput extends DeleteArchiveResponse, __Met
25
26
  */
26
27
  export declare class DeleteArchiveCommand extends $Command<DeleteArchiveCommandInput, DeleteArchiveCommandOutput, CloudWatchEventsClientResolvedConfig> {
27
28
  readonly input: DeleteArchiveCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteArchiveCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -25,6 +26,7 @@ export interface DeleteConnectionCommandOutput extends DeleteConnectionResponse,
25
26
  */
26
27
  export declare class DeleteConnectionCommand extends $Command<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, CloudWatchEventsClientResolvedConfig> {
27
28
  readonly input: DeleteConnectionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DeleteConnectionCommandInput);
29
31
  /**
30
32
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -26,6 +27,7 @@ export interface DeleteEventBusCommandOutput extends __MetadataBearer {
26
27
  */
27
28
  export declare class DeleteEventBusCommand extends $Command<DeleteEventBusCommandInput, DeleteEventBusCommandOutput, CloudWatchEventsClientResolvedConfig> {
28
29
  readonly input: DeleteEventBusCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
31
  constructor(input: DeleteEventBusCommandInput);
30
32
  /**
31
33
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -29,6 +30,7 @@ export interface DeletePartnerEventSourceCommandOutput extends __MetadataBearer
29
30
  */
30
31
  export declare class DeletePartnerEventSourceCommand extends $Command<DeletePartnerEventSourceCommandInput, DeletePartnerEventSourceCommandOutput, CloudWatchEventsClientResolvedConfig> {
31
32
  readonly input: DeletePartnerEventSourceCommandInput;
33
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
34
  constructor(input: DeletePartnerEventSourceCommandInput);
33
35
  /**
34
36
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -38,6 +39,7 @@ export interface DeleteRuleCommandOutput extends __MetadataBearer {
38
39
  */
39
40
  export declare class DeleteRuleCommand extends $Command<DeleteRuleCommandInput, DeleteRuleCommandOutput, CloudWatchEventsClientResolvedConfig> {
40
41
  readonly input: DeleteRuleCommandInput;
42
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
41
43
  constructor(input: DeleteRuleCommandInput);
42
44
  /**
43
45
  * @internal
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { CloudWatchEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchEventsClient";
@@ -25,6 +26,7 @@ export interface DescribeApiDestinationCommandOutput extends DescribeApiDestinat
25
26
  */
26
27
  export declare class DescribeApiDestinationCommand extends $Command<DescribeApiDestinationCommandInput, DescribeApiDestinationCommandOutput, CloudWatchEventsClientResolvedConfig> {
27
28
  readonly input: DescribeApiDestinationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeApiDestinationCommandInput);
29
31
  /**
30
32
  * @internal