| 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 |
Amazonka.BillingConductor.ListPricingRulesAssociatedToPricingPlan
Description
Lists the pricing rules that are associated with a pricing plan.
This operation returns paginated results.
Synopsis
- data ListPricingRulesAssociatedToPricingPlan = ListPricingRulesAssociatedToPricingPlan' {}
- newListPricingRulesAssociatedToPricingPlan :: Text -> ListPricingRulesAssociatedToPricingPlan
- listPricingRulesAssociatedToPricingPlan_billingPeriod :: Lens' ListPricingRulesAssociatedToPricingPlan (Maybe Text)
- listPricingRulesAssociatedToPricingPlan_maxResults :: Lens' ListPricingRulesAssociatedToPricingPlan (Maybe Natural)
- listPricingRulesAssociatedToPricingPlan_nextToken :: Lens' ListPricingRulesAssociatedToPricingPlan (Maybe Text)
- listPricingRulesAssociatedToPricingPlan_pricingPlanArn :: Lens' ListPricingRulesAssociatedToPricingPlan Text
- data ListPricingRulesAssociatedToPricingPlanResponse = ListPricingRulesAssociatedToPricingPlanResponse' {
- billingPeriod :: Maybe Text
- nextToken :: Maybe Text
- pricingPlanArn :: Maybe Text
- pricingRuleArns :: Maybe (NonEmpty Text)
- httpStatus :: Int
- newListPricingRulesAssociatedToPricingPlanResponse :: Int -> ListPricingRulesAssociatedToPricingPlanResponse
- listPricingRulesAssociatedToPricingPlanResponse_billingPeriod :: Lens' ListPricingRulesAssociatedToPricingPlanResponse (Maybe Text)
- listPricingRulesAssociatedToPricingPlanResponse_nextToken :: Lens' ListPricingRulesAssociatedToPricingPlanResponse (Maybe Text)
- listPricingRulesAssociatedToPricingPlanResponse_pricingPlanArn :: Lens' ListPricingRulesAssociatedToPricingPlanResponse (Maybe Text)
- listPricingRulesAssociatedToPricingPlanResponse_pricingRuleArns :: Lens' ListPricingRulesAssociatedToPricingPlanResponse (Maybe (NonEmpty Text))
- listPricingRulesAssociatedToPricingPlanResponse_httpStatus :: Lens' ListPricingRulesAssociatedToPricingPlanResponse Int
Creating a Request
data ListPricingRulesAssociatedToPricingPlan Source #
See: newListPricingRulesAssociatedToPricingPlan smart constructor.
Constructors
| ListPricingRulesAssociatedToPricingPlan' | |
Fields
| |
Instances
newListPricingRulesAssociatedToPricingPlan Source #
Create a value of ListPricingRulesAssociatedToPricingPlan 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:
ListPricingRulesAssociatedToPricingPlan, listPricingRulesAssociatedToPricingPlan_billingPeriod - The billing period for which the pricing rule associations are to be
listed.
$sel:maxResults:ListPricingRulesAssociatedToPricingPlan', listPricingRulesAssociatedToPricingPlan_maxResults - The optional maximum number of pricing rule associations to retrieve.
ListPricingRulesAssociatedToPricingPlan, listPricingRulesAssociatedToPricingPlan_nextToken - The optional pagination token returned by a previous call.
ListPricingRulesAssociatedToPricingPlan, listPricingRulesAssociatedToPricingPlan_pricingPlanArn - The Amazon Resource Name (ARN) of the pricing plan for which
associations are to be listed.
Request Lenses
listPricingRulesAssociatedToPricingPlan_billingPeriod :: Lens' ListPricingRulesAssociatedToPricingPlan (Maybe Text) Source #
The billing period for which the pricing rule associations are to be listed.
listPricingRulesAssociatedToPricingPlan_maxResults :: Lens' ListPricingRulesAssociatedToPricingPlan (Maybe Natural) Source #
The optional maximum number of pricing rule associations to retrieve.
listPricingRulesAssociatedToPricingPlan_nextToken :: Lens' ListPricingRulesAssociatedToPricingPlan (Maybe Text) Source #
The optional pagination token returned by a previous call.
listPricingRulesAssociatedToPricingPlan_pricingPlanArn :: Lens' ListPricingRulesAssociatedToPricingPlan Text Source #
The Amazon Resource Name (ARN) of the pricing plan for which associations are to be listed.
Destructuring the Response
data ListPricingRulesAssociatedToPricingPlanResponse Source #
See: newListPricingRulesAssociatedToPricingPlanResponse smart constructor.
Constructors
| ListPricingRulesAssociatedToPricingPlanResponse' | |
Fields
| |
Instances
newListPricingRulesAssociatedToPricingPlanResponse Source #
Arguments
| :: Int |
|
| -> ListPricingRulesAssociatedToPricingPlanResponse |
Create a value of ListPricingRulesAssociatedToPricingPlanResponse 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:
ListPricingRulesAssociatedToPricingPlan, listPricingRulesAssociatedToPricingPlanResponse_billingPeriod - The billing period for which the pricing rule associations are listed.
ListPricingRulesAssociatedToPricingPlan, listPricingRulesAssociatedToPricingPlanResponse_nextToken - The pagination token to be used on subsequent calls.
ListPricingRulesAssociatedToPricingPlan, listPricingRulesAssociatedToPricingPlanResponse_pricingPlanArn - The Amazon Resource Name (ARN) of the pricing plan for which
associations are listed.
$sel:pricingRuleArns:ListPricingRulesAssociatedToPricingPlanResponse', listPricingRulesAssociatedToPricingPlanResponse_pricingRuleArns - A list containing pricing rules that are associated with the requested
pricing plan.
$sel:httpStatus:ListPricingRulesAssociatedToPricingPlanResponse', listPricingRulesAssociatedToPricingPlanResponse_httpStatus - The response's http status code.
Response Lenses
listPricingRulesAssociatedToPricingPlanResponse_billingPeriod :: Lens' ListPricingRulesAssociatedToPricingPlanResponse (Maybe Text) Source #
The billing period for which the pricing rule associations are listed.
listPricingRulesAssociatedToPricingPlanResponse_nextToken :: Lens' ListPricingRulesAssociatedToPricingPlanResponse (Maybe Text) Source #
The pagination token to be used on subsequent calls.
listPricingRulesAssociatedToPricingPlanResponse_pricingPlanArn :: Lens' ListPricingRulesAssociatedToPricingPlanResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the pricing plan for which associations are listed.
listPricingRulesAssociatedToPricingPlanResponse_pricingRuleArns :: Lens' ListPricingRulesAssociatedToPricingPlanResponse (Maybe (NonEmpty Text)) Source #
A list containing pricing rules that are associated with the requested pricing plan.
listPricingRulesAssociatedToPricingPlanResponse_httpStatus :: Lens' ListPricingRulesAssociatedToPricingPlanResponse Int Source #
The response's http status code.