@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,99 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { AbuseSignalClientConfig } from "./AbuseSignalClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: AbuseSignalClientConfig) => {
|
|
4
|
+
cacheMiddleware?: boolean;
|
|
5
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
6
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
7
|
+
endpoint?:
|
|
8
|
+
| ((
|
|
9
|
+
| string
|
|
10
|
+
| import("@smithy/types").Endpoint
|
|
11
|
+
| import("@smithy/types").EndpointV2
|
|
12
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
13
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
14
|
+
) &
|
|
15
|
+
(
|
|
16
|
+
| string
|
|
17
|
+
| import("@smithy/types").Endpoint
|
|
18
|
+
| import("@smithy/types").EndpointV2
|
|
19
|
+
| import("@smithy/types").Provider<string>
|
|
20
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
21
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
22
|
+
))
|
|
23
|
+
| undefined;
|
|
24
|
+
tls?: boolean;
|
|
25
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
26
|
+
serviceConfiguredEndpoint?: never;
|
|
27
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
28
|
+
sigv4aSigningRegionSet?:
|
|
29
|
+
| string[]
|
|
30
|
+
| undefined
|
|
31
|
+
| import("@smithy/types").Provider<string[] | undefined>;
|
|
32
|
+
credentials?:
|
|
33
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
34
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
35
|
+
signer?:
|
|
36
|
+
| import("@smithy/types").RequestSigner
|
|
37
|
+
| ((
|
|
38
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
39
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
40
|
+
signingEscapePath?: boolean;
|
|
41
|
+
systemClockOffset?: number;
|
|
42
|
+
signingRegion?: string;
|
|
43
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
44
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
|
+
apiVersion: string;
|
|
46
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
47
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
48
|
+
disableHostPrefix: boolean;
|
|
49
|
+
endpointProvider: (
|
|
50
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
51
|
+
context?: {
|
|
52
|
+
logger?: import("@smithy/types").Logger;
|
|
53
|
+
},
|
|
54
|
+
) => import("@smithy/types").EndpointV2;
|
|
55
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AbuseSignalHttpAuthSchemeProvider;
|
|
57
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
58
|
+
logger: import("@smithy/types").Logger;
|
|
59
|
+
protocol:
|
|
60
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
61
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
62
|
+
| typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
63
|
+
protocolSettings: {
|
|
64
|
+
[setting: string]: unknown;
|
|
65
|
+
defaultNamespace?: string;
|
|
66
|
+
};
|
|
67
|
+
serviceId: string;
|
|
68
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
69
|
+
signerConstructor:
|
|
70
|
+
| (new (
|
|
71
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
72
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
73
|
+
) => import("@smithy/types").RequestSigner)
|
|
74
|
+
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
75
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
76
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
77
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
78
|
+
profile?: string;
|
|
79
|
+
runtime: string;
|
|
80
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
81
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
82
|
+
>;
|
|
83
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
84
|
+
credentialDefaultProvider:
|
|
85
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
86
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
87
|
+
defaultUserAgentProvider: (
|
|
88
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
89
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
90
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
91
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
92
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
93
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
94
|
+
streamCollector: (
|
|
95
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
96
|
+
) => Promise<Uint8Array>;
|
|
97
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
98
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
99
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { AbuseSignalClientConfig } from "./AbuseSignalClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: AbuseSignalClientConfig) => {
|
|
4
|
+
cacheMiddleware?: boolean;
|
|
5
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
6
|
+
endpoint?:
|
|
7
|
+
| ((
|
|
8
|
+
| string
|
|
9
|
+
| import("@smithy/types").Endpoint
|
|
10
|
+
| import("@smithy/types").EndpointV2
|
|
11
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
12
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
13
|
+
) &
|
|
14
|
+
(
|
|
15
|
+
| string
|
|
16
|
+
| import("@smithy/types").Endpoint
|
|
17
|
+
| import("@smithy/types").EndpointV2
|
|
18
|
+
| import("@smithy/types").Provider<string>
|
|
19
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
20
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
21
|
+
))
|
|
22
|
+
| undefined;
|
|
23
|
+
tls?: boolean;
|
|
24
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
25
|
+
serviceConfiguredEndpoint?: never;
|
|
26
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
27
|
+
credentials?:
|
|
28
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
29
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
30
|
+
signer?:
|
|
31
|
+
| import("@smithy/types").RequestSigner
|
|
32
|
+
| ((
|
|
33
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
34
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
35
|
+
signingEscapePath?: boolean;
|
|
36
|
+
systemClockOffset?: number;
|
|
37
|
+
signingRegion?: string;
|
|
38
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
39
|
+
apiVersion: string;
|
|
40
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
41
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
42
|
+
disableHostPrefix: boolean;
|
|
43
|
+
endpointProvider: (
|
|
44
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
45
|
+
context?: {
|
|
46
|
+
logger?: import("@smithy/types").Logger;
|
|
47
|
+
},
|
|
48
|
+
) => import("@smithy/types").EndpointV2;
|
|
49
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
50
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AbuseSignalHttpAuthSchemeProvider;
|
|
51
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
52
|
+
logger: import("@smithy/types").Logger;
|
|
53
|
+
protocol:
|
|
54
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
55
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
56
|
+
| typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
57
|
+
protocolSettings: {
|
|
58
|
+
[setting: string]: unknown;
|
|
59
|
+
defaultNamespace?: string;
|
|
60
|
+
};
|
|
61
|
+
serviceId: string;
|
|
62
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
63
|
+
signerConstructor:
|
|
64
|
+
| (new (
|
|
65
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
66
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
67
|
+
) => import("@smithy/types").RequestSigner)
|
|
68
|
+
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
69
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
70
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
71
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
72
|
+
runtime: string;
|
|
73
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
74
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
75
|
+
>;
|
|
76
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
77
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
78
|
+
credentialDefaultProvider:
|
|
79
|
+
| ((
|
|
80
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
81
|
+
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
|
|
82
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
83
|
+
defaultSocketTimeout: number | undefined;
|
|
84
|
+
defaultUserAgentProvider: (
|
|
85
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
86
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
87
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
88
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
89
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
90
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
91
|
+
sigv4aSigningRegionSet: string[] | import("@smithy/types").Provider<string[] | undefined>;
|
|
92
|
+
streamCollector: (
|
|
93
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
94
|
+
) => Promise<Uint8Array>;
|
|
95
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
96
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
97
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
98
|
+
profile?: string;
|
|
99
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { AbuseSignalClientConfig } from "./AbuseSignalClient";
|
|
2
|
+
export declare const getRuntimeConfig: (config: AbuseSignalClientConfig) => {
|
|
3
|
+
cacheMiddleware?: boolean;
|
|
4
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
5
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
6
|
+
endpoint?:
|
|
7
|
+
| ((
|
|
8
|
+
| string
|
|
9
|
+
| import("@smithy/types").Endpoint
|
|
10
|
+
| import("@smithy/types").EndpointV2
|
|
11
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
12
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
13
|
+
) &
|
|
14
|
+
(
|
|
15
|
+
| string
|
|
16
|
+
| import("@smithy/types").Endpoint
|
|
17
|
+
| import("@smithy/types").EndpointV2
|
|
18
|
+
| import("@smithy/types").Provider<string>
|
|
19
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
20
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
21
|
+
))
|
|
22
|
+
| undefined;
|
|
23
|
+
tls?: boolean;
|
|
24
|
+
ignoreConfiguredEndpointUrls?: boolean;
|
|
25
|
+
serviceConfiguredEndpoint?: never;
|
|
26
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
27
|
+
sigv4aSigningRegionSet?:
|
|
28
|
+
| string[]
|
|
29
|
+
| undefined
|
|
30
|
+
| import("@smithy/types").Provider<string[] | undefined>;
|
|
31
|
+
credentials?:
|
|
32
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
33
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
34
|
+
signer?:
|
|
35
|
+
| import("@smithy/types").RequestSigner
|
|
36
|
+
| ((
|
|
37
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
38
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
39
|
+
signingEscapePath?: boolean;
|
|
40
|
+
systemClockOffset?: number;
|
|
41
|
+
signingRegion?: string;
|
|
42
|
+
disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
|
|
43
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
44
|
+
apiVersion: string;
|
|
45
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
46
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
47
|
+
disableHostPrefix: boolean;
|
|
48
|
+
endpointProvider: (
|
|
49
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
50
|
+
context?: {
|
|
51
|
+
logger?: import("@smithy/types").Logger;
|
|
52
|
+
},
|
|
53
|
+
) => import("@smithy/types").EndpointV2;
|
|
54
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AbuseSignalHttpAuthSchemeProvider;
|
|
56
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
57
|
+
logger: import("@smithy/types").Logger;
|
|
58
|
+
protocol:
|
|
59
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
60
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
61
|
+
| typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
62
|
+
protocolSettings: {
|
|
63
|
+
[setting: string]: unknown;
|
|
64
|
+
defaultNamespace?: string;
|
|
65
|
+
};
|
|
66
|
+
serviceId: string;
|
|
67
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
68
|
+
signerConstructor:
|
|
69
|
+
| (new (
|
|
70
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
71
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
72
|
+
) => import("@smithy/types").RequestSigner)
|
|
73
|
+
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
74
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
75
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
76
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
77
|
+
profile?: string;
|
|
78
|
+
defaultsMode:
|
|
79
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>
|
|
80
|
+
| import("@smithy/core/client").DefaultsMode;
|
|
81
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
82
|
+
credentialDefaultProvider:
|
|
83
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
84
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
85
|
+
defaultUserAgentProvider: (
|
|
86
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
87
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
88
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
89
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
90
|
+
requestHandler:
|
|
91
|
+
| import("@smithy/fetch-http-handler").FetchHttpHandler
|
|
92
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
93
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
94
|
+
| Record<string, unknown>
|
|
95
|
+
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
96
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
97
|
+
streamCollector: (
|
|
98
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
99
|
+
) => Promise<Uint8Array>;
|
|
100
|
+
useDualstackEndpoint: boolean | (() => Promise<boolean>);
|
|
101
|
+
useFipsEndpoint: boolean | (() => Promise<boolean>);
|
|
102
|
+
runtime: string;
|
|
103
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
|
+
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
3
|
+
import { AbuseSignalClientConfig } from "./AbuseSignalClient";
|
|
4
|
+
export declare const getRuntimeConfig: (config: AbuseSignalClientConfig) => {
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
7
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
8
|
+
disableHostPrefix: boolean;
|
|
9
|
+
endpointProvider: (
|
|
10
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
11
|
+
context?: {
|
|
12
|
+
logger?: import("@smithy/types").Logger;
|
|
13
|
+
},
|
|
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:
|
|
20
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
21
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
22
|
+
| typeof AwsRestJsonProtocol;
|
|
23
|
+
protocolSettings: {
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
};
|
|
27
|
+
serviceId: string;
|
|
28
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
29
|
+
signerConstructor:
|
|
30
|
+
| (new (
|
|
31
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
32
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
33
|
+
) => import("@smithy/types").RequestSigner)
|
|
34
|
+
| typeof SignatureV4MultiRegion;
|
|
35
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
36
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
37
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
38
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AbuseSignalExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
export interface RuntimeExtension {
|
|
3
|
+
configure(extensionConfiguration: AbuseSignalExtensionConfiguration): void;
|
|
4
|
+
}
|
|
5
|
+
export interface RuntimeExtensionsConfig {
|
|
6
|
+
extensions: RuntimeExtension[];
|
|
7
|
+
}
|
|
8
|
+
export declare const resolveRuntimeExtensions: (
|
|
9
|
+
runtimeConfig: any,
|
|
10
|
+
extensions: RuntimeExtension[],
|
|
11
|
+
) => any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import {
|
|
3
|
+
StaticErrorSchema,
|
|
4
|
+
StaticOperationSchema,
|
|
5
|
+
StaticStructureSchema,
|
|
6
|
+
StaticUnionSchema,
|
|
7
|
+
} from "@smithy/types";
|
|
8
|
+
export declare var AbuseSignalServiceException$: StaticErrorSchema;
|
|
9
|
+
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
10
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
11
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
12
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
13
|
+
export declare var SubmissionRequirementException$: StaticErrorSchema;
|
|
14
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
15
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
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 @@
|
|
|
1
|
+
export * from "./waitForReportProcessing";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import { AbuseSignalClient } from "../AbuseSignalClient";
|
|
3
|
+
import {
|
|
4
|
+
GetAbuseReportStatusCommandInput,
|
|
5
|
+
GetAbuseReportStatusCommandOutput,
|
|
6
|
+
} from "../commands/GetAbuseReportStatusCommand";
|
|
7
|
+
import { AbuseSignalServiceException } from "../models/AbuseSignalServiceException";
|
|
8
|
+
export declare const waitForReportProcessing: (
|
|
9
|
+
params: WaiterConfiguration<AbuseSignalClient>,
|
|
10
|
+
input: GetAbuseReportStatusCommandInput,
|
|
11
|
+
) => Promise<WaiterResult<GetAbuseReportStatusCommandOutput | AbuseSignalServiceException>>;
|
|
12
|
+
export declare const waitUntilReportProcessing: (
|
|
13
|
+
params: WaiterConfiguration<AbuseSignalClient>,
|
|
14
|
+
input: GetAbuseReportStatusCommandInput,
|
|
15
|
+
) => Promise<WaiterResult<GetAbuseReportStatusCommandOutput>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./waitForReportProcessing";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import type { AbuseSignalClient } from "../AbuseSignalClient";
|
|
3
|
+
import { type GetAbuseReportStatusCommandInput, type GetAbuseReportStatusCommandOutput } from "../commands/GetAbuseReportStatusCommand";
|
|
4
|
+
import type { AbuseSignalServiceException } from "../models/AbuseSignalServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* Wait until an abuse report has at least reached PROCESSING.
|
|
7
|
+
*
|
|
8
|
+
* A report advances QUEUED -> PROCESSING -> COMPLETED. A report can
|
|
9
|
+
* go from QUEUED all the way to COMPLETED in well under a second,
|
|
10
|
+
* so a poller that only accepts PROCESSING can miss the transient
|
|
11
|
+
* PROCESSING window entirely and then poll forever. COMPLETED
|
|
12
|
+
* therefore also satisfies this waiter: it implies the report already
|
|
13
|
+
* passed through PROCESSING.
|
|
14
|
+
* @deprecated Use waitUntilReportProcessing instead. waitForReportProcessing does not throw error in non-success cases.
|
|
15
|
+
*/
|
|
16
|
+
export declare const waitForReportProcessing: (params: WaiterConfiguration<AbuseSignalClient>, input: GetAbuseReportStatusCommandInput) => Promise<WaiterResult<GetAbuseReportStatusCommandOutput | AbuseSignalServiceException>>;
|
|
17
|
+
/**
|
|
18
|
+
* Wait until an abuse report has at least reached PROCESSING.
|
|
19
|
+
*
|
|
20
|
+
* A report advances QUEUED -> PROCESSING -> COMPLETED. A report can
|
|
21
|
+
* go from QUEUED all the way to COMPLETED in well under a second,
|
|
22
|
+
* so a poller that only accepts PROCESSING can miss the transient
|
|
23
|
+
* PROCESSING window entirely and then poll forever. COMPLETED
|
|
24
|
+
* therefore also satisfies this waiter: it implies the report already
|
|
25
|
+
* passed through PROCESSING.
|
|
26
|
+
* @param params - Waiter configuration options.
|
|
27
|
+
* @param input - The input to GetAbuseReportStatusCommand for polling.
|
|
28
|
+
*/
|
|
29
|
+
export declare const waitUntilReportProcessing: (params: WaiterConfiguration<AbuseSignalClient>, input: GetAbuseReportStatusCommandInput) => Promise<WaiterResult<GetAbuseReportStatusCommandOutput>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,70 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-abuse-signal",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "3.1173.0",
|
|
4
|
+
"description": "AWS SDK for JavaScript Abuse Signal Client for Node.js, Browser and React Native",
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-abuse-signal",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-abuse-signal"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
38
|
+
"build:cjs": "node ../../scripts/compilation/inline",
|
|
39
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
40
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
41
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
42
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
43
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
44
|
+
"extract:docs": "api-extractor run --local",
|
|
45
|
+
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
46
|
+
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@aws-sdk/core": "^3.981.0",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.97",
|
|
51
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.52",
|
|
52
|
+
"@aws-sdk/types": "^3.975.1",
|
|
53
|
+
"@smithy/core": "^3.40.0",
|
|
54
|
+
"@smithy/fetch-http-handler": "^5.8.1",
|
|
55
|
+
"@smithy/node-http-handler": "^4.14.2",
|
|
56
|
+
"@smithy/types": "^4.20.0",
|
|
57
|
+
"tslib": "^2.6.2"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@tsconfig/node20": "20.1.8",
|
|
61
|
+
"@types/node": "^20.14.8",
|
|
62
|
+
"concurrently": "7.0.0",
|
|
63
|
+
"downlevel-dts": "0.10.1",
|
|
64
|
+
"premove": "4.0.0",
|
|
65
|
+
"typescript": "~7.0.2"
|
|
66
|
+
},
|
|
67
|
+
"engines": {
|
|
68
|
+
"node": ">=20.0.0"
|
|
69
|
+
}
|
|
70
|
+
}
|