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 |
Retrieves all sampling rules.
This operation returns paginated results.
Synopsis
- data GetSamplingRules = GetSamplingRules' {}
- newGetSamplingRules :: GetSamplingRules
- getSamplingRules_nextToken :: Lens' GetSamplingRules (Maybe Text)
- data GetSamplingRulesResponse = GetSamplingRulesResponse' {}
- newGetSamplingRulesResponse :: Int -> GetSamplingRulesResponse
- getSamplingRulesResponse_samplingRuleRecords :: Lens' GetSamplingRulesResponse (Maybe [SamplingRuleRecord])
- getSamplingRulesResponse_nextToken :: Lens' GetSamplingRulesResponse (Maybe Text)
- getSamplingRulesResponse_httpStatus :: Lens' GetSamplingRulesResponse Int
Creating a Request
data GetSamplingRules Source #
See: newGetSamplingRules
smart constructor.
Instances
newGetSamplingRules :: GetSamplingRules Source #
Create a value of GetSamplingRules
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:nextToken:GetSamplingRules'
, getSamplingRules_nextToken
- Pagination token.
Request Lenses
getSamplingRules_nextToken :: Lens' GetSamplingRules (Maybe Text) Source #
Pagination token.
Destructuring the Response
data GetSamplingRulesResponse Source #
See: newGetSamplingRulesResponse
smart constructor.
GetSamplingRulesResponse' | |
|
Instances
newGetSamplingRulesResponse Source #
Create a value of GetSamplingRulesResponse
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:samplingRuleRecords:GetSamplingRulesResponse'
, getSamplingRulesResponse_samplingRuleRecords
- Rule definitions and metadata.
$sel:nextToken:GetSamplingRules'
, getSamplingRulesResponse_nextToken
- Pagination token.
$sel:httpStatus:GetSamplingRulesResponse'
, getSamplingRulesResponse_httpStatus
- The response's http status code.
Response Lenses
getSamplingRulesResponse_samplingRuleRecords :: Lens' GetSamplingRulesResponse (Maybe [SamplingRuleRecord]) Source #
Rule definitions and metadata.
getSamplingRulesResponse_nextToken :: Lens' GetSamplingRulesResponse (Maybe Text) Source #
Pagination token.
getSamplingRulesResponse_httpStatus :: Lens' GetSamplingRulesResponse Int Source #
The response's http status code.