modify_private_dns_name_options
(**kwargs)¶Modifies the options for instance hostnames for the specified instance.
See also: AWS API Documentation
Request Syntax
response = client.modify_private_dns_name_options(
DryRun=True|False,
InstanceId='string',
PrivateDnsHostnameType='ip-name'|'resource-name',
EnableResourceNameDnsARecord=True|False,
EnableResourceNameDnsAAAARecord=True|False
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
The ID of the instance.
dict
Response Syntax
{
'Return': True|False
}
Response Structure
(dict) --
Return (boolean) --
Returns true
if the request succeeds; otherwise, it returns an error.