list_domains
¶
list_domains(
*,
config_overrides: Optional[Route53DomainsClientConfig] = None,
filter_conditions: Optional[FilterConditions] = None,
sort_condition: Optional[SortCondition] = None,
marker: Optional[PageMarker] = None,
max_items: Optional[PageMaxItems] = None,
) -> ListDomainsResponse
This operation returns all the domain names registered with Amazon Route 53 for the current Amazon Web Services account if no filtering conditions are used.
Parameters:
-
filter_conditions(Optional[FilterConditions], default:None) –A complex type that contains information about the filters applied during the
ListDomainsrequest. The filter conditions can include domain name and domain expiration. -
sort_condition(Optional[SortCondition], default:None) –A complex type that contains information about the requested ordering of domains in the returned list.
-
marker(Optional[PageMarker], default:None) –For an initial request for a list of domains, omit this element. If the number of domains that are associated with the current Amazon Web Services account is greater than the value that you specified for
MaxItems, you can useMarkerto return additional domains. Get the value ofNextPageMarkerfrom the previous response, and submit another request that includes the value ofNextPageMarkerin theMarkerelement.Constraints: The marker must match the value specified in the previous request.
-
max_items(Optional[PageMaxItems], default:None) –Number of domains to be returned.
Default: 20
Raises:
-
InvalidInput–The requested item is not acceptable. For example, for APIs that accept a domain name, the request might specify a domain name that doesn't belong to the account that submitted the request. For
AcceptDomainTransferFromAnotherAwsAccount, the password might be invalid. -
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_route_53_domains/_services/route53_domains.py
1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 | |