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 |
Describes a model that you created using the CreateModel
API.
Synopsis
- data DescribeModel = DescribeModel' {}
- newDescribeModel :: Text -> DescribeModel
- describeModel_modelName :: Lens' DescribeModel Text
- data DescribeModelResponse = DescribeModelResponse' {
- primaryContainer :: Maybe ContainerDefinition
- enableNetworkIsolation :: Maybe Bool
- containers :: Maybe [ContainerDefinition]
- vpcConfig :: Maybe VpcConfig
- inferenceExecutionConfig :: Maybe InferenceExecutionConfig
- httpStatus :: Int
- modelName :: Text
- executionRoleArn :: Text
- creationTime :: POSIX
- modelArn :: Text
- newDescribeModelResponse :: Int -> Text -> Text -> UTCTime -> Text -> DescribeModelResponse
- describeModelResponse_primaryContainer :: Lens' DescribeModelResponse (Maybe ContainerDefinition)
- describeModelResponse_enableNetworkIsolation :: Lens' DescribeModelResponse (Maybe Bool)
- describeModelResponse_containers :: Lens' DescribeModelResponse (Maybe [ContainerDefinition])
- describeModelResponse_vpcConfig :: Lens' DescribeModelResponse (Maybe VpcConfig)
- describeModelResponse_inferenceExecutionConfig :: Lens' DescribeModelResponse (Maybe InferenceExecutionConfig)
- describeModelResponse_httpStatus :: Lens' DescribeModelResponse Int
- describeModelResponse_modelName :: Lens' DescribeModelResponse Text
- describeModelResponse_executionRoleArn :: Lens' DescribeModelResponse Text
- describeModelResponse_creationTime :: Lens' DescribeModelResponse UTCTime
- describeModelResponse_modelArn :: Lens' DescribeModelResponse Text
Creating a Request
data DescribeModel Source #
See: newDescribeModel
smart constructor.
Instances
Create a value of DescribeModel
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:modelName:DescribeModel'
, describeModel_modelName
- The name of the model.
Request Lenses
describeModel_modelName :: Lens' DescribeModel Text Source #
The name of the model.
Destructuring the Response
data DescribeModelResponse Source #
See: newDescribeModelResponse
smart constructor.
DescribeModelResponse' | |
|
Instances
newDescribeModelResponse Source #
Create a value of DescribeModelResponse
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:primaryContainer:DescribeModelResponse'
, describeModelResponse_primaryContainer
- The location of the primary inference code, associated artifacts, and
custom environment map that the inference code uses when it is deployed
in production.
$sel:enableNetworkIsolation:DescribeModelResponse'
, describeModelResponse_enableNetworkIsolation
- If True
, no inbound or outbound network calls can be made to or from
the model container.
$sel:containers:DescribeModelResponse'
, describeModelResponse_containers
- The containers in the inference pipeline.
$sel:vpcConfig:DescribeModelResponse'
, describeModelResponse_vpcConfig
- A VpcConfig object that specifies the VPC that this model has access to.
For more information, see
Protect Endpoints by Using an Amazon Virtual Private Cloud
$sel:inferenceExecutionConfig:DescribeModelResponse'
, describeModelResponse_inferenceExecutionConfig
- Specifies details of how containers in a multi-container endpoint are
called.
$sel:httpStatus:DescribeModelResponse'
, describeModelResponse_httpStatus
- The response's http status code.
$sel:modelName:DescribeModel'
, describeModelResponse_modelName
- Name of the Amazon SageMaker model.
$sel:executionRoleArn:DescribeModelResponse'
, describeModelResponse_executionRoleArn
- The Amazon Resource Name (ARN) of the IAM role that you specified for
the model.
$sel:creationTime:DescribeModelResponse'
, describeModelResponse_creationTime
- A timestamp that shows when the model was created.
$sel:modelArn:DescribeModelResponse'
, describeModelResponse_modelArn
- The Amazon Resource Name (ARN) of the model.
Response Lenses
describeModelResponse_primaryContainer :: Lens' DescribeModelResponse (Maybe 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.
describeModelResponse_enableNetworkIsolation :: Lens' DescribeModelResponse (Maybe Bool) Source #
If True
, no inbound or outbound network calls can be made to or from
the model container.
describeModelResponse_containers :: Lens' DescribeModelResponse (Maybe [ContainerDefinition]) Source #
The containers in the inference pipeline.
describeModelResponse_vpcConfig :: Lens' DescribeModelResponse (Maybe VpcConfig) Source #
A VpcConfig object that specifies the VPC that this model has access to. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud
describeModelResponse_inferenceExecutionConfig :: Lens' DescribeModelResponse (Maybe InferenceExecutionConfig) Source #
Specifies details of how containers in a multi-container endpoint are called.
describeModelResponse_httpStatus :: Lens' DescribeModelResponse Int Source #
The response's http status code.
describeModelResponse_modelName :: Lens' DescribeModelResponse Text Source #
Name of the Amazon SageMaker model.
describeModelResponse_executionRoleArn :: Lens' DescribeModelResponse Text Source #
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
describeModelResponse_creationTime :: Lens' DescribeModelResponse UTCTime Source #
A timestamp that shows when the model was created.
describeModelResponse_modelArn :: Lens' DescribeModelResponse Text Source #
The Amazon Resource Name (ARN) of the model.