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 |
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.
$sel:httpStatus: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.