@@ -326,8 +326,8 @@ class HttpVerb:
326
326
class APIGatewayAuthorizerResponse :
327
327
"""Api Gateway HTTP API V1 payload or Rest api authorizer response helper
328
328
329
- Based on: - https://github.com/awslabs/aws-apigateway-lambda-authorizer-blueprints/blob/master/blueprints/python
330
- /api-gateway-authorizer-python.py
329
+ Based on: - https://github.com/awslabs/aws-apigateway-lambda-authorizer-blueprints/blob/\
330
+ master/blueprints/python /api-gateway-authorizer-python.py
331
331
"""
332
332
333
333
version = "2012-10-17"
@@ -364,8 +364,8 @@ def __init__(
364
364
See https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_resource.html for more
365
365
details.
366
366
stage : str
367
- The default stage to be used in the policy. Replace the placeholder value with a default stage to be
368
- used in the policy. Beware of using '*' since it will not simply mean any stage, because stars will
367
+ The default stage to be used in the policy.
368
+ Beware of using '*' since it will not simply mean any stage, because stars will
369
369
greedily expand over '/' or other separators.
370
370
See https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_resource.html for more
371
371
details.
@@ -379,12 +379,6 @@ def __init__(
379
379
self .api_id = api_id
380
380
self .stage = stage
381
381
self .context = context
382
-
383
- """these are the internal lists of allowed and denied methods. These are lists
384
- of objects and each object has 2 properties: A resource ARN and a nullable
385
- conditions statement.
386
- the build method processes these lists and generates the appropriate
387
- statements for the final policy"""
388
382
self ._allow_methods : List [Dict ] = []
389
383
self ._deny_methods : List [Dict ] = []
390
384
0 commit comments