get_api_keys
async
¶
get_api_keys(
*,
config_overrides: Optional[AsyncAPIGatewayClientConfig] = None,
position: Optional[String] = None,
limit: Optional[NullableInteger] = None,
name_query: Optional[String] = None,
customer_id: Optional[String] = None,
include_values: Optional[NullableBoolean] = None,
) -> ApiKeys
Gets information about the current ApiKeys resource.
Parameters:
-
position(Optional[String], default:None) –The current pagination position in the paged result set.
-
limit(Optional[NullableInteger], default:None) –The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
-
name_query(Optional[String], default:None) –The name of queried API keys.
-
customer_id(Optional[String], default:None) –The identifier of a customer in Amazon Web Services Marketplace or an external system, such as a developer portal.
-
include_values(Optional[NullableBoolean], default:None) –A boolean flag to specify whether (
true) or not (false) the result contains key values.
Raises:
-
BadRequestException–The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
-
NotFoundException–The requested resource is not found. Make sure that the request URI is correct.
-
TooManyRequestsException–The request has reached its throttling limit. Retry after the specified time period.
-
UnauthorizedException–The request is denied because the caller has insufficient permissions.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_api_gateway/_services/async_api_gateway.py
2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 | |