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 the app.
Synopsis
- data DescribeApp = DescribeApp' {}
- newDescribeApp :: Text -> Text -> AppType -> Text -> DescribeApp
- describeApp_domainId :: Lens' DescribeApp Text
- describeApp_userProfileName :: Lens' DescribeApp Text
- describeApp_appType :: Lens' DescribeApp AppType
- describeApp_appName :: Lens' DescribeApp Text
- data DescribeAppResponse = DescribeAppResponse' {
- creationTime :: Maybe POSIX
- status :: Maybe AppStatus
- failureReason :: Maybe Text
- resourceSpec :: Maybe ResourceSpec
- userProfileName :: Maybe Text
- lastUserActivityTimestamp :: Maybe POSIX
- lastHealthCheckTimestamp :: Maybe POSIX
- appName :: Maybe Text
- appArn :: Maybe Text
- domainId :: Maybe Text
- appType :: Maybe AppType
- httpStatus :: Int
- newDescribeAppResponse :: Int -> DescribeAppResponse
- describeAppResponse_creationTime :: Lens' DescribeAppResponse (Maybe UTCTime)
- describeAppResponse_status :: Lens' DescribeAppResponse (Maybe AppStatus)
- describeAppResponse_failureReason :: Lens' DescribeAppResponse (Maybe Text)
- describeAppResponse_resourceSpec :: Lens' DescribeAppResponse (Maybe ResourceSpec)
- describeAppResponse_userProfileName :: Lens' DescribeAppResponse (Maybe Text)
- describeAppResponse_lastUserActivityTimestamp :: Lens' DescribeAppResponse (Maybe UTCTime)
- describeAppResponse_lastHealthCheckTimestamp :: Lens' DescribeAppResponse (Maybe UTCTime)
- describeAppResponse_appName :: Lens' DescribeAppResponse (Maybe Text)
- describeAppResponse_appArn :: Lens' DescribeAppResponse (Maybe Text)
- describeAppResponse_domainId :: Lens' DescribeAppResponse (Maybe Text)
- describeAppResponse_appType :: Lens' DescribeAppResponse (Maybe AppType)
- describeAppResponse_httpStatus :: Lens' DescribeAppResponse Int
Creating a Request
data DescribeApp Source #
See: newDescribeApp
smart constructor.
Instances
:: Text | |
-> 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:
$sel:domainId:DescribeApp'
, describeApp_domainId
- The domain ID.
$sel:userProfileName:DescribeApp'
, describeApp_userProfileName
- The user profile name.
$sel:appType:DescribeApp'
, describeApp_appType
- The type of app.
$sel:appName:DescribeApp'
, describeApp_appName
- The name of the app.
Request Lenses
describeApp_domainId :: Lens' DescribeApp Text Source #
The domain ID.
describeApp_userProfileName :: Lens' DescribeApp Text Source #
The user profile name.
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.
DescribeAppResponse' | |
|
Instances
newDescribeAppResponse Source #
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:creationTime:DescribeAppResponse'
, describeAppResponse_creationTime
- The creation time.
$sel:status:DescribeAppResponse'
, describeAppResponse_status
- The status.
$sel:failureReason:DescribeAppResponse'
, describeAppResponse_failureReason
- The failure reason.
$sel:resourceSpec:DescribeAppResponse'
, describeAppResponse_resourceSpec
- The instance type and the Amazon Resource Name (ARN) of the SageMaker
image created on the instance.
$sel:userProfileName:DescribeApp'
, describeAppResponse_userProfileName
- The user profile name.
$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:lastHealthCheckTimestamp:DescribeAppResponse'
, describeAppResponse_lastHealthCheckTimestamp
- The timestamp of the last health check.
$sel:appName:DescribeApp'
, describeAppResponse_appName
- The name of the app.
$sel:appArn:DescribeAppResponse'
, describeAppResponse_appArn
- The Amazon Resource Name (ARN) of the app.
$sel:domainId:DescribeApp'
, describeAppResponse_domainId
- The domain ID.
$sel:appType:DescribeApp'
, describeAppResponse_appType
- The type of app.
$sel:httpStatus:DescribeAppResponse'
, describeAppResponse_httpStatus
- The response's http status code.
Response Lenses
describeAppResponse_creationTime :: Lens' DescribeAppResponse (Maybe UTCTime) Source #
The creation time.
describeAppResponse_status :: Lens' DescribeAppResponse (Maybe AppStatus) Source #
The status.
describeAppResponse_failureReason :: Lens' DescribeAppResponse (Maybe Text) Source #
The failure reason.
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_userProfileName :: Lens' DescribeAppResponse (Maybe Text) Source #
The user profile name.
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_lastHealthCheckTimestamp :: Lens' DescribeAppResponse (Maybe UTCTime) Source #
The timestamp of the last health check.
describeAppResponse_appName :: Lens' DescribeAppResponse (Maybe Text) Source #
The name of the app.
describeAppResponse_appArn :: Lens' DescribeAppResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the app.
describeAppResponse_domainId :: Lens' DescribeAppResponse (Maybe Text) Source #
The domain ID.
describeAppResponse_appType :: Lens' DescribeAppResponse (Maybe AppType) Source #
The type of app.
describeAppResponse_httpStatus :: Lens' DescribeAppResponse Int Source #
The response's http status code.