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 |
A list of the pricing plans that are associated with a pricing rule.
This operation returns paginated results.
Synopsis
- data ListPricingPlansAssociatedWithPricingRule = ListPricingPlansAssociatedWithPricingRule' {}
- newListPricingPlansAssociatedWithPricingRule :: Text -> ListPricingPlansAssociatedWithPricingRule
- listPricingPlansAssociatedWithPricingRule_billingPeriod :: Lens' ListPricingPlansAssociatedWithPricingRule (Maybe Text)
- listPricingPlansAssociatedWithPricingRule_maxResults :: Lens' ListPricingPlansAssociatedWithPricingRule (Maybe Natural)
- listPricingPlansAssociatedWithPricingRule_nextToken :: Lens' ListPricingPlansAssociatedWithPricingRule (Maybe Text)
- listPricingPlansAssociatedWithPricingRule_pricingRuleArn :: Lens' ListPricingPlansAssociatedWithPricingRule Text
- data ListPricingPlansAssociatedWithPricingRuleResponse = ListPricingPlansAssociatedWithPricingRuleResponse' {
- billingPeriod :: Maybe Text
- nextToken :: Maybe Text
- pricingPlanArns :: Maybe (NonEmpty Text)
- pricingRuleArn :: Maybe Text
- httpStatus :: Int
- newListPricingPlansAssociatedWithPricingRuleResponse :: Int -> ListPricingPlansAssociatedWithPricingRuleResponse
- listPricingPlansAssociatedWithPricingRuleResponse_billingPeriod :: Lens' ListPricingPlansAssociatedWithPricingRuleResponse (Maybe Text)
- listPricingPlansAssociatedWithPricingRuleResponse_nextToken :: Lens' ListPricingPlansAssociatedWithPricingRuleResponse (Maybe Text)
- listPricingPlansAssociatedWithPricingRuleResponse_pricingPlanArns :: Lens' ListPricingPlansAssociatedWithPricingRuleResponse (Maybe (NonEmpty Text))
- listPricingPlansAssociatedWithPricingRuleResponse_pricingRuleArn :: Lens' ListPricingPlansAssociatedWithPricingRuleResponse (Maybe Text)
- listPricingPlansAssociatedWithPricingRuleResponse_httpStatus :: Lens' ListPricingPlansAssociatedWithPricingRuleResponse Int
Creating a Request
data ListPricingPlansAssociatedWithPricingRule Source #
See: newListPricingPlansAssociatedWithPricingRule
smart constructor.
ListPricingPlansAssociatedWithPricingRule' | |
|
Instances
newListPricingPlansAssociatedWithPricingRule Source #
Create a value of ListPricingPlansAssociatedWithPricingRule
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:
ListPricingPlansAssociatedWithPricingRule
, listPricingPlansAssociatedWithPricingRule_billingPeriod
- The pricing plan billing period for which associations will be listed.
$sel:maxResults:ListPricingPlansAssociatedWithPricingRule'
, listPricingPlansAssociatedWithPricingRule_maxResults
- The optional maximum number of pricing rule associations to retrieve.
ListPricingPlansAssociatedWithPricingRule
, listPricingPlansAssociatedWithPricingRule_nextToken
- The optional pagination token returned by a previous call.
ListPricingPlansAssociatedWithPricingRule
, listPricingPlansAssociatedWithPricingRule_pricingRuleArn
- The pricing rule Amazon Resource Name (ARN) for which associations will
be listed.
Request Lenses
listPricingPlansAssociatedWithPricingRule_billingPeriod :: Lens' ListPricingPlansAssociatedWithPricingRule (Maybe Text) Source #
The pricing plan billing period for which associations will be listed.
listPricingPlansAssociatedWithPricingRule_maxResults :: Lens' ListPricingPlansAssociatedWithPricingRule (Maybe Natural) Source #
The optional maximum number of pricing rule associations to retrieve.
listPricingPlansAssociatedWithPricingRule_nextToken :: Lens' ListPricingPlansAssociatedWithPricingRule (Maybe Text) Source #
The optional pagination token returned by a previous call.
listPricingPlansAssociatedWithPricingRule_pricingRuleArn :: Lens' ListPricingPlansAssociatedWithPricingRule Text Source #
The pricing rule Amazon Resource Name (ARN) for which associations will be listed.
Destructuring the Response
data ListPricingPlansAssociatedWithPricingRuleResponse Source #
See: newListPricingPlansAssociatedWithPricingRuleResponse
smart constructor.
ListPricingPlansAssociatedWithPricingRuleResponse' | |
|
Instances
newListPricingPlansAssociatedWithPricingRuleResponse Source #
:: Int |
|
-> ListPricingPlansAssociatedWithPricingRuleResponse |
Create a value of ListPricingPlansAssociatedWithPricingRuleResponse
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:
ListPricingPlansAssociatedWithPricingRule
, listPricingPlansAssociatedWithPricingRuleResponse_billingPeriod
- The pricing plan billing period for which associations will be listed.
ListPricingPlansAssociatedWithPricingRule
, listPricingPlansAssociatedWithPricingRuleResponse_nextToken
- The pagination token to be used on subsequent calls.
$sel:pricingPlanArns:ListPricingPlansAssociatedWithPricingRuleResponse'
, listPricingPlansAssociatedWithPricingRuleResponse_pricingPlanArns
- The list containing pricing plans that are associated with the requested
pricing rule.
ListPricingPlansAssociatedWithPricingRule
, listPricingPlansAssociatedWithPricingRuleResponse_pricingRuleArn
- The pricing rule Amazon Resource Name (ARN) for which associations will
be listed.
$sel:httpStatus:ListPricingPlansAssociatedWithPricingRuleResponse'
, listPricingPlansAssociatedWithPricingRuleResponse_httpStatus
- The response's http status code.
Response Lenses
listPricingPlansAssociatedWithPricingRuleResponse_billingPeriod :: Lens' ListPricingPlansAssociatedWithPricingRuleResponse (Maybe Text) Source #
The pricing plan billing period for which associations will be listed.
listPricingPlansAssociatedWithPricingRuleResponse_nextToken :: Lens' ListPricingPlansAssociatedWithPricingRuleResponse (Maybe Text) Source #
The pagination token to be used on subsequent calls.
listPricingPlansAssociatedWithPricingRuleResponse_pricingPlanArns :: Lens' ListPricingPlansAssociatedWithPricingRuleResponse (Maybe (NonEmpty Text)) Source #
The list containing pricing plans that are associated with the requested pricing rule.
listPricingPlansAssociatedWithPricingRuleResponse_pricingRuleArn :: Lens' ListPricingPlansAssociatedWithPricingRuleResponse (Maybe Text) Source #
The pricing rule Amazon Resource Name (ARN) for which associations will be listed.
listPricingPlansAssociatedWithPricingRuleResponse_httpStatus :: Lens' ListPricingPlansAssociatedWithPricingRuleResponse Int Source #
The response's http status code.