# Route53 Service API Requests use [`CloudEnvAction`](../../../models.py): `service`, `operation`, and `payload` (boto3 parameters for the operation). Operations are enforced by IAM as `route53:` (see adapter). ## Operations ### CreateHostedZone _Boto3 client method: `create_hosted_zone`_ **Other boto3 parameters (optional):** `DelegationSetId, HostedZoneConfig, VPC` ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "CreateHostedZone", "payload": { "Name": "example-dnsname", "CallerReference": "example-nonce" } } ``` --- ### GetHostedZone _Boto3 client method: `get_hosted_zone`_ ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "GetHostedZone", "payload": { "Id": "example-resourceid" } } ``` --- ### DeleteHostedZone _Boto3 client method: `delete_hosted_zone`_ ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "DeleteHostedZone", "payload": { "Id": "example-resourceid" } } ``` --- ### ListHostedZones _Boto3 client method: `list_hosted_zones`_ **Other boto3 parameters (optional):** `DelegationSetId, HostedZoneType, Marker, MaxItems` ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "ListHostedZones", "payload": {} } ``` --- ### ListHostedZonesByName _Boto3 client method: `list_hosted_zones_by_name`_ **Other boto3 parameters (optional):** `DNSName, HostedZoneId, MaxItems` ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "ListHostedZonesByName", "payload": {} } ``` --- ### UpdateHostedZoneComment _Boto3 client method: `update_hosted_zone_comment`_ **Other boto3 parameters (optional):** `Comment` ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "UpdateHostedZoneComment", "payload": { "Id": "example-resourceid" } } ``` --- ### ChangeResourceRecordSets _Boto3 client method: `change_resource_record_sets`_ ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "ChangeResourceRecordSets", "payload": { "HostedZoneId": "example-resourceid", "ChangeBatch": { "Changes": [ { "Action": "CREATE", "ResourceRecordSet": { "Name": "example-dnsname", "Type": "SOA" } } ] } } } ``` --- ### ListResourceRecordSets _Boto3 client method: `list_resource_record_sets`_ **Other boto3 parameters (optional):** `MaxItems, StartRecordIdentifier, StartRecordName, StartRecordType` ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "ListResourceRecordSets", "payload": { "HostedZoneId": "example-resourceid" } } ``` --- ### GetChange _Boto3 client method: `get_change`_ ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "GetChange", "payload": { "Id": "example-changeid" } } ``` --- ### CreateHealthCheck _Boto3 client method: `create_health_check`_ ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "CreateHealthCheck", "payload": { "CallerReference": "example-healthchecknonce", "HealthCheckConfig": { "Type": "HTTP" } } } ``` --- ### GetHealthCheck _Boto3 client method: `get_health_check`_ ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "GetHealthCheck", "payload": { "HealthCheckId": "example-healthcheckid" } } ``` --- ### DeleteHealthCheck _Boto3 client method: `delete_health_check`_ ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "DeleteHealthCheck", "payload": { "HealthCheckId": "example-healthcheckid" } } ``` --- ### ListHealthChecks _Boto3 client method: `list_health_checks`_ **Other boto3 parameters (optional):** `Marker, MaxItems` ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "ListHealthChecks", "payload": {} } ``` --- ### UpdateHealthCheck _Boto3 client method: `update_health_check`_ **Other boto3 parameters (optional):** `AlarmIdentifier, ChildHealthChecks, Disabled, EnableSNI, FailureThreshold, FullyQualifiedDomainName, HealthCheckVersion, HealthThreshold, IPAddress, InsufficientDataHealthStatus, Inverted, Port, Regions, ResetElements, ResourcePath, SearchString` ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "UpdateHealthCheck", "payload": { "HealthCheckId": "example-healthcheckid" } } ``` --- ### ChangeTagsForResource _Boto3 client method: `change_tags_for_resource`_ **Other boto3 parameters (optional):** `AddTags, RemoveTagKeys` ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "ChangeTagsForResource", "payload": { "ResourceType": "healthcheck", "ResourceId": "example-tagresourceid" } } ``` --- ### ListTagsForResource _Boto3 client method: `list_tags_for_resource`_ ```bash curl -X POST http://localhost:8000/step \ -H "Content-Type: application/json" \ -d @- <<'EOF' { "service": "route53", "operation": "ListTagsForResource", "payload": { "ResourceType": "healthcheck", "ResourceId": "example-tagresourceid" } } ``` ---