@aws-sdk/client-amp 3.454.0 → 3.460.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/README.md +68 -28
- package/dist-cjs/Amp.js +10 -0
- package/dist-cjs/commands/CreateScraperCommand.js +51 -0
- package/dist-cjs/commands/DeleteScraperCommand.js +51 -0
- package/dist-cjs/commands/DescribeScraperCommand.js +51 -0
- package/dist-cjs/commands/GetDefaultScraperConfigurationCommand.js +51 -0
- package/dist-cjs/commands/ListScrapersCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +32 -1
- package/dist-cjs/pagination/ListScrapersPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +396 -1
- package/dist-cjs/waiters/index.js +2 -0
- package/dist-cjs/waiters/waitForScraperActive.js +45 -0
- package/dist-cjs/waiters/waitForScraperDeleted.js +39 -0
- package/dist-es/Amp.js +10 -0
- package/dist-es/commands/CreateScraperCommand.js +47 -0
- package/dist-es/commands/DeleteScraperCommand.js +47 -0
- package/dist-es/commands/DescribeScraperCommand.js +47 -0
- package/dist-es/commands/GetDefaultScraperConfigurationCommand.js +47 -0
- package/dist-es/commands/ListScrapersCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +31 -0
- package/dist-es/pagination/ListScrapersPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +386 -2
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForScraperActive.js +40 -0
- package/dist-es/waiters/waitForScraperDeleted.js +34 -0
- package/dist-types/Amp.d.ts +35 -0
- package/dist-types/AmpClient.d.ts +7 -2
- package/dist-types/commands/CreateScraperCommand.d.ts +124 -0
- package/dist-types/commands/DeleteScraperCommand.d.ts +95 -0
- package/dist-types/commands/DescribeScraperCommand.d.ts +121 -0
- package/dist-types/commands/GetDefaultScraperConfigurationCommand.d.ts +80 -0
- package/dist-types/commands/ListScrapersCommand.d.ts +124 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +460 -0
- package/dist-types/pagination/ListScrapersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Amp.d.ts +85 -0
- package/dist-types/ts3.4/AmpClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateScraperCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteScraperCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeScraperCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetDefaultScraperConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListScrapersCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +140 -0
- package/dist-types/ts3.4/pagination/ListScrapersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForScraperActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForScraperDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForScraperActive.d.ts +14 -0
- package/dist-types/waiters/waitForScraperDeleted.d.ts +14 -0
- package/package.json +12 -12
|
@@ -15,6 +15,10 @@ import {
|
|
|
15
15
|
CreateRuleGroupsNamespaceCommandInput,
|
|
16
16
|
CreateRuleGroupsNamespaceCommandOutput,
|
|
17
17
|
} from "../commands/CreateRuleGroupsNamespaceCommand";
|
|
18
|
+
import {
|
|
19
|
+
CreateScraperCommandInput,
|
|
20
|
+
CreateScraperCommandOutput,
|
|
21
|
+
} from "../commands/CreateScraperCommand";
|
|
18
22
|
import {
|
|
19
23
|
CreateWorkspaceCommandInput,
|
|
20
24
|
CreateWorkspaceCommandOutput,
|
|
@@ -31,6 +35,10 @@ import {
|
|
|
31
35
|
DeleteRuleGroupsNamespaceCommandInput,
|
|
32
36
|
DeleteRuleGroupsNamespaceCommandOutput,
|
|
33
37
|
} from "../commands/DeleteRuleGroupsNamespaceCommand";
|
|
38
|
+
import {
|
|
39
|
+
DeleteScraperCommandInput,
|
|
40
|
+
DeleteScraperCommandOutput,
|
|
41
|
+
} from "../commands/DeleteScraperCommand";
|
|
34
42
|
import {
|
|
35
43
|
DeleteWorkspaceCommandInput,
|
|
36
44
|
DeleteWorkspaceCommandOutput,
|
|
@@ -47,14 +55,26 @@ import {
|
|
|
47
55
|
DescribeRuleGroupsNamespaceCommandInput,
|
|
48
56
|
DescribeRuleGroupsNamespaceCommandOutput,
|
|
49
57
|
} from "../commands/DescribeRuleGroupsNamespaceCommand";
|
|
58
|
+
import {
|
|
59
|
+
DescribeScraperCommandInput,
|
|
60
|
+
DescribeScraperCommandOutput,
|
|
61
|
+
} from "../commands/DescribeScraperCommand";
|
|
50
62
|
import {
|
|
51
63
|
DescribeWorkspaceCommandInput,
|
|
52
64
|
DescribeWorkspaceCommandOutput,
|
|
53
65
|
} from "../commands/DescribeWorkspaceCommand";
|
|
66
|
+
import {
|
|
67
|
+
GetDefaultScraperConfigurationCommandInput,
|
|
68
|
+
GetDefaultScraperConfigurationCommandOutput,
|
|
69
|
+
} from "../commands/GetDefaultScraperConfigurationCommand";
|
|
54
70
|
import {
|
|
55
71
|
ListRuleGroupsNamespacesCommandInput,
|
|
56
72
|
ListRuleGroupsNamespacesCommandOutput,
|
|
57
73
|
} from "../commands/ListRuleGroupsNamespacesCommand";
|
|
74
|
+
import {
|
|
75
|
+
ListScrapersCommandInput,
|
|
76
|
+
ListScrapersCommandOutput,
|
|
77
|
+
} from "../commands/ListScrapersCommand";
|
|
58
78
|
import {
|
|
59
79
|
ListTagsForResourceCommandInput,
|
|
60
80
|
ListTagsForResourceCommandOutput,
|
|
@@ -99,6 +119,10 @@ export declare const se_CreateRuleGroupsNamespaceCommand: (
|
|
|
99
119
|
input: CreateRuleGroupsNamespaceCommandInput,
|
|
100
120
|
context: __SerdeContext
|
|
101
121
|
) => Promise<__HttpRequest>;
|
|
122
|
+
export declare const se_CreateScraperCommand: (
|
|
123
|
+
input: CreateScraperCommandInput,
|
|
124
|
+
context: __SerdeContext
|
|
125
|
+
) => Promise<__HttpRequest>;
|
|
102
126
|
export declare const se_CreateWorkspaceCommand: (
|
|
103
127
|
input: CreateWorkspaceCommandInput,
|
|
104
128
|
context: __SerdeContext
|
|
@@ -115,6 +139,10 @@ export declare const se_DeleteRuleGroupsNamespaceCommand: (
|
|
|
115
139
|
input: DeleteRuleGroupsNamespaceCommandInput,
|
|
116
140
|
context: __SerdeContext
|
|
117
141
|
) => Promise<__HttpRequest>;
|
|
142
|
+
export declare const se_DeleteScraperCommand: (
|
|
143
|
+
input: DeleteScraperCommandInput,
|
|
144
|
+
context: __SerdeContext
|
|
145
|
+
) => Promise<__HttpRequest>;
|
|
118
146
|
export declare const se_DeleteWorkspaceCommand: (
|
|
119
147
|
input: DeleteWorkspaceCommandInput,
|
|
120
148
|
context: __SerdeContext
|
|
@@ -131,14 +159,26 @@ export declare const se_DescribeRuleGroupsNamespaceCommand: (
|
|
|
131
159
|
input: DescribeRuleGroupsNamespaceCommandInput,
|
|
132
160
|
context: __SerdeContext
|
|
133
161
|
) => Promise<__HttpRequest>;
|
|
162
|
+
export declare const se_DescribeScraperCommand: (
|
|
163
|
+
input: DescribeScraperCommandInput,
|
|
164
|
+
context: __SerdeContext
|
|
165
|
+
) => Promise<__HttpRequest>;
|
|
134
166
|
export declare const se_DescribeWorkspaceCommand: (
|
|
135
167
|
input: DescribeWorkspaceCommandInput,
|
|
136
168
|
context: __SerdeContext
|
|
137
169
|
) => Promise<__HttpRequest>;
|
|
170
|
+
export declare const se_GetDefaultScraperConfigurationCommand: (
|
|
171
|
+
input: GetDefaultScraperConfigurationCommandInput,
|
|
172
|
+
context: __SerdeContext
|
|
173
|
+
) => Promise<__HttpRequest>;
|
|
138
174
|
export declare const se_ListRuleGroupsNamespacesCommand: (
|
|
139
175
|
input: ListRuleGroupsNamespacesCommandInput,
|
|
140
176
|
context: __SerdeContext
|
|
141
177
|
) => Promise<__HttpRequest>;
|
|
178
|
+
export declare const se_ListScrapersCommand: (
|
|
179
|
+
input: ListScrapersCommandInput,
|
|
180
|
+
context: __SerdeContext
|
|
181
|
+
) => Promise<__HttpRequest>;
|
|
142
182
|
export declare const se_ListTagsForResourceCommand: (
|
|
143
183
|
input: ListTagsForResourceCommandInput,
|
|
144
184
|
context: __SerdeContext
|
|
@@ -183,6 +223,10 @@ export declare const de_CreateRuleGroupsNamespaceCommand: (
|
|
|
183
223
|
output: __HttpResponse,
|
|
184
224
|
context: __SerdeContext
|
|
185
225
|
) => Promise<CreateRuleGroupsNamespaceCommandOutput>;
|
|
226
|
+
export declare const de_CreateScraperCommand: (
|
|
227
|
+
output: __HttpResponse,
|
|
228
|
+
context: __SerdeContext
|
|
229
|
+
) => Promise<CreateScraperCommandOutput>;
|
|
186
230
|
export declare const de_CreateWorkspaceCommand: (
|
|
187
231
|
output: __HttpResponse,
|
|
188
232
|
context: __SerdeContext
|
|
@@ -199,6 +243,10 @@ export declare const de_DeleteRuleGroupsNamespaceCommand: (
|
|
|
199
243
|
output: __HttpResponse,
|
|
200
244
|
context: __SerdeContext
|
|
201
245
|
) => Promise<DeleteRuleGroupsNamespaceCommandOutput>;
|
|
246
|
+
export declare const de_DeleteScraperCommand: (
|
|
247
|
+
output: __HttpResponse,
|
|
248
|
+
context: __SerdeContext
|
|
249
|
+
) => Promise<DeleteScraperCommandOutput>;
|
|
202
250
|
export declare const de_DeleteWorkspaceCommand: (
|
|
203
251
|
output: __HttpResponse,
|
|
204
252
|
context: __SerdeContext
|
|
@@ -215,14 +263,26 @@ export declare const de_DescribeRuleGroupsNamespaceCommand: (
|
|
|
215
263
|
output: __HttpResponse,
|
|
216
264
|
context: __SerdeContext
|
|
217
265
|
) => Promise<DescribeRuleGroupsNamespaceCommandOutput>;
|
|
266
|
+
export declare const de_DescribeScraperCommand: (
|
|
267
|
+
output: __HttpResponse,
|
|
268
|
+
context: __SerdeContext
|
|
269
|
+
) => Promise<DescribeScraperCommandOutput>;
|
|
218
270
|
export declare const de_DescribeWorkspaceCommand: (
|
|
219
271
|
output: __HttpResponse,
|
|
220
272
|
context: __SerdeContext
|
|
221
273
|
) => Promise<DescribeWorkspaceCommandOutput>;
|
|
274
|
+
export declare const de_GetDefaultScraperConfigurationCommand: (
|
|
275
|
+
output: __HttpResponse,
|
|
276
|
+
context: __SerdeContext
|
|
277
|
+
) => Promise<GetDefaultScraperConfigurationCommandOutput>;
|
|
222
278
|
export declare const de_ListRuleGroupsNamespacesCommand: (
|
|
223
279
|
output: __HttpResponse,
|
|
224
280
|
context: __SerdeContext
|
|
225
281
|
) => Promise<ListRuleGroupsNamespacesCommandOutput>;
|
|
282
|
+
export declare const de_ListScrapersCommand: (
|
|
283
|
+
output: __HttpResponse,
|
|
284
|
+
context: __SerdeContext
|
|
285
|
+
) => Promise<ListScrapersCommandOutput>;
|
|
226
286
|
export declare const de_ListTagsForResourceCommand: (
|
|
227
287
|
output: __HttpResponse,
|
|
228
288
|
context: __SerdeContext
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { AmpClient } from "../AmpClient";
|
|
3
|
+
import { DescribeScraperCommandInput } from "../commands/DescribeScraperCommand";
|
|
4
|
+
export declare const waitForScraperActive: (
|
|
5
|
+
params: WaiterConfiguration<AmpClient>,
|
|
6
|
+
input: DescribeScraperCommandInput
|
|
7
|
+
) => Promise<WaiterResult>;
|
|
8
|
+
export declare const waitUntilScraperActive: (
|
|
9
|
+
params: WaiterConfiguration<AmpClient>,
|
|
10
|
+
input: DescribeScraperCommandInput
|
|
11
|
+
) => Promise<WaiterResult>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { AmpClient } from "../AmpClient";
|
|
3
|
+
import { DescribeScraperCommandInput } from "../commands/DescribeScraperCommand";
|
|
4
|
+
export declare const waitForScraperDeleted: (
|
|
5
|
+
params: WaiterConfiguration<AmpClient>,
|
|
6
|
+
input: DescribeScraperCommandInput
|
|
7
|
+
) => Promise<WaiterResult>;
|
|
8
|
+
export declare const waitUntilScraperDeleted: (
|
|
9
|
+
params: WaiterConfiguration<AmpClient>,
|
|
10
|
+
input: DescribeScraperCommandInput
|
|
11
|
+
) => Promise<WaiterResult>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { AmpClient } from "../AmpClient";
|
|
3
|
+
import { DescribeScraperCommandInput } from "../commands/DescribeScraperCommand";
|
|
4
|
+
/**
|
|
5
|
+
* Wait until a scraper reaches ACTIVE status
|
|
6
|
+
* @deprecated Use waitUntilScraperActive instead. waitForScraperActive does not throw error in non-success cases.
|
|
7
|
+
*/
|
|
8
|
+
export declare const waitForScraperActive: (params: WaiterConfiguration<AmpClient>, input: DescribeScraperCommandInput) => Promise<WaiterResult>;
|
|
9
|
+
/**
|
|
10
|
+
* Wait until a scraper reaches ACTIVE status
|
|
11
|
+
* @param params - Waiter configuration options.
|
|
12
|
+
* @param input - The input to DescribeScraperCommand for polling.
|
|
13
|
+
*/
|
|
14
|
+
export declare const waitUntilScraperActive: (params: WaiterConfiguration<AmpClient>, input: DescribeScraperCommandInput) => Promise<WaiterResult>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { AmpClient } from "../AmpClient";
|
|
3
|
+
import { DescribeScraperCommandInput } from "../commands/DescribeScraperCommand";
|
|
4
|
+
/**
|
|
5
|
+
* Wait until a scraper reaches DELETED status
|
|
6
|
+
* @deprecated Use waitUntilScraperDeleted instead. waitForScraperDeleted does not throw error in non-success cases.
|
|
7
|
+
*/
|
|
8
|
+
export declare const waitForScraperDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeScraperCommandInput) => Promise<WaiterResult>;
|
|
9
|
+
/**
|
|
10
|
+
* Wait until a scraper reaches DELETED status
|
|
11
|
+
* @param params - Waiter configuration options.
|
|
12
|
+
* @param input - The input to DescribeScraperCommand for polling.
|
|
13
|
+
*/
|
|
14
|
+
export declare const waitUntilScraperDeleted: (params: WaiterConfiguration<AmpClient>, input: DescribeScraperCommandInput) => Promise<WaiterResult>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amp",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.460.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.460.0",
|
|
25
25
|
"@aws-sdk/core": "3.451.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.460.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.460.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.460.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.460.0",
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.460.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.460.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.451.0",
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/types": "3.460.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.460.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.460.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.460.0",
|
|
37
37
|
"@smithy/config-resolver": "^2.0.18",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.2.6",
|
|
39
39
|
"@smithy/hash-node": "^2.0.15",
|