list_contractual_investment_summaries
async
¶
list_contractual_investment_summaries(
contract_arn: ArnString,
*,
config_overrides: Optional[AsyncBillingClientConfig] = None,
next_token: Optional[PageToken] = None,
max_results: Optional[int] = None,
) -> ListContractualInvestmentSummariesResponse
Lists the investment summaries within a specific private pricing contract. This operation is read-only and paginated.
Parameters:
-
contract_arn(ArnString) –The Amazon Resource Name (ARN) of the contract whose investment summaries you want to list.
-
next_token(Optional[PageToken], default:None) –The pagination token that indicates the next set of results to retrieve.
-
max_results(Optional[int], default:None) –The maximum number of investment summaries to return in a single call. Minimum value of 1, maximum value of 100.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action.
-
InternalServerException–The request processing failed because of an unknown error, exception, or failure.
-
ResourceNotFoundException–The specified ARN in the request doesn't exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Invoke ListContractualInvestmentSummaries
>>> await client.list_contractual_investment_summaries(contract_arn='arn:aws:billing::123456789012:contract/1a2b3c4d-5e6f-7a8b-9c0d-111122223333', max_results=100)
Source code in docs_src/capo_billing/_services/async_billing.py
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 | |