list_contact_channels
async
¶
list_contact_channels(
contact_id: SsmContactsArn,
*,
config_overrides: Optional[AsyncSSMContactsClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListContactChannelsResult
Lists all contact channels for the specified contact.
Parameters:
-
contact_id(SsmContactsArn) –The Amazon Resource Name (ARN) of the contact.
-
next_token(Optional[PaginationToken], default:None) –The pagination token to continue to the next page of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of contact channels per page.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this operation.
-
DataEncryptionException–The operation failed to due an encryption key error.
-
InternalServerException–Unexpected error occurred while processing the request.
-
ResourceNotFoundException–Request references a resource that doesn't exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm_contacts/_services/async_ssm_contacts.py
1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 | |