UserNotifications / Client / get_paginator
get_paginator#
- UserNotifications.Client.get_paginator(operation_name)#
Create a paginator for an operation.
- Parameters:
operation_name (string) – The operation name. This is the same name as the method name on the client. For example, if the method name is
create_foo
, and you’d normally invoke the operation asclient.create_foo(**kwargs)
, if thecreate_foo
operation can be paginated, you can use the callclient.get_paginator("create_foo")
.- Raises:
OperationNotPageableError – Raised if the operation is not pageable. You can use the
client.can_paginate
method to check if an operation is pageable.- Return type:
botocore.paginate.Paginator
- Returns:
A paginator object.