aws-describe-subnets-rate-limit (#35044)
This commit is contained in:
parent
d1ce8e9924
commit
d0a257efad
1 changed files with 3 additions and 1 deletions
|
@ -118,13 +118,14 @@ except ImportError:
|
||||||
|
|
||||||
from ansible.module_utils.basic import AnsibleModule
|
from ansible.module_utils.basic import AnsibleModule
|
||||||
from ansible.module_utils.ec2 import (ec2_argument_spec, boto3_conn, get_aws_connection_info,
|
from ansible.module_utils.ec2 import (ec2_argument_spec, boto3_conn, get_aws_connection_info,
|
||||||
ansible_dict_to_boto3_filter_list, HAS_BOTO3, camel_dict_to_snake_dict)
|
ansible_dict_to_boto3_filter_list, HAS_BOTO3, camel_dict_to_snake_dict, AWSRetry)
|
||||||
|
|
||||||
|
|
||||||
def date_handler(obj):
|
def date_handler(obj):
|
||||||
return obj.isoformat() if hasattr(obj, 'isoformat') else obj
|
return obj.isoformat() if hasattr(obj, 'isoformat') else obj
|
||||||
|
|
||||||
|
|
||||||
|
@AWSRetry.exponential_backoff()
|
||||||
def get_supported_services(client, module):
|
def get_supported_services(client, module):
|
||||||
results = list()
|
results = list()
|
||||||
params = dict()
|
params = dict()
|
||||||
|
@ -138,6 +139,7 @@ def get_supported_services(client, module):
|
||||||
return dict(service_names=results)
|
return dict(service_names=results)
|
||||||
|
|
||||||
|
|
||||||
|
@AWSRetry.exponential_backoff()
|
||||||
def get_endpoints(client, module):
|
def get_endpoints(client, module):
|
||||||
results = list()
|
results = list()
|
||||||
params = dict()
|
params = dict()
|
||||||
|
|
Loading…
Add table
Reference in a new issue