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