@aws-sdk/client-amp 3.864.0 → 3.869.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 +24 -0
- package/dist-cjs/index.js +157 -1
- package/dist-es/Amp.js +6 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +22 -0
- package/dist-es/commands/DescribeResourcePolicyCommand.js +22 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +80 -0
- package/dist-types/Amp.d.ts +21 -0
- package/dist-types/AmpClient.d.ts +5 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +90 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +89 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +116 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/Amp.d.ts +51 -0
- package/dist-types/ts3.4/AmpClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +1 -1
|
@@ -36,6 +36,10 @@ import {
|
|
|
36
36
|
DeleteQueryLoggingConfigurationCommandInput,
|
|
37
37
|
DeleteQueryLoggingConfigurationCommandOutput,
|
|
38
38
|
} from "./commands/DeleteQueryLoggingConfigurationCommand";
|
|
39
|
+
import {
|
|
40
|
+
DeleteResourcePolicyCommandInput,
|
|
41
|
+
DeleteResourcePolicyCommandOutput,
|
|
42
|
+
} from "./commands/DeleteResourcePolicyCommand";
|
|
39
43
|
import {
|
|
40
44
|
DeleteRuleGroupsNamespaceCommandInput,
|
|
41
45
|
DeleteRuleGroupsNamespaceCommandOutput,
|
|
@@ -60,6 +64,10 @@ import {
|
|
|
60
64
|
DescribeQueryLoggingConfigurationCommandInput,
|
|
61
65
|
DescribeQueryLoggingConfigurationCommandOutput,
|
|
62
66
|
} from "./commands/DescribeQueryLoggingConfigurationCommand";
|
|
67
|
+
import {
|
|
68
|
+
DescribeResourcePolicyCommandInput,
|
|
69
|
+
DescribeResourcePolicyCommandOutput,
|
|
70
|
+
} from "./commands/DescribeResourcePolicyCommand";
|
|
63
71
|
import {
|
|
64
72
|
DescribeRuleGroupsNamespaceCommandInput,
|
|
65
73
|
DescribeRuleGroupsNamespaceCommandOutput,
|
|
@@ -100,6 +108,10 @@ import {
|
|
|
100
108
|
PutAlertManagerDefinitionCommandInput,
|
|
101
109
|
PutAlertManagerDefinitionCommandOutput,
|
|
102
110
|
} from "./commands/PutAlertManagerDefinitionCommand";
|
|
111
|
+
import {
|
|
112
|
+
PutResourcePolicyCommandInput,
|
|
113
|
+
PutResourcePolicyCommandOutput,
|
|
114
|
+
} from "./commands/PutResourcePolicyCommand";
|
|
103
115
|
import {
|
|
104
116
|
PutRuleGroupsNamespaceCommandInput,
|
|
105
117
|
PutRuleGroupsNamespaceCommandOutput,
|
|
@@ -251,6 +263,19 @@ export interface Amp {
|
|
|
251
263
|
options: __HttpHandlerOptions,
|
|
252
264
|
cb: (err: any, data?: DeleteQueryLoggingConfigurationCommandOutput) => void
|
|
253
265
|
): void;
|
|
266
|
+
deleteResourcePolicy(
|
|
267
|
+
args: DeleteResourcePolicyCommandInput,
|
|
268
|
+
options?: __HttpHandlerOptions
|
|
269
|
+
): Promise<DeleteResourcePolicyCommandOutput>;
|
|
270
|
+
deleteResourcePolicy(
|
|
271
|
+
args: DeleteResourcePolicyCommandInput,
|
|
272
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
273
|
+
): void;
|
|
274
|
+
deleteResourcePolicy(
|
|
275
|
+
args: DeleteResourcePolicyCommandInput,
|
|
276
|
+
options: __HttpHandlerOptions,
|
|
277
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
278
|
+
): void;
|
|
254
279
|
deleteRuleGroupsNamespace(
|
|
255
280
|
args: DeleteRuleGroupsNamespaceCommandInput,
|
|
256
281
|
options?: __HttpHandlerOptions
|
|
@@ -335,6 +360,19 @@ export interface Amp {
|
|
|
335
360
|
data?: DescribeQueryLoggingConfigurationCommandOutput
|
|
336
361
|
) => void
|
|
337
362
|
): void;
|
|
363
|
+
describeResourcePolicy(
|
|
364
|
+
args: DescribeResourcePolicyCommandInput,
|
|
365
|
+
options?: __HttpHandlerOptions
|
|
366
|
+
): Promise<DescribeResourcePolicyCommandOutput>;
|
|
367
|
+
describeResourcePolicy(
|
|
368
|
+
args: DescribeResourcePolicyCommandInput,
|
|
369
|
+
cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void
|
|
370
|
+
): void;
|
|
371
|
+
describeResourcePolicy(
|
|
372
|
+
args: DescribeResourcePolicyCommandInput,
|
|
373
|
+
options: __HttpHandlerOptions,
|
|
374
|
+
cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void
|
|
375
|
+
): void;
|
|
338
376
|
describeRuleGroupsNamespace(
|
|
339
377
|
args: DescribeRuleGroupsNamespaceCommandInput,
|
|
340
378
|
options?: __HttpHandlerOptions
|
|
@@ -468,6 +506,19 @@ export interface Amp {
|
|
|
468
506
|
options: __HttpHandlerOptions,
|
|
469
507
|
cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void
|
|
470
508
|
): void;
|
|
509
|
+
putResourcePolicy(
|
|
510
|
+
args: PutResourcePolicyCommandInput,
|
|
511
|
+
options?: __HttpHandlerOptions
|
|
512
|
+
): Promise<PutResourcePolicyCommandOutput>;
|
|
513
|
+
putResourcePolicy(
|
|
514
|
+
args: PutResourcePolicyCommandInput,
|
|
515
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
516
|
+
): void;
|
|
517
|
+
putResourcePolicy(
|
|
518
|
+
args: PutResourcePolicyCommandInput,
|
|
519
|
+
options: __HttpHandlerOptions,
|
|
520
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
521
|
+
): void;
|
|
471
522
|
putRuleGroupsNamespace(
|
|
472
523
|
args: PutRuleGroupsNamespaceCommandInput,
|
|
473
524
|
options?: __HttpHandlerOptions
|
|
@@ -81,6 +81,10 @@ import {
|
|
|
81
81
|
DeleteQueryLoggingConfigurationCommandInput,
|
|
82
82
|
DeleteQueryLoggingConfigurationCommandOutput,
|
|
83
83
|
} from "./commands/DeleteQueryLoggingConfigurationCommand";
|
|
84
|
+
import {
|
|
85
|
+
DeleteResourcePolicyCommandInput,
|
|
86
|
+
DeleteResourcePolicyCommandOutput,
|
|
87
|
+
} from "./commands/DeleteResourcePolicyCommand";
|
|
84
88
|
import {
|
|
85
89
|
DeleteRuleGroupsNamespaceCommandInput,
|
|
86
90
|
DeleteRuleGroupsNamespaceCommandOutput,
|
|
@@ -105,6 +109,10 @@ import {
|
|
|
105
109
|
DescribeQueryLoggingConfigurationCommandInput,
|
|
106
110
|
DescribeQueryLoggingConfigurationCommandOutput,
|
|
107
111
|
} from "./commands/DescribeQueryLoggingConfigurationCommand";
|
|
112
|
+
import {
|
|
113
|
+
DescribeResourcePolicyCommandInput,
|
|
114
|
+
DescribeResourcePolicyCommandOutput,
|
|
115
|
+
} from "./commands/DescribeResourcePolicyCommand";
|
|
108
116
|
import {
|
|
109
117
|
DescribeRuleGroupsNamespaceCommandInput,
|
|
110
118
|
DescribeRuleGroupsNamespaceCommandOutput,
|
|
@@ -145,6 +153,10 @@ import {
|
|
|
145
153
|
PutAlertManagerDefinitionCommandInput,
|
|
146
154
|
PutAlertManagerDefinitionCommandOutput,
|
|
147
155
|
} from "./commands/PutAlertManagerDefinitionCommand";
|
|
156
|
+
import {
|
|
157
|
+
PutResourcePolicyCommandInput,
|
|
158
|
+
PutResourcePolicyCommandOutput,
|
|
159
|
+
} from "./commands/PutResourcePolicyCommand";
|
|
148
160
|
import {
|
|
149
161
|
PutRuleGroupsNamespaceCommandInput,
|
|
150
162
|
PutRuleGroupsNamespaceCommandOutput,
|
|
@@ -194,12 +206,14 @@ export type ServiceInputTypes =
|
|
|
194
206
|
| DeleteAlertManagerDefinitionCommandInput
|
|
195
207
|
| DeleteLoggingConfigurationCommandInput
|
|
196
208
|
| DeleteQueryLoggingConfigurationCommandInput
|
|
209
|
+
| DeleteResourcePolicyCommandInput
|
|
197
210
|
| DeleteRuleGroupsNamespaceCommandInput
|
|
198
211
|
| DeleteScraperCommandInput
|
|
199
212
|
| DeleteWorkspaceCommandInput
|
|
200
213
|
| DescribeAlertManagerDefinitionCommandInput
|
|
201
214
|
| DescribeLoggingConfigurationCommandInput
|
|
202
215
|
| DescribeQueryLoggingConfigurationCommandInput
|
|
216
|
+
| DescribeResourcePolicyCommandInput
|
|
203
217
|
| DescribeRuleGroupsNamespaceCommandInput
|
|
204
218
|
| DescribeScraperCommandInput
|
|
205
219
|
| DescribeWorkspaceCommandInput
|
|
@@ -210,6 +224,7 @@ export type ServiceInputTypes =
|
|
|
210
224
|
| ListTagsForResourceCommandInput
|
|
211
225
|
| ListWorkspacesCommandInput
|
|
212
226
|
| PutAlertManagerDefinitionCommandInput
|
|
227
|
+
| PutResourcePolicyCommandInput
|
|
213
228
|
| PutRuleGroupsNamespaceCommandInput
|
|
214
229
|
| TagResourceCommandInput
|
|
215
230
|
| UntagResourceCommandInput
|
|
@@ -228,12 +243,14 @@ export type ServiceOutputTypes =
|
|
|
228
243
|
| DeleteAlertManagerDefinitionCommandOutput
|
|
229
244
|
| DeleteLoggingConfigurationCommandOutput
|
|
230
245
|
| DeleteQueryLoggingConfigurationCommandOutput
|
|
246
|
+
| DeleteResourcePolicyCommandOutput
|
|
231
247
|
| DeleteRuleGroupsNamespaceCommandOutput
|
|
232
248
|
| DeleteScraperCommandOutput
|
|
233
249
|
| DeleteWorkspaceCommandOutput
|
|
234
250
|
| DescribeAlertManagerDefinitionCommandOutput
|
|
235
251
|
| DescribeLoggingConfigurationCommandOutput
|
|
236
252
|
| DescribeQueryLoggingConfigurationCommandOutput
|
|
253
|
+
| DescribeResourcePolicyCommandOutput
|
|
237
254
|
| DescribeRuleGroupsNamespaceCommandOutput
|
|
238
255
|
| DescribeScraperCommandOutput
|
|
239
256
|
| DescribeWorkspaceCommandOutput
|
|
@@ -244,6 +261,7 @@ export type ServiceOutputTypes =
|
|
|
244
261
|
| ListTagsForResourceCommandOutput
|
|
245
262
|
| ListWorkspacesCommandOutput
|
|
246
263
|
| PutAlertManagerDefinitionCommandOutput
|
|
264
|
+
| PutResourcePolicyCommandOutput
|
|
247
265
|
| PutRuleGroupsNamespaceCommandOutput
|
|
248
266
|
| TagResourceCommandOutput
|
|
249
267
|
| UntagResourceCommandOutput
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
AmpClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../AmpClient";
|
|
8
|
+
import { DeleteResourcePolicyRequest } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface DeleteResourcePolicyCommandInput
|
|
12
|
+
extends DeleteResourcePolicyRequest {}
|
|
13
|
+
export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {}
|
|
14
|
+
declare const DeleteResourcePolicyCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: DeleteResourcePolicyCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
DeleteResourcePolicyCommandInput,
|
|
19
|
+
DeleteResourcePolicyCommandOutput,
|
|
20
|
+
AmpClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
new (
|
|
25
|
+
input: DeleteResourcePolicyCommandInput
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
DeleteResourcePolicyCommandInput,
|
|
28
|
+
DeleteResourcePolicyCommandOutput,
|
|
29
|
+
AmpClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
33
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
34
|
+
};
|
|
35
|
+
export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
|
|
36
|
+
protected static __types: {
|
|
37
|
+
api: {
|
|
38
|
+
input: DeleteResourcePolicyRequest;
|
|
39
|
+
output: {};
|
|
40
|
+
};
|
|
41
|
+
sdk: {
|
|
42
|
+
input: DeleteResourcePolicyCommandInput;
|
|
43
|
+
output: DeleteResourcePolicyCommandOutput;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
AmpClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../AmpClient";
|
|
8
|
+
import {
|
|
9
|
+
DescribeResourcePolicyRequest,
|
|
10
|
+
DescribeResourcePolicyResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DescribeResourcePolicyCommandInput
|
|
15
|
+
extends DescribeResourcePolicyRequest {}
|
|
16
|
+
export interface DescribeResourcePolicyCommandOutput
|
|
17
|
+
extends DescribeResourcePolicyResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DescribeResourcePolicyCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DescribeResourcePolicyCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DescribeResourcePolicyCommandInput,
|
|
24
|
+
DescribeResourcePolicyCommandOutput,
|
|
25
|
+
AmpClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DescribeResourcePolicyCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DescribeResourcePolicyCommandInput,
|
|
33
|
+
DescribeResourcePolicyCommandOutput,
|
|
34
|
+
AmpClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DescribeResourcePolicyCommand extends DescribeResourcePolicyCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DescribeResourcePolicyRequest;
|
|
44
|
+
output: DescribeResourcePolicyResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DescribeResourcePolicyCommandInput;
|
|
48
|
+
output: DescribeResourcePolicyCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
AmpClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../AmpClient";
|
|
8
|
+
import {
|
|
9
|
+
PutResourcePolicyRequest,
|
|
10
|
+
PutResourcePolicyResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface PutResourcePolicyCommandInput
|
|
15
|
+
extends PutResourcePolicyRequest {}
|
|
16
|
+
export interface PutResourcePolicyCommandOutput
|
|
17
|
+
extends PutResourcePolicyResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const PutResourcePolicyCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: PutResourcePolicyCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
PutResourcePolicyCommandInput,
|
|
24
|
+
PutResourcePolicyCommandOutput,
|
|
25
|
+
AmpClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: PutResourcePolicyCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
PutResourcePolicyCommandInput,
|
|
33
|
+
PutResourcePolicyCommandOutput,
|
|
34
|
+
AmpClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: PutResourcePolicyRequest;
|
|
44
|
+
output: PutResourcePolicyResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: PutResourcePolicyCommandInput;
|
|
48
|
+
output: PutResourcePolicyCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -7,12 +7,14 @@ export * from "./CreateWorkspaceCommand";
|
|
|
7
7
|
export * from "./DeleteAlertManagerDefinitionCommand";
|
|
8
8
|
export * from "./DeleteLoggingConfigurationCommand";
|
|
9
9
|
export * from "./DeleteQueryLoggingConfigurationCommand";
|
|
10
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
10
11
|
export * from "./DeleteRuleGroupsNamespaceCommand";
|
|
11
12
|
export * from "./DeleteScraperCommand";
|
|
12
13
|
export * from "./DeleteWorkspaceCommand";
|
|
13
14
|
export * from "./DescribeAlertManagerDefinitionCommand";
|
|
14
15
|
export * from "./DescribeLoggingConfigurationCommand";
|
|
15
16
|
export * from "./DescribeQueryLoggingConfigurationCommand";
|
|
17
|
+
export * from "./DescribeResourcePolicyCommand";
|
|
16
18
|
export * from "./DescribeRuleGroupsNamespaceCommand";
|
|
17
19
|
export * from "./DescribeScraperCommand";
|
|
18
20
|
export * from "./DescribeWorkspaceCommand";
|
|
@@ -23,6 +25,7 @@ export * from "./ListScrapersCommand";
|
|
|
23
25
|
export * from "./ListTagsForResourceCommand";
|
|
24
26
|
export * from "./ListWorkspacesCommand";
|
|
25
27
|
export * from "./PutAlertManagerDefinitionCommand";
|
|
28
|
+
export * from "./PutResourcePolicyCommand";
|
|
26
29
|
export * from "./PutRuleGroupsNamespaceCommand";
|
|
27
30
|
export * from "./TagResourceCommand";
|
|
28
31
|
export * from "./UntagResourceCommand";
|
|
@@ -588,3 +588,34 @@ export interface UpdateWorkspaceConfigurationRequest {
|
|
|
588
588
|
export interface UpdateWorkspaceConfigurationResponse {
|
|
589
589
|
status: WorkspaceConfigurationStatus | undefined;
|
|
590
590
|
}
|
|
591
|
+
export interface DeleteResourcePolicyRequest {
|
|
592
|
+
workspaceId: string | undefined;
|
|
593
|
+
clientToken?: string | undefined;
|
|
594
|
+
revisionId?: string | undefined;
|
|
595
|
+
}
|
|
596
|
+
export interface DescribeResourcePolicyRequest {
|
|
597
|
+
workspaceId: string | undefined;
|
|
598
|
+
}
|
|
599
|
+
export declare const WorkspacePolicyStatusCode: {
|
|
600
|
+
readonly ACTIVE: "ACTIVE";
|
|
601
|
+
readonly CREATING: "CREATING";
|
|
602
|
+
readonly DELETING: "DELETING";
|
|
603
|
+
readonly UPDATING: "UPDATING";
|
|
604
|
+
};
|
|
605
|
+
export type WorkspacePolicyStatusCode =
|
|
606
|
+
(typeof WorkspacePolicyStatusCode)[keyof typeof WorkspacePolicyStatusCode];
|
|
607
|
+
export interface DescribeResourcePolicyResponse {
|
|
608
|
+
policyDocument: string | undefined;
|
|
609
|
+
policyStatus: WorkspacePolicyStatusCode | undefined;
|
|
610
|
+
revisionId: string | undefined;
|
|
611
|
+
}
|
|
612
|
+
export interface PutResourcePolicyRequest {
|
|
613
|
+
workspaceId: string | undefined;
|
|
614
|
+
policyDocument: string | undefined;
|
|
615
|
+
clientToken?: string | undefined;
|
|
616
|
+
revisionId?: string | undefined;
|
|
617
|
+
}
|
|
618
|
+
export interface PutResourcePolicyResponse {
|
|
619
|
+
policyStatus: WorkspacePolicyStatusCode | undefined;
|
|
620
|
+
revisionId: string | undefined;
|
|
621
|
+
}
|
|
@@ -39,6 +39,10 @@ import {
|
|
|
39
39
|
DeleteQueryLoggingConfigurationCommandInput,
|
|
40
40
|
DeleteQueryLoggingConfigurationCommandOutput,
|
|
41
41
|
} from "../commands/DeleteQueryLoggingConfigurationCommand";
|
|
42
|
+
import {
|
|
43
|
+
DeleteResourcePolicyCommandInput,
|
|
44
|
+
DeleteResourcePolicyCommandOutput,
|
|
45
|
+
} from "../commands/DeleteResourcePolicyCommand";
|
|
42
46
|
import {
|
|
43
47
|
DeleteRuleGroupsNamespaceCommandInput,
|
|
44
48
|
DeleteRuleGroupsNamespaceCommandOutput,
|
|
@@ -63,6 +67,10 @@ import {
|
|
|
63
67
|
DescribeQueryLoggingConfigurationCommandInput,
|
|
64
68
|
DescribeQueryLoggingConfigurationCommandOutput,
|
|
65
69
|
} from "../commands/DescribeQueryLoggingConfigurationCommand";
|
|
70
|
+
import {
|
|
71
|
+
DescribeResourcePolicyCommandInput,
|
|
72
|
+
DescribeResourcePolicyCommandOutput,
|
|
73
|
+
} from "../commands/DescribeResourcePolicyCommand";
|
|
66
74
|
import {
|
|
67
75
|
DescribeRuleGroupsNamespaceCommandInput,
|
|
68
76
|
DescribeRuleGroupsNamespaceCommandOutput,
|
|
@@ -103,6 +111,10 @@ import {
|
|
|
103
111
|
PutAlertManagerDefinitionCommandInput,
|
|
104
112
|
PutAlertManagerDefinitionCommandOutput,
|
|
105
113
|
} from "../commands/PutAlertManagerDefinitionCommand";
|
|
114
|
+
import {
|
|
115
|
+
PutResourcePolicyCommandInput,
|
|
116
|
+
PutResourcePolicyCommandOutput,
|
|
117
|
+
} from "../commands/PutResourcePolicyCommand";
|
|
106
118
|
import {
|
|
107
119
|
PutRuleGroupsNamespaceCommandInput,
|
|
108
120
|
PutRuleGroupsNamespaceCommandOutput,
|
|
@@ -171,6 +183,10 @@ export declare const se_DeleteQueryLoggingConfigurationCommand: (
|
|
|
171
183
|
input: DeleteQueryLoggingConfigurationCommandInput,
|
|
172
184
|
context: __SerdeContext
|
|
173
185
|
) => Promise<__HttpRequest>;
|
|
186
|
+
export declare const se_DeleteResourcePolicyCommand: (
|
|
187
|
+
input: DeleteResourcePolicyCommandInput,
|
|
188
|
+
context: __SerdeContext
|
|
189
|
+
) => Promise<__HttpRequest>;
|
|
174
190
|
export declare const se_DeleteRuleGroupsNamespaceCommand: (
|
|
175
191
|
input: DeleteRuleGroupsNamespaceCommandInput,
|
|
176
192
|
context: __SerdeContext
|
|
@@ -195,6 +211,10 @@ export declare const se_DescribeQueryLoggingConfigurationCommand: (
|
|
|
195
211
|
input: DescribeQueryLoggingConfigurationCommandInput,
|
|
196
212
|
context: __SerdeContext
|
|
197
213
|
) => Promise<__HttpRequest>;
|
|
214
|
+
export declare const se_DescribeResourcePolicyCommand: (
|
|
215
|
+
input: DescribeResourcePolicyCommandInput,
|
|
216
|
+
context: __SerdeContext
|
|
217
|
+
) => Promise<__HttpRequest>;
|
|
198
218
|
export declare const se_DescribeRuleGroupsNamespaceCommand: (
|
|
199
219
|
input: DescribeRuleGroupsNamespaceCommandInput,
|
|
200
220
|
context: __SerdeContext
|
|
@@ -235,6 +255,10 @@ export declare const se_PutAlertManagerDefinitionCommand: (
|
|
|
235
255
|
input: PutAlertManagerDefinitionCommandInput,
|
|
236
256
|
context: __SerdeContext
|
|
237
257
|
) => Promise<__HttpRequest>;
|
|
258
|
+
export declare const se_PutResourcePolicyCommand: (
|
|
259
|
+
input: PutResourcePolicyCommandInput,
|
|
260
|
+
context: __SerdeContext
|
|
261
|
+
) => Promise<__HttpRequest>;
|
|
238
262
|
export declare const se_PutRuleGroupsNamespaceCommand: (
|
|
239
263
|
input: PutRuleGroupsNamespaceCommandInput,
|
|
240
264
|
context: __SerdeContext
|
|
@@ -303,6 +327,10 @@ export declare const de_DeleteQueryLoggingConfigurationCommand: (
|
|
|
303
327
|
output: __HttpResponse,
|
|
304
328
|
context: __SerdeContext
|
|
305
329
|
) => Promise<DeleteQueryLoggingConfigurationCommandOutput>;
|
|
330
|
+
export declare const de_DeleteResourcePolicyCommand: (
|
|
331
|
+
output: __HttpResponse,
|
|
332
|
+
context: __SerdeContext
|
|
333
|
+
) => Promise<DeleteResourcePolicyCommandOutput>;
|
|
306
334
|
export declare const de_DeleteRuleGroupsNamespaceCommand: (
|
|
307
335
|
output: __HttpResponse,
|
|
308
336
|
context: __SerdeContext
|
|
@@ -327,6 +355,10 @@ export declare const de_DescribeQueryLoggingConfigurationCommand: (
|
|
|
327
355
|
output: __HttpResponse,
|
|
328
356
|
context: __SerdeContext
|
|
329
357
|
) => Promise<DescribeQueryLoggingConfigurationCommandOutput>;
|
|
358
|
+
export declare const de_DescribeResourcePolicyCommand: (
|
|
359
|
+
output: __HttpResponse,
|
|
360
|
+
context: __SerdeContext
|
|
361
|
+
) => Promise<DescribeResourcePolicyCommandOutput>;
|
|
330
362
|
export declare const de_DescribeRuleGroupsNamespaceCommand: (
|
|
331
363
|
output: __HttpResponse,
|
|
332
364
|
context: __SerdeContext
|
|
@@ -367,6 +399,10 @@ export declare const de_PutAlertManagerDefinitionCommand: (
|
|
|
367
399
|
output: __HttpResponse,
|
|
368
400
|
context: __SerdeContext
|
|
369
401
|
) => Promise<PutAlertManagerDefinitionCommandOutput>;
|
|
402
|
+
export declare const de_PutResourcePolicyCommand: (
|
|
403
|
+
output: __HttpResponse,
|
|
404
|
+
context: __SerdeContext
|
|
405
|
+
) => Promise<PutResourcePolicyCommandOutput>;
|
|
370
406
|
export declare const de_PutRuleGroupsNamespaceCommand: (
|
|
371
407
|
output: __HttpResponse,
|
|
372
408
|
context: __SerdeContext
|
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.869.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-amp",
|