| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FraudDetector.GetExternalModels
Description
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.
Synopsis
- data GetExternalModels = GetExternalModels' {}
- newGetExternalModels :: GetExternalModels
- getExternalModels_maxResults :: Lens' GetExternalModels (Maybe Natural)
- getExternalModels_modelEndpoint :: Lens' GetExternalModels (Maybe Text)
- getExternalModels_nextToken :: Lens' GetExternalModels (Maybe Text)
- data GetExternalModelsResponse = GetExternalModelsResponse' {
- externalModels :: Maybe [ExternalModel]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetExternalModelsResponse :: Int -> GetExternalModelsResponse
- getExternalModelsResponse_externalModels :: Lens' GetExternalModelsResponse (Maybe [ExternalModel])
- getExternalModelsResponse_nextToken :: Lens' GetExternalModelsResponse (Maybe Text)
- getExternalModelsResponse_httpStatus :: Lens' GetExternalModelsResponse Int
Creating a Request
data GetExternalModels Source #
See: newGetExternalModels smart constructor.
Constructors
| GetExternalModels' | |
Fields
| |
Instances
newGetExternalModels :: GetExternalModels Source #
Create a value of GetExternalModels with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxResults:GetExternalModels', getExternalModels_maxResults - The maximum number of objects to return for the request.
GetExternalModels, getExternalModels_modelEndpoint - The Amazon SageMaker model endpoint.
GetExternalModels, getExternalModels_nextToken - The next page token for the request.
Request Lenses
getExternalModels_maxResults :: Lens' GetExternalModels (Maybe Natural) Source #
The maximum number of objects to return for the request.
getExternalModels_modelEndpoint :: Lens' GetExternalModels (Maybe Text) Source #
The Amazon SageMaker model endpoint.
getExternalModels_nextToken :: Lens' GetExternalModels (Maybe Text) Source #
The next page token for the request.
Destructuring the Response
data GetExternalModelsResponse Source #
See: newGetExternalModelsResponse smart constructor.
Constructors
| GetExternalModelsResponse' | |
Fields
| |
Instances
newGetExternalModelsResponse Source #
Create a value of GetExternalModelsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:externalModels:GetExternalModelsResponse', getExternalModelsResponse_externalModels - Gets the Amazon SageMaker models.
GetExternalModels, getExternalModelsResponse_nextToken - The next page token to be used in subsequent requests.
$sel:httpStatus:GetExternalModelsResponse', getExternalModelsResponse_httpStatus - The response's http status code.
Response Lenses
getExternalModelsResponse_externalModels :: Lens' GetExternalModelsResponse (Maybe [ExternalModel]) Source #
Gets the Amazon SageMaker models.
getExternalModelsResponse_nextToken :: Lens' GetExternalModelsResponse (Maybe Text) Source #
The next page token to be used in subsequent requests.
getExternalModelsResponse_httpStatus :: Lens' GetExternalModelsResponse Int Source #
The response's http status code.