get_api_keys
¶
get_api_keys(
*,
config_overrides: Optional[APIGatewayClientConfig] = 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/api_gateway.py
2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 | |