# This file is auto-generated by AWSMetadata.jl
using AWS
using AWS.AWSServices: frauddetector
using AWS.Compat
using AWS.UUIDs
"""
    BatchCreateVariable()

Creates a batch of variables.

# Required Parameters
- `variableEntries`: The list of variables for the batch create variable request.

# Optional Parameters
- `tags`: A collection of key and value pairs.
"""

batch_create_variable(variableEntries; aws_config::AWSConfig=global_aws_config()) = frauddetector("BatchCreateVariable", Dict{String, Any}("variableEntries"=>variableEntries); aws_config=aws_config)
batch_create_variable(variableEntries, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("BatchCreateVariable", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("variableEntries"=>variableEntries), args)); aws_config=aws_config)

"""
    BatchGetVariable()

Gets a batch of variables.

# Required Parameters
- `names`: The list of variable names to get.

"""

batch_get_variable(names; aws_config::AWSConfig=global_aws_config()) = frauddetector("BatchGetVariable", Dict{String, Any}("names"=>names); aws_config=aws_config)
batch_get_variable(names, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("BatchGetVariable", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("names"=>names), args)); aws_config=aws_config)

"""
    CreateDetectorVersion()

Creates a detector version. The detector version starts in a DRAFT status.

# Required Parameters
- `detectorId`: The ID of the detector under which you want to create a new version.
- `rules`: The rules to include in the detector version.

# Optional Parameters
- `description`: The description of the detector version.
- `externalModelEndpoints`: The Amazon Sagemaker model endpoints to include in the detector version.
- `modelVersions`: The model versions to include in the detector version.
- `ruleExecutionMode`: The rule execution mode for the rules included in the detector version. You can define and edit the rule mode at the detector version level, when it is in draft status. If you specify FIRST_MATCHED, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule. If you specifiy ALL_MATCHED, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules.  The default behavior is FIRST_MATCHED.
- `tags`: A collection of key and value pairs.
"""

create_detector_version(detectorId, rules; aws_config::AWSConfig=global_aws_config()) = frauddetector("CreateDetectorVersion", Dict{String, Any}("detectorId"=>detectorId, "rules"=>rules); aws_config=aws_config)
create_detector_version(detectorId, rules, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("CreateDetectorVersion", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("detectorId"=>detectorId, "rules"=>rules), args)); aws_config=aws_config)

"""
    CreateModel()

Creates a model using the specified model type.

# Required Parameters
- `eventTypeName`: The name of the event type.
- `modelId`: The model ID.
- `modelType`: The model type. 

# Optional Parameters
- `description`: The model description. 
- `tags`: A collection of key and value pairs.
"""

create_model(eventTypeName, modelId, modelType; aws_config::AWSConfig=global_aws_config()) = frauddetector("CreateModel", Dict{String, Any}("eventTypeName"=>eventTypeName, "modelId"=>modelId, "modelType"=>modelType); aws_config=aws_config)
create_model(eventTypeName, modelId, modelType, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("CreateModel", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("eventTypeName"=>eventTypeName, "modelId"=>modelId, "modelType"=>modelType), args)); aws_config=aws_config)

"""
    CreateModelVersion()

Creates a version of the model using the specified model type and model id. 

# Required Parameters
- `modelId`: The model ID. 
- `modelType`: The model type.
- `trainingDataSchema`: The training data schema.
- `trainingDataSource`: The training data source location in Amazon S3. 

# Optional Parameters
- `externalEventsDetail`: Details for the external events data used for model version training. Required if trainingDataSource is EXTERNAL_EVENTS.
- `tags`: A collection of key and value pairs.
"""

create_model_version(modelId, modelType, trainingDataSchema, trainingDataSource; aws_config::AWSConfig=global_aws_config()) = frauddetector("CreateModelVersion", Dict{String, Any}("modelId"=>modelId, "modelType"=>modelType, "trainingDataSchema"=>trainingDataSchema, "trainingDataSource"=>trainingDataSource); aws_config=aws_config)
create_model_version(modelId, modelType, trainingDataSchema, trainingDataSource, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("CreateModelVersion", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("modelId"=>modelId, "modelType"=>modelType, "trainingDataSchema"=>trainingDataSchema, "trainingDataSource"=>trainingDataSource), args)); aws_config=aws_config)

"""
    CreateRule()

Creates a rule for use with the specified detector. 

# Required Parameters
- `detectorId`: The detector ID for the rule's parent detector.
- `expression`: The rule expression.
- `language`: The language of the rule.
- `outcomes`: The outcome or outcomes returned when the rule expression matches.
- `ruleId`: The rule ID.

# Optional Parameters
- `description`: The rule description.
- `tags`: A collection of key and value pairs.
"""

create_rule(detectorId, expression, language, outcomes, ruleId; aws_config::AWSConfig=global_aws_config()) = frauddetector("CreateRule", Dict{String, Any}("detectorId"=>detectorId, "expression"=>expression, "language"=>language, "outcomes"=>outcomes, "ruleId"=>ruleId); aws_config=aws_config)
create_rule(detectorId, expression, language, outcomes, ruleId, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("CreateRule", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("detectorId"=>detectorId, "expression"=>expression, "language"=>language, "outcomes"=>outcomes, "ruleId"=>ruleId), args)); aws_config=aws_config)

"""
    CreateVariable()

Creates a variable.

# Required Parameters
- `dataSource`: The source of the data.
- `dataType`: The data type.
- `defaultValue`: The default value for the variable when no value is received.
- `name`: The name of the variable.

# Optional Parameters
- `description`: The description.
- `tags`: A collection of key and value pairs.
- `variableType`: The variable type. For more information see Variable types.  Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT 
"""

create_variable(dataSource, dataType, defaultValue, name; aws_config::AWSConfig=global_aws_config()) = frauddetector("CreateVariable", Dict{String, Any}("dataSource"=>dataSource, "dataType"=>dataType, "defaultValue"=>defaultValue, "name"=>name); aws_config=aws_config)
create_variable(dataSource, dataType, defaultValue, name, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("CreateVariable", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("dataSource"=>dataSource, "dataType"=>dataType, "defaultValue"=>defaultValue, "name"=>name), args)); aws_config=aws_config)

"""
    DeleteDetector()

Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.

# Required Parameters
- `detectorId`: The ID of the detector to delete.

"""

delete_detector(detectorId; aws_config::AWSConfig=global_aws_config()) = frauddetector("DeleteDetector", Dict{String, Any}("detectorId"=>detectorId); aws_config=aws_config)
delete_detector(detectorId, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("DeleteDetector", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("detectorId"=>detectorId), args)); aws_config=aws_config)

"""
    DeleteDetectorVersion()

Deletes the detector version. You cannot delete detector versions that are in ACTIVE status.

# Required Parameters
- `detectorId`: The ID of the parent detector for the detector version to delete.
- `detectorVersionId`: The ID of the detector version to delete.

"""

delete_detector_version(detectorId, detectorVersionId; aws_config::AWSConfig=global_aws_config()) = frauddetector("DeleteDetectorVersion", Dict{String, Any}("detectorId"=>detectorId, "detectorVersionId"=>detectorVersionId); aws_config=aws_config)
delete_detector_version(detectorId, detectorVersionId, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("DeleteDetectorVersion", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("detectorId"=>detectorId, "detectorVersionId"=>detectorVersionId), args)); aws_config=aws_config)

"""
    DeleteEvent()

Deletes the specified event.

# Required Parameters
- `eventId`: The ID of the event to delete.
- `eventTypeName`: The name of the event type.

"""

delete_event(eventId, eventTypeName; aws_config::AWSConfig=global_aws_config()) = frauddetector("DeleteEvent", Dict{String, Any}("eventId"=>eventId, "eventTypeName"=>eventTypeName); aws_config=aws_config)
delete_event(eventId, eventTypeName, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("DeleteEvent", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("eventId"=>eventId, "eventTypeName"=>eventTypeName), args)); aws_config=aws_config)

"""
    DeleteRule()

Deletes the rule. You cannot delete a rule if it is used by an ACTIVE or INACTIVE detector version.

# Required Parameters
- `rule`: 

"""

delete_rule(rule; aws_config::AWSConfig=global_aws_config()) = frauddetector("DeleteRule", Dict{String, Any}("rule"=>rule); aws_config=aws_config)
delete_rule(rule, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("DeleteRule", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("rule"=>rule), args)); aws_config=aws_config)

"""
    DescribeDetector()

Gets all versions for a specified detector.

# Required Parameters
- `detectorId`: The detector ID.

# Optional Parameters
- `maxResults`: The maximum number of results to return for the request.
- `nextToken`: The next token from the previous response.
"""

describe_detector(detectorId; aws_config::AWSConfig=global_aws_config()) = frauddetector("DescribeDetector", Dict{String, Any}("detectorId"=>detectorId); aws_config=aws_config)
describe_detector(detectorId, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("DescribeDetector", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("detectorId"=>detectorId), args)); aws_config=aws_config)

"""
    DescribeModelVersions()

Gets all of the model versions for the specified model type or for the specified model type and model ID. You can also get details for a single, specified model version. 

# Optional Parameters
- `maxResults`: The maximum number of results to return.
- `modelId`: The model ID.
- `modelType`: The model type.
- `modelVersionNumber`: The model version number.
- `nextToken`: The next token from the previous results.
"""

describe_model_versions(; aws_config::AWSConfig=global_aws_config()) = frauddetector("DescribeModelVersions"; aws_config=aws_config)
describe_model_versions(args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("DescribeModelVersions", args; aws_config=aws_config)

"""
    GetDetectorVersion()

Gets a particular detector version. 

# Required Parameters
- `detectorId`: The detector ID.
- `detectorVersionId`: The detector version ID.

"""

get_detector_version(detectorId, detectorVersionId; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetDetectorVersion", Dict{String, Any}("detectorId"=>detectorId, "detectorVersionId"=>detectorVersionId); aws_config=aws_config)
get_detector_version(detectorId, detectorVersionId, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetDetectorVersion", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("detectorId"=>detectorId, "detectorVersionId"=>detectorVersionId), args)); aws_config=aws_config)

"""
    GetDetectors()

Gets all detectors or a single detector if a detectorId is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetDetectorsResponse as part of your request. A null pagination token fetches the records from the beginning. 

# Optional Parameters
- `detectorId`: The detector ID.
- `maxResults`: The maximum number of objects to return for the request.
- `nextToken`: The next token for the subsequent request.
"""

get_detectors(; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetDetectors"; aws_config=aws_config)
get_detectors(args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetDetectors", args; aws_config=aws_config)

"""
    GetEntityTypes()

Gets all entity types or a specific entity type if a name is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEntityTypesResponse as part of your request. A null pagination token fetches the records from the beginning. 

# Optional Parameters
- `maxResults`: The maximum number of objects to return for the request.
- `name`: The name.
- `nextToken`: The next token for the subsequent request.
"""

get_entity_types(; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetEntityTypes"; aws_config=aws_config)
get_entity_types(args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetEntityTypes", args; aws_config=aws_config)

"""
    GetEventPrediction()

Evaluates an event against a detector version. If a version ID is not provided, the detector’s (ACTIVE) version is used.

# Required Parameters
- `detectorId`: The detector ID.
- `entities`: The entity type (associated with the detector's event type) and specific entity ID representing who performed the event. If an entity id is not available, use \"UNKNOWN.\"
- `eventId`: The unique ID used to identify the event.
- `eventTimestamp`: Timestamp that defines when the event under evaluation occurred.
- `eventTypeName`: The event type associated with the detector specified for the prediction.
- `eventVariables`: Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.

# Optional Parameters
- `detectorVersionId`: The detector version ID.
- `externalModelEndpointDataBlobs`: The Amazon SageMaker model endpoint input data blobs.
"""

get_event_prediction(detectorId, entities, eventId, eventTimestamp, eventTypeName, eventVariables; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetEventPrediction", Dict{String, Any}("detectorId"=>detectorId, "entities"=>entities, "eventId"=>eventId, "eventTimestamp"=>eventTimestamp, "eventTypeName"=>eventTypeName, "eventVariables"=>eventVariables); aws_config=aws_config)
get_event_prediction(detectorId, entities, eventId, eventTimestamp, eventTypeName, eventVariables, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetEventPrediction", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("detectorId"=>detectorId, "entities"=>entities, "eventId"=>eventId, "eventTimestamp"=>eventTimestamp, "eventTypeName"=>eventTypeName, "eventVariables"=>eventVariables), args)); aws_config=aws_config)

"""
    GetEventTypes()

Gets all event types or a specific event type if name is provided. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEventTypesResponse as part of your request. A null pagination token fetches the records from the beginning. 

# Optional Parameters
- `maxResults`: The maximum number of objects to return for the request.
- `name`: The name.
- `nextToken`: The next token for the subsequent request.
"""

get_event_types(; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetEventTypes"; aws_config=aws_config)
get_event_types(args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetEventTypes", args; aws_config=aws_config)

"""
    GetExternalModels()

Gets the details for one or more Amazon SageMaker models that have been imported into the service. This is a paginated API. If you provide a null maxResults, this actions retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetExternalModelsResult as part of your request. A null pagination token fetches the records from the beginning. 

# Optional Parameters
- `maxResults`: The maximum number of objects to return for the request.
- `modelEndpoint`: The Amazon SageMaker model endpoint.
- `nextToken`: The next page token for the request.
"""

get_external_models(; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetExternalModels"; aws_config=aws_config)
get_external_models(args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetExternalModels", args; aws_config=aws_config)

"""
    GetKMSEncryptionKey()

Gets the encryption key if a Key Management Service (KMS) customer master key (CMK) has been specified to be used to encrypt content in Amazon Fraud Detector.

"""

get_kmsencryption_key(; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetKMSEncryptionKey"; aws_config=aws_config)
get_kmsencryption_key(args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetKMSEncryptionKey", args; aws_config=aws_config)

"""
    GetLabels()

Gets all labels or a specific label if name is provided. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 10 and 50. To get the next page results, provide the pagination token from the GetGetLabelsResponse as part of your request. A null pagination token fetches the records from the beginning. 

# Optional Parameters
- `maxResults`: The maximum number of objects to return for the request.
- `name`: The name of the label or labels to get.
- `nextToken`: The next token for the subsequent request.
"""

get_labels(; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetLabels"; aws_config=aws_config)
get_labels(args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetLabels", args; aws_config=aws_config)

"""
    GetModelVersion()

Gets the details of the specified model version.

# Required Parameters
- `modelId`: The model ID.
- `modelType`: The model type.
- `modelVersionNumber`: The model version number.

"""

get_model_version(modelId, modelType, modelVersionNumber; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetModelVersion", Dict{String, Any}("modelId"=>modelId, "modelType"=>modelType, "modelVersionNumber"=>modelVersionNumber); aws_config=aws_config)
get_model_version(modelId, modelType, modelVersionNumber, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetModelVersion", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("modelId"=>modelId, "modelType"=>modelType, "modelVersionNumber"=>modelVersionNumber), args)); aws_config=aws_config)

"""
    GetModels()

Gets one or more models. Gets all models for the AWS account if no model type and no model id provided. Gets all models for the AWS account and model type, if the model type is specified but model id is not provided. Gets a specific model if (model type, model id) tuple is specified.  This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 1 and 10. To get the next page results, provide the pagination token from the response as part of your request. A null pagination token fetches the records from the beginning.

# Optional Parameters
- `maxResults`: The maximum number of objects to return for the request. 
- `modelId`: The model ID.
- `modelType`: The model type.
- `nextToken`: The next token for the subsequent request.
"""

get_models(; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetModels"; aws_config=aws_config)
get_models(args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetModels", args; aws_config=aws_config)

"""
    GetOutcomes()

Gets one or more outcomes. This is a paginated API. If you provide a null maxResults, this actions retrieves a maximum of 100 records per page. If you provide a maxResults, the value must be between 50 and 100. To get the next page results, provide the pagination token from the GetOutcomesResult as part of your request. A null pagination token fetches the records from the beginning. 

# Optional Parameters
- `maxResults`: The maximum number of objects to return for the request. 
- `name`: The name of the outcome or outcomes to get.
- `nextToken`: The next page token for the request. 
"""

get_outcomes(; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetOutcomes"; aws_config=aws_config)
get_outcomes(args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetOutcomes", args; aws_config=aws_config)

"""
    GetRules()

Get all rules for a detector (paginated) if ruleId and ruleVersion are not specified. Gets all rules for the detector and the ruleId if present (paginated). Gets a specific rule if both the ruleId and the ruleVersion are specified. This is a paginated API. Providing null maxResults results in retrieving maximum of 100 records per page. If you provide maxResults the value must be between 50 and 100. To get the next page result, a provide a pagination token from GetRulesResult as part of your request. Null pagination token fetches the records from the beginning.

# Required Parameters
- `detectorId`: The detector ID.

# Optional Parameters
- `maxResults`: The maximum number of rules to return for the request.
- `nextToken`: The next page token.
- `ruleId`: The rule ID.
- `ruleVersion`: The rule version.
"""

get_rules(detectorId; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetRules", Dict{String, Any}("detectorId"=>detectorId); aws_config=aws_config)
get_rules(detectorId, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetRules", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("detectorId"=>detectorId), args)); aws_config=aws_config)

"""
    GetVariables()

Gets all of the variables or the specific variable. This is a paginated API. Providing null maxSizePerPage results in retrieving maximum of 100 records per page. If you provide maxSizePerPage the value must be between 50 and 100. To get the next page result, a provide a pagination token from GetVariablesResult as part of your request. Null pagination token fetches the records from the beginning. 

# Optional Parameters
- `maxResults`: The max size per page determined for the get variable request. 
- `name`: The name of the variable. 
- `nextToken`: The next page token of the get variable request. 
"""

get_variables(; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetVariables"; aws_config=aws_config)
get_variables(args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("GetVariables", args; aws_config=aws_config)

"""
    ListTagsForResource()

Lists all tags associated with the resource. This is a paginated API. To get the next page results, provide the pagination token from the response as part of your request. A null pagination token fetches the records from the beginning. 

# Required Parameters
- `resourceARN`: The ARN that specifies the resource whose tags you want to list.

# Optional Parameters
- `maxResults`: The maximum number of objects to return for the request. 
- `nextToken`: The next token from the previous results.
"""

list_tags_for_resource(resourceARN; aws_config::AWSConfig=global_aws_config()) = frauddetector("ListTagsForResource", Dict{String, Any}("resourceARN"=>resourceARN); aws_config=aws_config)
list_tags_for_resource(resourceARN, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("ListTagsForResource", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("resourceARN"=>resourceARN), args)); aws_config=aws_config)

"""
    PutDetector()

Creates or updates a detector. 

# Required Parameters
- `detectorId`: The detector ID. 
- `eventTypeName`: The name of the event type.

# Optional Parameters
- `description`: The description of the detector.
- `tags`: A collection of key and value pairs.
"""

put_detector(detectorId, eventTypeName; aws_config::AWSConfig=global_aws_config()) = frauddetector("PutDetector", Dict{String, Any}("detectorId"=>detectorId, "eventTypeName"=>eventTypeName); aws_config=aws_config)
put_detector(detectorId, eventTypeName, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("PutDetector", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("detectorId"=>detectorId, "eventTypeName"=>eventTypeName), args)); aws_config=aws_config)

"""
    PutEntityType()

Creates or updates an entity type. An entity represents who is performing the event. As part of a fraud prediction, you pass the entity ID to indicate the specific entity who performed the event. An entity type classifies the entity. Example classifications include customer, merchant, or account.

# Required Parameters
- `name`: The name of the entity type.

# Optional Parameters
- `description`: The description.
- `tags`: A collection of key and value pairs.
"""

put_entity_type(name; aws_config::AWSConfig=global_aws_config()) = frauddetector("PutEntityType", Dict{String, Any}("name"=>name); aws_config=aws_config)
put_entity_type(name, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("PutEntityType", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("name"=>name), args)); aws_config=aws_config)

"""
    PutEventType()

Creates or updates an event type. An event is a business activity that is evaluated for fraud risk. With Amazon Fraud Detector, you generate fraud predictions for events. An event type defines the structure for an event sent to Amazon Fraud Detector. This includes the variables sent as part of the event, the entity performing the event (such as a customer), and the labels that classify the event. Example event types include online payment transactions, account registrations, and authentications.

# Required Parameters
- `entityTypes`: The entity type for the event type. Example entity types: customer, merchant, account.
- `eventVariables`: The event type variables.
- `name`: The name.

# Optional Parameters
- `description`: The description of the event type.
- `labels`: The event type labels.
- `tags`: A collection of key and value pairs.
"""

put_event_type(entityTypes, eventVariables, name; aws_config::AWSConfig=global_aws_config()) = frauddetector("PutEventType", Dict{String, Any}("entityTypes"=>entityTypes, "eventVariables"=>eventVariables, "name"=>name); aws_config=aws_config)
put_event_type(entityTypes, eventVariables, name, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("PutEventType", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("entityTypes"=>entityTypes, "eventVariables"=>eventVariables, "name"=>name), args)); aws_config=aws_config)

"""
    PutExternalModel()

Creates or updates an Amazon SageMaker model endpoint. You can also use this action to update the configuration of the model endpoint, including the IAM role and/or the mapped variables. 

# Required Parameters
- `inputConfiguration`: The model endpoint input configuration.
- `invokeModelEndpointRoleArn`: The IAM role used to invoke the model endpoint.
- `modelEndpoint`: The model endpoints name.
- `modelEndpointStatus`: The model endpoint’s status in Amazon Fraud Detector.
- `modelSource`: The source of the model.
- `outputConfiguration`: The model endpoint output configuration.

# Optional Parameters
- `tags`: A collection of key and value pairs.
"""

put_external_model(inputConfiguration, invokeModelEndpointRoleArn, modelEndpoint, modelEndpointStatus, modelSource, outputConfiguration; aws_config::AWSConfig=global_aws_config()) = frauddetector("PutExternalModel", Dict{String, Any}("inputConfiguration"=>inputConfiguration, "invokeModelEndpointRoleArn"=>invokeModelEndpointRoleArn, "modelEndpoint"=>modelEndpoint, "modelEndpointStatus"=>modelEndpointStatus, "modelSource"=>modelSource, "outputConfiguration"=>outputConfiguration); aws_config=aws_config)
put_external_model(inputConfiguration, invokeModelEndpointRoleArn, modelEndpoint, modelEndpointStatus, modelSource, outputConfiguration, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("PutExternalModel", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("inputConfiguration"=>inputConfiguration, "invokeModelEndpointRoleArn"=>invokeModelEndpointRoleArn, "modelEndpoint"=>modelEndpoint, "modelEndpointStatus"=>modelEndpointStatus, "modelSource"=>modelSource, "outputConfiguration"=>outputConfiguration), args)); aws_config=aws_config)

"""
    PutKMSEncryptionKey()

Specifies the Key Management Service (KMS) customer master key (CMK) to be used to encrypt content in Amazon Fraud Detector.

# Required Parameters
- `kmsEncryptionKeyArn`: The KMS encryption key ARN.

"""

put_kmsencryption_key(kmsEncryptionKeyArn; aws_config::AWSConfig=global_aws_config()) = frauddetector("PutKMSEncryptionKey", Dict{String, Any}("kmsEncryptionKeyArn"=>kmsEncryptionKeyArn); aws_config=aws_config)
put_kmsencryption_key(kmsEncryptionKeyArn, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("PutKMSEncryptionKey", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("kmsEncryptionKeyArn"=>kmsEncryptionKeyArn), args)); aws_config=aws_config)

"""
    PutLabel()

Creates or updates label. A label classifies an event as fraudulent or legitimate. Labels are associated with event types and used to train supervised machine learning models in Amazon Fraud Detector. 

# Required Parameters
- `name`: The label name.

# Optional Parameters
- `description`: The label description.
- `tags`: 
"""

put_label(name; aws_config::AWSConfig=global_aws_config()) = frauddetector("PutLabel", Dict{String, Any}("name"=>name); aws_config=aws_config)
put_label(name, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("PutLabel", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("name"=>name), args)); aws_config=aws_config)

"""
    PutOutcome()

Creates or updates an outcome. 

# Required Parameters
- `name`: The name of the outcome.

# Optional Parameters
- `description`: The outcome description.
- `tags`: A collection of key and value pairs.
"""

put_outcome(name; aws_config::AWSConfig=global_aws_config()) = frauddetector("PutOutcome", Dict{String, Any}("name"=>name); aws_config=aws_config)
put_outcome(name, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("PutOutcome", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("name"=>name), args)); aws_config=aws_config)

"""
    TagResource()

Assigns tags to a resource.

# Required Parameters
- `resourceARN`: The resource ARN.
- `tags`: The tags to assign to the resource.

"""

tag_resource(resourceARN, tags; aws_config::AWSConfig=global_aws_config()) = frauddetector("TagResource", Dict{String, Any}("resourceARN"=>resourceARN, "tags"=>tags); aws_config=aws_config)
tag_resource(resourceARN, tags, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("TagResource", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("resourceARN"=>resourceARN, "tags"=>tags), args)); aws_config=aws_config)

"""
    UntagResource()

Removes tags from a resource.

# Required Parameters
- `resourceARN`: The ARN of the resource from which to remove the tag.
- `tagKeys`: The resource ARN.

"""

untag_resource(resourceARN, tagKeys; aws_config::AWSConfig=global_aws_config()) = frauddetector("UntagResource", Dict{String, Any}("resourceARN"=>resourceARN, "tagKeys"=>tagKeys); aws_config=aws_config)
untag_resource(resourceARN, tagKeys, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("UntagResource", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("resourceARN"=>resourceARN, "tagKeys"=>tagKeys), args)); aws_config=aws_config)

"""
    UpdateDetectorVersion()

 Updates a detector version. The detector version attributes that you can update include models, external model endpoints, rules, rule execution mode, and description. You can only update a DRAFT detector version.

# Required Parameters
- `detectorId`: The parent detector ID for the detector version you want to update.
- `detectorVersionId`: The detector version ID. 
- `externalModelEndpoints`: The Amazon SageMaker model endpoints to include in the detector version.
- `rules`: The rules to include in the detector version.

# Optional Parameters
- `description`: The detector version description. 
- `modelVersions`: The model versions to include in the detector version.
- `ruleExecutionMode`: The rule execution mode to add to the detector. If you specify FIRST_MATCHED, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule. If you specifiy ALL_MATCHED, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status. The default behavior is FIRST_MATCHED.
"""

update_detector_version(detectorId, detectorVersionId, externalModelEndpoints, rules; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateDetectorVersion", Dict{String, Any}("detectorId"=>detectorId, "detectorVersionId"=>detectorVersionId, "externalModelEndpoints"=>externalModelEndpoints, "rules"=>rules); aws_config=aws_config)
update_detector_version(detectorId, detectorVersionId, externalModelEndpoints, rules, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateDetectorVersion", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("detectorId"=>detectorId, "detectorVersionId"=>detectorVersionId, "externalModelEndpoints"=>externalModelEndpoints, "rules"=>rules), args)); aws_config=aws_config)

"""
    UpdateDetectorVersionMetadata()

Updates the detector version's description. You can update the metadata for any detector version (DRAFT, ACTIVE, or INACTIVE). 

# Required Parameters
- `description`: The description.
- `detectorId`: The detector ID.
- `detectorVersionId`: The detector version ID. 

"""

update_detector_version_metadata(description, detectorId, detectorVersionId; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateDetectorVersionMetadata", Dict{String, Any}("description"=>description, "detectorId"=>detectorId, "detectorVersionId"=>detectorVersionId); aws_config=aws_config)
update_detector_version_metadata(description, detectorId, detectorVersionId, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateDetectorVersionMetadata", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("description"=>description, "detectorId"=>detectorId, "detectorVersionId"=>detectorVersionId), args)); aws_config=aws_config)

"""
    UpdateDetectorVersionStatus()

Updates the detector version’s status. You can perform the following promotions or demotions using UpdateDetectorVersionStatus: DRAFT to ACTIVE, ACTIVE to INACTIVE, and INACTIVE to ACTIVE.

# Required Parameters
- `detectorId`: The detector ID. 
- `detectorVersionId`: The detector version ID. 
- `status`: The new status.

"""

update_detector_version_status(detectorId, detectorVersionId, status; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateDetectorVersionStatus", Dict{String, Any}("detectorId"=>detectorId, "detectorVersionId"=>detectorVersionId, "status"=>status); aws_config=aws_config)
update_detector_version_status(detectorId, detectorVersionId, status, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateDetectorVersionStatus", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("detectorId"=>detectorId, "detectorVersionId"=>detectorVersionId, "status"=>status), args)); aws_config=aws_config)

"""
    UpdateModel()

Updates a model. You can update the description attribute using this action.

# Required Parameters
- `modelId`: The model ID.
- `modelType`: The model type.

# Optional Parameters
- `description`: The new model description.
"""

update_model(modelId, modelType; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateModel", Dict{String, Any}("modelId"=>modelId, "modelType"=>modelType); aws_config=aws_config)
update_model(modelId, modelType, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateModel", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("modelId"=>modelId, "modelType"=>modelType), args)); aws_config=aws_config)

"""
    UpdateModelVersion()

Updates a model version. Updating a model version retrains an existing model version using updated training data and produces a new minor version of the model. You can update the training data set location and data access role attributes using this action. This action creates and trains a new minor version of the model, for example version 1.01, 1.02, 1.03.

# Required Parameters
- `majorVersionNumber`: The major version number.
- `modelId`: The model ID.
- `modelType`: The model type.

# Optional Parameters
- `externalEventsDetail`: The event details.
- `tags`: A collection of key and value pairs.
"""

update_model_version(majorVersionNumber, modelId, modelType; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateModelVersion", Dict{String, Any}("majorVersionNumber"=>majorVersionNumber, "modelId"=>modelId, "modelType"=>modelType); aws_config=aws_config)
update_model_version(majorVersionNumber, modelId, modelType, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateModelVersion", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("majorVersionNumber"=>majorVersionNumber, "modelId"=>modelId, "modelType"=>modelType), args)); aws_config=aws_config)

"""
    UpdateModelVersionStatus()

Updates the status of a model version. You can perform the following status updates:   Change the TRAINING_COMPLETE status to ACTIVE.   Change ACTIVEto INACTIVE.  

# Required Parameters
- `modelId`: The model ID of the model version to update.
- `modelType`: The model type.
- `modelVersionNumber`: The model version number.
- `status`: The model version status.

"""

update_model_version_status(modelId, modelType, modelVersionNumber, status; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateModelVersionStatus", Dict{String, Any}("modelId"=>modelId, "modelType"=>modelType, "modelVersionNumber"=>modelVersionNumber, "status"=>status); aws_config=aws_config)
update_model_version_status(modelId, modelType, modelVersionNumber, status, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateModelVersionStatus", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("modelId"=>modelId, "modelType"=>modelType, "modelVersionNumber"=>modelVersionNumber, "status"=>status), args)); aws_config=aws_config)

"""
    UpdateRuleMetadata()

Updates a rule's metadata. The description attribute can be updated.

# Required Parameters
- `description`: The rule description.
- `rule`: The rule to update.

"""

update_rule_metadata(description, rule; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateRuleMetadata", Dict{String, Any}("description"=>description, "rule"=>rule); aws_config=aws_config)
update_rule_metadata(description, rule, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateRuleMetadata", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("description"=>description, "rule"=>rule), args)); aws_config=aws_config)

"""
    UpdateRuleVersion()

Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...). 

# Required Parameters
- `expression`: The rule expression.
- `language`: The language.
- `outcomes`: The outcomes.
- `rule`: The rule to update.

# Optional Parameters
- `description`: The description.
- `tags`: The tags to assign to the rule version.
"""

update_rule_version(expression, language, outcomes, rule; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateRuleVersion", Dict{String, Any}("expression"=>expression, "language"=>language, "outcomes"=>outcomes, "rule"=>rule); aws_config=aws_config)
update_rule_version(expression, language, outcomes, rule, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateRuleVersion", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("expression"=>expression, "language"=>language, "outcomes"=>outcomes, "rule"=>rule), args)); aws_config=aws_config)

"""
    UpdateVariable()

Updates a variable.

# Required Parameters
- `name`: The name of the variable.

# Optional Parameters
- `defaultValue`: The new default value of the variable.
- `description`: The new description.
- `variableType`: The variable type. For more information see Variable types.
"""

update_variable(name; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateVariable", Dict{String, Any}("name"=>name); aws_config=aws_config)
update_variable(name, args::AbstractDict{String, <:Any}; aws_config::AWSConfig=global_aws_config()) = frauddetector("UpdateVariable", Dict{String, Any}(mergewith(_merge, Dict{String, Any}("name"=>name), args)); aws_config=aws_config)
