@aws-sdk/client-oam 3.1087.0 → 3.1088.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.
- package/dist-cjs/index.js +1 -1
- package/dist-types/ts3.4/OAM.d.ts +58 -100
- package/dist-types/ts3.4/OAMClient.d.ts +23 -60
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
- package/dist-types/ts3.4/commandBuilder.d.ts +8 -18
- package/dist-types/ts3.4/commands/CreateLinkCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreateSinkCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeleteLinkCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeleteSinkCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetLinkCommand.d.ts +6 -2
- package/dist-types/ts3.4/commands/GetSinkCommand.d.ts +6 -2
- package/dist-types/ts3.4/commands/GetSinkPolicyCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListAttachedLinksCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListLinksCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/ListSinksCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/PutSinkPolicyCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdateLinkCommand.d.ts +3 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +7 -24
- package/dist-types/ts3.4/pagination/ListLinksPaginator.d.ts +1 -4
- package/dist-types/ts3.4/pagination/ListSinksPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -3,30 +3,12 @@ import {
|
|
|
3
3
|
PaginationConfiguration,
|
|
4
4
|
Paginator,
|
|
5
5
|
} from "@smithy/types";
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./commands/
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
CreateSinkCommandOutput,
|
|
13
|
-
} from "./commands/CreateSinkCommand";
|
|
14
|
-
import {
|
|
15
|
-
DeleteLinkCommandInput,
|
|
16
|
-
DeleteLinkCommandOutput,
|
|
17
|
-
} from "./commands/DeleteLinkCommand";
|
|
18
|
-
import {
|
|
19
|
-
DeleteSinkCommandInput,
|
|
20
|
-
DeleteSinkCommandOutput,
|
|
21
|
-
} from "./commands/DeleteSinkCommand";
|
|
22
|
-
import {
|
|
23
|
-
GetLinkCommandInput,
|
|
24
|
-
GetLinkCommandOutput,
|
|
25
|
-
} from "./commands/GetLinkCommand";
|
|
26
|
-
import {
|
|
27
|
-
GetSinkCommandInput,
|
|
28
|
-
GetSinkCommandOutput,
|
|
29
|
-
} from "./commands/GetSinkCommand";
|
|
6
|
+
import { CreateLinkCommandInput, CreateLinkCommandOutput } from "./commands/CreateLinkCommand";
|
|
7
|
+
import { CreateSinkCommandInput, CreateSinkCommandOutput } from "./commands/CreateSinkCommand";
|
|
8
|
+
import { DeleteLinkCommandInput, DeleteLinkCommandOutput } from "./commands/DeleteLinkCommand";
|
|
9
|
+
import { DeleteSinkCommandInput, DeleteSinkCommandOutput } from "./commands/DeleteSinkCommand";
|
|
10
|
+
import { GetLinkCommandInput, GetLinkCommandOutput } from "./commands/GetLinkCommand";
|
|
11
|
+
import { GetSinkCommandInput, GetSinkCommandOutput } from "./commands/GetSinkCommand";
|
|
30
12
|
import {
|
|
31
13
|
GetSinkPolicyCommandInput,
|
|
32
14
|
GetSinkPolicyCommandOutput,
|
|
@@ -35,14 +17,8 @@ import {
|
|
|
35
17
|
ListAttachedLinksCommandInput,
|
|
36
18
|
ListAttachedLinksCommandOutput,
|
|
37
19
|
} from "./commands/ListAttachedLinksCommand";
|
|
38
|
-
import {
|
|
39
|
-
|
|
40
|
-
ListLinksCommandOutput,
|
|
41
|
-
} from "./commands/ListLinksCommand";
|
|
42
|
-
import {
|
|
43
|
-
ListSinksCommandInput,
|
|
44
|
-
ListSinksCommandOutput,
|
|
45
|
-
} from "./commands/ListSinksCommand";
|
|
20
|
+
import { ListLinksCommandInput, ListLinksCommandOutput } from "./commands/ListLinksCommand";
|
|
21
|
+
import { ListSinksCommandInput, ListSinksCommandOutput } from "./commands/ListSinksCommand";
|
|
46
22
|
import {
|
|
47
23
|
ListTagsForResourceCommandInput,
|
|
48
24
|
ListTagsForResourceCommandOutput,
|
|
@@ -51,237 +27,219 @@ import {
|
|
|
51
27
|
PutSinkPolicyCommandInput,
|
|
52
28
|
PutSinkPolicyCommandOutput,
|
|
53
29
|
} from "./commands/PutSinkPolicyCommand";
|
|
54
|
-
import {
|
|
55
|
-
TagResourceCommandInput,
|
|
56
|
-
TagResourceCommandOutput,
|
|
57
|
-
} from "./commands/TagResourceCommand";
|
|
30
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
58
31
|
import {
|
|
59
32
|
UntagResourceCommandInput,
|
|
60
33
|
UntagResourceCommandOutput,
|
|
61
34
|
} from "./commands/UntagResourceCommand";
|
|
62
|
-
import {
|
|
63
|
-
UpdateLinkCommandInput,
|
|
64
|
-
UpdateLinkCommandOutput,
|
|
65
|
-
} from "./commands/UpdateLinkCommand";
|
|
35
|
+
import { UpdateLinkCommandInput, UpdateLinkCommandOutput } from "./commands/UpdateLinkCommand";
|
|
66
36
|
import { OAMClient } from "./OAMClient";
|
|
67
37
|
export interface OAM {
|
|
68
38
|
createLink(
|
|
69
39
|
args: CreateLinkCommandInput,
|
|
70
|
-
options?: __HttpHandlerOptions
|
|
40
|
+
options?: __HttpHandlerOptions,
|
|
71
41
|
): Promise<CreateLinkCommandOutput>;
|
|
72
42
|
createLink(
|
|
73
43
|
args: CreateLinkCommandInput,
|
|
74
|
-
cb: (err: any, data?: CreateLinkCommandOutput) => void
|
|
44
|
+
cb: (err: any, data?: CreateLinkCommandOutput) => void,
|
|
75
45
|
): void;
|
|
76
46
|
createLink(
|
|
77
47
|
args: CreateLinkCommandInput,
|
|
78
48
|
options: __HttpHandlerOptions,
|
|
79
|
-
cb: (err: any, data?: CreateLinkCommandOutput) => void
|
|
49
|
+
cb: (err: any, data?: CreateLinkCommandOutput) => void,
|
|
80
50
|
): void;
|
|
81
51
|
createSink(
|
|
82
52
|
args: CreateSinkCommandInput,
|
|
83
|
-
options?: __HttpHandlerOptions
|
|
53
|
+
options?: __HttpHandlerOptions,
|
|
84
54
|
): Promise<CreateSinkCommandOutput>;
|
|
85
55
|
createSink(
|
|
86
56
|
args: CreateSinkCommandInput,
|
|
87
|
-
cb: (err: any, data?: CreateSinkCommandOutput) => void
|
|
57
|
+
cb: (err: any, data?: CreateSinkCommandOutput) => void,
|
|
88
58
|
): void;
|
|
89
59
|
createSink(
|
|
90
60
|
args: CreateSinkCommandInput,
|
|
91
61
|
options: __HttpHandlerOptions,
|
|
92
|
-
cb: (err: any, data?: CreateSinkCommandOutput) => void
|
|
62
|
+
cb: (err: any, data?: CreateSinkCommandOutput) => void,
|
|
93
63
|
): void;
|
|
94
64
|
deleteLink(
|
|
95
65
|
args: DeleteLinkCommandInput,
|
|
96
|
-
options?: __HttpHandlerOptions
|
|
66
|
+
options?: __HttpHandlerOptions,
|
|
97
67
|
): Promise<DeleteLinkCommandOutput>;
|
|
98
68
|
deleteLink(
|
|
99
69
|
args: DeleteLinkCommandInput,
|
|
100
|
-
cb: (err: any, data?: DeleteLinkCommandOutput) => void
|
|
70
|
+
cb: (err: any, data?: DeleteLinkCommandOutput) => void,
|
|
101
71
|
): void;
|
|
102
72
|
deleteLink(
|
|
103
73
|
args: DeleteLinkCommandInput,
|
|
104
74
|
options: __HttpHandlerOptions,
|
|
105
|
-
cb: (err: any, data?: DeleteLinkCommandOutput) => void
|
|
75
|
+
cb: (err: any, data?: DeleteLinkCommandOutput) => void,
|
|
106
76
|
): void;
|
|
107
77
|
deleteSink(
|
|
108
78
|
args: DeleteSinkCommandInput,
|
|
109
|
-
options?: __HttpHandlerOptions
|
|
79
|
+
options?: __HttpHandlerOptions,
|
|
110
80
|
): Promise<DeleteSinkCommandOutput>;
|
|
111
81
|
deleteSink(
|
|
112
82
|
args: DeleteSinkCommandInput,
|
|
113
|
-
cb: (err: any, data?: DeleteSinkCommandOutput) => void
|
|
83
|
+
cb: (err: any, data?: DeleteSinkCommandOutput) => void,
|
|
114
84
|
): void;
|
|
115
85
|
deleteSink(
|
|
116
86
|
args: DeleteSinkCommandInput,
|
|
117
87
|
options: __HttpHandlerOptions,
|
|
118
|
-
cb: (err: any, data?: DeleteSinkCommandOutput) => void
|
|
119
|
-
): void;
|
|
120
|
-
getLink(
|
|
121
|
-
args: GetLinkCommandInput,
|
|
122
|
-
options?: __HttpHandlerOptions
|
|
123
|
-
): Promise<GetLinkCommandOutput>;
|
|
124
|
-
getLink(
|
|
125
|
-
args: GetLinkCommandInput,
|
|
126
|
-
cb: (err: any, data?: GetLinkCommandOutput) => void
|
|
88
|
+
cb: (err: any, data?: DeleteSinkCommandOutput) => void,
|
|
127
89
|
): void;
|
|
90
|
+
getLink(args: GetLinkCommandInput, options?: __HttpHandlerOptions): Promise<GetLinkCommandOutput>;
|
|
91
|
+
getLink(args: GetLinkCommandInput, cb: (err: any, data?: GetLinkCommandOutput) => void): void;
|
|
128
92
|
getLink(
|
|
129
93
|
args: GetLinkCommandInput,
|
|
130
94
|
options: __HttpHandlerOptions,
|
|
131
|
-
cb: (err: any, data?: GetLinkCommandOutput) => void
|
|
132
|
-
): void;
|
|
133
|
-
getSink(
|
|
134
|
-
args: GetSinkCommandInput,
|
|
135
|
-
options?: __HttpHandlerOptions
|
|
136
|
-
): Promise<GetSinkCommandOutput>;
|
|
137
|
-
getSink(
|
|
138
|
-
args: GetSinkCommandInput,
|
|
139
|
-
cb: (err: any, data?: GetSinkCommandOutput) => void
|
|
95
|
+
cb: (err: any, data?: GetLinkCommandOutput) => void,
|
|
140
96
|
): void;
|
|
97
|
+
getSink(args: GetSinkCommandInput, options?: __HttpHandlerOptions): Promise<GetSinkCommandOutput>;
|
|
98
|
+
getSink(args: GetSinkCommandInput, cb: (err: any, data?: GetSinkCommandOutput) => void): void;
|
|
141
99
|
getSink(
|
|
142
100
|
args: GetSinkCommandInput,
|
|
143
101
|
options: __HttpHandlerOptions,
|
|
144
|
-
cb: (err: any, data?: GetSinkCommandOutput) => void
|
|
102
|
+
cb: (err: any, data?: GetSinkCommandOutput) => void,
|
|
145
103
|
): void;
|
|
146
104
|
getSinkPolicy(
|
|
147
105
|
args: GetSinkPolicyCommandInput,
|
|
148
|
-
options?: __HttpHandlerOptions
|
|
106
|
+
options?: __HttpHandlerOptions,
|
|
149
107
|
): Promise<GetSinkPolicyCommandOutput>;
|
|
150
108
|
getSinkPolicy(
|
|
151
109
|
args: GetSinkPolicyCommandInput,
|
|
152
|
-
cb: (err: any, data?: GetSinkPolicyCommandOutput) => void
|
|
110
|
+
cb: (err: any, data?: GetSinkPolicyCommandOutput) => void,
|
|
153
111
|
): void;
|
|
154
112
|
getSinkPolicy(
|
|
155
113
|
args: GetSinkPolicyCommandInput,
|
|
156
114
|
options: __HttpHandlerOptions,
|
|
157
|
-
cb: (err: any, data?: GetSinkPolicyCommandOutput) => void
|
|
115
|
+
cb: (err: any, data?: GetSinkPolicyCommandOutput) => void,
|
|
158
116
|
): void;
|
|
159
117
|
listAttachedLinks(
|
|
160
118
|
args: ListAttachedLinksCommandInput,
|
|
161
|
-
options?: __HttpHandlerOptions
|
|
119
|
+
options?: __HttpHandlerOptions,
|
|
162
120
|
): Promise<ListAttachedLinksCommandOutput>;
|
|
163
121
|
listAttachedLinks(
|
|
164
122
|
args: ListAttachedLinksCommandInput,
|
|
165
|
-
cb: (err: any, data?: ListAttachedLinksCommandOutput) => void
|
|
123
|
+
cb: (err: any, data?: ListAttachedLinksCommandOutput) => void,
|
|
166
124
|
): void;
|
|
167
125
|
listAttachedLinks(
|
|
168
126
|
args: ListAttachedLinksCommandInput,
|
|
169
127
|
options: __HttpHandlerOptions,
|
|
170
|
-
cb: (err: any, data?: ListAttachedLinksCommandOutput) => void
|
|
128
|
+
cb: (err: any, data?: ListAttachedLinksCommandOutput) => void,
|
|
171
129
|
): void;
|
|
172
130
|
listLinks(): Promise<ListLinksCommandOutput>;
|
|
173
131
|
listLinks(
|
|
174
132
|
args: ListLinksCommandInput,
|
|
175
|
-
options?: __HttpHandlerOptions
|
|
133
|
+
options?: __HttpHandlerOptions,
|
|
176
134
|
): Promise<ListLinksCommandOutput>;
|
|
177
135
|
listLinks(
|
|
178
136
|
args: ListLinksCommandInput,
|
|
179
|
-
cb: (err: any, data?: ListLinksCommandOutput) => void
|
|
137
|
+
cb: (err: any, data?: ListLinksCommandOutput) => void,
|
|
180
138
|
): void;
|
|
181
139
|
listLinks(
|
|
182
140
|
args: ListLinksCommandInput,
|
|
183
141
|
options: __HttpHandlerOptions,
|
|
184
|
-
cb: (err: any, data?: ListLinksCommandOutput) => void
|
|
142
|
+
cb: (err: any, data?: ListLinksCommandOutput) => void,
|
|
185
143
|
): void;
|
|
186
144
|
listSinks(): Promise<ListSinksCommandOutput>;
|
|
187
145
|
listSinks(
|
|
188
146
|
args: ListSinksCommandInput,
|
|
189
|
-
options?: __HttpHandlerOptions
|
|
147
|
+
options?: __HttpHandlerOptions,
|
|
190
148
|
): Promise<ListSinksCommandOutput>;
|
|
191
149
|
listSinks(
|
|
192
150
|
args: ListSinksCommandInput,
|
|
193
|
-
cb: (err: any, data?: ListSinksCommandOutput) => void
|
|
151
|
+
cb: (err: any, data?: ListSinksCommandOutput) => void,
|
|
194
152
|
): void;
|
|
195
153
|
listSinks(
|
|
196
154
|
args: ListSinksCommandInput,
|
|
197
155
|
options: __HttpHandlerOptions,
|
|
198
|
-
cb: (err: any, data?: ListSinksCommandOutput) => void
|
|
156
|
+
cb: (err: any, data?: ListSinksCommandOutput) => void,
|
|
199
157
|
): void;
|
|
200
158
|
listTagsForResource(
|
|
201
159
|
args: ListTagsForResourceCommandInput,
|
|
202
|
-
options?: __HttpHandlerOptions
|
|
160
|
+
options?: __HttpHandlerOptions,
|
|
203
161
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
204
162
|
listTagsForResource(
|
|
205
163
|
args: ListTagsForResourceCommandInput,
|
|
206
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
164
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
207
165
|
): void;
|
|
208
166
|
listTagsForResource(
|
|
209
167
|
args: ListTagsForResourceCommandInput,
|
|
210
168
|
options: __HttpHandlerOptions,
|
|
211
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
169
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
212
170
|
): void;
|
|
213
171
|
putSinkPolicy(
|
|
214
172
|
args: PutSinkPolicyCommandInput,
|
|
215
|
-
options?: __HttpHandlerOptions
|
|
173
|
+
options?: __HttpHandlerOptions,
|
|
216
174
|
): Promise<PutSinkPolicyCommandOutput>;
|
|
217
175
|
putSinkPolicy(
|
|
218
176
|
args: PutSinkPolicyCommandInput,
|
|
219
|
-
cb: (err: any, data?: PutSinkPolicyCommandOutput) => void
|
|
177
|
+
cb: (err: any, data?: PutSinkPolicyCommandOutput) => void,
|
|
220
178
|
): void;
|
|
221
179
|
putSinkPolicy(
|
|
222
180
|
args: PutSinkPolicyCommandInput,
|
|
223
181
|
options: __HttpHandlerOptions,
|
|
224
|
-
cb: (err: any, data?: PutSinkPolicyCommandOutput) => void
|
|
182
|
+
cb: (err: any, data?: PutSinkPolicyCommandOutput) => void,
|
|
225
183
|
): void;
|
|
226
184
|
tagResource(
|
|
227
185
|
args: TagResourceCommandInput,
|
|
228
|
-
options?: __HttpHandlerOptions
|
|
186
|
+
options?: __HttpHandlerOptions,
|
|
229
187
|
): Promise<TagResourceCommandOutput>;
|
|
230
188
|
tagResource(
|
|
231
189
|
args: TagResourceCommandInput,
|
|
232
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
190
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
233
191
|
): void;
|
|
234
192
|
tagResource(
|
|
235
193
|
args: TagResourceCommandInput,
|
|
236
194
|
options: __HttpHandlerOptions,
|
|
237
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
195
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
238
196
|
): void;
|
|
239
197
|
untagResource(
|
|
240
198
|
args: UntagResourceCommandInput,
|
|
241
|
-
options?: __HttpHandlerOptions
|
|
199
|
+
options?: __HttpHandlerOptions,
|
|
242
200
|
): Promise<UntagResourceCommandOutput>;
|
|
243
201
|
untagResource(
|
|
244
202
|
args: UntagResourceCommandInput,
|
|
245
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
203
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
246
204
|
): void;
|
|
247
205
|
untagResource(
|
|
248
206
|
args: UntagResourceCommandInput,
|
|
249
207
|
options: __HttpHandlerOptions,
|
|
250
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
208
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
251
209
|
): void;
|
|
252
210
|
updateLink(
|
|
253
211
|
args: UpdateLinkCommandInput,
|
|
254
|
-
options?: __HttpHandlerOptions
|
|
212
|
+
options?: __HttpHandlerOptions,
|
|
255
213
|
): Promise<UpdateLinkCommandOutput>;
|
|
256
214
|
updateLink(
|
|
257
215
|
args: UpdateLinkCommandInput,
|
|
258
|
-
cb: (err: any, data?: UpdateLinkCommandOutput) => void
|
|
216
|
+
cb: (err: any, data?: UpdateLinkCommandOutput) => void,
|
|
259
217
|
): void;
|
|
260
218
|
updateLink(
|
|
261
219
|
args: UpdateLinkCommandInput,
|
|
262
220
|
options: __HttpHandlerOptions,
|
|
263
|
-
cb: (err: any, data?: UpdateLinkCommandOutput) => void
|
|
221
|
+
cb: (err: any, data?: UpdateLinkCommandOutput) => void,
|
|
264
222
|
): void;
|
|
265
223
|
paginateListAttachedLinks(
|
|
266
224
|
args: ListAttachedLinksCommandInput,
|
|
267
225
|
paginationConfig?: Pick<
|
|
268
226
|
PaginationConfiguration,
|
|
269
227
|
Exclude<keyof PaginationConfiguration, "client">
|
|
270
|
-
|
|
228
|
+
>,
|
|
271
229
|
): Paginator<ListAttachedLinksCommandOutput>;
|
|
272
230
|
paginateListLinks(
|
|
273
231
|
args?: ListLinksCommandInput,
|
|
274
232
|
paginationConfig?: Pick<
|
|
275
233
|
PaginationConfiguration,
|
|
276
234
|
Exclude<keyof PaginationConfiguration, "client">
|
|
277
|
-
|
|
235
|
+
>,
|
|
278
236
|
): Paginator<ListLinksCommandOutput>;
|
|
279
237
|
paginateListSinks(
|
|
280
238
|
args?: ListSinksCommandInput,
|
|
281
239
|
paginationConfig?: Pick<
|
|
282
240
|
PaginationConfiguration,
|
|
283
241
|
Exclude<keyof PaginationConfiguration, "client">
|
|
284
|
-
|
|
242
|
+
>,
|
|
285
243
|
): Paginator<ListSinksCommandOutput>;
|
|
286
244
|
}
|
|
287
245
|
export declare class OAM extends OAMClient implements OAM {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -36,30 +33,12 @@ import {
|
|
|
36
33
|
HttpAuthSchemeInputConfig,
|
|
37
34
|
HttpAuthSchemeResolvedConfig,
|
|
38
35
|
} from "./auth/httpAuthSchemeProvider";
|
|
39
|
-
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./commands/
|
|
43
|
-
import {
|
|
44
|
-
|
|
45
|
-
CreateSinkCommandOutput,
|
|
46
|
-
} from "./commands/CreateSinkCommand";
|
|
47
|
-
import {
|
|
48
|
-
DeleteLinkCommandInput,
|
|
49
|
-
DeleteLinkCommandOutput,
|
|
50
|
-
} from "./commands/DeleteLinkCommand";
|
|
51
|
-
import {
|
|
52
|
-
DeleteSinkCommandInput,
|
|
53
|
-
DeleteSinkCommandOutput,
|
|
54
|
-
} from "./commands/DeleteSinkCommand";
|
|
55
|
-
import {
|
|
56
|
-
GetLinkCommandInput,
|
|
57
|
-
GetLinkCommandOutput,
|
|
58
|
-
} from "./commands/GetLinkCommand";
|
|
59
|
-
import {
|
|
60
|
-
GetSinkCommandInput,
|
|
61
|
-
GetSinkCommandOutput,
|
|
62
|
-
} from "./commands/GetSinkCommand";
|
|
36
|
+
import { CreateLinkCommandInput, CreateLinkCommandOutput } from "./commands/CreateLinkCommand";
|
|
37
|
+
import { CreateSinkCommandInput, CreateSinkCommandOutput } from "./commands/CreateSinkCommand";
|
|
38
|
+
import { DeleteLinkCommandInput, DeleteLinkCommandOutput } from "./commands/DeleteLinkCommand";
|
|
39
|
+
import { DeleteSinkCommandInput, DeleteSinkCommandOutput } from "./commands/DeleteSinkCommand";
|
|
40
|
+
import { GetLinkCommandInput, GetLinkCommandOutput } from "./commands/GetLinkCommand";
|
|
41
|
+
import { GetSinkCommandInput, GetSinkCommandOutput } from "./commands/GetSinkCommand";
|
|
63
42
|
import {
|
|
64
43
|
GetSinkPolicyCommandInput,
|
|
65
44
|
GetSinkPolicyCommandOutput,
|
|
@@ -68,14 +47,8 @@ import {
|
|
|
68
47
|
ListAttachedLinksCommandInput,
|
|
69
48
|
ListAttachedLinksCommandOutput,
|
|
70
49
|
} from "./commands/ListAttachedLinksCommand";
|
|
71
|
-
import {
|
|
72
|
-
|
|
73
|
-
ListLinksCommandOutput,
|
|
74
|
-
} from "./commands/ListLinksCommand";
|
|
75
|
-
import {
|
|
76
|
-
ListSinksCommandInput,
|
|
77
|
-
ListSinksCommandOutput,
|
|
78
|
-
} from "./commands/ListSinksCommand";
|
|
50
|
+
import { ListLinksCommandInput, ListLinksCommandOutput } from "./commands/ListLinksCommand";
|
|
51
|
+
import { ListSinksCommandInput, ListSinksCommandOutput } from "./commands/ListSinksCommand";
|
|
79
52
|
import {
|
|
80
53
|
ListTagsForResourceCommandInput,
|
|
81
54
|
ListTagsForResourceCommandOutput,
|
|
@@ -84,18 +57,12 @@ import {
|
|
|
84
57
|
PutSinkPolicyCommandInput,
|
|
85
58
|
PutSinkPolicyCommandOutput,
|
|
86
59
|
} from "./commands/PutSinkPolicyCommand";
|
|
87
|
-
import {
|
|
88
|
-
TagResourceCommandInput,
|
|
89
|
-
TagResourceCommandOutput,
|
|
90
|
-
} from "./commands/TagResourceCommand";
|
|
60
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
91
61
|
import {
|
|
92
62
|
UntagResourceCommandInput,
|
|
93
63
|
UntagResourceCommandOutput,
|
|
94
64
|
} from "./commands/UntagResourceCommand";
|
|
95
|
-
import {
|
|
96
|
-
UpdateLinkCommandInput,
|
|
97
|
-
UpdateLinkCommandOutput,
|
|
98
|
-
} from "./commands/UpdateLinkCommand";
|
|
65
|
+
import { UpdateLinkCommandInput, UpdateLinkCommandOutput } from "./commands/UpdateLinkCommand";
|
|
99
66
|
import {
|
|
100
67
|
ClientInputEndpointParameters,
|
|
101
68
|
ClientResolvedEndpointParameters,
|
|
@@ -135,8 +102,7 @@ export type ServiceOutputTypes =
|
|
|
135
102
|
| TagResourceCommandOutput
|
|
136
103
|
| UntagResourceCommandOutput
|
|
137
104
|
| UpdateLinkCommandOutput;
|
|
138
|
-
export interface ClientDefaults
|
|
139
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
105
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
140
106
|
requestHandler?: __HttpHandlerUserInput;
|
|
141
107
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
142
108
|
urlParser?: __UrlParser;
|
|
@@ -161,9 +127,7 @@ export interface ClientDefaults
|
|
|
161
127
|
extensions?: RuntimeExtension[];
|
|
162
128
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
163
129
|
}
|
|
164
|
-
export type OAMClientConfigType = Partial<
|
|
165
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
166
|
-
> &
|
|
130
|
+
export type OAMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
167
131
|
ClientDefaults &
|
|
168
132
|
UserAgentInputConfig &
|
|
169
133
|
RetryInputConfig &
|
|
@@ -173,17 +137,16 @@ export type OAMClientConfigType = Partial<
|
|
|
173
137
|
HttpAuthSchemeInputConfig &
|
|
174
138
|
ClientInputEndpointParameters;
|
|
175
139
|
export interface OAMClientConfig extends OAMClientConfigType {}
|
|
176
|
-
export type OAMClientResolvedConfigType =
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
ClientResolvedEndpointParameters;
|
|
140
|
+
export type OAMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
141
|
+
Required<ClientDefaults> &
|
|
142
|
+
RuntimeExtensionsConfig &
|
|
143
|
+
UserAgentResolvedConfig &
|
|
144
|
+
RetryResolvedConfig &
|
|
145
|
+
RegionResolvedConfig &
|
|
146
|
+
HostHeaderResolvedConfig &
|
|
147
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
148
|
+
HttpAuthSchemeResolvedConfig &
|
|
149
|
+
ClientResolvedEndpointParameters;
|
|
187
150
|
export interface OAMClientResolvedConfig extends OAMClientResolvedConfigType {}
|
|
188
151
|
export declare class OAMClient extends __Client<
|
|
189
152
|
__HttpHandlerOptions,
|
|
@@ -7,17 +7,10 @@ import { OAMHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: OAMHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: OAMHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): OAMHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -15,32 +15,29 @@ import { OAMClientResolvedConfig } from "../OAMClient";
|
|
|
15
15
|
export interface OAMHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
16
16
|
region?: string;
|
|
17
17
|
}
|
|
18
|
-
export interface OAMHttpAuthSchemeParametersProvider
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
> {}
|
|
18
|
+
export interface OAMHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
OAMClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
OAMHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
25
24
|
export declare const defaultOAMHttpAuthSchemeParametersProvider: (
|
|
26
25
|
config: OAMClientResolvedConfig,
|
|
27
26
|
context: HandlerExecutionContext,
|
|
28
|
-
input: object
|
|
27
|
+
input: object,
|
|
29
28
|
) => Promise<OAMHttpAuthSchemeParameters>;
|
|
30
|
-
export interface OAMHttpAuthSchemeProvider
|
|
31
|
-
extends HttpAuthSchemeProvider<OAMHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface OAMHttpAuthSchemeProvider extends HttpAuthSchemeProvider<OAMHttpAuthSchemeParameters> {}
|
|
32
30
|
export declare const defaultOAMHttpAuthSchemeProvider: OAMHttpAuthSchemeProvider;
|
|
33
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
34
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
35
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
36
34
|
httpAuthSchemeProvider?: OAMHttpAuthSchemeProvider;
|
|
37
35
|
}
|
|
38
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
39
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
40
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
41
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
42
39
|
readonly httpAuthSchemeProvider: OAMHttpAuthSchemeProvider;
|
|
43
40
|
}
|
|
44
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
45
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
46
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -1,25 +1,20 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
ServiceInputTypes,
|
|
5
|
-
ServiceOutputTypes,
|
|
6
|
-
} from "./OAMClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
2
|
+
import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./OAMClient";
|
|
3
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
4
|
added: EndpointParameterInstructions,
|
|
12
5
|
plugins: (
|
|
13
6
|
CommandCtor: any,
|
|
14
7
|
clientStack: any,
|
|
15
8
|
config: any,
|
|
16
|
-
options: any
|
|
9
|
+
options: any,
|
|
17
10
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
11
|
op: string,
|
|
19
12
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
13
|
+
smithyContext?: Record<string, unknown>,
|
|
21
14
|
) => {
|
|
22
|
-
new (
|
|
15
|
+
new (
|
|
16
|
+
input: I,
|
|
17
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
18
|
I,
|
|
24
19
|
O,
|
|
25
20
|
OAMClientResolvedConfig,
|
|
@@ -38,9 +33,4 @@ export declare const command: <
|
|
|
38
33
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
34
|
};
|
|
40
35
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
36
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { CreateLinkInput, CreateLinkOutput } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface CreateLinkCommandInput extends CreateLinkInput {}
|
|
5
|
-
export interface CreateLinkCommandOutput
|
|
6
|
-
extends CreateLinkOutput,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface CreateLinkCommandOutput extends CreateLinkOutput, __MetadataBearer {}
|
|
8
6
|
declare const CreateLinkCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: CreateLinkCommandInput
|
|
8
|
+
input: CreateLinkCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
CreateLinkCommandInput,
|
|
13
11
|
CreateLinkCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const CreateLinkCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: CreateLinkCommandInput
|
|
17
|
+
input: CreateLinkCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
CreateLinkCommandInput,
|
|
22
20
|
CreateLinkCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { CreateSinkInput, CreateSinkOutput } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface CreateSinkCommandInput extends CreateSinkInput {}
|
|
5
|
-
export interface CreateSinkCommandOutput
|
|
6
|
-
extends CreateSinkOutput,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface CreateSinkCommandOutput extends CreateSinkOutput, __MetadataBearer {}
|
|
8
6
|
declare const CreateSinkCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: CreateSinkCommandInput
|
|
8
|
+
input: CreateSinkCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
CreateSinkCommandInput,
|
|
13
11
|
CreateSinkCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const CreateSinkCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: CreateSinkCommandInput
|
|
17
|
+
input: CreateSinkCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
CreateSinkCommandInput,
|
|
22
20
|
CreateSinkCommandOutput,
|