| 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.DescribeContext
Description
Describes a context.
Synopsis
- data DescribeContext = DescribeContext' {
- contextName :: Text
- newDescribeContext :: Text -> DescribeContext
- describeContext_contextName :: Lens' DescribeContext Text
- data DescribeContextResponse = DescribeContextResponse' {
- contextArn :: Maybe Text
- contextName :: Maybe Text
- contextType :: Maybe Text
- createdBy :: Maybe UserContext
- creationTime :: Maybe POSIX
- description :: Maybe Text
- lastModifiedBy :: Maybe UserContext
- lastModifiedTime :: Maybe POSIX
- lineageGroupArn :: Maybe Text
- properties :: Maybe (HashMap Text Text)
- source :: Maybe ContextSource
- httpStatus :: Int
- newDescribeContextResponse :: Int -> DescribeContextResponse
- describeContextResponse_contextArn :: Lens' DescribeContextResponse (Maybe Text)
- describeContextResponse_contextName :: Lens' DescribeContextResponse (Maybe Text)
- describeContextResponse_contextType :: Lens' DescribeContextResponse (Maybe Text)
- describeContextResponse_createdBy :: Lens' DescribeContextResponse (Maybe UserContext)
- describeContextResponse_creationTime :: Lens' DescribeContextResponse (Maybe UTCTime)
- describeContextResponse_description :: Lens' DescribeContextResponse (Maybe Text)
- describeContextResponse_lastModifiedBy :: Lens' DescribeContextResponse (Maybe UserContext)
- describeContextResponse_lastModifiedTime :: Lens' DescribeContextResponse (Maybe UTCTime)
- describeContextResponse_lineageGroupArn :: Lens' DescribeContextResponse (Maybe Text)
- describeContextResponse_properties :: Lens' DescribeContextResponse (Maybe (HashMap Text Text))
- describeContextResponse_source :: Lens' DescribeContextResponse (Maybe ContextSource)
- describeContextResponse_httpStatus :: Lens' DescribeContextResponse Int
Creating a Request
data DescribeContext Source #
See: newDescribeContext smart constructor.
Constructors
| DescribeContext' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeContext |
Create a value of DescribeContext 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:
DescribeContext, describeContext_contextName - The name of the context to describe.
Request Lenses
describeContext_contextName :: Lens' DescribeContext Text Source #
The name of the context to describe.
Destructuring the Response
data DescribeContextResponse Source #
See: newDescribeContextResponse smart constructor.
Constructors
| DescribeContextResponse' | |
Fields
| |
Instances
newDescribeContextResponse Source #
Create a value of DescribeContextResponse 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:
DescribeContextResponse, describeContextResponse_contextArn - The Amazon Resource Name (ARN) of the context.
DescribeContext, describeContextResponse_contextName - The name of the context.
DescribeContextResponse, describeContextResponse_contextType - The type of the context.
DescribeContextResponse, describeContextResponse_createdBy - Undocumented member.
DescribeContextResponse, describeContextResponse_creationTime - When the context was created.
DescribeContextResponse, describeContextResponse_description - The description of the context.
DescribeContextResponse, describeContextResponse_lastModifiedBy - Undocumented member.
DescribeContextResponse, describeContextResponse_lastModifiedTime - When the context was last modified.
DescribeContextResponse, describeContextResponse_lineageGroupArn - The Amazon Resource Name (ARN) of the lineage group.
DescribeContextResponse, describeContextResponse_properties - A list of the context's properties.
DescribeContextResponse, describeContextResponse_source - The source of the context.
$sel:httpStatus:DescribeContextResponse', describeContextResponse_httpStatus - The response's http status code.
Response Lenses
describeContextResponse_contextArn :: Lens' DescribeContextResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the context.
describeContextResponse_contextName :: Lens' DescribeContextResponse (Maybe Text) Source #
The name of the context.
describeContextResponse_contextType :: Lens' DescribeContextResponse (Maybe Text) Source #
The type of the context.
describeContextResponse_createdBy :: Lens' DescribeContextResponse (Maybe UserContext) Source #
Undocumented member.
describeContextResponse_creationTime :: Lens' DescribeContextResponse (Maybe UTCTime) Source #
When the context was created.
describeContextResponse_description :: Lens' DescribeContextResponse (Maybe Text) Source #
The description of the context.
describeContextResponse_lastModifiedBy :: Lens' DescribeContextResponse (Maybe UserContext) Source #
Undocumented member.
describeContextResponse_lastModifiedTime :: Lens' DescribeContextResponse (Maybe UTCTime) Source #
When the context was last modified.
describeContextResponse_lineageGroupArn :: Lens' DescribeContextResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the lineage group.
describeContextResponse_properties :: Lens' DescribeContextResponse (Maybe (HashMap Text Text)) Source #
A list of the context's properties.
describeContextResponse_source :: Lens' DescribeContextResponse (Maybe ContextSource) Source #
The source of the context.
describeContextResponse_httpStatus :: Lens' DescribeContextResponse Int Source #
The response's http status code.