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 |
Returns information about an action type created for an external provider, where the action is to be used by customers of the external provider. The action can be created with any supported integration model.
Synopsis
- data GetActionType = GetActionType' {}
- newGetActionType :: ActionCategory -> Text -> Text -> Text -> GetActionType
- getActionType_category :: Lens' GetActionType ActionCategory
- getActionType_owner :: Lens' GetActionType Text
- getActionType_provider :: Lens' GetActionType Text
- getActionType_version :: Lens' GetActionType Text
- data GetActionTypeResponse = GetActionTypeResponse' {}
- newGetActionTypeResponse :: Int -> GetActionTypeResponse
- getActionTypeResponse_actionType :: Lens' GetActionTypeResponse (Maybe ActionTypeDeclaration)
- getActionTypeResponse_httpStatus :: Lens' GetActionTypeResponse Int
Creating a Request
data GetActionType Source #
See: newGetActionType
smart constructor.
GetActionType' | |
|
Instances
:: ActionCategory | |
-> Text | |
-> Text | |
-> Text | |
-> GetActionType |
Create a value of GetActionType
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:category:GetActionType'
, getActionType_category
- Defines what kind of action can be taken in the stage. The following are
the valid values:
Source
Build
Test
Deploy
Approval
Invoke
$sel:owner:GetActionType'
, getActionType_owner
- The creator of an action type that was created with any supported
integration model. There are two valid values: AWS
and ThirdParty
.
$sel:provider:GetActionType'
, getActionType_provider
- The provider of the action type being called. The provider name is
specified when the action type is created.
$sel:version:GetActionType'
, getActionType_version
- A string that describes the action type version.
Request Lenses
getActionType_category :: Lens' GetActionType ActionCategory Source #
Defines what kind of action can be taken in the stage. The following are the valid values:
Source
Build
Test
Deploy
Approval
Invoke
getActionType_owner :: Lens' GetActionType Text Source #
The creator of an action type that was created with any supported
integration model. There are two valid values: AWS
and ThirdParty
.
getActionType_provider :: Lens' GetActionType Text Source #
The provider of the action type being called. The provider name is specified when the action type is created.
getActionType_version :: Lens' GetActionType Text Source #
A string that describes the action type version.
Destructuring the Response
data GetActionTypeResponse Source #
See: newGetActionTypeResponse
smart constructor.
GetActionTypeResponse' | |
|
Instances
newGetActionTypeResponse Source #
Create a value of GetActionTypeResponse
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:actionType:GetActionTypeResponse'
, getActionTypeResponse_actionType
- The action type information for the requested action type, such as the
action type ID.
$sel:httpStatus:GetActionTypeResponse'
, getActionTypeResponse_httpStatus
- The response's http status code.
Response Lenses
getActionTypeResponse_actionType :: Lens' GetActionTypeResponse (Maybe ActionTypeDeclaration) Source #
The action type information for the requested action type, such as the action type ID.
getActionTypeResponse_httpStatus :: Lens' GetActionTypeResponse Int Source #
The response's http status code.