@aws-sdk/client-abuse-signal 0.0.0-stage → 3.1173.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/LICENSE +201 -0
- package/README.md +201 -2
- package/dist-cjs/index.js +785 -0
- package/dist-es/AbuseSignal.js +21 -0
- package/dist-es/AbuseSignalClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +122 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateAbuseReportCommand.js +4 -0
- package/dist-es/commands/GetAbuseReportStatusCommand.js +4 -0
- package/dist-es/commands/ListAbuseReportStatusesCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/bdd.js +46 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +11 -0
- package/dist-es/models/AbuseSignalServiceException.js +9 -0
- package/dist-es/models/enums.js +12 -0
- package/dist-es/models/errors.js +110 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAbuseReportStatusesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +47 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +176 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForReportProcessing.js +43 -0
- package/dist-types/AbuseSignal.d.ts +52 -0
- package/dist-types/AbuseSignalClient.d.ts +190 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +83 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateAbuseReportCommand.d.ts +112 -0
- package/dist-types/commands/GetAbuseReportStatusCommand.d.ts +110 -0
- package/dist-types/commands/ListAbuseReportStatusesCommand.d.ts +113 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +19 -0
- package/dist-types/models/AbuseSignalServiceException.d.ts +15 -0
- package/dist-types/models/enums.d.ts +28 -0
- package/dist-types/models/errors.d.ts +133 -0
- package/dist-types/models/models_0.d.ts +229 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAbuseReportStatusesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +58 -0
- package/dist-types/runtimeConfig.d.ts +59 -0
- package/dist-types/runtimeConfig.native.d.ts +57 -0
- package/dist-types/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +29 -0
- package/dist-types/ts3.4/AbuseSignal.d.ts +83 -0
- package/dist-types/ts3.4/AbuseSignalClient.d.ts +119 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +53 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateAbuseReportCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAbuseReportStatusCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAbuseReportStatusesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +14 -0
- package/dist-types/ts3.4/models/AbuseSignalServiceException.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/errors.d.ts +56 -0
- package/dist-types/ts3.4/models/models_0.d.ts +63 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListAbuseReportStatusesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +103 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +38 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +29 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForReportProcessing.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForReportProcessing.d.ts +29 -0
- package/package.json +68 -4
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
+
import type { ReasonCode, ReportSubmissionStatus } from "./enums";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The abuse report data in XARF format. This is a union type, so exactly one member must be specified.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export type ReportData = ReportData.XarfMember | ReportData.$UnknownMember;
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export declare namespace ReportData {
|
|
12
|
+
/**
|
|
13
|
+
* <p>A JSON object that conforms to the XARF v4 specification. At a minimum, the document must include the XARF core fields, including the required <code>category</code> and <code>type</code> fields that classify the report (for example, <code>category</code> <code>content</code> with <code>type</code> <code>phishing</code>). For the XARF core fields and detailed schema definitions of each report type, see the <a href="https://xarf.org/docs/specification/">XARF v4 Technical Specification on the XARF website</a>.</p> <note> <p>Never include images, video, or copies of child sexual abuse or child sexual exploitation material in a report, in any field and for any report type. Send URLs, hash values, and reference identifiers only.</p> </note> <p>If you suspect that activity is illegal, use the XARF <code>description</code> field to explain why and name the laws concerned.</p> <p> <b>Testing your integration</b> </p> <p>To test your integration, add the tag <code>lifecycle:test</code> to the report. Amazon Web Services validates test reports and returns a report ID and status in the same way as other reports, but doesn't process them as abuse reports. Amazon Web Services deletes test reports shortly after submission.</p> <p>Use test values only, such as example.com and the IP address ranges reserved for documentation (192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24). Don't add this tag to a real abuse report.</p> <p>Tag keys that begin with <code>aws:</code> are reserved.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
interface XarfMember {
|
|
17
|
+
xarf: __DocumentType;
|
|
18
|
+
$unknown?: never;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
interface $UnknownMember {
|
|
24
|
+
xarf?: never;
|
|
25
|
+
$unknown: [string, any];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated unused in schema-serde mode.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
interface Visitor<T> {
|
|
32
|
+
xarf: (value: __DocumentType) => T;
|
|
33
|
+
_: (name: string, value: any) => T;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* <p>The input for a <a>CreateAbuseReport</a> request. Provide the report in XARF format, and optionally your own correlation ID and idempotency token.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export interface CreateAbuseReportRequest {
|
|
41
|
+
/**
|
|
42
|
+
* <p>The abuse report data in XARF format. Provide the report under the <code>xarf</code> key.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
report: ReportData | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p>An optional correlation ID for tracking the report in the reporter's system. The service echoes this value back in responses, and you can use it to filter reports with <a>ListAbuseReportStatuses</a>.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
correlationId?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>An optional, client-provided idempotency token that ensures the operation completes no more than once. If the token matches a previous request within 24 hours, the service returns the existing report ID instead of creating a new report. When you omit this token, the service automatically generates one that is scoped to a 5-minute window.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
clientToken?: string | undefined;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* <p>The response from a <a>CreateAbuseReport</a> request. Contains the identifier that Amazon Web Services assigned to your report, which you use to track it.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export interface CreateAbuseReportResponse {
|
|
62
|
+
/**
|
|
63
|
+
* <p>The unique identifier assigned to the submitted abuse report. Use this ID with <a>GetAbuseReportStatus</a> to track processing.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
reportId: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* <p>The correlation ID that you provided in the request, if any. The service echoes this value back in the response.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
correlationId?: string | undefined;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* <p>Describes one specific submission requirement that a well-formed report did not meet. The service returns this structure in the <code>unmetRequirements</code> list of a <code>SubmissionRequirementException</code> (HTTP 422).</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export interface SubmissionRequirement {
|
|
78
|
+
/**
|
|
79
|
+
* <p>A stable, dot-namespaced identifier for the submission requirement that the report did not meet (for example, <code>rule.timestamp.too_old</code>). The set of codes is append-only, so treat an unrecognized value as opaque. This value is absent when the requirement that the report did not meet does not publish an identifier.</p> <p>The service checks the following submission requirements:</p> <ul> <li> <p> <code>rule.source_identifier.too_long</code> (<code>source_identifier</code>) – The value exceeds the maximum accepted length of 253 characters (the DNS hostname limit).</p> </li> <li> <p> <code>rule.source_identifier.forbidden_characters</code> (<code>source_identifier</code>) – The value contains characters that are never valid in an address (<code>\{</code>, <code>\}</code>, <code>*</code>, or <code>`</code>). These are common template-injection and command-injection markers.</p> </li> <li> <p> <code>rule.source_identifier.malformed</code> (<code>source_identifier</code>) – The value is not a valid IPv4 address, IPv6 address, URL, or domain name.</p> </li> <li> <p> <code>rule.timestamp.unparseable</code> (<code>timestamp</code>) – The value could not be parsed as an RFC 3339 date-time.</p> </li> <li> <p> <code>rule.timestamp.in_future</code> (<code>timestamp</code>) – The value is dated further into the future than the accepted clock-skew tolerance (a default of 1 hour).</p> </li> <li> <p> <code>rule.timestamp.too_old</code> (<code>timestamp</code>) – The value predates the submission lookback window (a default of 90 days). For content that is still accessible, set <code>timestamp</code> to the time you most recently observed it.</p> </li> <li> <p> <code>rule.evidence.content_type_mismatch</code> (<code>evidence</code>) – The decoded payload of an evidence item does not match its declared <code>content_type</code>. The <code>path</code> identifies the item, for example <code>/evidence/0</code>.</p> </li> </ul> <p>Submission requirement thresholds are configuration-driven and can change over time. The set of codes is append-only, so treat an unrecognized code as opaque.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
code?: string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* <p>A JSON Pointer expression to the report member that did not meet the requirement. An empty string refers to the report as a whole.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
path: string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* <p>A detailed, human-readable description of the unmet submission requirement.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
message: string | undefined;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* <p>Describes one specific validation failure for an input member.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export interface ValidationExceptionField {
|
|
99
|
+
/**
|
|
100
|
+
* <p>A JSON Pointer expression to the structure member whose value failed to satisfy the modeled constraints.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
path: string | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* <p>A detailed description of the validation failure.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
message: string | undefined;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* <p>The input for a <a>GetAbuseReportStatus</a> request. Identifies the abuse report whose status you want to retrieve.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export interface GetAbuseReportStatusRequest {
|
|
115
|
+
/**
|
|
116
|
+
* <p>The unique identifier of the abuse report to retrieve status for. This is the <code>reportId</code> that is returned by <a>CreateAbuseReport</a>.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
reportId: string | undefined;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* <p>The response from a <a>GetAbuseReportStatus</a> request. Contains the report's current status, when you submitted it, and when its status last changed.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export interface GetAbuseReportStatusResponse {
|
|
126
|
+
/**
|
|
127
|
+
* <p>The unique identifier of the abuse report.</p>
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
reportId: string | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* <p>The reporter-provided correlation ID for cross-referencing.</p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
correlationId?: string | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* <p>The current processing status of the abuse report. Valid values are <code>QUEUED</code> (the report has been received and queued for processing), <code>PROCESSING</code> (the report has been received and is being processed), and <code>COMPLETED</code> (downstream resolution is finished).</p>
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
status: ReportSubmissionStatus | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* <p>A human-readable description of the current status.</p>
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
description: string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* <p>A code that explains the resolution outcome. This value is returned only after the report reaches the terminal <code>COMPLETED</code> status; it is absent while the report is <code>QUEUED</code> or <code>PROCESSING</code>. Treat an unrecognized value as opaque, because the set of reason codes is append-only.</p>
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
reasonCode?: ReasonCode | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* <p>The date and time when the abuse report was submitted.</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
submittedAt: Date | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* <p>The date and time when the status was last updated.</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
lastUpdatedAt?: Date | undefined;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* <p>The input for a <a>ListAbuseReportStatuses</a> request. Use it to filter results by correlation ID and to page through them.</p>
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
export interface ListAbuseReportStatusesRequest {
|
|
167
|
+
/**
|
|
168
|
+
* <p>Filters results by the reporter-provided correlation ID.</p>
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
correlationId?: string | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* <p>The pagination token for retrieving the next page of results. Omit this parameter to return the first page of results.</p>
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
nextToken?: string | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* <p>The maximum number of results to return in a single page. Valid range: 1–50. The default is 50.</p>
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
maxResults?: number | undefined;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* <p>Status information for an individual abuse report. The ListAbuseReportStatuses operation returns this structure in its reports list.</p>
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
export interface ReportStatusListItem {
|
|
188
|
+
/**
|
|
189
|
+
* <p>The unique identifier of the abuse report.</p>
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
reportId: string | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* <p>The reporter-provided correlation ID for cross-referencing.</p>
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
correlationId?: string | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* <p>The current processing status of the abuse report. Valid values are <code>QUEUED</code> (the report has been received and queued for processing), <code>PROCESSING</code> (the report has been received and is being processed), and <code>COMPLETED</code> (downstream resolution is finished).</p>
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
status: ReportSubmissionStatus | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* <p>A human-readable description of the status.</p>
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
description: string | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* <p>A code that explains the resolution outcome. This value is present only after the report reaches the terminal <code>COMPLETED</code> status; it is absent while the report is <code>QUEUED</code> or <code>PROCESSING</code>.</p>
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
reasonCode?: ReasonCode | undefined;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* <p>The response from a <a>ListAbuseReportStatuses</a> request. Contains one page of abuse report statuses and, when more results remain, a token for retrieving the next page.</p>
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
218
|
+
export interface ListAbuseReportStatusesResponse {
|
|
219
|
+
/**
|
|
220
|
+
* <p>A list of abuse report status items. This list is empty when no reports are found for the calling account, or when no reports match the specified <code>correlationId</code> filter.</p>
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
reports: ReportStatusListItem[] | undefined;
|
|
224
|
+
/**
|
|
225
|
+
* <p>The pagination token for the next page of results. This value is <code>null</code> when there are no more results.</p>
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
nextToken?: string | undefined;
|
|
229
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListAbuseReportStatusesCommandInput, ListAbuseReportStatusesCommandOutput } from "../commands/ListAbuseReportStatusesCommand";
|
|
3
|
+
import type { AbuseSignalPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListAbuseReportStatuses: (config: AbuseSignalPaginationConfiguration, input: ListAbuseReportStatusesCommandInput, ...rest: any[]) => Paginator<ListAbuseReportStatusesCommandOutput>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import type { AbuseSignalClientConfig } from "./AbuseSignalClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: AbuseSignalClientConfig) => {
|
|
7
|
+
cacheMiddleware?: boolean;
|
|
8
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
9
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
10
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
11
|
+
tls?: boolean;
|
|
12
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
13
|
+
serviceConfiguredEndpoint?: never;
|
|
14
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
15
|
+
sigv4aSigningRegionSet?: string[] | undefined | import("@smithy/types").Provider<string[] | undefined>;
|
|
16
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
17
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
18
|
+
signingEscapePath?: boolean;
|
|
19
|
+
systemClockOffset?: number;
|
|
20
|
+
signingRegion?: string;
|
|
21
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
23
|
+
apiVersion: string;
|
|
24
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
26
|
+
disableHostPrefix: boolean;
|
|
27
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
28
|
+
logger?: import("@smithy/types").Logger;
|
|
29
|
+
}) => import("@smithy/types").EndpointV2;
|
|
30
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AbuseSignalHttpAuthSchemeProvider;
|
|
32
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
33
|
+
logger: import("@smithy/types").Logger;
|
|
34
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
35
|
+
protocolSettings: {
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
defaultNamespace?: string;
|
|
38
|
+
};
|
|
39
|
+
serviceId: string;
|
|
40
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
41
|
+
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
42
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
43
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
44
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
45
|
+
profile?: string;
|
|
46
|
+
runtime: string;
|
|
47
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
48
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
49
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
51
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
52
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
53
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
54
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
55
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
56
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
57
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
58
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import type { AbuseSignalClientConfig } from "./AbuseSignalClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: AbuseSignalClientConfig) => {
|
|
7
|
+
cacheMiddleware?: boolean;
|
|
8
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
9
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
10
|
+
tls?: boolean;
|
|
11
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
12
|
+
serviceConfiguredEndpoint?: never;
|
|
13
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
14
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
15
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
16
|
+
signingEscapePath?: boolean;
|
|
17
|
+
systemClockOffset?: number;
|
|
18
|
+
signingRegion?: string;
|
|
19
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
|
+
apiVersion: string;
|
|
21
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
22
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
23
|
+
disableHostPrefix: boolean;
|
|
24
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
25
|
+
logger?: import("@smithy/types").Logger;
|
|
26
|
+
}) => import("@smithy/types").EndpointV2;
|
|
27
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AbuseSignalHttpAuthSchemeProvider;
|
|
29
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
30
|
+
logger: import("@smithy/types").Logger;
|
|
31
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
32
|
+
protocolSettings: {
|
|
33
|
+
[setting: string]: unknown;
|
|
34
|
+
defaultNamespace?: string;
|
|
35
|
+
};
|
|
36
|
+
serviceId: string;
|
|
37
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
38
|
+
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
39
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
40
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
41
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
42
|
+
runtime: string;
|
|
43
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
44
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
46
|
+
credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
47
|
+
defaultSocketTimeout: number | undefined;
|
|
48
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
49
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
50
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
51
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
52
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
53
|
+
sigv4aSigningRegionSet: string[] | import("@smithy/types").Provider<string[] | undefined>;
|
|
54
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
55
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
56
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
57
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
58
|
+
profile?: string;
|
|
59
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { AbuseSignalClientConfig } from "./AbuseSignalClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: AbuseSignalClientConfig) => {
|
|
6
|
+
cacheMiddleware?: boolean;
|
|
7
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
8
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
9
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Endpoint | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<string> | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
10
|
+
tls?: boolean;
|
|
11
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
12
|
+
serviceConfiguredEndpoint?: never;
|
|
13
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
14
|
+
sigv4aSigningRegionSet?: string[] | undefined | import("@smithy/types").Provider<string[] | undefined>;
|
|
15
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
16
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
17
|
+
signingEscapePath?: boolean;
|
|
18
|
+
systemClockOffset?: number;
|
|
19
|
+
signingRegion?: string;
|
|
20
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
24
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
25
|
+
disableHostPrefix: boolean;
|
|
26
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
27
|
+
logger?: import("@smithy/types").Logger;
|
|
28
|
+
}) => import("@smithy/types").EndpointV2;
|
|
29
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AbuseSignalHttpAuthSchemeProvider;
|
|
31
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
32
|
+
logger: import("@smithy/types").Logger;
|
|
33
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
[setting: string]: unknown;
|
|
36
|
+
defaultNamespace?: string;
|
|
37
|
+
};
|
|
38
|
+
serviceId: string;
|
|
39
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
40
|
+
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
41
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
42
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
43
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
44
|
+
profile?: string;
|
|
45
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode> | import("@smithy/core/client").DefaultsMode;
|
|
46
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
47
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
48
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
49
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
50
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
51
|
+
requestHandler: import("@smithy/fetch-http-handler").FetchHttpHandler | import("@smithy/types").FetchHttpHandlerOptions | import("@smithy/types").NodeHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any>;
|
|
52
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
53
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
54
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
55
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
56
|
+
runtime: string;
|
|
57
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
|
+
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
3
|
+
import type { AbuseSignalClientConfig } from "./AbuseSignalClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export declare const getRuntimeConfig: (config: AbuseSignalClientConfig) => {
|
|
8
|
+
apiVersion: string;
|
|
9
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
10
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
11
|
+
disableHostPrefix: boolean;
|
|
12
|
+
endpointProvider: (params: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
13
|
+
logger?: import("@smithy/types").Logger;
|
|
14
|
+
}) => import("@smithy/types").EndpointV2;
|
|
15
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
16
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AbuseSignalHttpAuthSchemeProvider;
|
|
17
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
18
|
+
logger: import("@smithy/types").Logger;
|
|
19
|
+
protocol: import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
20
|
+
protocolSettings: {
|
|
21
|
+
[setting: string]: unknown;
|
|
22
|
+
defaultNamespace?: string;
|
|
23
|
+
};
|
|
24
|
+
serviceId: string;
|
|
25
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
26
|
+
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof SignatureV4MultiRegion;
|
|
27
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
28
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
29
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
30
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AbuseSignalExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: AbuseSignalExtensionConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
|
|
3
|
+
export declare var AbuseSignalServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
6
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
7
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
8
|
+
export declare var SubmissionRequirementException$: StaticErrorSchema;
|
|
9
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
10
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
11
|
+
/**
|
|
12
|
+
* TypeRegistry instances containing modeled errors.
|
|
13
|
+
* @internal
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
17
|
+
export declare var CreateAbuseReportRequest$: StaticStructureSchema;
|
|
18
|
+
export declare var CreateAbuseReportResponse$: StaticStructureSchema;
|
|
19
|
+
export declare var GetAbuseReportStatusRequest$: StaticStructureSchema;
|
|
20
|
+
export declare var GetAbuseReportStatusResponse$: StaticStructureSchema;
|
|
21
|
+
export declare var ListAbuseReportStatusesRequest$: StaticStructureSchema;
|
|
22
|
+
export declare var ListAbuseReportStatusesResponse$: StaticStructureSchema;
|
|
23
|
+
export declare var ReportStatusListItem$: StaticStructureSchema;
|
|
24
|
+
export declare var SubmissionRequirement$: StaticStructureSchema;
|
|
25
|
+
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
26
|
+
export declare var ReportData$: StaticUnionSchema;
|
|
27
|
+
export declare var CreateAbuseReport$: StaticOperationSchema;
|
|
28
|
+
export declare var GetAbuseReportStatus$: StaticOperationSchema;
|
|
29
|
+
export declare var ListAbuseReportStatuses$: StaticOperationSchema;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import {
|
|
3
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
4
|
+
MetricsRecorder as __MetricsRecorder,
|
|
5
|
+
PaginationConfiguration,
|
|
6
|
+
Paginator,
|
|
7
|
+
WaiterConfiguration,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import { AbuseSignalClient } from "./AbuseSignalClient";
|
|
10
|
+
import {
|
|
11
|
+
CreateAbuseReportCommandInput,
|
|
12
|
+
CreateAbuseReportCommandOutput,
|
|
13
|
+
} from "./commands/CreateAbuseReportCommand";
|
|
14
|
+
import {
|
|
15
|
+
GetAbuseReportStatusCommandInput,
|
|
16
|
+
GetAbuseReportStatusCommandOutput,
|
|
17
|
+
} from "./commands/GetAbuseReportStatusCommand";
|
|
18
|
+
import {
|
|
19
|
+
ListAbuseReportStatusesCommandInput,
|
|
20
|
+
ListAbuseReportStatusesCommandOutput,
|
|
21
|
+
} from "./commands/ListAbuseReportStatusesCommand";
|
|
22
|
+
export interface AbuseSignalRequestOptions extends __HttpHandlerOptions {
|
|
23
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
24
|
+
}
|
|
25
|
+
export interface AbuseSignal {
|
|
26
|
+
createAbuseReport(
|
|
27
|
+
args: CreateAbuseReportCommandInput,
|
|
28
|
+
options?: AbuseSignalRequestOptions,
|
|
29
|
+
): Promise<CreateAbuseReportCommandOutput>;
|
|
30
|
+
createAbuseReport(
|
|
31
|
+
args: CreateAbuseReportCommandInput,
|
|
32
|
+
cb: (err: any, data?: CreateAbuseReportCommandOutput) => void,
|
|
33
|
+
): void;
|
|
34
|
+
createAbuseReport(
|
|
35
|
+
args: CreateAbuseReportCommandInput,
|
|
36
|
+
options: AbuseSignalRequestOptions,
|
|
37
|
+
cb: (err: any, data?: CreateAbuseReportCommandOutput) => void,
|
|
38
|
+
): void;
|
|
39
|
+
getAbuseReportStatus(
|
|
40
|
+
args: GetAbuseReportStatusCommandInput,
|
|
41
|
+
options?: AbuseSignalRequestOptions,
|
|
42
|
+
): Promise<GetAbuseReportStatusCommandOutput>;
|
|
43
|
+
getAbuseReportStatus(
|
|
44
|
+
args: GetAbuseReportStatusCommandInput,
|
|
45
|
+
cb: (err: any, data?: GetAbuseReportStatusCommandOutput) => void,
|
|
46
|
+
): void;
|
|
47
|
+
getAbuseReportStatus(
|
|
48
|
+
args: GetAbuseReportStatusCommandInput,
|
|
49
|
+
options: AbuseSignalRequestOptions,
|
|
50
|
+
cb: (err: any, data?: GetAbuseReportStatusCommandOutput) => void,
|
|
51
|
+
): void;
|
|
52
|
+
listAbuseReportStatuses(): Promise<ListAbuseReportStatusesCommandOutput>;
|
|
53
|
+
listAbuseReportStatuses(
|
|
54
|
+
args: ListAbuseReportStatusesCommandInput,
|
|
55
|
+
options?: AbuseSignalRequestOptions,
|
|
56
|
+
): Promise<ListAbuseReportStatusesCommandOutput>;
|
|
57
|
+
listAbuseReportStatuses(
|
|
58
|
+
args: ListAbuseReportStatusesCommandInput,
|
|
59
|
+
cb: (err: any, data?: ListAbuseReportStatusesCommandOutput) => void,
|
|
60
|
+
): void;
|
|
61
|
+
listAbuseReportStatuses(
|
|
62
|
+
args: ListAbuseReportStatusesCommandInput,
|
|
63
|
+
options: AbuseSignalRequestOptions,
|
|
64
|
+
cb: (err: any, data?: ListAbuseReportStatusesCommandOutput) => void,
|
|
65
|
+
): void;
|
|
66
|
+
paginateListAbuseReportStatuses(
|
|
67
|
+
args?: ListAbuseReportStatusesCommandInput,
|
|
68
|
+
paginationConfig?: Pick<
|
|
69
|
+
PaginationConfiguration,
|
|
70
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
71
|
+
>,
|
|
72
|
+
): Paginator<ListAbuseReportStatusesCommandOutput>;
|
|
73
|
+
waitUntilReportProcessing(
|
|
74
|
+
args: GetAbuseReportStatusCommandInput,
|
|
75
|
+
waiterConfig:
|
|
76
|
+
| number
|
|
77
|
+
| Pick<
|
|
78
|
+
WaiterConfiguration<AbuseSignal>,
|
|
79
|
+
Exclude<keyof WaiterConfiguration<AbuseSignal>, "client">
|
|
80
|
+
>,
|
|
81
|
+
): Promise<WaiterResult<GetAbuseReportStatusCommandOutput>>;
|
|
82
|
+
}
|
|
83
|
+
export declare class AbuseSignal extends AbuseSignalClient implements AbuseSignal {}
|