| 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.SageMaker.DescribeModel
Description
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' {
- containers :: Maybe [ContainerDefinition]
- enableNetworkIsolation :: Maybe Bool
- inferenceExecutionConfig :: Maybe InferenceExecutionConfig
- primaryContainer :: Maybe ContainerDefinition
- vpcConfig :: Maybe VpcConfig
- httpStatus :: Int
- modelName :: Text
- executionRoleArn :: Text
- creationTime :: POSIX
- modelArn :: Text
- newDescribeModelResponse :: Int -> Text -> Text -> UTCTime -> Text -> DescribeModelResponse
- describeModelResponse_containers :: Lens' DescribeModelResponse (Maybe [ContainerDefinition])
- describeModelResponse_enableNetworkIsolation :: Lens' DescribeModelResponse (Maybe Bool)
- describeModelResponse_inferenceExecutionConfig :: Lens' DescribeModelResponse (Maybe InferenceExecutionConfig)
- describeModelResponse_primaryContainer :: Lens' DescribeModelResponse (Maybe ContainerDefinition)
- describeModelResponse_vpcConfig :: Lens' DescribeModelResponse (Maybe VpcConfig)
- 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.
Constructors
| DescribeModel' | |
Instances
Arguments
| :: Text | |
| -> DescribeModel |
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:
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.
Constructors
| DescribeModelResponse' | |
Fields
| |
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:
DescribeModelResponse, describeModelResponse_containers - The containers in the inference pipeline.
DescribeModelResponse, describeModelResponse_enableNetworkIsolation - If True, no inbound or outbound network calls can be made to or from
the model container.
DescribeModelResponse, describeModelResponse_inferenceExecutionConfig - Specifies details of how containers in a multi-container endpoint are
called.
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.
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:httpStatus:DescribeModelResponse', describeModelResponse_httpStatus - The response's http status code.
DescribeModel, describeModelResponse_modelName - Name of the SageMaker model.
DescribeModelResponse, describeModelResponse_executionRoleArn - The Amazon Resource Name (ARN) of the IAM role that you specified for
the model.
DescribeModelResponse, describeModelResponse_creationTime - A timestamp that shows when the model was created.
DescribeModelResponse, describeModelResponse_modelArn - The Amazon Resource Name (ARN) of the model.
Response Lenses
describeModelResponse_containers :: Lens' DescribeModelResponse (Maybe [ContainerDefinition]) Source #
The containers in the inference pipeline.
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_inferenceExecutionConfig :: Lens' DescribeModelResponse (Maybe InferenceExecutionConfig) Source #
Specifies details of how containers in a multi-container endpoint are called.
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_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_httpStatus :: Lens' DescribeModelResponse Int Source #
The response's http status code.
describeModelResponse_modelName :: Lens' DescribeModelResponse Text Source #
Name of the 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.