import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client"; import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client"; import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config"; import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints"; import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols"; import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry"; import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider"; import type { BatchCreateVariableCommandInput, BatchCreateVariableCommandOutput } from "./commands/BatchCreateVariableCommand"; import type { BatchGetVariableCommandInput, BatchGetVariableCommandOutput } from "./commands/BatchGetVariableCommand"; import type { CancelBatchImportJobCommandInput, CancelBatchImportJobCommandOutput } from "./commands/CancelBatchImportJobCommand"; import type { CancelBatchPredictionJobCommandInput, CancelBatchPredictionJobCommandOutput } from "./commands/CancelBatchPredictionJobCommand"; import type { CreateBatchImportJobCommandInput, CreateBatchImportJobCommandOutput } from "./commands/CreateBatchImportJobCommand"; import type { CreateBatchPredictionJobCommandInput, CreateBatchPredictionJobCommandOutput } from "./commands/CreateBatchPredictionJobCommand"; import type { CreateDetectorVersionCommandInput, CreateDetectorVersionCommandOutput } from "./commands/CreateDetectorVersionCommand"; import type { CreateListCommandInput, CreateListCommandOutput } from "./commands/CreateListCommand"; import type { CreateModelCommandInput, CreateModelCommandOutput } from "./commands/CreateModelCommand"; import type { CreateModelVersionCommandInput, CreateModelVersionCommandOutput } from "./commands/CreateModelVersionCommand"; import type { CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand"; import type { CreateVariableCommandInput, CreateVariableCommandOutput } from "./commands/CreateVariableCommand"; import type { DeleteBatchImportJobCommandInput, DeleteBatchImportJobCommandOutput } from "./commands/DeleteBatchImportJobCommand"; import type { DeleteBatchPredictionJobCommandInput, DeleteBatchPredictionJobCommandOutput } from "./commands/DeleteBatchPredictionJobCommand"; import type { DeleteDetectorCommandInput, DeleteDetectorCommandOutput } from "./commands/DeleteDetectorCommand"; import type { DeleteDetectorVersionCommandInput, DeleteDetectorVersionCommandOutput } from "./commands/DeleteDetectorVersionCommand"; import type { DeleteEntityTypeCommandInput, DeleteEntityTypeCommandOutput } from "./commands/DeleteEntityTypeCommand"; import type { DeleteEventCommandInput, DeleteEventCommandOutput } from "./commands/DeleteEventCommand"; import type { DeleteEventsByEventTypeCommandInput, DeleteEventsByEventTypeCommandOutput } from "./commands/DeleteEventsByEventTypeCommand"; import type { DeleteEventTypeCommandInput, DeleteEventTypeCommandOutput } from "./commands/DeleteEventTypeCommand"; import type { DeleteExternalModelCommandInput, DeleteExternalModelCommandOutput } from "./commands/DeleteExternalModelCommand"; import type { DeleteLabelCommandInput, DeleteLabelCommandOutput } from "./commands/DeleteLabelCommand"; import type { DeleteListCommandInput, DeleteListCommandOutput } from "./commands/DeleteListCommand"; import type { DeleteModelCommandInput, DeleteModelCommandOutput } from "./commands/DeleteModelCommand"; import type { DeleteModelVersionCommandInput, DeleteModelVersionCommandOutput } from "./commands/DeleteModelVersionCommand"; import type { DeleteOutcomeCommandInput, DeleteOutcomeCommandOutput } from "./commands/DeleteOutcomeCommand"; import type { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand"; import type { DeleteVariableCommandInput, DeleteVariableCommandOutput } from "./commands/DeleteVariableCommand"; import type { DescribeDetectorCommandInput, DescribeDetectorCommandOutput } from "./commands/DescribeDetectorCommand"; import type { DescribeModelVersionsCommandInput, DescribeModelVersionsCommandOutput } from "./commands/DescribeModelVersionsCommand"; import type { GetBatchImportJobsCommandInput, GetBatchImportJobsCommandOutput } from "./commands/GetBatchImportJobsCommand"; import type { GetBatchPredictionJobsCommandInput, GetBatchPredictionJobsCommandOutput } from "./commands/GetBatchPredictionJobsCommand"; import type { GetDeleteEventsByEventTypeStatusCommandInput, GetDeleteEventsByEventTypeStatusCommandOutput } from "./commands/GetDeleteEventsByEventTypeStatusCommand"; import type { GetDetectorsCommandInput, GetDetectorsCommandOutput } from "./commands/GetDetectorsCommand"; import type { GetDetectorVersionCommandInput, GetDetectorVersionCommandOutput } from "./commands/GetDetectorVersionCommand"; import type { GetEntityTypesCommandInput, GetEntityTypesCommandOutput } from "./commands/GetEntityTypesCommand"; import type { GetEventCommandInput, GetEventCommandOutput } from "./commands/GetEventCommand"; import type { GetEventPredictionCommandInput, GetEventPredictionCommandOutput } from "./commands/GetEventPredictionCommand"; import type { GetEventPredictionMetadataCommandInput, GetEventPredictionMetadataCommandOutput } from "./commands/GetEventPredictionMetadataCommand"; import type { GetEventTypesCommandInput, GetEventTypesCommandOutput } from "./commands/GetEventTypesCommand"; import type { GetExternalModelsCommandInput, GetExternalModelsCommandOutput } from "./commands/GetExternalModelsCommand"; import type { GetKMSEncryptionKeyCommandInput, GetKMSEncryptionKeyCommandOutput } from "./commands/GetKMSEncryptionKeyCommand"; import type { GetLabelsCommandInput, GetLabelsCommandOutput } from "./commands/GetLabelsCommand"; import type { GetListElementsCommandInput, GetListElementsCommandOutput } from "./commands/GetListElementsCommand"; import type { GetListsMetadataCommandInput, GetListsMetadataCommandOutput } from "./commands/GetListsMetadataCommand"; import type { GetModelsCommandInput, GetModelsCommandOutput } from "./commands/GetModelsCommand"; import type { GetModelVersionCommandInput, GetModelVersionCommandOutput } from "./commands/GetModelVersionCommand"; import type { GetOutcomesCommandInput, GetOutcomesCommandOutput } from "./commands/GetOutcomesCommand"; import type { GetRulesCommandInput, GetRulesCommandOutput } from "./commands/GetRulesCommand"; import type { GetVariablesCommandInput, GetVariablesCommandOutput } from "./commands/GetVariablesCommand"; import type { ListEventPredictionsCommandInput, ListEventPredictionsCommandOutput } from "./commands/ListEventPredictionsCommand"; import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand"; import type { PutDetectorCommandInput, PutDetectorCommandOutput } from "./commands/PutDetectorCommand"; import type { PutEntityTypeCommandInput, PutEntityTypeCommandOutput } from "./commands/PutEntityTypeCommand"; import type { PutEventTypeCommandInput, PutEventTypeCommandOutput } from "./commands/PutEventTypeCommand"; import type { PutExternalModelCommandInput, PutExternalModelCommandOutput } from "./commands/PutExternalModelCommand"; import type { PutKMSEncryptionKeyCommandInput, PutKMSEncryptionKeyCommandOutput } from "./commands/PutKMSEncryptionKeyCommand"; import type { PutLabelCommandInput, PutLabelCommandOutput } from "./commands/PutLabelCommand"; import type { PutOutcomeCommandInput, PutOutcomeCommandOutput } from "./commands/PutOutcomeCommand"; import type { SendEventCommandInput, SendEventCommandOutput } from "./commands/SendEventCommand"; import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import type { UpdateDetectorVersionCommandInput, UpdateDetectorVersionCommandOutput } from "./commands/UpdateDetectorVersionCommand"; import type { UpdateDetectorVersionMetadataCommandInput, UpdateDetectorVersionMetadataCommandOutput } from "./commands/UpdateDetectorVersionMetadataCommand"; import type { UpdateDetectorVersionStatusCommandInput, UpdateDetectorVersionStatusCommandOutput } from "./commands/UpdateDetectorVersionStatusCommand"; import type { UpdateEventLabelCommandInput, UpdateEventLabelCommandOutput } from "./commands/UpdateEventLabelCommand"; import type { UpdateListCommandInput, UpdateListCommandOutput } from "./commands/UpdateListCommand"; import type { UpdateModelCommandInput, UpdateModelCommandOutput } from "./commands/UpdateModelCommand"; import type { UpdateModelVersionCommandInput, UpdateModelVersionCommandOutput } from "./commands/UpdateModelVersionCommand"; import type { UpdateModelVersionStatusCommandInput, UpdateModelVersionStatusCommandOutput } from "./commands/UpdateModelVersionStatusCommand"; import type { UpdateRuleMetadataCommandInput, UpdateRuleMetadataCommandOutput } from "./commands/UpdateRuleMetadataCommand"; import type { UpdateRuleVersionCommandInput, UpdateRuleVersionCommandOutput } from "./commands/UpdateRuleVersionCommand"; import type { UpdateVariableCommandInput, UpdateVariableCommandOutput } from "./commands/UpdateVariableCommand"; import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters"; import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions"; export { __Client }; /** * @public */ export type ServiceInputTypes = BatchCreateVariableCommandInput | BatchGetVariableCommandInput | CancelBatchImportJobCommandInput | CancelBatchPredictionJobCommandInput | CreateBatchImportJobCommandInput | CreateBatchPredictionJobCommandInput | CreateDetectorVersionCommandInput | CreateListCommandInput | CreateModelCommandInput | CreateModelVersionCommandInput | CreateRuleCommandInput | CreateVariableCommandInput | DeleteBatchImportJobCommandInput | DeleteBatchPredictionJobCommandInput | DeleteDetectorCommandInput | DeleteDetectorVersionCommandInput | DeleteEntityTypeCommandInput | DeleteEventCommandInput | DeleteEventTypeCommandInput | DeleteEventsByEventTypeCommandInput | DeleteExternalModelCommandInput | DeleteLabelCommandInput | DeleteListCommandInput | DeleteModelCommandInput | DeleteModelVersionCommandInput | DeleteOutcomeCommandInput | DeleteRuleCommandInput | DeleteVariableCommandInput | DescribeDetectorCommandInput | DescribeModelVersionsCommandInput | GetBatchImportJobsCommandInput | GetBatchPredictionJobsCommandInput | GetDeleteEventsByEventTypeStatusCommandInput | GetDetectorVersionCommandInput | GetDetectorsCommandInput | GetEntityTypesCommandInput | GetEventCommandInput | GetEventPredictionCommandInput | GetEventPredictionMetadataCommandInput | GetEventTypesCommandInput | GetExternalModelsCommandInput | GetKMSEncryptionKeyCommandInput | GetLabelsCommandInput | GetListElementsCommandInput | GetListsMetadataCommandInput | GetModelVersionCommandInput | GetModelsCommandInput | GetOutcomesCommandInput | GetRulesCommandInput | GetVariablesCommandInput | ListEventPredictionsCommandInput | ListTagsForResourceCommandInput | PutDetectorCommandInput | PutEntityTypeCommandInput | PutEventTypeCommandInput | PutExternalModelCommandInput | PutKMSEncryptionKeyCommandInput | PutLabelCommandInput | PutOutcomeCommandInput | SendEventCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDetectorVersionCommandInput | UpdateDetectorVersionMetadataCommandInput | UpdateDetectorVersionStatusCommandInput | UpdateEventLabelCommandInput | UpdateListCommandInput | UpdateModelCommandInput | UpdateModelVersionCommandInput | UpdateModelVersionStatusCommandInput | UpdateRuleMetadataCommandInput | UpdateRuleVersionCommandInput | UpdateVariableCommandInput; /** * @public */ export type ServiceOutputTypes = BatchCreateVariableCommandOutput | BatchGetVariableCommandOutput | CancelBatchImportJobCommandOutput | CancelBatchPredictionJobCommandOutput | CreateBatchImportJobCommandOutput | CreateBatchPredictionJobCommandOutput | CreateDetectorVersionCommandOutput | CreateListCommandOutput | CreateModelCommandOutput | CreateModelVersionCommandOutput | CreateRuleCommandOutput | CreateVariableCommandOutput | DeleteBatchImportJobCommandOutput | DeleteBatchPredictionJobCommandOutput | DeleteDetectorCommandOutput | DeleteDetectorVersionCommandOutput | DeleteEntityTypeCommandOutput | DeleteEventCommandOutput | DeleteEventTypeCommandOutput | DeleteEventsByEventTypeCommandOutput | DeleteExternalModelCommandOutput | DeleteLabelCommandOutput | DeleteListCommandOutput | DeleteModelCommandOutput | DeleteModelVersionCommandOutput | DeleteOutcomeCommandOutput | DeleteRuleCommandOutput | DeleteVariableCommandOutput | DescribeDetectorCommandOutput | DescribeModelVersionsCommandOutput | GetBatchImportJobsCommandOutput | GetBatchPredictionJobsCommandOutput | GetDeleteEventsByEventTypeStatusCommandOutput | GetDetectorVersionCommandOutput | GetDetectorsCommandOutput | GetEntityTypesCommandOutput | GetEventCommandOutput | GetEventPredictionCommandOutput | GetEventPredictionMetadataCommandOutput | GetEventTypesCommandOutput | GetExternalModelsCommandOutput | GetKMSEncryptionKeyCommandOutput | GetLabelsCommandOutput | GetListElementsCommandOutput | GetListsMetadataCommandOutput | GetModelVersionCommandOutput | GetModelsCommandOutput | GetOutcomesCommandOutput | GetRulesCommandOutput | GetVariablesCommandOutput | ListEventPredictionsCommandOutput | ListTagsForResourceCommandOutput | PutDetectorCommandOutput | PutEntityTypeCommandOutput | PutEventTypeCommandOutput | PutExternalModelCommandOutput | PutKMSEncryptionKeyCommandOutput | PutLabelCommandOutput | PutOutcomeCommandOutput | SendEventCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDetectorVersionCommandOutput | UpdateDetectorVersionMetadataCommandOutput | UpdateDetectorVersionStatusCommandOutput | UpdateEventLabelCommandOutput | UpdateListCommandOutput | UpdateModelCommandOutput | UpdateModelVersionCommandOutput | UpdateModelVersionStatusCommandOutput | UpdateRuleMetadataCommandOutput | UpdateRuleVersionCommandOutput | UpdateVariableCommandOutput; /** * @public */ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { /** * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. */ requestHandler?: __HttpHandlerUserInput; /** * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface * that computes the SHA-256 HMAC or checksum of a string or binary buffer. * @internal */ sha256?: __ChecksumConstructor | __HashConstructor; /** * The function that will be used to convert strings into HTTP endpoints. * @internal */ urlParser?: __UrlParser; /** * A function that can calculate the length of a request body. * @internal */ bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. * @internal */ streamCollector?: __StreamCollector; /** * The function that will be used to convert a base64-encoded string to a byte array. * @internal */ base64Decoder?: __Decoder; /** * The function that will be used to convert binary data to a base64-encoded string. * @internal */ base64Encoder?: __Encoder; /** * The function that will be used to convert a UTF8-encoded string to a byte array. * @internal */ utf8Decoder?: __Decoder; /** * The function that will be used to convert binary data to a UTF-8 encoded string. * @internal */ utf8Encoder?: __Encoder; /** * The runtime environment. * @internal */ runtime?: string; /** * Disable dynamically changing the endpoint of the client based on the hostPrefix * trait of an operation. */ disableHostPrefix?: boolean; /** * Unique service identifier. * @internal */ serviceId?: string; /** * Enables IPv6/IPv4 dualstack endpoint. */ useDualstackEndpoint?: boolean | __Provider; /** * Enables FIPS compatible endpoints. */ useFipsEndpoint?: boolean | __Provider; /** * The AWS region to which this client will send requests */ region?: string | __Provider; /** * Setting a client profile is similar to setting a value for the * AWS_PROFILE environment variable. Setting a profile on a client * in code only affects the single client instance, unlike AWS_PROFILE. * * When set, and only for environments where an AWS configuration * file exists, fields configurable by this file will be retrieved * from the specified profile within that file. * Conflicting code configuration and environment variables will * still have higher priority. * * For client credential resolution that involves checking the AWS * configuration file, the client's profile (this value) will be * used unless a different profile is set in the credential * provider options. * */ profile?: string; /** * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header * @internal */ defaultUserAgentProvider?: __Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. * @deprecated * @internal */ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; /** * Value for how many times a request will be made at most in case of retry. */ maxAttempts?: number | __Provider; /** * Specifies which retry algorithm to use. * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ * */ retryMode?: string | __Provider; /** * Optional logger for logging debug/info/warn/error. */ logger?: __Logger; /** * Optional extensions */ extensions?: RuntimeExtension[]; /** * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. */ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; } /** * @public */ export type FraudDetectorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; /** * @public * * The configuration interface of FraudDetectorClient class constructor that set the region, credentials and other options. */ export interface FraudDetectorClientConfig extends FraudDetectorClientConfigType { } /** * @public */ export type FraudDetectorClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; /** * @public * * The resolved configuration interface of FraudDetectorClient class. This is resolved and normalized from the {@link FraudDetectorClientConfig | constructor configuration interface}. */ export interface FraudDetectorClientResolvedConfig extends FraudDetectorClientResolvedConfigType { } /** *

This is the Amazon Fraud Detector API Reference. This guide is for developers who need * detailed information about Amazon Fraud Detector API actions, data types, and errors. For * more information about Amazon Fraud Detector features, see the Amazon Fraud Detector User Guide.

*

We provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.

*

The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter Action. AWS SDK provides libraries, * sample code, tutorials, and other resources for software developers who prefer to build applications using language-specific APIs instead of submitting a request over * HTTP or HTTPS. These libraries provide basic functions that automatically take care of tasks such as cryptographically signing your requests, retrying requests, and * handling error responses, so that it is easier for you to get started. For more information about the AWS SDKs, go to Tools to build on AWS page, * scroll down to the SDK section, and choose plus (+) sign to expand the section. *

* @public */ export declare class FraudDetectorClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, FraudDetectorClientResolvedConfig> { /** * The resolved configuration of FraudDetectorClient class. This is resolved and normalized from the {@link FraudDetectorClientConfig | constructor configuration interface}. */ readonly config: FraudDetectorClientResolvedConfig; constructor(...[configuration]: __CheckOptionalClientConfig); /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy(): void; }