create_pricing_plan
¶
create_pricing_plan(
name: PricingPlanName,
*,
config_overrides: Optional[billingconductorClientConfig] = None,
client_token: Optional[ClientToken] = None,
description: Optional[PricingPlanDescription] = None,
pricing_rule_arns: Optional[PricingRuleArnsInput] = None,
tags: Optional[TagMap] = None,
) -> CreatePricingPlanOutput
Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.
Parameters:
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.
-
name(PricingPlanName) –The name of the pricing plan. The names must be unique to each pricing plan.
-
description(Optional[PricingPlanDescription], default:None) –The description of the pricing plan.
-
pricing_rule_arns(Optional[PricingRuleArnsInput], default:None) –A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
-
tags(Optional[TagMap], default:None) –A map that contains tag keys and tag values that are attached to a pricing plan.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–You can cause an inconsistent state by updating or deleting a resource.
-
InternalServerException–An unexpected error occurred while processing a request.
-
ResourceNotFoundException–The request references a resource that doesn't exist.
-
ServiceLimitExceededException–The request would cause a service limit to exceed.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input doesn't match with the constraints specified by Amazon Web Services services.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_billingconductor/_services/billingconductor.py
2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 | |