| 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.DescribeApp
Description
Describes the app.
Synopsis
- data DescribeApp = DescribeApp' {}
- newDescribeApp :: Text -> AppType -> Text -> DescribeApp
- describeApp_spaceName :: Lens' DescribeApp (Maybe Text)
- describeApp_userProfileName :: Lens' DescribeApp (Maybe Text)
- describeApp_domainId :: Lens' DescribeApp Text
- describeApp_appType :: Lens' DescribeApp AppType
- describeApp_appName :: Lens' DescribeApp Text
- data DescribeAppResponse = DescribeAppResponse' {
- appArn :: Maybe Text
- appName :: Maybe Text
- appType :: Maybe AppType
- creationTime :: Maybe POSIX
- domainId :: Maybe Text
- failureReason :: Maybe Text
- lastHealthCheckTimestamp :: Maybe POSIX
- lastUserActivityTimestamp :: Maybe POSIX
- resourceSpec :: Maybe ResourceSpec
- spaceName :: Maybe Text
- status :: Maybe AppStatus
- userProfileName :: Maybe Text
- httpStatus :: Int
- newDescribeAppResponse :: Int -> DescribeAppResponse
- describeAppResponse_appArn :: Lens' DescribeAppResponse (Maybe Text)
- describeAppResponse_appName :: Lens' DescribeAppResponse (Maybe Text)
- describeAppResponse_appType :: Lens' DescribeAppResponse (Maybe AppType)
- describeAppResponse_creationTime :: Lens' DescribeAppResponse (Maybe UTCTime)
- describeAppResponse_domainId :: Lens' DescribeAppResponse (Maybe Text)
- describeAppResponse_failureReason :: Lens' DescribeAppResponse (Maybe Text)
- describeAppResponse_lastHealthCheckTimestamp :: Lens' DescribeAppResponse (Maybe UTCTime)
- describeAppResponse_lastUserActivityTimestamp :: Lens' DescribeAppResponse (Maybe UTCTime)
- describeAppResponse_resourceSpec :: Lens' DescribeAppResponse (Maybe ResourceSpec)
- describeAppResponse_spaceName :: Lens' DescribeAppResponse (Maybe Text)
- describeAppResponse_status :: Lens' DescribeAppResponse (Maybe AppStatus)
- describeAppResponse_userProfileName :: Lens' DescribeAppResponse (Maybe Text)
- describeAppResponse_httpStatus :: Lens' DescribeAppResponse Int
Creating a Request
data DescribeApp Source #
See: newDescribeApp smart constructor.
Constructors
| DescribeApp' | |
Instances
Arguments
| :: Text | |
| -> AppType | |
| -> Text | |
| -> DescribeApp |
Create a value of DescribeApp 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:
DescribeApp, describeApp_spaceName - The name of the space.
DescribeApp, describeApp_userProfileName - The user profile name. If this value is not set, then SpaceName must
be set.
DescribeApp, describeApp_domainId - The domain ID.
DescribeApp, describeApp_appType - The type of app.
DescribeApp, describeApp_appName - The name of the app.
Request Lenses
describeApp_spaceName :: Lens' DescribeApp (Maybe Text) Source #
The name of the space.
describeApp_userProfileName :: Lens' DescribeApp (Maybe Text) Source #
The user profile name. If this value is not set, then SpaceName must
be set.
describeApp_domainId :: Lens' DescribeApp Text Source #
The domain ID.
describeApp_appType :: Lens' DescribeApp AppType Source #
The type of app.
describeApp_appName :: Lens' DescribeApp Text Source #
The name of the app.
Destructuring the Response
data DescribeAppResponse Source #
See: newDescribeAppResponse smart constructor.
Constructors
| DescribeAppResponse' | |
Fields
| |
Instances
newDescribeAppResponse Source #
Arguments
| :: Int | |
| -> DescribeAppResponse |
Create a value of DescribeAppResponse 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:appArn:DescribeAppResponse', describeAppResponse_appArn - The Amazon Resource Name (ARN) of the app.
DescribeApp, describeAppResponse_appName - The name of the app.
DescribeApp, describeAppResponse_appType - The type of app.
DescribeAppResponse, describeAppResponse_creationTime - The creation time.
DescribeApp, describeAppResponse_domainId - The domain ID.
DescribeAppResponse, describeAppResponse_failureReason - The failure reason.
$sel:lastHealthCheckTimestamp:DescribeAppResponse', describeAppResponse_lastHealthCheckTimestamp - The timestamp of the last health check.
$sel:lastUserActivityTimestamp:DescribeAppResponse', describeAppResponse_lastUserActivityTimestamp - The timestamp of the last user's activity. LastUserActivityTimestamp
is also updated when SageMaker performs health checks without user
activity. As a result, this value is set to the same value as
LastHealthCheckTimestamp.
$sel:resourceSpec:DescribeAppResponse', describeAppResponse_resourceSpec - The instance type and the Amazon Resource Name (ARN) of the SageMaker
image created on the instance.
DescribeApp, describeAppResponse_spaceName - The name of the space. If this value is not set, then UserProfileName
must be set.
DescribeAppResponse, describeAppResponse_status - The status.
DescribeApp, describeAppResponse_userProfileName - The user profile name.
$sel:httpStatus:DescribeAppResponse', describeAppResponse_httpStatus - The response's http status code.
Response Lenses
describeAppResponse_appArn :: Lens' DescribeAppResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the app.
describeAppResponse_appName :: Lens' DescribeAppResponse (Maybe Text) Source #
The name of the app.
describeAppResponse_appType :: Lens' DescribeAppResponse (Maybe AppType) Source #
The type of app.
describeAppResponse_creationTime :: Lens' DescribeAppResponse (Maybe UTCTime) Source #
The creation time.
describeAppResponse_domainId :: Lens' DescribeAppResponse (Maybe Text) Source #
The domain ID.
describeAppResponse_failureReason :: Lens' DescribeAppResponse (Maybe Text) Source #
The failure reason.
describeAppResponse_lastHealthCheckTimestamp :: Lens' DescribeAppResponse (Maybe UTCTime) Source #
The timestamp of the last health check.
describeAppResponse_lastUserActivityTimestamp :: Lens' DescribeAppResponse (Maybe UTCTime) Source #
The timestamp of the last user's activity. LastUserActivityTimestamp
is also updated when SageMaker performs health checks without user
activity. As a result, this value is set to the same value as
LastHealthCheckTimestamp.
describeAppResponse_resourceSpec :: Lens' DescribeAppResponse (Maybe ResourceSpec) Source #
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
describeAppResponse_spaceName :: Lens' DescribeAppResponse (Maybe Text) Source #
The name of the space. If this value is not set, then UserProfileName
must be set.
describeAppResponse_status :: Lens' DescribeAppResponse (Maybe AppStatus) Source #
The status.
describeAppResponse_userProfileName :: Lens' DescribeAppResponse (Maybe Text) Source #
The user profile name.
describeAppResponse_httpStatus :: Lens' DescribeAppResponse Int Source #
The response's http status code.