| 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.CreateAction
Description
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' {
- description :: Maybe Text
- metadataProperties :: Maybe MetadataProperties
- properties :: Maybe (HashMap Text Text)
- status :: Maybe ActionStatus
- tags :: Maybe [Tag]
- actionName :: Text
- source :: ActionSource
- actionType :: Text
- newCreateAction :: Text -> ActionSource -> Text -> CreateAction
- createAction_description :: Lens' CreateAction (Maybe Text)
- createAction_metadataProperties :: Lens' CreateAction (Maybe MetadataProperties)
- createAction_properties :: Lens' CreateAction (Maybe (HashMap Text Text))
- createAction_status :: Lens' CreateAction (Maybe ActionStatus)
- createAction_tags :: Lens' CreateAction (Maybe [Tag])
- 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.
Constructors
| CreateAction' | |
Fields
| |
Instances
Arguments
| :: 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:
CreateAction, createAction_description - The description of the action.
CreateAction, createAction_metadataProperties - Undocumented member.
CreateAction, createAction_properties - A list of properties to add to the action.
CreateAction, createAction_status - The status of the action.
CreateAction, createAction_tags - A list of tags to apply to the action.
CreateAction, createAction_actionName - The name of the action. Must be unique to your account in an Amazon Web
Services Region.
CreateAction, createAction_source - The source type, ID, and URI.
CreateAction, createAction_actionType - The action type.
Request Lenses
createAction_description :: Lens' CreateAction (Maybe Text) Source #
The description of the action.
createAction_metadataProperties :: Lens' CreateAction (Maybe MetadataProperties) Source #
Undocumented member.
createAction_properties :: Lens' CreateAction (Maybe (HashMap Text Text)) Source #
A list of properties to add to the action.
createAction_status :: Lens' CreateAction (Maybe ActionStatus) Source #
The status of the action.
createAction_tags :: Lens' CreateAction (Maybe [Tag]) Source #
A list of tags to apply 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.
Constructors
| CreateActionResponse' | |
Fields
| |
Instances
newCreateActionResponse Source #
Arguments
| :: Int | |
| -> CreateActionResponse |
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:
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.