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 |
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.
Instances
newPutWorkflowRunProperties Source #
:: 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.
PutWorkflowRunPropertiesResponse' | |
|
Instances
Eq PutWorkflowRunPropertiesResponse Source # | |
Read PutWorkflowRunPropertiesResponse Source # | |
Show PutWorkflowRunPropertiesResponse Source # | |
Defined in Amazonka.Glue.PutWorkflowRunProperties | |
Generic PutWorkflowRunPropertiesResponse Source # | |
NFData PutWorkflowRunPropertiesResponse Source # | |
Defined in Amazonka.Glue.PutWorkflowRunProperties rnf :: PutWorkflowRunPropertiesResponse -> () # | |
type Rep PutWorkflowRunPropertiesResponse Source # | |
Defined in Amazonka.Glue.PutWorkflowRunProperties type Rep PutWorkflowRunPropertiesResponse = D1 ('MetaData "PutWorkflowRunPropertiesResponse" "Amazonka.Glue.PutWorkflowRunProperties" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "PutWorkflowRunPropertiesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.