@aws-sdk/client-amp 3.886.0 → 3.888.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 +187 -0
- package/dist-es/Amp.js +6 -0
- package/dist-es/commands/DeleteScraperLoggingConfigurationCommand.js +22 -0
- package/dist-es/commands/DescribeScraperLoggingConfigurationCommand.js +22 -0
- package/dist-es/commands/UpdateScraperLoggingConfigurationCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +21 -0
- package/dist-es/protocols/Aws_restJson1.js +78 -0
- package/dist-types/Amp.d.ts +21 -0
- package/dist-types/AmpClient.d.ts +5 -2
- package/dist-types/commands/DeleteScraperLoggingConfigurationCommand.d.ts +86 -0
- package/dist-types/commands/DescribeScraperLoggingConfigurationCommand.d.ts +104 -0
- package/dist-types/commands/UpdateScraperLoggingConfigurationCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +225 -11
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/Amp.d.ts +69 -0
- package/dist-types/ts3.4/AmpClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteScraperLoggingConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeScraperLoggingConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateScraperLoggingConfigurationCommand.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 +71 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +38 -38
|
@@ -883,6 +883,231 @@ export interface ListScrapersResponse {
|
|
|
883
883
|
*/
|
|
884
884
|
nextToken?: string | undefined;
|
|
885
885
|
}
|
|
886
|
+
/**
|
|
887
|
+
* @public
|
|
888
|
+
*/
|
|
889
|
+
export interface DeleteScraperLoggingConfigurationRequest {
|
|
890
|
+
/**
|
|
891
|
+
* <p>The ID of the scraper whose logging configuration will be deleted.</p>
|
|
892
|
+
* @public
|
|
893
|
+
*/
|
|
894
|
+
scraperId: string | undefined;
|
|
895
|
+
/**
|
|
896
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the request is processed exactly once.</p>
|
|
897
|
+
* @public
|
|
898
|
+
*/
|
|
899
|
+
clientToken?: string | undefined;
|
|
900
|
+
}
|
|
901
|
+
/**
|
|
902
|
+
* @public
|
|
903
|
+
*/
|
|
904
|
+
export interface DescribeScraperLoggingConfigurationRequest {
|
|
905
|
+
/**
|
|
906
|
+
* <p>The ID of the scraper whose logging configuration will be described.</p>
|
|
907
|
+
* @public
|
|
908
|
+
*/
|
|
909
|
+
scraperId: string | undefined;
|
|
910
|
+
}
|
|
911
|
+
/**
|
|
912
|
+
* <p>Configuration details for logging to CloudWatch Logs.</p>
|
|
913
|
+
* @public
|
|
914
|
+
*/
|
|
915
|
+
export interface CloudWatchLogDestination {
|
|
916
|
+
/**
|
|
917
|
+
* <p>The ARN of the CloudWatch log group to which the vended log data will be published. This log group must exist prior to calling this operation.</p>
|
|
918
|
+
* @public
|
|
919
|
+
*/
|
|
920
|
+
logGroupArn: string | undefined;
|
|
921
|
+
}
|
|
922
|
+
/**
|
|
923
|
+
* <p>The destination where scraper logs are sent.</p>
|
|
924
|
+
* @public
|
|
925
|
+
*/
|
|
926
|
+
export type ScraperLoggingDestination = ScraperLoggingDestination.CloudWatchLogsMember | ScraperLoggingDestination.$UnknownMember;
|
|
927
|
+
/**
|
|
928
|
+
* @public
|
|
929
|
+
*/
|
|
930
|
+
export declare namespace ScraperLoggingDestination {
|
|
931
|
+
/**
|
|
932
|
+
* <p>The CloudWatch Logs configuration for the scraper logging destination.</p>
|
|
933
|
+
* @public
|
|
934
|
+
*/
|
|
935
|
+
interface CloudWatchLogsMember {
|
|
936
|
+
cloudWatchLogs: CloudWatchLogDestination;
|
|
937
|
+
$unknown?: never;
|
|
938
|
+
}
|
|
939
|
+
/**
|
|
940
|
+
* @public
|
|
941
|
+
*/
|
|
942
|
+
interface $UnknownMember {
|
|
943
|
+
cloudWatchLogs?: never;
|
|
944
|
+
$unknown: [string, any];
|
|
945
|
+
}
|
|
946
|
+
interface Visitor<T> {
|
|
947
|
+
cloudWatchLogs: (value: CloudWatchLogDestination) => T;
|
|
948
|
+
_: (name: string, value: any) => T;
|
|
949
|
+
}
|
|
950
|
+
const visit: <T>(value: ScraperLoggingDestination, visitor: Visitor<T>) => T;
|
|
951
|
+
}
|
|
952
|
+
/**
|
|
953
|
+
* <p>Configuration settings for a scraper component.</p>
|
|
954
|
+
* @public
|
|
955
|
+
*/
|
|
956
|
+
export interface ComponentConfig {
|
|
957
|
+
/**
|
|
958
|
+
* <p>Configuration options for the scraper component.</p>
|
|
959
|
+
* @public
|
|
960
|
+
*/
|
|
961
|
+
options?: Record<string, string> | undefined;
|
|
962
|
+
}
|
|
963
|
+
/**
|
|
964
|
+
* @public
|
|
965
|
+
* @enum
|
|
966
|
+
*/
|
|
967
|
+
export declare const ScraperComponentType: {
|
|
968
|
+
/**
|
|
969
|
+
* Scraper collector component
|
|
970
|
+
*/
|
|
971
|
+
readonly COLLECTOR: "COLLECTOR";
|
|
972
|
+
/**
|
|
973
|
+
* Scraper exporter component
|
|
974
|
+
*/
|
|
975
|
+
readonly EXPORTER: "EXPORTER";
|
|
976
|
+
/**
|
|
977
|
+
* Scraper service discoverer component
|
|
978
|
+
*/
|
|
979
|
+
readonly SERVICE_DISCOVERY: "SERVICE_DISCOVERY";
|
|
980
|
+
};
|
|
981
|
+
/**
|
|
982
|
+
* @public
|
|
983
|
+
*/
|
|
984
|
+
export type ScraperComponentType = (typeof ScraperComponentType)[keyof typeof ScraperComponentType];
|
|
985
|
+
/**
|
|
986
|
+
* <p>A component of a Amazon Managed Service for Prometheus scraper that can be configured for logging.</p>
|
|
987
|
+
* @public
|
|
988
|
+
*/
|
|
989
|
+
export interface ScraperComponent {
|
|
990
|
+
/**
|
|
991
|
+
* <p>The type of the scraper component.</p>
|
|
992
|
+
* @public
|
|
993
|
+
*/
|
|
994
|
+
type: ScraperComponentType | undefined;
|
|
995
|
+
/**
|
|
996
|
+
* <p>The configuration settings for the scraper component.</p>
|
|
997
|
+
* @public
|
|
998
|
+
*/
|
|
999
|
+
config?: ComponentConfig | undefined;
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* @public
|
|
1003
|
+
* @enum
|
|
1004
|
+
*/
|
|
1005
|
+
export declare const ScraperLoggingConfigurationStatusCode: {
|
|
1006
|
+
/**
|
|
1007
|
+
* Scraper logging configuration is active.
|
|
1008
|
+
*/
|
|
1009
|
+
readonly ACTIVE: "ACTIVE";
|
|
1010
|
+
/**
|
|
1011
|
+
* Scraper logging configuration is being created.
|
|
1012
|
+
*/
|
|
1013
|
+
readonly CREATING: "CREATING";
|
|
1014
|
+
/**
|
|
1015
|
+
* Scraper logging configuration creation failed.
|
|
1016
|
+
*/
|
|
1017
|
+
readonly CREATION_FAILED: "CREATION_FAILED";
|
|
1018
|
+
/**
|
|
1019
|
+
* Scraper logging configuration is being deleted.
|
|
1020
|
+
*/
|
|
1021
|
+
readonly DELETING: "DELETING";
|
|
1022
|
+
/**
|
|
1023
|
+
* Scraper logging configuration update failed.
|
|
1024
|
+
*/
|
|
1025
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
1026
|
+
/**
|
|
1027
|
+
* Scraper logging configuration is being updated.
|
|
1028
|
+
*/
|
|
1029
|
+
readonly UPDATING: "UPDATING";
|
|
1030
|
+
};
|
|
1031
|
+
/**
|
|
1032
|
+
* @public
|
|
1033
|
+
*/
|
|
1034
|
+
export type ScraperLoggingConfigurationStatusCode = (typeof ScraperLoggingConfigurationStatusCode)[keyof typeof ScraperLoggingConfigurationStatusCode];
|
|
1035
|
+
/**
|
|
1036
|
+
* <p>The status of a scraper logging configuration.</p>
|
|
1037
|
+
* @public
|
|
1038
|
+
*/
|
|
1039
|
+
export interface ScraperLoggingConfigurationStatus {
|
|
1040
|
+
/**
|
|
1041
|
+
* <p>The status code of the scraper logging configuration.</p>
|
|
1042
|
+
* @public
|
|
1043
|
+
*/
|
|
1044
|
+
statusCode: ScraperLoggingConfigurationStatusCode | undefined;
|
|
1045
|
+
/**
|
|
1046
|
+
* <p>The reason for the current status of the scraper logging configuration.</p>
|
|
1047
|
+
* @public
|
|
1048
|
+
*/
|
|
1049
|
+
statusReason?: string | undefined;
|
|
1050
|
+
}
|
|
1051
|
+
/**
|
|
1052
|
+
* @public
|
|
1053
|
+
*/
|
|
1054
|
+
export interface DescribeScraperLoggingConfigurationResponse {
|
|
1055
|
+
/**
|
|
1056
|
+
* <p>The status of the scraper logging configuration.</p>
|
|
1057
|
+
* @public
|
|
1058
|
+
*/
|
|
1059
|
+
status: ScraperLoggingConfigurationStatus | undefined;
|
|
1060
|
+
/**
|
|
1061
|
+
* <p>The ID of the scraper.</p>
|
|
1062
|
+
* @public
|
|
1063
|
+
*/
|
|
1064
|
+
scraperId: string | undefined;
|
|
1065
|
+
/**
|
|
1066
|
+
* <p>The destination where scraper logs are sent.</p>
|
|
1067
|
+
* @public
|
|
1068
|
+
*/
|
|
1069
|
+
loggingDestination: ScraperLoggingDestination | undefined;
|
|
1070
|
+
/**
|
|
1071
|
+
* <p>The list of scraper components configured for logging.</p>
|
|
1072
|
+
* @public
|
|
1073
|
+
*/
|
|
1074
|
+
scraperComponents: ScraperComponent[] | undefined;
|
|
1075
|
+
/**
|
|
1076
|
+
* <p>The date and time when the logging configuration was last modified.</p>
|
|
1077
|
+
* @public
|
|
1078
|
+
*/
|
|
1079
|
+
modifiedAt: Date | undefined;
|
|
1080
|
+
}
|
|
1081
|
+
/**
|
|
1082
|
+
* @public
|
|
1083
|
+
*/
|
|
1084
|
+
export interface UpdateScraperLoggingConfigurationRequest {
|
|
1085
|
+
/**
|
|
1086
|
+
* <p>The ID of the scraper whose logging configuration will be updated.</p>
|
|
1087
|
+
* @public
|
|
1088
|
+
*/
|
|
1089
|
+
scraperId: string | undefined;
|
|
1090
|
+
/**
|
|
1091
|
+
* <p>The destination where scraper logs will be sent.</p>
|
|
1092
|
+
* @public
|
|
1093
|
+
*/
|
|
1094
|
+
loggingDestination: ScraperLoggingDestination | undefined;
|
|
1095
|
+
/**
|
|
1096
|
+
* <p>The list of scraper components to configure for logging.</p>
|
|
1097
|
+
* @public
|
|
1098
|
+
*/
|
|
1099
|
+
scraperComponents?: ScraperComponent[] | undefined;
|
|
1100
|
+
}
|
|
1101
|
+
/**
|
|
1102
|
+
* @public
|
|
1103
|
+
*/
|
|
1104
|
+
export interface UpdateScraperLoggingConfigurationResponse {
|
|
1105
|
+
/**
|
|
1106
|
+
* <p>The status of the updated scraper logging configuration.</p>
|
|
1107
|
+
* @public
|
|
1108
|
+
*/
|
|
1109
|
+
status: ScraperLoggingConfigurationStatus | undefined;
|
|
1110
|
+
}
|
|
886
1111
|
/**
|
|
887
1112
|
* @public
|
|
888
1113
|
*/
|
|
@@ -1426,17 +1651,6 @@ export interface UpdateLoggingConfigurationResponse {
|
|
|
1426
1651
|
*/
|
|
1427
1652
|
status: LoggingConfigurationStatus | undefined;
|
|
1428
1653
|
}
|
|
1429
|
-
/**
|
|
1430
|
-
* <p>Configuration details for logging to CloudWatch Logs.</p>
|
|
1431
|
-
* @public
|
|
1432
|
-
*/
|
|
1433
|
-
export interface CloudWatchLogDestination {
|
|
1434
|
-
/**
|
|
1435
|
-
* <p>The ARN of the CloudWatch log group to which the vended log data will be published. This log group must exist prior to calling this operation.</p>
|
|
1436
|
-
* @public
|
|
1437
|
-
*/
|
|
1438
|
-
logGroupArn: string | undefined;
|
|
1439
|
-
}
|
|
1440
1654
|
/**
|
|
1441
1655
|
* <p>Filtering criteria that determine which queries are logged.</p>
|
|
1442
1656
|
* @public
|
|
@@ -12,6 +12,7 @@ import { DeleteQueryLoggingConfigurationCommandInput, DeleteQueryLoggingConfigur
|
|
|
12
12
|
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand";
|
|
13
13
|
import { DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput } from "../commands/DeleteRuleGroupsNamespaceCommand";
|
|
14
14
|
import { DeleteScraperCommandInput, DeleteScraperCommandOutput } from "../commands/DeleteScraperCommand";
|
|
15
|
+
import { DeleteScraperLoggingConfigurationCommandInput, DeleteScraperLoggingConfigurationCommandOutput } from "../commands/DeleteScraperLoggingConfigurationCommand";
|
|
15
16
|
import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "../commands/DeleteWorkspaceCommand";
|
|
16
17
|
import { DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput } from "../commands/DescribeAlertManagerDefinitionCommand";
|
|
17
18
|
import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "../commands/DescribeLoggingConfigurationCommand";
|
|
@@ -19,6 +20,7 @@ import { DescribeQueryLoggingConfigurationCommandInput, DescribeQueryLoggingConf
|
|
|
19
20
|
import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "../commands/DescribeResourcePolicyCommand";
|
|
20
21
|
import { DescribeRuleGroupsNamespaceCommandInput, DescribeRuleGroupsNamespaceCommandOutput } from "../commands/DescribeRuleGroupsNamespaceCommand";
|
|
21
22
|
import { DescribeScraperCommandInput, DescribeScraperCommandOutput } from "../commands/DescribeScraperCommand";
|
|
23
|
+
import { DescribeScraperLoggingConfigurationCommandInput, DescribeScraperLoggingConfigurationCommandOutput } from "../commands/DescribeScraperLoggingConfigurationCommand";
|
|
22
24
|
import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "../commands/DescribeWorkspaceCommand";
|
|
23
25
|
import { DescribeWorkspaceConfigurationCommandInput, DescribeWorkspaceConfigurationCommandOutput } from "../commands/DescribeWorkspaceConfigurationCommand";
|
|
24
26
|
import { GetDefaultScraperConfigurationCommandInput, GetDefaultScraperConfigurationCommandOutput } from "../commands/GetDefaultScraperConfigurationCommand";
|
|
@@ -34,6 +36,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
|
|
|
34
36
|
import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "../commands/UpdateLoggingConfigurationCommand";
|
|
35
37
|
import { UpdateQueryLoggingConfigurationCommandInput, UpdateQueryLoggingConfigurationCommandOutput } from "../commands/UpdateQueryLoggingConfigurationCommand";
|
|
36
38
|
import { UpdateScraperCommandInput, UpdateScraperCommandOutput } from "../commands/UpdateScraperCommand";
|
|
39
|
+
import { UpdateScraperLoggingConfigurationCommandInput, UpdateScraperLoggingConfigurationCommandOutput } from "../commands/UpdateScraperLoggingConfigurationCommand";
|
|
37
40
|
import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "../commands/UpdateWorkspaceAliasCommand";
|
|
38
41
|
import { UpdateWorkspaceConfigurationCommandInput, UpdateWorkspaceConfigurationCommandOutput } from "../commands/UpdateWorkspaceConfigurationCommand";
|
|
39
42
|
/**
|
|
@@ -84,6 +87,10 @@ export declare const se_DeleteRuleGroupsNamespaceCommand: (input: DeleteRuleGrou
|
|
|
84
87
|
* serializeAws_restJson1DeleteScraperCommand
|
|
85
88
|
*/
|
|
86
89
|
export declare const se_DeleteScraperCommand: (input: DeleteScraperCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
90
|
+
/**
|
|
91
|
+
* serializeAws_restJson1DeleteScraperLoggingConfigurationCommand
|
|
92
|
+
*/
|
|
93
|
+
export declare const se_DeleteScraperLoggingConfigurationCommand: (input: DeleteScraperLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
87
94
|
/**
|
|
88
95
|
* serializeAws_restJson1DeleteWorkspaceCommand
|
|
89
96
|
*/
|
|
@@ -112,6 +119,10 @@ export declare const se_DescribeRuleGroupsNamespaceCommand: (input: DescribeRule
|
|
|
112
119
|
* serializeAws_restJson1DescribeScraperCommand
|
|
113
120
|
*/
|
|
114
121
|
export declare const se_DescribeScraperCommand: (input: DescribeScraperCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
122
|
+
/**
|
|
123
|
+
* serializeAws_restJson1DescribeScraperLoggingConfigurationCommand
|
|
124
|
+
*/
|
|
125
|
+
export declare const se_DescribeScraperLoggingConfigurationCommand: (input: DescribeScraperLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
115
126
|
/**
|
|
116
127
|
* serializeAws_restJson1DescribeWorkspaceCommand
|
|
117
128
|
*/
|
|
@@ -172,6 +183,10 @@ export declare const se_UpdateQueryLoggingConfigurationCommand: (input: UpdateQu
|
|
|
172
183
|
* serializeAws_restJson1UpdateScraperCommand
|
|
173
184
|
*/
|
|
174
185
|
export declare const se_UpdateScraperCommand: (input: UpdateScraperCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
186
|
+
/**
|
|
187
|
+
* serializeAws_restJson1UpdateScraperLoggingConfigurationCommand
|
|
188
|
+
*/
|
|
189
|
+
export declare const se_UpdateScraperLoggingConfigurationCommand: (input: UpdateScraperLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
175
190
|
/**
|
|
176
191
|
* serializeAws_restJson1UpdateWorkspaceAliasCommand
|
|
177
192
|
*/
|
|
@@ -228,6 +243,10 @@ export declare const de_DeleteRuleGroupsNamespaceCommand: (output: __HttpRespons
|
|
|
228
243
|
* deserializeAws_restJson1DeleteScraperCommand
|
|
229
244
|
*/
|
|
230
245
|
export declare const de_DeleteScraperCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteScraperCommandOutput>;
|
|
246
|
+
/**
|
|
247
|
+
* deserializeAws_restJson1DeleteScraperLoggingConfigurationCommand
|
|
248
|
+
*/
|
|
249
|
+
export declare const de_DeleteScraperLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteScraperLoggingConfigurationCommandOutput>;
|
|
231
250
|
/**
|
|
232
251
|
* deserializeAws_restJson1DeleteWorkspaceCommand
|
|
233
252
|
*/
|
|
@@ -256,6 +275,10 @@ export declare const de_DescribeRuleGroupsNamespaceCommand: (output: __HttpRespo
|
|
|
256
275
|
* deserializeAws_restJson1DescribeScraperCommand
|
|
257
276
|
*/
|
|
258
277
|
export declare const de_DescribeScraperCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeScraperCommandOutput>;
|
|
278
|
+
/**
|
|
279
|
+
* deserializeAws_restJson1DescribeScraperLoggingConfigurationCommand
|
|
280
|
+
*/
|
|
281
|
+
export declare const de_DescribeScraperLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeScraperLoggingConfigurationCommandOutput>;
|
|
259
282
|
/**
|
|
260
283
|
* deserializeAws_restJson1DescribeWorkspaceCommand
|
|
261
284
|
*/
|
|
@@ -316,6 +339,10 @@ export declare const de_UpdateQueryLoggingConfigurationCommand: (output: __HttpR
|
|
|
316
339
|
* deserializeAws_restJson1UpdateScraperCommand
|
|
317
340
|
*/
|
|
318
341
|
export declare const de_UpdateScraperCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateScraperCommandOutput>;
|
|
342
|
+
/**
|
|
343
|
+
* deserializeAws_restJson1UpdateScraperLoggingConfigurationCommand
|
|
344
|
+
*/
|
|
345
|
+
export declare const de_UpdateScraperLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateScraperLoggingConfigurationCommandOutput>;
|
|
319
346
|
/**
|
|
320
347
|
* deserializeAws_restJson1UpdateWorkspaceAliasCommand
|
|
321
348
|
*/
|
|
@@ -48,6 +48,10 @@ import {
|
|
|
48
48
|
DeleteScraperCommandInput,
|
|
49
49
|
DeleteScraperCommandOutput,
|
|
50
50
|
} from "./commands/DeleteScraperCommand";
|
|
51
|
+
import {
|
|
52
|
+
DeleteScraperLoggingConfigurationCommandInput,
|
|
53
|
+
DeleteScraperLoggingConfigurationCommandOutput,
|
|
54
|
+
} from "./commands/DeleteScraperLoggingConfigurationCommand";
|
|
51
55
|
import {
|
|
52
56
|
DeleteWorkspaceCommandInput,
|
|
53
57
|
DeleteWorkspaceCommandOutput,
|
|
@@ -76,6 +80,10 @@ import {
|
|
|
76
80
|
DescribeScraperCommandInput,
|
|
77
81
|
DescribeScraperCommandOutput,
|
|
78
82
|
} from "./commands/DescribeScraperCommand";
|
|
83
|
+
import {
|
|
84
|
+
DescribeScraperLoggingConfigurationCommandInput,
|
|
85
|
+
DescribeScraperLoggingConfigurationCommandOutput,
|
|
86
|
+
} from "./commands/DescribeScraperLoggingConfigurationCommand";
|
|
79
87
|
import {
|
|
80
88
|
DescribeWorkspaceCommandInput,
|
|
81
89
|
DescribeWorkspaceCommandOutput,
|
|
@@ -136,6 +144,10 @@ import {
|
|
|
136
144
|
UpdateScraperCommandInput,
|
|
137
145
|
UpdateScraperCommandOutput,
|
|
138
146
|
} from "./commands/UpdateScraperCommand";
|
|
147
|
+
import {
|
|
148
|
+
UpdateScraperLoggingConfigurationCommandInput,
|
|
149
|
+
UpdateScraperLoggingConfigurationCommandOutput,
|
|
150
|
+
} from "./commands/UpdateScraperLoggingConfigurationCommand";
|
|
139
151
|
import {
|
|
140
152
|
UpdateWorkspaceAliasCommandInput,
|
|
141
153
|
UpdateWorkspaceAliasCommandOutput,
|
|
@@ -302,6 +314,25 @@ export interface Amp {
|
|
|
302
314
|
options: __HttpHandlerOptions,
|
|
303
315
|
cb: (err: any, data?: DeleteScraperCommandOutput) => void
|
|
304
316
|
): void;
|
|
317
|
+
deleteScraperLoggingConfiguration(
|
|
318
|
+
args: DeleteScraperLoggingConfigurationCommandInput,
|
|
319
|
+
options?: __HttpHandlerOptions
|
|
320
|
+
): Promise<DeleteScraperLoggingConfigurationCommandOutput>;
|
|
321
|
+
deleteScraperLoggingConfiguration(
|
|
322
|
+
args: DeleteScraperLoggingConfigurationCommandInput,
|
|
323
|
+
cb: (
|
|
324
|
+
err: any,
|
|
325
|
+
data?: DeleteScraperLoggingConfigurationCommandOutput
|
|
326
|
+
) => void
|
|
327
|
+
): void;
|
|
328
|
+
deleteScraperLoggingConfiguration(
|
|
329
|
+
args: DeleteScraperLoggingConfigurationCommandInput,
|
|
330
|
+
options: __HttpHandlerOptions,
|
|
331
|
+
cb: (
|
|
332
|
+
err: any,
|
|
333
|
+
data?: DeleteScraperLoggingConfigurationCommandOutput
|
|
334
|
+
) => void
|
|
335
|
+
): void;
|
|
305
336
|
deleteWorkspace(
|
|
306
337
|
args: DeleteWorkspaceCommandInput,
|
|
307
338
|
options?: __HttpHandlerOptions
|
|
@@ -399,6 +430,25 @@ export interface Amp {
|
|
|
399
430
|
options: __HttpHandlerOptions,
|
|
400
431
|
cb: (err: any, data?: DescribeScraperCommandOutput) => void
|
|
401
432
|
): void;
|
|
433
|
+
describeScraperLoggingConfiguration(
|
|
434
|
+
args: DescribeScraperLoggingConfigurationCommandInput,
|
|
435
|
+
options?: __HttpHandlerOptions
|
|
436
|
+
): Promise<DescribeScraperLoggingConfigurationCommandOutput>;
|
|
437
|
+
describeScraperLoggingConfiguration(
|
|
438
|
+
args: DescribeScraperLoggingConfigurationCommandInput,
|
|
439
|
+
cb: (
|
|
440
|
+
err: any,
|
|
441
|
+
data?: DescribeScraperLoggingConfigurationCommandOutput
|
|
442
|
+
) => void
|
|
443
|
+
): void;
|
|
444
|
+
describeScraperLoggingConfiguration(
|
|
445
|
+
args: DescribeScraperLoggingConfigurationCommandInput,
|
|
446
|
+
options: __HttpHandlerOptions,
|
|
447
|
+
cb: (
|
|
448
|
+
err: any,
|
|
449
|
+
data?: DescribeScraperLoggingConfigurationCommandOutput
|
|
450
|
+
) => void
|
|
451
|
+
): void;
|
|
402
452
|
describeWorkspace(
|
|
403
453
|
args: DescribeWorkspaceCommandInput,
|
|
404
454
|
options?: __HttpHandlerOptions
|
|
@@ -597,6 +647,25 @@ export interface Amp {
|
|
|
597
647
|
options: __HttpHandlerOptions,
|
|
598
648
|
cb: (err: any, data?: UpdateScraperCommandOutput) => void
|
|
599
649
|
): void;
|
|
650
|
+
updateScraperLoggingConfiguration(
|
|
651
|
+
args: UpdateScraperLoggingConfigurationCommandInput,
|
|
652
|
+
options?: __HttpHandlerOptions
|
|
653
|
+
): Promise<UpdateScraperLoggingConfigurationCommandOutput>;
|
|
654
|
+
updateScraperLoggingConfiguration(
|
|
655
|
+
args: UpdateScraperLoggingConfigurationCommandInput,
|
|
656
|
+
cb: (
|
|
657
|
+
err: any,
|
|
658
|
+
data?: UpdateScraperLoggingConfigurationCommandOutput
|
|
659
|
+
) => void
|
|
660
|
+
): void;
|
|
661
|
+
updateScraperLoggingConfiguration(
|
|
662
|
+
args: UpdateScraperLoggingConfigurationCommandInput,
|
|
663
|
+
options: __HttpHandlerOptions,
|
|
664
|
+
cb: (
|
|
665
|
+
err: any,
|
|
666
|
+
data?: UpdateScraperLoggingConfigurationCommandOutput
|
|
667
|
+
) => void
|
|
668
|
+
): void;
|
|
600
669
|
updateWorkspaceAlias(
|
|
601
670
|
args: UpdateWorkspaceAliasCommandInput,
|
|
602
671
|
options?: __HttpHandlerOptions
|
|
@@ -93,6 +93,10 @@ import {
|
|
|
93
93
|
DeleteScraperCommandInput,
|
|
94
94
|
DeleteScraperCommandOutput,
|
|
95
95
|
} from "./commands/DeleteScraperCommand";
|
|
96
|
+
import {
|
|
97
|
+
DeleteScraperLoggingConfigurationCommandInput,
|
|
98
|
+
DeleteScraperLoggingConfigurationCommandOutput,
|
|
99
|
+
} from "./commands/DeleteScraperLoggingConfigurationCommand";
|
|
96
100
|
import {
|
|
97
101
|
DeleteWorkspaceCommandInput,
|
|
98
102
|
DeleteWorkspaceCommandOutput,
|
|
@@ -121,6 +125,10 @@ import {
|
|
|
121
125
|
DescribeScraperCommandInput,
|
|
122
126
|
DescribeScraperCommandOutput,
|
|
123
127
|
} from "./commands/DescribeScraperCommand";
|
|
128
|
+
import {
|
|
129
|
+
DescribeScraperLoggingConfigurationCommandInput,
|
|
130
|
+
DescribeScraperLoggingConfigurationCommandOutput,
|
|
131
|
+
} from "./commands/DescribeScraperLoggingConfigurationCommand";
|
|
124
132
|
import {
|
|
125
133
|
DescribeWorkspaceCommandInput,
|
|
126
134
|
DescribeWorkspaceCommandOutput,
|
|
@@ -181,6 +189,10 @@ import {
|
|
|
181
189
|
UpdateScraperCommandInput,
|
|
182
190
|
UpdateScraperCommandOutput,
|
|
183
191
|
} from "./commands/UpdateScraperCommand";
|
|
192
|
+
import {
|
|
193
|
+
UpdateScraperLoggingConfigurationCommandInput,
|
|
194
|
+
UpdateScraperLoggingConfigurationCommandOutput,
|
|
195
|
+
} from "./commands/UpdateScraperLoggingConfigurationCommand";
|
|
184
196
|
import {
|
|
185
197
|
UpdateWorkspaceAliasCommandInput,
|
|
186
198
|
UpdateWorkspaceAliasCommandOutput,
|
|
@@ -209,6 +221,7 @@ export type ServiceInputTypes =
|
|
|
209
221
|
| DeleteResourcePolicyCommandInput
|
|
210
222
|
| DeleteRuleGroupsNamespaceCommandInput
|
|
211
223
|
| DeleteScraperCommandInput
|
|
224
|
+
| DeleteScraperLoggingConfigurationCommandInput
|
|
212
225
|
| DeleteWorkspaceCommandInput
|
|
213
226
|
| DescribeAlertManagerDefinitionCommandInput
|
|
214
227
|
| DescribeLoggingConfigurationCommandInput
|
|
@@ -216,6 +229,7 @@ export type ServiceInputTypes =
|
|
|
216
229
|
| DescribeResourcePolicyCommandInput
|
|
217
230
|
| DescribeRuleGroupsNamespaceCommandInput
|
|
218
231
|
| DescribeScraperCommandInput
|
|
232
|
+
| DescribeScraperLoggingConfigurationCommandInput
|
|
219
233
|
| DescribeWorkspaceCommandInput
|
|
220
234
|
| DescribeWorkspaceConfigurationCommandInput
|
|
221
235
|
| GetDefaultScraperConfigurationCommandInput
|
|
@@ -231,6 +245,7 @@ export type ServiceInputTypes =
|
|
|
231
245
|
| UpdateLoggingConfigurationCommandInput
|
|
232
246
|
| UpdateQueryLoggingConfigurationCommandInput
|
|
233
247
|
| UpdateScraperCommandInput
|
|
248
|
+
| UpdateScraperLoggingConfigurationCommandInput
|
|
234
249
|
| UpdateWorkspaceAliasCommandInput
|
|
235
250
|
| UpdateWorkspaceConfigurationCommandInput;
|
|
236
251
|
export type ServiceOutputTypes =
|
|
@@ -246,6 +261,7 @@ export type ServiceOutputTypes =
|
|
|
246
261
|
| DeleteResourcePolicyCommandOutput
|
|
247
262
|
| DeleteRuleGroupsNamespaceCommandOutput
|
|
248
263
|
| DeleteScraperCommandOutput
|
|
264
|
+
| DeleteScraperLoggingConfigurationCommandOutput
|
|
249
265
|
| DeleteWorkspaceCommandOutput
|
|
250
266
|
| DescribeAlertManagerDefinitionCommandOutput
|
|
251
267
|
| DescribeLoggingConfigurationCommandOutput
|
|
@@ -253,6 +269,7 @@ export type ServiceOutputTypes =
|
|
|
253
269
|
| DescribeResourcePolicyCommandOutput
|
|
254
270
|
| DescribeRuleGroupsNamespaceCommandOutput
|
|
255
271
|
| DescribeScraperCommandOutput
|
|
272
|
+
| DescribeScraperLoggingConfigurationCommandOutput
|
|
256
273
|
| DescribeWorkspaceCommandOutput
|
|
257
274
|
| DescribeWorkspaceConfigurationCommandOutput
|
|
258
275
|
| GetDefaultScraperConfigurationCommandOutput
|
|
@@ -268,6 +285,7 @@ export type ServiceOutputTypes =
|
|
|
268
285
|
| UpdateLoggingConfigurationCommandOutput
|
|
269
286
|
| UpdateQueryLoggingConfigurationCommandOutput
|
|
270
287
|
| UpdateScraperCommandOutput
|
|
288
|
+
| UpdateScraperLoggingConfigurationCommandOutput
|
|
271
289
|
| UpdateWorkspaceAliasCommandOutput
|
|
272
290
|
| UpdateWorkspaceConfigurationCommandOutput;
|
|
273
291
|
export interface ClientDefaults
|
|
@@ -0,0 +1,47 @@
|
|
|
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 { DeleteScraperLoggingConfigurationRequest } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface DeleteScraperLoggingConfigurationCommandInput
|
|
12
|
+
extends DeleteScraperLoggingConfigurationRequest {}
|
|
13
|
+
export interface DeleteScraperLoggingConfigurationCommandOutput
|
|
14
|
+
extends __MetadataBearer {}
|
|
15
|
+
declare const DeleteScraperLoggingConfigurationCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: DeleteScraperLoggingConfigurationCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
DeleteScraperLoggingConfigurationCommandInput,
|
|
20
|
+
DeleteScraperLoggingConfigurationCommandOutput,
|
|
21
|
+
AmpClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: DeleteScraperLoggingConfigurationCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
DeleteScraperLoggingConfigurationCommandInput,
|
|
29
|
+
DeleteScraperLoggingConfigurationCommandOutput,
|
|
30
|
+
AmpClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class DeleteScraperLoggingConfigurationCommand extends DeleteScraperLoggingConfigurationCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: DeleteScraperLoggingConfigurationRequest;
|
|
40
|
+
output: {};
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: DeleteScraperLoggingConfigurationCommandInput;
|
|
44
|
+
output: DeleteScraperLoggingConfigurationCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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
|
+
DescribeScraperLoggingConfigurationRequest,
|
|
10
|
+
DescribeScraperLoggingConfigurationResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DescribeScraperLoggingConfigurationCommandInput
|
|
15
|
+
extends DescribeScraperLoggingConfigurationRequest {}
|
|
16
|
+
export interface DescribeScraperLoggingConfigurationCommandOutput
|
|
17
|
+
extends DescribeScraperLoggingConfigurationResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DescribeScraperLoggingConfigurationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DescribeScraperLoggingConfigurationCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DescribeScraperLoggingConfigurationCommandInput,
|
|
24
|
+
DescribeScraperLoggingConfigurationCommandOutput,
|
|
25
|
+
AmpClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DescribeScraperLoggingConfigurationCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DescribeScraperLoggingConfigurationCommandInput,
|
|
33
|
+
DescribeScraperLoggingConfigurationCommandOutput,
|
|
34
|
+
AmpClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DescribeScraperLoggingConfigurationCommand extends DescribeScraperLoggingConfigurationCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DescribeScraperLoggingConfigurationRequest;
|
|
44
|
+
output: DescribeScraperLoggingConfigurationResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DescribeScraperLoggingConfigurationCommandInput;
|
|
48
|
+
output: DescribeScraperLoggingConfigurationCommandOutput;
|
|
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
|
+
UpdateScraperLoggingConfigurationRequest,
|
|
10
|
+
UpdateScraperLoggingConfigurationResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateScraperLoggingConfigurationCommandInput
|
|
15
|
+
extends UpdateScraperLoggingConfigurationRequest {}
|
|
16
|
+
export interface UpdateScraperLoggingConfigurationCommandOutput
|
|
17
|
+
extends UpdateScraperLoggingConfigurationResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateScraperLoggingConfigurationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateScraperLoggingConfigurationCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateScraperLoggingConfigurationCommandInput,
|
|
24
|
+
UpdateScraperLoggingConfigurationCommandOutput,
|
|
25
|
+
AmpClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: UpdateScraperLoggingConfigurationCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateScraperLoggingConfigurationCommandInput,
|
|
33
|
+
UpdateScraperLoggingConfigurationCommandOutput,
|
|
34
|
+
AmpClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateScraperLoggingConfigurationCommand extends UpdateScraperLoggingConfigurationCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateScraperLoggingConfigurationRequest;
|
|
44
|
+
output: UpdateScraperLoggingConfigurationResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateScraperLoggingConfigurationCommandInput;
|
|
48
|
+
output: UpdateScraperLoggingConfigurationCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|