Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Describes a model that you created using the CreateModel
API.
- describeModel :: Text -> DescribeModel
- data DescribeModel
- dModelName :: Lens' DescribeModel Text
- describeModelResponse :: Int -> Text -> ContainerDefinition -> Text -> UTCTime -> Text -> DescribeModelResponse
- data DescribeModelResponse
- dmrsVPCConfig :: Lens' DescribeModelResponse (Maybe VPCConfig)
- dmrsResponseStatus :: Lens' DescribeModelResponse Int
- dmrsModelName :: Lens' DescribeModelResponse Text
- dmrsPrimaryContainer :: Lens' DescribeModelResponse ContainerDefinition
- dmrsExecutionRoleARN :: Lens' DescribeModelResponse Text
- dmrsCreationTime :: Lens' DescribeModelResponse UTCTime
- dmrsModelARN :: Lens' DescribeModelResponse Text
Creating a Request
Creates a value of DescribeModel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dModelName
- The name of the model.
data DescribeModel Source #
See: describeModel
smart constructor.
Request Lenses
dModelName :: Lens' DescribeModel Text Source #
The name of the model.
Destructuring the Response
describeModelResponse Source #
:: Int | |
-> Text | |
-> ContainerDefinition | |
-> Text | |
-> UTCTime | |
-> Text | |
-> DescribeModelResponse |
Creates a value of DescribeModelResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmrsVPCConfig
- A object that specifies the VPC that this model has access to. For more information, see 'host-vpc'dmrsResponseStatus
- -- | The response status code.dmrsModelName
- Name of the Amazon SageMaker model.dmrsPrimaryContainer
- The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production.dmrsExecutionRoleARN
- The Amazon Resource Name (ARN) of the IAM role that you specified for the model.dmrsCreationTime
- A timestamp that shows when the model was created.dmrsModelARN
- The Amazon Resource Name (ARN) of the model.
data DescribeModelResponse Source #
See: describeModelResponse
smart constructor.
Response Lenses
dmrsVPCConfig :: Lens' DescribeModelResponse (Maybe VPCConfig) Source #
A object that specifies the VPC that this model has access to. For more information, see 'host-vpc'
dmrsResponseStatus :: Lens' DescribeModelResponse Int Source #
- - | The response status code.
dmrsModelName :: Lens' DescribeModelResponse Text Source #
Name of the Amazon SageMaker model.
dmrsPrimaryContainer :: Lens' DescribeModelResponse ContainerDefinition Source #
The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production.
dmrsExecutionRoleARN :: Lens' DescribeModelResponse Text Source #
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
dmrsCreationTime :: Lens' DescribeModelResponse UTCTime Source #
A timestamp that shows when the model was created.
dmrsModelARN :: Lens' DescribeModelResponse Text Source #
The Amazon Resource Name (ARN) of the model.