Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Jun 10, 2022
1 parent ef41db7 commit 513b532
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 28 deletions.
8 changes: 4 additions & 4 deletions apis/frauddetector/2019-11-15/docs-2.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.0",
"service": "<p>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 <a href=\"https://docs.aws.amazon.com/frauddetector/latest/ug/\">Amazon Fraud Detector User Guide</a>.</p>",
"service": "<p>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 <a href=\"https://docs.aws.amazon.com/frauddetector/latest/ug/\">Amazon Fraud Detector User Guide</a>.</p> <p>We provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.</p> <p>The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter <code>Action</code>. 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, see <a href=\"https://docs.aws.amazon.com/https:/aws.amazon.com/tools/\">Tools to build on AWS</a>. </p>",
"operations": {
"BatchCreateVariable": "<p>Creates a batch of variables.</p>",
"BatchGetVariable": "<p>Gets a batch of variables.</p>",
Expand All @@ -13,7 +13,7 @@
"CreateModelVersion": "<p>Creates a version of the model using the specified model type and model id. </p>",
"CreateRule": "<p>Creates a rule for use with the specified detector. </p>",
"CreateVariable": "<p>Creates a variable.</p>",
"DeleteBatchImportJob": "<p>Deletes data that was batch imported to Amazon Fraud Detector. </p>",
"DeleteBatchImportJob": "<p>Deletes the specified batch import job ID record. This action does not delete the data that was batch imported. </p>",
"DeleteBatchPredictionJob": "<p>Deletes a batch prediction job.</p>",
"DeleteDetector": "<p>Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.</p> <p>When you delete a detector, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.</p>",
"DeleteDetectorVersion": "<p>Deletes the detector version. You cannot delete detector versions that are in <code>ACTIVE</code> status.</p> <p>When you delete a detector version, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.</p>",
Expand Down Expand Up @@ -66,7 +66,7 @@
"UpdateEventLabel": "<p>Updates the specified event with a new label.</p>",
"UpdateModel": "<p>Updates model description.</p>",
"UpdateModelVersion": "<p>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.</p>",
"UpdateModelVersionStatus": "<p>Updates the status of a model version.</p> <p>You can perform the following status updates:</p> <ol> <li> <p>Change the <code>TRAINING_COMPLETE</code> status to <code>ACTIVE</code>.</p> </li> <li> <p>Change <code>ACTIVE</code> to <code>INACTIVE</code>.</p> </li> </ol>",
"UpdateModelVersionStatus": "<p>Updates the status of a model version.</p> <p>You can perform the following status updates:</p> <ol> <li> <p>Change the <code>TRAINING_IN_PROGRESS</code> status to <code>TRAINING_CANCELLED</code>.</p> </li> <li> <p>Change the <code>TRAINING_COMPLETE</code> status to <code>ACTIVE</code>.</p> </li> <li> <p>Change <code>ACTIVE</code> to <code>INACTIVE</code>.</p> </li> </ol>",
"UpdateRuleMetadata": "<p>Updates a rule's metadata. The description attribute can be updated.</p>",
"UpdateRuleVersion": "<p>Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...). </p>",
"UpdateVariable": "<p>Updates a variable.</p>"
Expand Down Expand Up @@ -2138,7 +2138,7 @@
"ExternalModel$createdTime": "<p>Timestamp of when the model was last created.</p>",
"GetDetectorVersionResult$lastUpdatedTime": "<p>The timestamp when the detector version was last updated. </p>",
"GetDetectorVersionResult$createdTime": "<p>The timestamp when the detector version was created. </p>",
"GetEventPredictionMetadataRequest$predictionTimestamp": "<p> The timestamp that defines when the prediction was generated. </p>",
"GetEventPredictionMetadataRequest$predictionTimestamp": "<p> The timestamp that defines when the prediction was generated. The timestamp must be specified using ISO 8601 standard in UTC.</p> <p>We recommend calling <a href=\"https://docs.aws.amazon.com/frauddetector/latest/api/API_ListEventPredictions.html\">ListEventPredictions</a> first, and using the <code>predictionTimestamp</code> value in the response to provide an accurate prediction timestamp value.</p>",
"GetEventPredictionMetadataResult$eventTimestamp": "<p> The timestamp for when the prediction was generated for the associated event ID. </p>",
"GetEventPredictionMetadataResult$predictionTimestamp": "<p>The timestamp that defines when the prediction was generated. </p>",
"IngestedEventStatistics$leastRecentEvent": "<p>The oldest stored event.</p>",
Expand Down
1 change: 0 additions & 1 deletion gems/aws-partitions/lib/aws-partitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,6 @@ def service_ids
'RecycleBin' => 'rbin',
'Redshift' => 'redshift',
'RedshiftDataAPIService' => 'redshift-data',
'RedshiftServerless' => 'redshift-serverless',
'Rekognition' => 'rekognition',
'ResilienceHub' => 'resiliencehub',
'ResourceGroups' => 'resource-groups',
Expand Down
29 changes: 14 additions & 15 deletions gems/aws-partitions/partitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4330,6 +4330,7 @@
"ap-south-1" : { },
"ap-southeast-1" : { },
"ap-southeast-2" : { },
"ap-southeast-3" : { },
"ca-central-1" : { },
"eu-central-1" : { },
"eu-north-1" : { },
Expand Down Expand Up @@ -9788,21 +9789,6 @@
}
}
},
"redshift-serverless" : {
"endpoints" : {
"ap-northeast-1" : { },
"ap-northeast-2" : { },
"ap-southeast-1" : { },
"ap-southeast-2" : { },
"eu-central-1" : { },
"eu-north-1" : { },
"eu-west-1" : { },
"eu-west-2" : { },
"us-east-1" : { },
"us-east-2" : { },
"us-west-2" : { }
}
},
"rekognition" : {
"endpoints" : {
"ap-northeast-1" : { },
Expand Down Expand Up @@ -11021,6 +11007,7 @@
"ap-south-1" : { },
"ap-southeast-1" : { },
"ap-southeast-2" : { },
"ap-southeast-3" : { },
"ca-central-1" : { },
"eu-central-1" : { },
"eu-north-1" : { },
Expand Down Expand Up @@ -11155,6 +11142,7 @@
"ap-south-1" : { },
"ap-southeast-1" : { },
"ap-southeast-2" : { },
"ap-southeast-3" : { },
"ca-central-1" : { },
"eu-central-1" : { },
"eu-north-1" : { },
Expand Down Expand Up @@ -18067,6 +18055,12 @@
}
}
},
"transcribestreaming" : {
"endpoints" : {
"us-gov-east-1" : { },
"us-gov-west-1" : { }
}
},
"transfer" : {
"endpoints" : {
"fips-us-gov-east-1" : {
Expand Down Expand Up @@ -19103,6 +19097,11 @@
"endpoints" : {
"us-isob-east-1" : { }
}
},
"workspaces" : {
"endpoints" : {
"us-isob-east-1" : { }
}
}
}
} ],
Expand Down
5 changes: 5 additions & 0 deletions gems/aws-sdk-frauddetector/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

1.33.0 (2022-06-10)
------------------

* Feature - Documentation updates for Amazon Fraud Detector (AWSHawksNest)

1.32.0 (2022-02-24)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-sdk-frauddetector/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.32.0
1.33.0
2 changes: 1 addition & 1 deletion gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
# @!group service
module Aws::FraudDetector

GEM_VERSION = '1.32.0'
GEM_VERSION = '1.33.0'

end
22 changes: 17 additions & 5 deletions gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,8 @@ def create_variable(params = {}, options = {})
req.send_request(options)
end

# Deletes data that was batch imported to Amazon Fraud Detector.
# Deletes the specified batch import job ID record. This action does not
# delete the data that was batch imported.
#
# @option params [required, String] :job_id
# The ID of the batch import job to delete.
Expand Down Expand Up @@ -2004,7 +2005,16 @@ def get_event_prediction(params = {}, options = {})
# The detector version ID.
#
# @option params [required, String] :prediction_timestamp
# The timestamp that defines when the prediction was generated.
# The timestamp that defines when the prediction was generated. The
# timestamp must be specified using ISO 8601 standard in UTC.
#
# We recommend calling [ListEventPredictions][1] first, and using the
# `predictionTimestamp` value in the response to provide an accurate
# prediction timestamp value.
#
#
#
# [1]: https://docs.aws.amazon.com/frauddetector/latest/api/API_ListEventPredictions.html
#
# @return [Types::GetEventPredictionMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
Expand Down Expand Up @@ -3409,9 +3419,11 @@ def update_model_version(params = {}, options = {})
#
# You can perform the following status updates:
#
# 1. Change the `TRAINING_COMPLETE` status to `ACTIVE`.
# 1. Change the `TRAINING_IN_PROGRESS` status to `TRAINING_CANCELLED`.
#
# 2. Change the `TRAINING_COMPLETE` status to `ACTIVE`.
#
# 2. Change `ACTIVE` to `INACTIVE`.
# 3. Change `ACTIVE` to `INACTIVE`.
#
# @option params [required, String] :model_id
# The model ID of the model version to update.
Expand Down Expand Up @@ -3586,7 +3598,7 @@ def build_request(operation_name, params = {})
params: params,
config: config)
context[:gem_name] = 'aws-sdk-frauddetector'
context[:gem_version] = '1.32.0'
context[:gem_version] = '1.33.0'
Seahorse::Client::Request.new(handlers, context)
end

Expand Down
11 changes: 10 additions & 1 deletion gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/types.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2433,7 +2433,16 @@ class GetEntityTypesResult < Struct.new(
# @return [String]
#
# @!attribute [rw] prediction_timestamp
# The timestamp that defines when the prediction was generated.
# The timestamp that defines when the prediction was generated. The
# timestamp must be specified using ISO 8601 standard in UTC.
#
# We recommend calling [ListEventPredictions][1] first, and using the
# `predictionTimestamp` value in the response to provide an accurate
# prediction timestamp value.
#
#
#
# [1]: https://docs.aws.amazon.com/frauddetector/latest/api/API_ListEventPredictions.html
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPredictionMetadataRequest AWS API Documentation
Expand Down

0 comments on commit 513b532

Please sign in to comment.