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 |
Amazonka.Glue.PutWorkflowRunProperties
Description
Puts the specified workflow run properties for the given workflow run. If a property already exists for the specified run, then it overrides the value otherwise adds the property to existing properties.
Synopsis
- data PutWorkflowRunProperties = PutWorkflowRunProperties' {}
- newPutWorkflowRunProperties :: Text -> Text -> PutWorkflowRunProperties
- putWorkflowRunProperties_name :: Lens' PutWorkflowRunProperties Text
- putWorkflowRunProperties_runId :: Lens' PutWorkflowRunProperties Text
- putWorkflowRunProperties_runProperties :: Lens' PutWorkflowRunProperties (HashMap Text Text)
- data PutWorkflowRunPropertiesResponse = PutWorkflowRunPropertiesResponse' {
- httpStatus :: Int
- newPutWorkflowRunPropertiesResponse :: Int -> PutWorkflowRunPropertiesResponse
- putWorkflowRunPropertiesResponse_httpStatus :: Lens' PutWorkflowRunPropertiesResponse Int
Creating a Request
data PutWorkflowRunProperties Source #
See: newPutWorkflowRunProperties
smart constructor.
Constructors
PutWorkflowRunProperties' | |
Instances
newPutWorkflowRunProperties Source #
Arguments
:: Text | |
-> Text | |
-> PutWorkflowRunProperties |
Create a value of PutWorkflowRunProperties
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:name:PutWorkflowRunProperties'
, putWorkflowRunProperties_name
- Name of the workflow which was run.
$sel:runId:PutWorkflowRunProperties'
, putWorkflowRunProperties_runId
- The ID of the workflow run for which the run properties should be
updated.
$sel:runProperties:PutWorkflowRunProperties'
, putWorkflowRunProperties_runProperties
- The properties to put for the specified run.
Request Lenses
putWorkflowRunProperties_name :: Lens' PutWorkflowRunProperties Text Source #
Name of the workflow which was run.
putWorkflowRunProperties_runId :: Lens' PutWorkflowRunProperties Text Source #
The ID of the workflow run for which the run properties should be updated.
putWorkflowRunProperties_runProperties :: Lens' PutWorkflowRunProperties (HashMap Text Text) Source #
The properties to put for the specified run.
Destructuring the Response
data PutWorkflowRunPropertiesResponse Source #
See: newPutWorkflowRunPropertiesResponse
smart constructor.
Constructors
PutWorkflowRunPropertiesResponse' | |
Fields
|
Instances
newPutWorkflowRunPropertiesResponse Source #
Create a value of PutWorkflowRunPropertiesResponse
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:httpStatus:PutWorkflowRunPropertiesResponse'
, putWorkflowRunPropertiesResponse_httpStatus
- The response's http status code.
Response Lenses
putWorkflowRunPropertiesResponse_httpStatus :: Lens' PutWorkflowRunPropertiesResponse Int Source #
The response's http status code.