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 |
Modifies a sampling rule's configuration.
Synopsis
- data UpdateSamplingRule = UpdateSamplingRule' {}
- newUpdateSamplingRule :: SamplingRuleUpdate -> UpdateSamplingRule
- updateSamplingRule_samplingRuleUpdate :: Lens' UpdateSamplingRule SamplingRuleUpdate
- data UpdateSamplingRuleResponse = UpdateSamplingRuleResponse' {}
- newUpdateSamplingRuleResponse :: Int -> UpdateSamplingRuleResponse
- updateSamplingRuleResponse_samplingRuleRecord :: Lens' UpdateSamplingRuleResponse (Maybe SamplingRuleRecord)
- updateSamplingRuleResponse_httpStatus :: Lens' UpdateSamplingRuleResponse Int
Creating a Request
data UpdateSamplingRule Source #
See: newUpdateSamplingRule
smart constructor.
UpdateSamplingRule' | |
|
Instances
newUpdateSamplingRule Source #
Create a value of UpdateSamplingRule
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:samplingRuleUpdate:UpdateSamplingRule'
, updateSamplingRule_samplingRuleUpdate
- The rule and fields to change.
Request Lenses
updateSamplingRule_samplingRuleUpdate :: Lens' UpdateSamplingRule SamplingRuleUpdate Source #
The rule and fields to change.
Destructuring the Response
data UpdateSamplingRuleResponse Source #
See: newUpdateSamplingRuleResponse
smart constructor.
UpdateSamplingRuleResponse' | |
|
Instances
newUpdateSamplingRuleResponse Source #
Create a value of UpdateSamplingRuleResponse
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:samplingRuleRecord:UpdateSamplingRuleResponse'
, updateSamplingRuleResponse_samplingRuleRecord
- The updated rule definition and metadata.
UpdateSamplingRuleResponse
, updateSamplingRuleResponse_httpStatus
- The response's http status code.
Response Lenses
updateSamplingRuleResponse_samplingRuleRecord :: Lens' UpdateSamplingRuleResponse (Maybe SamplingRuleRecord) Source #
The updated rule definition and metadata.
updateSamplingRuleResponse_httpStatus :: Lens' UpdateSamplingRuleResponse Int Source #
The response's http status code.