Repository: ansible/ansible

Issue:
route53 . state parameter removed from module 

##### ISSUE TYPE

 - Documentation Report

##### COMPONENT NAME

route53

##### ANSIBLE VERSION
```
ansible --version
ansible 2.3.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
  python version = 2.7.5 (default, Nov  6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]

```

##### OS / ENVIRONMENT

Centos 7


##### SUMMARY

Documentation at [route53](http://docs.ansible.com/ansible/route53_module.html) is out of date. It still mentions the use of state but it appears to have been removed from the functionality

##### STEPS TO REPRODUCE

Using any of the examples in the documentation would reproduce the error since they all utilize state 
here is what I was using 
```yaml

- name: Alter route 53 record
  route53:
    state: "{{route53_state}}"
    zone: "{{route53_zone}}"
    record: "{{route53_record}}"
    type: "{{route53_type}}"
    ttl: "{{route53_ttl}}"
    value: "{{route53_value}}"
    wait: yes

```


##### EXPECTED RESULTS

Route to be created.

##### ACTUAL RESULTS
<!--- Paste verbatim command output between quotes below -->
```
FAILED! => {"changed": false, "failed": true, "msg": "Unsupported parameters for (route53) module: state. Supported parameters include: alias,alias_evaluate_target_health,alias_hosted_zone_id,aws_access_key,aws_secret_key,command,ec2_url,failover,health_check,hosted_zone_id,identifier,overwrite,private_zone,profile,record,region,retry_interval,security_token,ttl,type,validate_certs,value,vpc_id,wait,wait_timeout,weight,zone"}
```


Using command resolves the issue but command doesn't have the same range of options as state

```
FAILED! => {"changed": false, "failed": true, "msg": "value of command must be one of: get,create,delete, got: present"}
```


route53 . state parameter removed from module 

##### ISSUE TYPE

 - Documentation Report

##### COMPONENT NAME

route53

##### ANSIBLE VERSION
```
ansible --version
ansible 2.3.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
  python version = 2.7.5 (default, Nov  6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]

```

##### OS / ENVIRONMENT

Centos 7


##### SUMMARY

Documentation at [route53](http://docs.ansible.com/ansible/route53_module.html) is out of date. It still mentions the use of state but it appears to have been removed from the functionality

##### STEPS TO REPRODUCE

Using any of the examples in the documentation would reproduce the error since they all utilize state 
here is what I was using 
```yaml

- name: Alter route 53 record
  route53:
    state: "{{route53_state}}"
    zone: "{{route53_zone}}"
    record: "{{route53_record}}"
    type: "{{route53_type}}"
    ttl: "{{route53_ttl}}"
    value: "{{route53_value}}"
    wait: yes

```


##### EXPECTED RESULTS

Route to be created.

##### ACTUAL RESULTS
<!--- Paste verbatim command output between quotes below -->
```
FAILED! => {"changed": false, "failed": true, "msg": "Unsupported parameters for (route53) module: state. Supported parameters include: alias,alias_evaluate_target_health,alias_hosted_zone_id,aws_access_key,aws_secret_key,command,ec2_url,failover,health_check,hosted_zone_id,identifier,overwrite,private_zone,profile,record,region,retry_interval,security_token,ttl,type,validate_certs,value,vpc_id,wait,wait_timeout,weight,zone"}
```


Using command resolves the issue but command doesn't have the same range of options as state

```
FAILED! => {"changed": false, "failed": true, "msg": "value of command must be one of: get,create,delete, got: present"}
```




Discussion:
cc @bpennypacker
[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)
<!--- boilerplate: notify --->
cc @bpennypacker
[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)
<!--- boilerplate: notify --->

Resolving patch:
diff --git a/lib/ansible/modules/cloud/amazon/route53.py b/lib/ansible/modules/cloud/amazon/route53.py
--- a/lib/ansible/modules/cloud/amazon/route53.py
+++ b/lib/ansible/modules/cloud/amazon/route53.py
@@ -30,7 +30,7 @@
   state:
     description:
       - Specifies the state of the resource record. As of Ansible 2.4, the I(command) option has been changed
-        to I(state) as default, but I(command) still works as well.
+        to I(state) as default and the choices 'present' and 'absent' have been added, but I(command) still works as well.
     required: true
     aliases: [ 'command' ]
     choices: [ 'present', 'absent', 'get', 'create', 'delete' ]


Test patch: