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 |
Creates an action. An action is a lineage tracking entity that represents an action or activity. For example, a model deployment or an HPO job. Generally, an action involves at least one input or output artifact. For more information, see Amazon SageMaker ML Lineage Tracking.
Synopsis
- data CreateAction = CreateAction' {
- metadataProperties :: Maybe MetadataProperties
- status :: Maybe ActionStatus
- description :: Maybe Text
- tags :: Maybe [Tag]
- properties :: Maybe (HashMap Text Text)
- actionName :: Text
- source :: ActionSource
- actionType :: Text
- newCreateAction :: Text -> ActionSource -> Text -> CreateAction
- createAction_metadataProperties :: Lens' CreateAction (Maybe MetadataProperties)
- createAction_status :: Lens' CreateAction (Maybe ActionStatus)
- createAction_description :: Lens' CreateAction (Maybe Text)
- createAction_tags :: Lens' CreateAction (Maybe [Tag])
- createAction_properties :: Lens' CreateAction (Maybe (HashMap Text Text))
- createAction_actionName :: Lens' CreateAction Text
- createAction_source :: Lens' CreateAction ActionSource
- createAction_actionType :: Lens' CreateAction Text
- data CreateActionResponse = CreateActionResponse' {
- actionArn :: Maybe Text
- httpStatus :: Int
- newCreateActionResponse :: Int -> CreateActionResponse
- createActionResponse_actionArn :: Lens' CreateActionResponse (Maybe Text)
- createActionResponse_httpStatus :: Lens' CreateActionResponse Int
Creating a Request
data CreateAction Source #
See: newCreateAction
smart constructor.
CreateAction' | |
|
Instances
:: Text | |
-> ActionSource | |
-> Text | |
-> CreateAction |
Create a value of CreateAction
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:metadataProperties:CreateAction'
, createAction_metadataProperties
- Undocumented member.
$sel:status:CreateAction'
, createAction_status
- The status of the action.
$sel:description:CreateAction'
, createAction_description
- The description of the action.
$sel:tags:CreateAction'
, createAction_tags
- A list of tags to apply to the action.
$sel:properties:CreateAction'
, createAction_properties
- A list of properties to add to the action.
$sel:actionName:CreateAction'
, createAction_actionName
- The name of the action. Must be unique to your account in an Amazon Web
Services Region.
$sel:source:CreateAction'
, createAction_source
- The source type, ID, and URI.
$sel:actionType:CreateAction'
, createAction_actionType
- The action type.
Request Lenses
createAction_metadataProperties :: Lens' CreateAction (Maybe MetadataProperties) Source #
Undocumented member.
createAction_status :: Lens' CreateAction (Maybe ActionStatus) Source #
The status of the action.
createAction_description :: Lens' CreateAction (Maybe Text) Source #
The description of the action.
createAction_tags :: Lens' CreateAction (Maybe [Tag]) Source #
A list of tags to apply to the action.
createAction_properties :: Lens' CreateAction (Maybe (HashMap Text Text)) Source #
A list of properties to add to the action.
createAction_actionName :: Lens' CreateAction Text Source #
The name of the action. Must be unique to your account in an Amazon Web Services Region.
createAction_source :: Lens' CreateAction ActionSource Source #
The source type, ID, and URI.
createAction_actionType :: Lens' CreateAction Text Source #
The action type.
Destructuring the Response
data CreateActionResponse Source #
See: newCreateActionResponse
smart constructor.
CreateActionResponse' | |
|
Instances
newCreateActionResponse Source #
Create a value of CreateActionResponse
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:actionArn:CreateActionResponse'
, createActionResponse_actionArn
- The Amazon Resource Name (ARN) of the action.
$sel:httpStatus:CreateActionResponse'
, createActionResponse_httpStatus
- The response's http status code.
Response Lenses
createActionResponse_actionArn :: Lens' CreateActionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the action.
createActionResponse_httpStatus :: Lens' CreateActionResponse Int Source #
The response's http status code.