list_lenses
¶
list_lenses(
*,
config_overrides: Optional[WellArchitectedClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
lens_type: Optional[LensType] = None,
lens_status: Optional[LensStatusType] = None,
lens_name: Optional[LensName] = None,
) -> ListLensesOutput
List the available lenses.
Parameters:
-
lens_type(Optional[LensType], default:None) –The type of lenses to be returned.
-
lens_status(Optional[LensStatusType], default:None) –The status of lenses to be returned.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
InternalServerException–There is a problem with the Well-Architected Tool API service.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The user input is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_wellarchitected/_services/well_architected.py
5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 | |