Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates a versioned model.
Synopsis
- data UpdateModelPackage = UpdateModelPackage' {}
- newUpdateModelPackage :: Text -> ModelApprovalStatus -> UpdateModelPackage
- updateModelPackage_approvalDescription :: Lens' UpdateModelPackage (Maybe Text)
- updateModelPackage_modelPackageArn :: Lens' UpdateModelPackage Text
- updateModelPackage_modelApprovalStatus :: Lens' UpdateModelPackage ModelApprovalStatus
- data UpdateModelPackageResponse = UpdateModelPackageResponse' {
- httpStatus :: Int
- modelPackageArn :: Text
- newUpdateModelPackageResponse :: Int -> Text -> UpdateModelPackageResponse
- updateModelPackageResponse_httpStatus :: Lens' UpdateModelPackageResponse Int
- updateModelPackageResponse_modelPackageArn :: Lens' UpdateModelPackageResponse Text
Creating a Request
data UpdateModelPackage Source #
See: newUpdateModelPackage
smart constructor.
UpdateModelPackage' | |
|
Instances
newUpdateModelPackage Source #
Create a value of UpdateModelPackage
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:approvalDescription:UpdateModelPackage'
, updateModelPackage_approvalDescription
- A description for the approval status of the model.
$sel:modelPackageArn:UpdateModelPackage'
, updateModelPackage_modelPackageArn
- The Amazon Resource Name (ARN) of the model.
$sel:modelApprovalStatus:UpdateModelPackage'
, updateModelPackage_modelApprovalStatus
- The approval status of the model.
Request Lenses
updateModelPackage_approvalDescription :: Lens' UpdateModelPackage (Maybe Text) Source #
A description for the approval status of the model.
updateModelPackage_modelPackageArn :: Lens' UpdateModelPackage Text Source #
The Amazon Resource Name (ARN) of the model.
updateModelPackage_modelApprovalStatus :: Lens' UpdateModelPackage ModelApprovalStatus Source #
The approval status of the model.
Destructuring the Response
data UpdateModelPackageResponse Source #
See: newUpdateModelPackageResponse
smart constructor.
UpdateModelPackageResponse' | |
|
Instances
newUpdateModelPackageResponse Source #
:: Int | |
-> Text | |
-> UpdateModelPackageResponse |
Create a value of UpdateModelPackageResponse
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:httpStatus:UpdateModelPackageResponse'
, updateModelPackageResponse_httpStatus
- The response's http status code.
$sel:modelPackageArn:UpdateModelPackage'
, updateModelPackageResponse_modelPackageArn
- The Amazon Resource Name (ARN) of the model.
Response Lenses
updateModelPackageResponse_httpStatus :: Lens' UpdateModelPackageResponse Int Source #
The response's http status code.
updateModelPackageResponse_modelPackageArn :: Lens' UpdateModelPackageResponse Text Source #
The Amazon Resource Name (ARN) of the model.