@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.
Files changed (91) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +201 -2
  3. package/dist-cjs/index.js +785 -0
  4. package/dist-es/AbuseSignal.js +21 -0
  5. package/dist-es/AbuseSignalClient.js +48 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +122 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/CreateAbuseReportCommand.js +4 -0
  10. package/dist-es/commands/GetAbuseReportStatusCommand.js +4 -0
  11. package/dist-es/commands/ListAbuseReportStatusesCommand.js +4 -0
  12. package/dist-es/commands/index.js +3 -0
  13. package/dist-es/endpoint/EndpointParameters.js +13 -0
  14. package/dist-es/endpoint/bdd.js +46 -0
  15. package/dist-es/endpoint/endpointResolver.js +14 -0
  16. package/dist-es/extensionConfiguration.js +1 -0
  17. package/dist-es/index.js +11 -0
  18. package/dist-es/models/AbuseSignalServiceException.js +9 -0
  19. package/dist-es/models/enums.js +12 -0
  20. package/dist-es/models/errors.js +110 -0
  21. package/dist-es/models/models_0.js +1 -0
  22. package/dist-es/pagination/Interfaces.js +1 -0
  23. package/dist-es/pagination/ListAbuseReportStatusesPaginator.js +4 -0
  24. package/dist-es/pagination/index.js +2 -0
  25. package/dist-es/runtimeConfig.browser.js +29 -0
  26. package/dist-es/runtimeConfig.js +45 -0
  27. package/dist-es/runtimeConfig.native.js +9 -0
  28. package/dist-es/runtimeConfig.shared.js +47 -0
  29. package/dist-es/runtimeExtensions.js +9 -0
  30. package/dist-es/schemas/schemas_0.js +176 -0
  31. package/dist-es/waiters/index.js +1 -0
  32. package/dist-es/waiters/waitForReportProcessing.js +43 -0
  33. package/dist-types/AbuseSignal.d.ts +52 -0
  34. package/dist-types/AbuseSignalClient.d.ts +190 -0
  35. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  36. package/dist-types/auth/httpAuthSchemeProvider.d.ts +83 -0
  37. package/dist-types/commandBuilder.d.ts +18 -0
  38. package/dist-types/commands/CreateAbuseReportCommand.d.ts +112 -0
  39. package/dist-types/commands/GetAbuseReportStatusCommand.d.ts +110 -0
  40. package/dist-types/commands/ListAbuseReportStatusesCommand.d.ts +113 -0
  41. package/dist-types/commands/index.d.ts +3 -0
  42. package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
  43. package/dist-types/endpoint/bdd.d.ts +2 -0
  44. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  45. package/dist-types/extensionConfiguration.d.ts +9 -0
  46. package/dist-types/index.d.ts +19 -0
  47. package/dist-types/models/AbuseSignalServiceException.d.ts +15 -0
  48. package/dist-types/models/enums.d.ts +28 -0
  49. package/dist-types/models/errors.d.ts +133 -0
  50. package/dist-types/models/models_0.d.ts +229 -0
  51. package/dist-types/pagination/Interfaces.d.ts +8 -0
  52. package/dist-types/pagination/ListAbuseReportStatusesPaginator.d.ts +7 -0
  53. package/dist-types/pagination/index.d.ts +2 -0
  54. package/dist-types/runtimeConfig.browser.d.ts +58 -0
  55. package/dist-types/runtimeConfig.d.ts +59 -0
  56. package/dist-types/runtimeConfig.native.d.ts +57 -0
  57. package/dist-types/runtimeConfig.shared.d.ts +30 -0
  58. package/dist-types/runtimeExtensions.d.ts +17 -0
  59. package/dist-types/schemas/schemas_0.d.ts +29 -0
  60. package/dist-types/ts3.4/AbuseSignal.d.ts +83 -0
  61. package/dist-types/ts3.4/AbuseSignalClient.d.ts +119 -0
  62. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  63. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +53 -0
  64. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  65. package/dist-types/ts3.4/commands/CreateAbuseReportCommand.d.ts +39 -0
  66. package/dist-types/ts3.4/commands/GetAbuseReportStatusCommand.d.ts +39 -0
  67. package/dist-types/ts3.4/commands/ListAbuseReportStatusesCommand.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  69. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  70. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  71. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  72. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  73. package/dist-types/ts3.4/index.d.ts +14 -0
  74. package/dist-types/ts3.4/models/AbuseSignalServiceException.d.ts +10 -0
  75. package/dist-types/ts3.4/models/enums.d.ts +15 -0
  76. package/dist-types/ts3.4/models/errors.d.ts +56 -0
  77. package/dist-types/ts3.4/models/models_0.d.ts +63 -0
  78. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  79. package/dist-types/ts3.4/pagination/ListAbuseReportStatusesPaginator.d.ts +11 -0
  80. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  81. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +99 -0
  82. package/dist-types/ts3.4/runtimeConfig.d.ts +99 -0
  83. package/dist-types/ts3.4/runtimeConfig.native.d.ts +103 -0
  84. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +38 -0
  85. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  86. package/dist-types/ts3.4/schemas/schemas_0.d.ts +29 -0
  87. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  88. package/dist-types/ts3.4/waiters/waitForReportProcessing.d.ts +15 -0
  89. package/dist-types/waiters/index.d.ts +1 -0
  90. package/dist-types/waiters/waitForReportProcessing.d.ts +29 -0
  91. package/package.json +68 -4
@@ -0,0 +1,119 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ UserAgentInputConfig,
5
+ UserAgentResolvedConfig,
6
+ } from "@aws-sdk/core/client";
7
+ import {
8
+ DefaultsMode as __DefaultsMode,
9
+ SmithyConfiguration as __SmithyConfiguration,
10
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
11
+ Client as __Client,
12
+ } from "@smithy/core/client";
13
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
15
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
16
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
17
+ import {
18
+ AwsCredentialIdentityProvider,
19
+ BodyLengthCalculator as __BodyLengthCalculator,
20
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
21
+ ChecksumConstructor as __ChecksumConstructor,
22
+ Decoder as __Decoder,
23
+ Encoder as __Encoder,
24
+ HashConstructor as __HashConstructor,
25
+ HttpHandlerOptions as __HttpHandlerOptions,
26
+ Logger as __Logger,
27
+ Provider as __Provider,
28
+ StreamCollector as __StreamCollector,
29
+ UrlParser as __UrlParser,
30
+ UserAgent as __UserAgent,
31
+ } from "@smithy/types";
32
+ import {
33
+ HttpAuthSchemeInputConfig,
34
+ HttpAuthSchemeResolvedConfig,
35
+ } from "./auth/httpAuthSchemeProvider";
36
+ import {
37
+ CreateAbuseReportCommandInput,
38
+ CreateAbuseReportCommandOutput,
39
+ } from "./commands/CreateAbuseReportCommand";
40
+ import {
41
+ GetAbuseReportStatusCommandInput,
42
+ GetAbuseReportStatusCommandOutput,
43
+ } from "./commands/GetAbuseReportStatusCommand";
44
+ import {
45
+ ListAbuseReportStatusesCommandInput,
46
+ ListAbuseReportStatusesCommandOutput,
47
+ } from "./commands/ListAbuseReportStatusesCommand";
48
+ import {
49
+ ClientInputEndpointParameters,
50
+ ClientResolvedEndpointParameters,
51
+ EndpointParameters,
52
+ } from "./endpoint/EndpointParameters";
53
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
54
+ export { __Client };
55
+ export type ServiceInputTypes =
56
+ | CreateAbuseReportCommandInput
57
+ | GetAbuseReportStatusCommandInput
58
+ | ListAbuseReportStatusesCommandInput;
59
+ export type ServiceOutputTypes =
60
+ | CreateAbuseReportCommandOutput
61
+ | GetAbuseReportStatusCommandOutput
62
+ | ListAbuseReportStatusesCommandOutput;
63
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
64
+ requestHandler?: __HttpHandlerUserInput;
65
+ sha256?: __ChecksumConstructor | __HashConstructor;
66
+ urlParser?: __UrlParser;
67
+ bodyLengthChecker?: __BodyLengthCalculator;
68
+ streamCollector?: __StreamCollector;
69
+ base64Decoder?: __Decoder;
70
+ base64Encoder?: __Encoder;
71
+ utf8Decoder?: __Decoder;
72
+ utf8Encoder?: __Encoder;
73
+ runtime?: string;
74
+ disableHostPrefix?: boolean;
75
+ serviceId?: string;
76
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
77
+ useFipsEndpoint?: boolean | __Provider<boolean>;
78
+ region?: string | __Provider<string>;
79
+ profile?: string;
80
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
81
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
82
+ maxAttempts?: number | __Provider<number>;
83
+ retryMode?: string | __Provider<string>;
84
+ logger?: __Logger;
85
+ extensions?: RuntimeExtension[];
86
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
87
+ }
88
+ export type AbuseSignalClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
89
+ ClientDefaults &
90
+ UserAgentInputConfig &
91
+ RetryInputConfig &
92
+ RegionInputConfig &
93
+ HostHeaderInputConfig &
94
+ EndpointInputConfig<EndpointParameters> &
95
+ HttpAuthSchemeInputConfig &
96
+ ClientInputEndpointParameters;
97
+ export interface AbuseSignalClientConfig extends AbuseSignalClientConfigType {}
98
+ export type AbuseSignalClientResolvedConfigType =
99
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
100
+ Required<ClientDefaults> &
101
+ RuntimeExtensionsConfig &
102
+ UserAgentResolvedConfig &
103
+ RetryResolvedConfig &
104
+ RegionResolvedConfig &
105
+ HostHeaderResolvedConfig &
106
+ EndpointResolvedConfig<EndpointParameters> &
107
+ HttpAuthSchemeResolvedConfig &
108
+ ClientResolvedEndpointParameters;
109
+ export interface AbuseSignalClientResolvedConfig extends AbuseSignalClientResolvedConfigType {}
110
+ export declare class AbuseSignalClient extends __Client<
111
+ __HttpHandlerOptions,
112
+ ServiceInputTypes,
113
+ ServiceOutputTypes,
114
+ AbuseSignalClientResolvedConfig
115
+ > {
116
+ readonly config: AbuseSignalClientResolvedConfig;
117
+ constructor(...[configuration]: __CheckOptionalClientConfig<AbuseSignalClientConfig>);
118
+ destroy(): void;
119
+ }
@@ -0,0 +1,25 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { AbuseSignalHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: AbuseSignalHttpAuthSchemeProvider): void;
11
+ httpAuthSchemeProvider(): AbuseSignalHttpAuthSchemeProvider;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
14
+ }
15
+ export type HttpAuthRuntimeConfig = Partial<{
16
+ httpAuthSchemes: HttpAuthScheme[];
17
+ httpAuthSchemeProvider: AbuseSignalHttpAuthSchemeProvider;
18
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
19
+ }>;
20
+ export declare const getHttpAuthExtensionConfiguration: (
21
+ runtimeConfig: HttpAuthRuntimeConfig,
22
+ ) => HttpAuthExtensionConfiguration;
23
+ export declare const resolveHttpAuthRuntimeConfig: (
24
+ config: HttpAuthExtensionConfiguration,
25
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,53 @@
1
+ import {
2
+ AwsSdkSigV4AAuthInputConfig,
3
+ AwsSdkSigV4AAuthResolvedConfig,
4
+ AwsSdkSigV4APreviouslyResolved,
5
+ AwsSdkSigV4AuthInputConfig,
6
+ AwsSdkSigV4AuthResolvedConfig,
7
+ AwsSdkSigV4PreviouslyResolved,
8
+ } from "@aws-sdk/core/httpAuthSchemes";
9
+ import {
10
+ HandlerExecutionContext,
11
+ HttpAuthScheme,
12
+ HttpAuthSchemeParameters,
13
+ HttpAuthSchemeParametersProvider,
14
+ HttpAuthSchemeProvider,
15
+ Provider,
16
+ } from "@smithy/types";
17
+ import { AbuseSignalClientResolvedConfig } from "../AbuseSignalClient";
18
+ import { EndpointParameters } from "../endpoint/EndpointParameters";
19
+ interface _AbuseSignalHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
20
+ region?: string;
21
+ }
22
+ export interface AbuseSignalHttpAuthSchemeParameters
23
+ extends _AbuseSignalHttpAuthSchemeParameters, EndpointParameters {
24
+ region?: string;
25
+ }
26
+ export interface AbuseSignalHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
27
+ AbuseSignalClientResolvedConfig,
28
+ HandlerExecutionContext,
29
+ AbuseSignalHttpAuthSchemeParameters,
30
+ object
31
+ > {}
32
+ export declare const defaultAbuseSignalHttpAuthSchemeParametersProvider: AbuseSignalHttpAuthSchemeParametersProvider;
33
+ export interface AbuseSignalHttpAuthSchemeProvider extends HttpAuthSchemeProvider<AbuseSignalHttpAuthSchemeParameters> {}
34
+ export declare const defaultAbuseSignalHttpAuthSchemeProvider: AbuseSignalHttpAuthSchemeProvider;
35
+ export interface HttpAuthSchemeInputConfig
36
+ extends AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AAuthInputConfig {
37
+ authSchemePreference?: string[] | Provider<string[]>;
38
+ httpAuthSchemes?: HttpAuthScheme[];
39
+ httpAuthSchemeProvider?: AbuseSignalHttpAuthSchemeProvider;
40
+ }
41
+ export interface HttpAuthSchemeResolvedConfig
42
+ extends AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig {
43
+ readonly authSchemePreference: Provider<string[]>;
44
+ readonly httpAuthSchemes: HttpAuthScheme[];
45
+ readonly httpAuthSchemeProvider: AbuseSignalHttpAuthSchemeProvider;
46
+ }
47
+ export declare const resolveHttpAuthSchemeConfig: <T>(
48
+ config: T &
49
+ HttpAuthSchemeInputConfig &
50
+ AwsSdkSigV4PreviouslyResolved &
51
+ AwsSdkSigV4APreviouslyResolved,
52
+ ) => T & HttpAuthSchemeResolvedConfig;
53
+ export {};
@@ -0,0 +1,40 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ AbuseSignalClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./AbuseSignalClient";
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
8
+ added: EndpointParameterInstructions,
9
+ plugins: (
10
+ CommandCtor: any,
11
+ clientStack: any,
12
+ config: any,
13
+ options: any,
14
+ ) => import("@smithy/types").Pluggable<any, any>[],
15
+ op: string,
16
+ $: import("@smithy/types").StaticOperationSchema,
17
+ smithyContext?: Record<string, unknown>,
18
+ ) => {
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
22
+ I,
23
+ O,
24
+ AbuseSignalClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ ...[input]: import("@smithy/types").OptionalParameter<I>
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ I,
32
+ O,
33
+ AbuseSignalClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
38
+ };
39
+ export declare const _ep0: EndpointParameterInstructions;
40
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { CreateAbuseReportRequest, CreateAbuseReportResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface CreateAbuseReportCommandInput extends CreateAbuseReportRequest {}
5
+ export interface CreateAbuseReportCommandOutput
6
+ extends CreateAbuseReportResponse, __MetadataBearer {}
7
+ declare const CreateAbuseReportCommand_base: {
8
+ new (
9
+ input: CreateAbuseReportCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ CreateAbuseReportCommandInput,
12
+ CreateAbuseReportCommandOutput,
13
+ import("..").AbuseSignalClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: CreateAbuseReportCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ CreateAbuseReportCommandInput,
21
+ CreateAbuseReportCommandOutput,
22
+ import("..").AbuseSignalClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class CreateAbuseReportCommand extends CreateAbuseReportCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: CreateAbuseReportRequest;
32
+ output: CreateAbuseReportResponse;
33
+ };
34
+ sdk: {
35
+ input: CreateAbuseReportCommandInput;
36
+ output: CreateAbuseReportCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetAbuseReportStatusRequest, GetAbuseReportStatusResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetAbuseReportStatusCommandInput extends GetAbuseReportStatusRequest {}
5
+ export interface GetAbuseReportStatusCommandOutput
6
+ extends GetAbuseReportStatusResponse, __MetadataBearer {}
7
+ declare const GetAbuseReportStatusCommand_base: {
8
+ new (
9
+ input: GetAbuseReportStatusCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ GetAbuseReportStatusCommandInput,
12
+ GetAbuseReportStatusCommandOutput,
13
+ import("..").AbuseSignalClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: GetAbuseReportStatusCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ GetAbuseReportStatusCommandInput,
21
+ GetAbuseReportStatusCommandOutput,
22
+ import("..").AbuseSignalClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class GetAbuseReportStatusCommand extends GetAbuseReportStatusCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: GetAbuseReportStatusRequest;
32
+ output: GetAbuseReportStatusResponse;
33
+ };
34
+ sdk: {
35
+ input: GetAbuseReportStatusCommandInput;
36
+ output: GetAbuseReportStatusCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ ListAbuseReportStatusesRequest,
4
+ ListAbuseReportStatusesResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface ListAbuseReportStatusesCommandInput extends ListAbuseReportStatusesRequest {}
8
+ export interface ListAbuseReportStatusesCommandOutput
9
+ extends ListAbuseReportStatusesResponse, __MetadataBearer {}
10
+ declare const ListAbuseReportStatusesCommand_base: {
11
+ new (
12
+ input: ListAbuseReportStatusesCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ ListAbuseReportStatusesCommandInput,
15
+ ListAbuseReportStatusesCommandOutput,
16
+ import("..").AbuseSignalClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ ...[input]: [] | [ListAbuseReportStatusesCommandInput]
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ ListAbuseReportStatusesCommandInput,
24
+ ListAbuseReportStatusesCommandOutput,
25
+ import("..").AbuseSignalClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class ListAbuseReportStatusesCommand extends ListAbuseReportStatusesCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: ListAbuseReportStatusesRequest;
35
+ output: ListAbuseReportStatusesResponse;
36
+ };
37
+ sdk: {
38
+ input: ListAbuseReportStatusesCommandInput;
39
+ output: ListAbuseReportStatusesCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./CreateAbuseReportCommand";
2
+ export * from "./GetAbuseReportStatusCommand";
3
+ export * from "./ListAbuseReportStatusesCommand";
@@ -0,0 +1,51 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
10
+ endpoint?:
11
+ | string
12
+ | Provider<string>
13
+ | Endpoint
14
+ | Provider<Endpoint>
15
+ | EndpointV2
16
+ | Provider<EndpointV2>;
17
+ region?: string | undefined | Provider<string | undefined>;
18
+ }
19
+ export type ClientResolvedEndpointParameters = Pick<
20
+ ClientInputEndpointParameters,
21
+ Exclude<keyof ClientInputEndpointParameters, "endpoint">
22
+ > & {
23
+ defaultSigningName: string;
24
+ };
25
+ export declare const resolveClientEndpointParameters: <T>(
26
+ options: T & ClientInputEndpointParameters,
27
+ ) => T & ClientResolvedEndpointParameters;
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
46
+ export interface EndpointParameters extends __EndpointParameters {
47
+ UseDualStack?: boolean | undefined;
48
+ UseFIPS?: boolean | undefined;
49
+ Endpoint?: string | undefined;
50
+ Region?: string | undefined;
51
+ }
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ },
8
+ ) => EndpointV2;
@@ -0,0 +1,10 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ export interface AbuseSignalExtensionConfiguration
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
8
+ DefaultExtensionConfiguration,
9
+ AwsRegionExtensionConfiguration,
10
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,14 @@
1
+ export * from "./AbuseSignalClient";
2
+ export * from "./AbuseSignal";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { AbuseSignalExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
8
+ export * from "./pagination";
9
+ export * from "./waiters";
10
+ export * from "./schemas/schemas_0";
11
+ export * from "./models/enums";
12
+ export * from "./models/errors";
13
+ export * from "./models/models_0";
14
+ export { AbuseSignalServiceException } from "./models/AbuseSignalServiceException";
@@ -0,0 +1,10 @@
1
+ import {
2
+ ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
+ } from "@smithy/core/client";
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
7
+ export declare class AbuseSignalServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -0,0 +1,15 @@
1
+ export declare const ReasonCode: {
2
+ readonly ACTIONED: "ACTIONED";
3
+ readonly CONTENT_DOWN_OR_INACCESSIBLE: "CONTENT_DOWN_OR_INACCESSIBLE";
4
+ readonly NEED_MORE_INFORMATION: "NEED_MORE_INFORMATION";
5
+ readonly NOT_RESOLVABLE_TO_AWS: "NOT_RESOLVABLE_TO_AWS";
6
+ readonly REVIEWED_NO_AWS_ACTION: "REVIEWED_NO_AWS_ACTION";
7
+ };
8
+ export type ReasonCode = (typeof ReasonCode)[keyof typeof ReasonCode];
9
+ export declare const ReportSubmissionStatus: {
10
+ readonly COMPLETED: "COMPLETED";
11
+ readonly PROCESSING: "PROCESSING";
12
+ readonly QUEUED: "QUEUED";
13
+ };
14
+ export type ReportSubmissionStatus =
15
+ (typeof ReportSubmissionStatus)[keyof typeof ReportSubmissionStatus];
@@ -0,0 +1,56 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import { AbuseSignalServiceException as __BaseException } from "./AbuseSignalServiceException";
3
+ import { SubmissionRequirement, ValidationExceptionField } from "./models_0";
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ static readonly shapeId: string;
6
+ readonly name: "AccessDeniedException";
7
+ readonly $fault: "client";
8
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
+ }
10
+ export declare class ConflictException extends __BaseException {
11
+ static readonly shapeId: string;
12
+ readonly name: "ConflictException";
13
+ readonly $fault: "client";
14
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
15
+ }
16
+ export declare class InternalServerException extends __BaseException {
17
+ static readonly shapeId: string;
18
+ readonly name: "InternalServerException";
19
+ readonly $fault: "server";
20
+ $retryable: {};
21
+ retryAfterSeconds?: number | undefined;
22
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
23
+ }
24
+ export declare class SubmissionRequirementException extends __BaseException {
25
+ static readonly shapeId: string;
26
+ readonly name: "SubmissionRequirementException";
27
+ readonly $fault: "client";
28
+ unmetRequirements?: SubmissionRequirement[] | undefined;
29
+ constructor(opts: __ExceptionOptionType<SubmissionRequirementException, __BaseException>);
30
+ }
31
+ export declare class ThrottlingException extends __BaseException {
32
+ static readonly shapeId: string;
33
+ readonly name: "ThrottlingException";
34
+ readonly $fault: "client";
35
+ $retryable: {
36
+ throttling: boolean;
37
+ };
38
+ serviceCode?: string | undefined;
39
+ quotaCode?: string | undefined;
40
+ retryAfterSeconds?: number | undefined;
41
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
42
+ }
43
+ export declare class ValidationException extends __BaseException {
44
+ static readonly shapeId: string;
45
+ readonly name: "ValidationException";
46
+ readonly $fault: "client";
47
+ fieldList?: ValidationExceptionField[] | undefined;
48
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
49
+ }
50
+ export declare class ResourceNotFoundException extends __BaseException {
51
+ static readonly shapeId: string;
52
+ readonly name: "ResourceNotFoundException";
53
+ readonly $fault: "client";
54
+ resourceId: string | undefined;
55
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
56
+ }
@@ -0,0 +1,63 @@
1
+ import { DocumentType as __DocumentType } from "@smithy/types";
2
+ import { ReasonCode, ReportSubmissionStatus } from "./enums";
3
+ export type ReportData = ReportData.XarfMember | ReportData.$UnknownMember;
4
+ export declare namespace ReportData {
5
+ interface XarfMember {
6
+ xarf: __DocumentType;
7
+ $unknown?: never;
8
+ }
9
+ interface $UnknownMember {
10
+ xarf?: never;
11
+ $unknown: [string, any];
12
+ }
13
+ interface Visitor<T> {
14
+ xarf: (value: __DocumentType) => T;
15
+ _: (name: string, value: any) => T;
16
+ }
17
+ }
18
+ export interface CreateAbuseReportRequest {
19
+ report: ReportData | undefined;
20
+ correlationId?: string | undefined;
21
+ clientToken?: string | undefined;
22
+ }
23
+ export interface CreateAbuseReportResponse {
24
+ reportId: string | undefined;
25
+ correlationId?: string | undefined;
26
+ }
27
+ export interface SubmissionRequirement {
28
+ code?: string | undefined;
29
+ path: string | undefined;
30
+ message: string | undefined;
31
+ }
32
+ export interface ValidationExceptionField {
33
+ path: string | undefined;
34
+ message: string | undefined;
35
+ }
36
+ export interface GetAbuseReportStatusRequest {
37
+ reportId: string | undefined;
38
+ }
39
+ export interface GetAbuseReportStatusResponse {
40
+ reportId: string | undefined;
41
+ correlationId?: string | undefined;
42
+ status: ReportSubmissionStatus | undefined;
43
+ description: string | undefined;
44
+ reasonCode?: ReasonCode | undefined;
45
+ submittedAt: Date | undefined;
46
+ lastUpdatedAt?: Date | undefined;
47
+ }
48
+ export interface ListAbuseReportStatusesRequest {
49
+ correlationId?: string | undefined;
50
+ nextToken?: string | undefined;
51
+ maxResults?: number | undefined;
52
+ }
53
+ export interface ReportStatusListItem {
54
+ reportId: string | undefined;
55
+ correlationId?: string | undefined;
56
+ status: ReportSubmissionStatus | undefined;
57
+ description: string | undefined;
58
+ reasonCode?: ReasonCode | undefined;
59
+ }
60
+ export interface ListAbuseReportStatusesResponse {
61
+ reports: ReportStatusListItem[] | undefined;
62
+ nextToken?: string | undefined;
63
+ }
@@ -0,0 +1,5 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { AbuseSignalClient } from "../AbuseSignalClient";
3
+ export interface AbuseSignalPaginationConfiguration extends PaginationConfiguration {
4
+ client: AbuseSignalClient;
5
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAbuseReportStatusesCommandInput,
4
+ ListAbuseReportStatusesCommandOutput,
5
+ } from "../commands/ListAbuseReportStatusesCommand";
6
+ import { AbuseSignalPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListAbuseReportStatuses: (
8
+ config: AbuseSignalPaginationConfiguration,
9
+ input: ListAbuseReportStatusesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListAbuseReportStatusesCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAbuseReportStatusesPaginator";