Blocks Catalog
Below is a list of Blocks available for registration in
prefect-sns.
To register blocks in this module to view and edit them on Prefect Cloud, first install the required packages, then
prefect block register -m prefect_sns
load method on Blocks, you must already have a block document saved through code or saved through the UI.
[Blocks Module][prefect_sns.blocks]
[SnsBlock][prefect_sns.blocks.SnsBlock]
A block that facilitates interaction with AWS SNS.
To load the SnsBlock:
from prefect import flow
from prefect_sns.blocks import SnsBlock
@flow
def my_flow():
my_block = SnsBlock.load("MY_BLOCK_NAME")
my_flow()