list_contact_channels
¶
list_contact_channels(
contact_id: SsmContactsArn,
*,
config_overrides: Optional[SSMContactsClientConfig] = 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/ssm_contacts.py
1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 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 | |