describe_conditional_forwarders
¶
describe_conditional_forwarders(
directory_id: DirectoryId,
*,
config_overrides: Optional[DirectoryServiceClientConfig] = None,
remote_domain_names: Optional[RemoteDomainNames] = None,
) -> DescribeConditionalForwardersResult
Obtains information about the conditional forwarders for this account.
If no input parameters are provided for RemoteDomainNames, this request describes all conditional forwarders for the specified directory ID.
Parameters:
-
directory_id(DirectoryId) –The directory ID for which to get the list of associated conditional forwarders.
-
remote_domain_names(Optional[RemoteDomainNames], default:None) –The fully qualified domain names (FQDN) of the remote domains for which to get the list of associated conditional forwarders. If this member is null, all conditional forwarders are returned.
Raises:
-
ClientException–A client exception has occurred.
-
DirectoryUnavailableException–The specified directory is unavailable.
-
EntityDoesNotExistException–The specified entity could not be found.
-
InvalidParameterException–One or more parameters are not valid.
-
ServiceException–An exception has occurred in Directory Service.
-
UnsupportedOperationException–The operation is not supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe conditional forwarders The following example obtains information about the conditional forwarders for a specified directory.
>>> client.describe_conditional_forwarders(directory_id='d-92654abfed', remote_domain_names=['sales.example.com'])
Source code in docs_src/capo_directory_service/_services/directory_service.py
2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 | |