community.general/lib/ansible/module_utils/aws
Sloane Hertel 40d2df0ef3 Add AWS boto3 error code exception function is_boto3_error_code (#41202)
* Add aws/core.py function to check for specific AWS error codes

* Use sys.exc_info to get exception object if it isn't passed in

* Allow catching exceptions with is_boto3_error_code

* Replace from_code with is_boto3_error_code

* Return a type that will never be raised to support stricter type comparisons in Python 3+

* Use is_boto3_error_code in aws_eks_cluster

* Add duplicate-except to ignores when using is_boto3_error_code

* Add is_boto3_error_code to module development guideline docs
2018-06-12 12:15:16 -04:00
..
__init__.py aws.core in new aws dir in module utils - module with AnsibleAWSModule class and fail_json_aws (#25780) 2017-07-11 14:01:35 -07:00
batch.py [cloud] new module aws_batch_job_queue: support for AWS Batch Job Queues (#26701) 2018-01-30 17:22:06 -05:00
cloudfront_facts.py [cloud] New module cloudfront_distribution (#31284) 2018-01-17 11:03:23 -05:00
core.py Add AWS boto3 error code exception function is_boto3_error_code (#41202) 2018-06-12 12:15:16 -04:00
direct_connect.py [cloud] new module - AWS Direct Connect virtual interface (#33211) 2018-01-29 17:23:03 -05:00
elb_utils.py Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00
elbv2.py [AWS] Add helpful failure message when using wrong lb module (#40433) 2018-05-25 13:10:39 -04:00
iam.py EC2_group module refactor (formerly pr/37255) (#38678) 2018-05-24 11:53:21 -04:00
waf.py AWS WAF module custom waiter (#37026) 2018-04-05 11:30:57 +10:00
waiters.py EC2_group module refactor (formerly pr/37255) (#38678) 2018-05-24 11:53:21 -04:00