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 an action.
Synopsis
- data DescribeAction = DescribeAction' {
- actionName :: Text
- newDescribeAction :: Text -> DescribeAction
- describeAction_actionName :: Lens' DescribeAction Text
- data DescribeActionResponse = DescribeActionResponse' {
- creationTime :: Maybe POSIX
- metadataProperties :: Maybe MetadataProperties
- status :: Maybe ActionStatus
- createdBy :: Maybe UserContext
- lastModifiedTime :: Maybe POSIX
- actionName :: Maybe Text
- source :: Maybe ActionSource
- lastModifiedBy :: Maybe UserContext
- actionArn :: Maybe Text
- description :: Maybe Text
- actionType :: Maybe Text
- properties :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newDescribeActionResponse :: Int -> DescribeActionResponse
- describeActionResponse_creationTime :: Lens' DescribeActionResponse (Maybe UTCTime)
- describeActionResponse_metadataProperties :: Lens' DescribeActionResponse (Maybe MetadataProperties)
- describeActionResponse_status :: Lens' DescribeActionResponse (Maybe ActionStatus)
- describeActionResponse_createdBy :: Lens' DescribeActionResponse (Maybe UserContext)
- describeActionResponse_lastModifiedTime :: Lens' DescribeActionResponse (Maybe UTCTime)
- describeActionResponse_actionName :: Lens' DescribeActionResponse (Maybe Text)
- describeActionResponse_source :: Lens' DescribeActionResponse (Maybe ActionSource)
- describeActionResponse_lastModifiedBy :: Lens' DescribeActionResponse (Maybe UserContext)
- describeActionResponse_actionArn :: Lens' DescribeActionResponse (Maybe Text)
- describeActionResponse_description :: Lens' DescribeActionResponse (Maybe Text)
- describeActionResponse_actionType :: Lens' DescribeActionResponse (Maybe Text)
- describeActionResponse_properties :: Lens' DescribeActionResponse (Maybe (HashMap Text Text))
- describeActionResponse_httpStatus :: Lens' DescribeActionResponse Int
Creating a Request
data DescribeAction Source #
See: newDescribeAction
smart constructor.
DescribeAction' | |
|
Instances
Create a value of DescribeAction
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:actionName:DescribeAction'
, describeAction_actionName
- The name of the action to describe.
Request Lenses
describeAction_actionName :: Lens' DescribeAction Text Source #
The name of the action to describe.
Destructuring the Response
data DescribeActionResponse Source #
See: newDescribeActionResponse
smart constructor.
DescribeActionResponse' | |
|
Instances
newDescribeActionResponse Source #
Create a value of DescribeActionResponse
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:DescribeActionResponse'
, describeActionResponse_creationTime
- When the action was created.
$sel:metadataProperties:DescribeActionResponse'
, describeActionResponse_metadataProperties
- Undocumented member.
$sel:status:DescribeActionResponse'
, describeActionResponse_status
- The status of the action.
$sel:createdBy:DescribeActionResponse'
, describeActionResponse_createdBy
- Undocumented member.
$sel:lastModifiedTime:DescribeActionResponse'
, describeActionResponse_lastModifiedTime
- When the action was last modified.
$sel:actionName:DescribeAction'
, describeActionResponse_actionName
- The name of the action.
$sel:source:DescribeActionResponse'
, describeActionResponse_source
- The source of the action.
$sel:lastModifiedBy:DescribeActionResponse'
, describeActionResponse_lastModifiedBy
- Undocumented member.
$sel:actionArn:DescribeActionResponse'
, describeActionResponse_actionArn
- The Amazon Resource Name (ARN) of the action.
$sel:description:DescribeActionResponse'
, describeActionResponse_description
- The description of the action.
$sel:actionType:DescribeActionResponse'
, describeActionResponse_actionType
- The type of the action.
$sel:properties:DescribeActionResponse'
, describeActionResponse_properties
- A list of the action's properties.
$sel:httpStatus:DescribeActionResponse'
, describeActionResponse_httpStatus
- The response's http status code.
Response Lenses
describeActionResponse_creationTime :: Lens' DescribeActionResponse (Maybe UTCTime) Source #
When the action was created.
describeActionResponse_metadataProperties :: Lens' DescribeActionResponse (Maybe MetadataProperties) Source #
Undocumented member.
describeActionResponse_status :: Lens' DescribeActionResponse (Maybe ActionStatus) Source #
The status of the action.
describeActionResponse_createdBy :: Lens' DescribeActionResponse (Maybe UserContext) Source #
Undocumented member.
describeActionResponse_lastModifiedTime :: Lens' DescribeActionResponse (Maybe UTCTime) Source #
When the action was last modified.
describeActionResponse_actionName :: Lens' DescribeActionResponse (Maybe Text) Source #
The name of the action.
describeActionResponse_source :: Lens' DescribeActionResponse (Maybe ActionSource) Source #
The source of the action.
describeActionResponse_lastModifiedBy :: Lens' DescribeActionResponse (Maybe UserContext) Source #
Undocumented member.
describeActionResponse_actionArn :: Lens' DescribeActionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the action.
describeActionResponse_description :: Lens' DescribeActionResponse (Maybe Text) Source #
The description of the action.
describeActionResponse_actionType :: Lens' DescribeActionResponse (Maybe Text) Source #
The type of the action.
describeActionResponse_properties :: Lens' DescribeActionResponse (Maybe (HashMap Text Text)) Source #
A list of the action's properties.
describeActionResponse_httpStatus :: Lens' DescribeActionResponse Int Source #
The response's http status code.