# log

id: cf044298-669a-4e64-b718-7b2367c3e875
created: 2023-03-28 09:19:25.876175
updated: 2023-03-28 09:19:25.876177
name: prefect.flow_runs
flow_run_id: 926579b3-6cf3-4017-9312-0e1cb1447a18
timestamp: 2023-03-28 09:19:25.805332
message:
  Flow could not be retrieved from deployment.
  Traceback (most recent call last):
    File "/usr/local/lib/python3.10/site-packages/fsspec/registry.py", line 211, in get_filesystem_class
      register_implementation(protocol, _import_class(bit["class"]))
    File "/usr/local/lib/python3.10/site-packages/fsspec/registry.py", line 234, in _import_class
      mod = importlib.import_module(mod)
    File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
    File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
    File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
  ModuleNotFoundError: No module named 's3fs'

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "/usr/local/lib/python3.10/site-packages/prefect/filesystems.py", line 403, in filesystem
      self._filesystem = fsspec.filesystem(scheme, **self.settings)
    File "/usr/local/lib/python3.10/site-packages/fsspec/registry.py", line 251, in filesystem
      cls = get_filesystem_class(protocol)
    File "/usr/local/lib/python3.10/site-packages/fsspec/registry.py", line 213, in get_filesystem_class
      raise ImportError(bit["err"]) from e
  ImportError: Install s3fs to access S3

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "/usr/local/lib/python3.10/site-packages/prefect/engine.py", line 277, in retrieve_flow_then_begin_flow_run
      flow = await load_flow_from_flow_run(flow_run, client=client)
    File "/usr/local/lib/python3.10/site-packages/prefect/client/utilities.py", line 40, in with_injected_client
      return await fn(*args, **kwargs)
    File "/usr/local/lib/python3.10/site-packages/prefect/deployments.py", line 194, in load_flow_from_flow_run
      await storage_block.get_directory(from_path=deployment.path, local_path=".")
    File "/usr/local/lib/python3.10/site-packages/prefect/filesystems.py", line 322, in get_directory
      return self.filesystem.get(from_path, local_path, recursive=True)
    File "/usr/local/lib/python3.10/site-packages/prefect/filesystems.py", line 406, in filesystem
      raise RuntimeError(
  RuntimeError: File system created with scheme 's3' from base path 's3://prefect-deployment/test_prefect' could not be created. You are likely missing a Python module required to use the given storage protocol.


id: e4d1b336-f1dc-4935-b1d7-cacd3088dd98
created: 2023-03-28 09:20:12.057103
updated: 2023-03-28 09:20:12.057113
name: prefect.flow_runs
flow_run_id: 9d566e31-7cea-4d60-8d42-bd8a793dc612
timestamp: 2023-03-28 09:20:11.932694
message:
  Flow could not be retrieved from deployment.
  Traceback (most recent call last):
    File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 980, in _wrap_create_connection
      return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa
    File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1076, in create_connection
      raise exceptions[0]
    File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1060, in create_connection
      sock = await self._connect_sock(
    File "/usr/local/lib/python3.10/asyncio/base_events.py", line 969, in _connect_sock
      await self.sock_connect(sock, address)
    File "/usr/local/lib/python3.10/asyncio/selector_events.py", line 501, in sock_connect
      return await fut
    File "/usr/local/lib/python3.10/asyncio/selector_events.py", line 541, in _sock_connect_cb
      raise OSError(err, f'Connect call failed {address}')
  ConnectionRefusedError: [Errno 111] Connect call failed ('127.0.0.1', 9000)

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/httpsession.py", line 208, in send
      response = await self._session.request(
    File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 536, in _request
      conn = await self._connector.connect(
    File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 540, in connect
      proto = await self._create_connection(req, traces, timeout)
    File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 901, in _create_connection
      _, proto = await self._create_direct_connection(req, traces, timeout)
    File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
      raise last_exc
    File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 1175, in _create_direct_connection
      transp, proto = await self._wrap_create_connection(
    File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 988, in _wrap_create_connection
      raise client_error(req.connection_key, exc) from exc
  aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 127.0.0.1:9000 ssl:default [Connect call failed ('127.0.0.1', 9000)]

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/usr/local/lib/python3.10/site-packages/prefect/engine.py", line 277, in retrieve_flow_then_begin_flow_run
      flow = await load_flow_from_flow_run(flow_run, client=client)
    File "/usr/local/lib/python3.10/site-packages/prefect/client/utilities.py", line 40, in with_injected_client
      return await fn(*args, **kwargs)
    File "/usr/local/lib/python3.10/site-packages/prefect/deployments.py", line 194, in load_flow_from_flow_run
      await storage_block.get_directory(from_path=deployment.path, local_path=".")
    File "/usr/local/lib/python3.10/site-packages/prefect/filesystems.py", line 322, in get_directory
      return self.filesystem.get(from_path, local_path, recursive=True)
    File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 114, in wrapper
      return sync(self.loop, func, *args, **kwargs)
    File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 99, in sync
      raise return_result
    File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 54, in _runner
      result[0] = await coro
    File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 531, in _get
      rpaths = await self._expand_path(rpath, recursive=recursive)
    File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 737, in _expand_path
      out = await self._expand_path([path], recursive, maxdepth)
    File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 753, in _expand_path
      rec = set(await self._find(p, maxdepth=maxdepth, withdirs=True))
    File "/usr/local/lib/python3.10/site-packages/s3fs/core.py", line 811, in _find
      out = await self._lsdir(path, delimiter="", prefix=prefix)
    File "/usr/local/lib/python3.10/site-packages/s3fs/core.py", line 692, in _lsdir
      async for c in self._iterdir(
    File "/usr/local/lib/python3.10/site-packages/s3fs/core.py", line 742, in _iterdir
      async for i in it:
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/paginate.py", line 30, in __anext__
      response = await self._make_request(current_kwargs)
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/client.py", line 341, in _make_api_call
      http, parsed_response = await self._make_request(
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/client.py", line 366, in _make_request
      return await self._endpoint.make_request(
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/endpoint.py", line 100, in _send_request
      while await self._needs_retry(
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/endpoint.py", line 262, in _needs_retry
      responses = await self._event_emitter.emit(
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/hooks.py", line 66, in _emit
      response = await resolve_awaitable(handler(**kwargs))
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/_helpers.py", line 15, in resolve_awaitable
      return await obj
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/retryhandler.py", line 107, in _call
      if await resolve_awaitable(self._checker(**checker_kwargs)):
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/_helpers.py", line 15, in resolve_awaitable
      return await obj
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/retryhandler.py", line 126, in _call
      should_retry = await self._should_retry(
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/retryhandler.py", line 165, in _should_retry
      return await resolve_awaitable(
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/_helpers.py", line 15, in resolve_awaitable
      return await obj
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/retryhandler.py", line 174, in _call
      checker(attempt_number, response, caught_exception)
    File "/usr/local/lib/python3.10/site-packages/botocore/retryhandler.py", line 247, in __call__
      return self._check_caught_exception(
    File "/usr/local/lib/python3.10/site-packages/botocore/retryhandler.py", line 416, in _check_caught_exception
      raise caught_exception
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/endpoint.py", line 181, in _do_get_response
      http_response = await self._send(request)
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/endpoint.py", line 285, in _send
      return await self.http_session.send(request)
    File "/usr/local/lib/python3.10/site-packages/aiobotocore/httpsession.py", line 253, in send
      raise EndpointConnectionError(endpoint_url=request.url, error=e)
  botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "http://127.0.0.1:9000/prefect-deployment?list-type=2&prefix=test_prefect%2F&delimiter=&encoding-type=url"


# configuration

id: 2cfe93e5-8b05-480c-9997-cedd415f2e2b
created: 2023-03-28 08:04:48.037027
updated: 2023-03-28 08:04:48.037034
key: TELEMETRY_SESSION
value:
  {"session_id": "94438228-b175-40a5-853e-d3f1c3a4bfae", "session_start_timestamp": "2023-03-28T08:04:48.029625+00:00"}


# block_schema

id: f4613f30-f49a-4c4f-af14-b6cb831675f3
created: 2023-03-28 08:03:21.230723
updated: 2023-03-28 08:03:21.230732
block_type_id: 0099b854-5efc-4107-896d-90adea48f81d
checksum: sha256:0207cea0ff5b9d2b39e52007c3ba1d797f1aca7906fb3bf26dd409abae953a85
capabilities: []
version: 2.8.7
fields:
  {"title": "Webhook", "description": "Block that enables calling webhooks.", "type": "object", "properties": {"method": {"title": "Method", "description": "The webhook request method. Defaults to `POST`.", "default": "POST", "enum": ["GET", "POST", "PUT", "PATCH", "DELETE"], "type": "string"}, "url": {"title": "Webhook URL", "description": "The webhook URL.", "example": "https://hooks.slack.com/XXX", "type": "string", "writeOnly": true, "format": "password"}, "headers": {"title": "Webhook Headers", "description": "A dictionary of headers to send with the webhook request.", "type": "object"}}, "required": ["url"], "block_type_slug": "webhook", "secret_fields": ["url", "headers.*"]}


id: 1ece0e0c-f5c6-4149-a69a-cc846bfdbfe3
created: 2023-03-28 08:03:21.266089
updated: 2023-03-28 08:03:21.266099
block_type_id: 0989b742-0348-423b-acf4-4517b5d4cdc5
checksum: sha256:ef9b76010e0545bd7f2212029460731f66ccfce289affe4b504cbeb702fc8ea3
capabilities: []
version: 2.8.7
fields:
  {"title": "JSON", "description": "A block that represents JSON", "type": "object", "properties": {"value": {"title": "Value", "description": "A JSON-compatible value."}}, "required": ["value"], "block_type_slug": "json", "secret_fields": []}


id: c47fc851-da9e-461d-985e-d4209abb3211
created: 2023-03-28 08:03:21.300360
updated: 2023-03-28 08:03:21.300367
block_type_id: 4444c16e-c962-4e32-8230-6b9c98300439
checksum: sha256:7943c88ca6ab22804082b595b9847d035a1364bdb23474c927317bcab9cb5d9c
capabilities: []
version: 2.8.7
fields:
  {"title": "DateTime", "description": "A block that represents a datetime", "type": "object", "properties": {"value": {"title": "Value", "description": "An ISO 8601-compatible datetime value.", "type": "string", "format": "date-time"}}, "required": ["value"], "block_type_slug": "date-time", "secret_fields": []}


id: 8134c45d-6863-4bc7-9e2f-9984d34162df
created: 2023-03-28 08:03:21.333686
updated: 2023-03-28 08:03:21.333693
block_type_id: 088db7b6-0302-4404-a8c4-752e287ef985
checksum: sha256:e6b26e0a0240eb112e604608338f863e5ca2f137936e310014bfa2139d0a9b6c
capabilities: []
version: 2.8.7
fields:
  {"title": "Secret", "description": "A block that represents a secret value. The value stored in this block will be obfuscated when\nthis block is logged or shown in the UI.", "type": "object", "properties": {"value": {"title": "Value", "description": "A string value that should be kept secret.", "type": "string", "writeOnly": true, "format": "password"}}, "required": ["value"], "block_type_slug": "secret", "secret_fields": ["value"]}


id: 937701ce-efba-4649-bb07-4a3a88a1e43f
created: 2023-03-28 08:03:21.366026
updated: 2023-03-28 08:03:21.366034
block_type_id: 7619a9c7-a40a-4916-8f44-a9cddda85f25
checksum: sha256:6db1ab242e7b2b88a52dc137a7da3a373af63e0a103b9a91e060ed54a26f395a
capabilities: ["put-directory", "get-directory", "read-path", "write-path"]
version: 2.8.7
fields:
  {"title": "LocalFileSystem", "description": "Store data as a file on a local file system.", "type": "object", "properties": {"basepath": {"title": "Basepath", "description": "Default local path for this block to write to.", "type": "string"}}, "block_type_slug": "local-file-system", "secret_fields": []}


id: ac0d9ad0-6f6e-4997-a40c-b3fa9aec66d9
created: 2023-03-28 08:03:21.397696
updated: 2023-03-28 08:03:21.397706
block_type_id: 30fce193-b940-4e91-905c-7569222accbd
checksum: sha256:47c4ac364708f4a6f27fb10b18086ad92c0a53fbbdd9ba07c030467067979f84
capabilities: ["run-infrastructure"]
version: 2.8.7
fields:
  {"title": "Process", "description": "Run a command in a new process.\n\nCurrent environment variables and Prefect settings will be included in the created\nprocess. Configured environment variables will override any current environment\nvariables.", "type": "object", "properties": {"type": {"title": "Type", "description": "The type of infrastructure.", "default": "process", "enum": ["process"], "type": "string"}, "env": {"title": "Environment", "description": "Environment variables to set in the configured infrastructure.", "type": "object", "additionalProperties": {"type": "string"}}, "labels": {"title": "Labels", "description": "Labels applied to the infrastructure for metadata purposes.", "type": "object", "additionalProperties": {"type": "string"}}, "name": {"title": "Name", "description": "Name applied to the infrastructure for identification.", "type": "string"}, "command": {"title": "Command", "description": "The command to run in the infrastructure.", "type": "array", "items": {"type": "string"}}, "stream_output": {"title": "Stream Output", "description": "If set, output will be streamed from the process to local standard output.", "default": true, "type": "boolean"}, "working_dir": {"title": "Working Dir", "description": "If set, the process will open within the specified path as the working directory. Otherwise, a temporary directory will be created.", "anyOf": [{"type": "string"}, {"type": "string", "format": "path"}]}}, "block_type_slug": "process", "secret_fields": []}


id: 2d966ab3-bd01-4247-9666-36448d4b92de
created: 2023-03-28 08:03:21.441529
updated: 2023-03-28 08:03:21.441536
block_type_id: d938b2e0-faba-4362-a88c-f314bd6adecc
checksum: sha256:273dfe712133cba3cdb092d88741da37e33cee892bfcf4fcf2895bdcee49a965
capabilities: ["notify"]
version: 2.8.7
fields:
  {"title": "SlackWebhook", "description": "Enables sending notifications via a provided Slack webhook.", "type": "object", "properties": {"notify_type": {"title": "Notify Type", "description": "The type of notification being performed; the prefect_default is a plain notification that does not attach an image.", "default": "prefect_default", "enum": ["prefect_default", "info", "success", "warning", "failure"], "type": "string"}, "url": {"title": "Webhook URL", "description": "Slack incoming webhook URL used to send notifications.", "example": "https://hooks.slack.com/XXX", "type": "string", "writeOnly": true, "format": "password"}}, "required": ["url"], "block_type_slug": "slack-webhook", "secret_fields": ["url"]}


id: 93419ec2-6fdf-49f2-bcbd-52dc40c76826
created: 2023-03-28 08:03:21.480367
updated: 2023-03-28 08:03:21.480376
block_type_id: afd90687-fdff-44a3-905f-404df74c301c
checksum: sha256:0a5c2b435930bf8553391878475c5b976592526d2f801e8e559c0119aa393032
capabilities: ["notify"]
version: 2.8.7
fields:
  {"title": "MicrosoftTeamsWebhook", "description": "Enables sending notifications via a provided Microsoft Teams webhook.", "type": "object", "properties": {"notify_type": {"title": "Notify Type", "description": "The type of notification being performed; the prefect_default is a plain notification that does not attach an image.", "default": "prefect_default", "enum": ["prefect_default", "info", "success", "warning", "failure"], "type": "string"}, "url": {"title": "Webhook URL", "description": "The Teams incoming webhook URL used to send notifications.", "example": "https://your-org.webhook.office.com/webhookb2/XXX/IncomingWebhook/YYY/ZZZ", "type": "string", "writeOnly": true, "format": "password"}}, "required": ["url"], "block_type_slug": "ms-teams-webhook", "secret_fields": ["url"]}


id: fe01d740-c769-4805-8133-e1d3345c63df
created: 2023-03-28 08:03:21.545669
updated: 2023-03-28 08:03:21.545678
block_type_id: 61bdad17-dbe6-4feb-af91-81016826cb6b
checksum: sha256:4dd2ac9d4e446f3d2717414cf34bd6a62a40f5da4437f99dd61473ac117b1438
capabilities: ["notify"]
version: 2.8.7
fields:
  {"title": "PagerDutyWebHook", "description": "Enables sending notifications via a provided PagerDuty webhook.", "type": "object", "properties": {"notify_type": {"title": "Notify Type", "description": "The severity of the notification.", "default": "info", "enum": ["info", "success", "warning", "failure"], "type": "string"}, "integration_key": {"title": "Integration Key", "description": "This can be found on the Events API V2 integration's detail page, and is also referred to as a Routing Key. This must be provided alongside `api_key`, but will error if provided alongside `url`.", "type": "string", "writeOnly": true, "format": "password"}, "api_key": {"title": "API Key", "description": "This can be found under Integrations. This must be provided alongside `integration_key`, but will error if provided alongside `url`.", "type": "string", "writeOnly": true, "format": "password"}, "source": {"title": "Source", "description": "The source string as part of the payload.", "default": "Prefect", "type": "string"}, "component": {"title": "Component", "description": "The component string as part of the payload.", "default": "Notification", "type": "string"}, "group": {"title": "Group", "description": "The group string as part of the payload.", "type": "string"}, "class_id": {"title": "Class ID", "description": "The class string as part of the payload.", "type": "string"}, "region_name": {"title": "Region Name", "description": "The region name.", "default": "us", "enum": ["us", "eu"], "type": "string"}, "clickable_url": {"title": "Clickable URL", "description": "A clickable URL to associate with the notice.", "minLength": 1, "maxLength": 65536, "format": "uri", "type": "string"}, "include_image": {"title": "Include Image", "description": "Associate the notification status via a represented icon.", "default": true, "type": "boolean"}, "custom_details": {"title": "Custom Details", "description": "Additional details to include as part of the payload.", "example": "{\"disk_space_left\": \"145GB\"}", "type": "object", "additionalProperties": {"type": "string"}}}, "required": ["integration_key", "api_key"], "block_type_slug": "pager-duty-webhook", "secret_fields": ["integration_key", "api_key"]}


id: 65c6d43a-aa70-4c03-8694-722f560c3408
created: 2023-03-28 08:03:21.590747
updated: 2023-03-28 08:03:21.590756
block_type_id: 3ec6c40f-154e-4529-a1a4-bae5dbe5f876
checksum: sha256:46c6934a4ea723f515caf9e7b0f8ce313c5deca4050d31d32adf5abdf1de05c2
capabilities: ["notify"]
version: 2.8.7
fields:
  {"title": "TwilioSMS", "description": "Enables sending notifications via Twilio SMS.", "type": "object", "properties": {"notify_type": {"title": "Notify Type", "description": "The type of notification being performed; the prefect_default is a plain notification that does not attach an image.", "default": "prefect_default", "enum": ["prefect_default", "info", "success", "warning", "failure"], "type": "string"}, "account_sid": {"title": "Account Sid", "description": "The Twilio Account SID - it can be found on the homepage of the Twilio console.", "type": "string"}, "auth_token": {"title": "Auth Token", "description": "The Twilio Authentication Token - it can be found on the homepage of the Twilio console.", "type": "string", "writeOnly": true, "format": "password"}, "from_phone_number": {"title": "From Phone Number", "description": "The valid Twilio phone number to send the message from.", "example": "18001234567", "type": "string"}, "to_phone_numbers": {"title": "To Phone Numbers", "description": "A list of valid Twilio phone number(s) to send the message to.", "example": "18004242424", "type": "array", "items": {"type": "string"}}}, "required": ["account_sid", "auth_token", "from_phone_number", "to_phone_numbers"], "block_type_slug": "twilio-sms", "secret_fields": ["auth_token"]}


id: 459fd3e6-4d03-42ed-89fa-989621f97c73
created: 2023-03-28 08:03:21.632261
updated: 2023-03-28 08:03:21.632269
block_type_id: f1675517-d627-4903-8043-97555cbb90de
checksum: sha256:df4b3a253e6c2d2a0e6ef4831e7bd77ee920a75201f9c132a5516b42fcd80112
capabilities: ["notify"]
version: 2.8.7
fields:
  {"title": "OpsgenieWebhook", "description": "Enables sending notifications via a provided Opsgenie webhook.", "type": "object", "properties": {"notify_type": {"title": "Notify Type", "description": "The type of notification being performed; the prefect_default is a plain notification that does not attach an image.", "default": "prefect_default", "enum": ["prefect_default", "info", "success", "warning", "failure"], "type": "string"}, "apikey": {"title": "API Key", "description": "The API Key associated with your Opsgenie account.", "type": "string", "writeOnly": true, "format": "password"}, "target_user": {"title": "Target User", "description": "The user(s) you wish to notify.", "type": "array", "items": {}}, "target_team": {"title": "Target Team", "description": "The team(s) you wish to notify.", "type": "array", "items": {}}, "target_schedule": {"title": "Target Schedule", "description": "The schedule(s) you wish to notify.", "type": "array", "items": {}}, "target_escalation": {"title": "Target Escalation", "description": "The escalation(s) you wish to notify.", "type": "array", "items": {}}, "region_name": {"title": "Region Name", "description": "The 2-character region code.", "default": "us", "enum": ["us", "eu"], "type": "string"}, "batch": {"title": "Batch", "description": "Notify all targets in batches (instead of individually).", "default": false, "type": "boolean"}, "tags": {"title": "Tags", "description": "A comma-separated list of tags you can associate with your Opsgenie message.", "example": "[\"tag1\", \"tag2\"]", "type": "array", "items": {}}, "priority": {"title": "Priority", "description": "The priority to associate with the message. It is on a scale between 1 (LOW) and 5 (EMERGENCY).", "default": 3, "type": "string"}, "alias": {"title": "Alias", "description": "The alias to associate with the message.", "type": "string"}, "entity": {"title": "Entity", "description": "The entity to associate with the message.", "type": "string"}, "details": {"title": "Details", "description": "Additional details composed of key/values pairs.", "example": "{\"key1\": \"value1\", \"key2\": \"value2\"}", "type": "object", "additionalProperties": {"type": "string"}}}, "required": ["apikey"], "block_type_slug": "opsgenie-webhook", "secret_fields": ["apikey"]}


id: a3e04abe-31b5-47c8-9222-dee94ffa6496
created: 2023-03-28 08:03:21.669022
updated: 2023-03-28 08:03:21.669029
block_type_id: 08fe314a-cba0-4e0e-a2dc-8844eb65900d
checksum: sha256:26d8cbaab33eb653eca72e8c403405d738ed3f1095aba4b64d06c6426253d6cb
capabilities: ["notify"]
version: 2.8.7
fields:
  {"title": "MattermostWebhook", "description": "Enables sending notifications via a provided Mattermost webhook.", "type": "object", "properties": {"notify_type": {"title": "Notify Type", "description": "The type of notification being performed; the prefect_default is a plain notification that does not attach an image.", "default": "prefect_default", "enum": ["prefect_default", "info", "success", "warning", "failure"], "type": "string"}, "hostname": {"title": "Hostname", "description": "The hostname of your Mattermost server.", "example": "Mattermost.example.com", "type": "string"}, "token": {"title": "Token", "description": "The token associated with your Mattermost webhook.", "type": "string", "writeOnly": true, "format": "password"}, "botname": {"title": "Bot name", "description": "The name of the bot that will send the message.", "type": "string"}, "channels": {"title": "Channels", "description": "The channel(s) you wish to notify.", "type": "array", "items": {"type": "string"}}, "include_image": {"title": "Include Image", "description": "Whether to include the Apprise status image in the message.", "default": false, "type": "boolean"}, "path": {"title": "Path", "description": "An optional sub-path specification to append to the hostname.", "type": "string"}, "port": {"title": "Port", "description": "The port of your Mattermost server.", "default": 8065, "type": "integer"}}, "required": ["hostname", "token"], "block_type_slug": "mattermost-webhook", "secret_fields": ["token"]}


id: 334ffeeb-53dd-45fd-9ba5-d004cb5dc4c1
created: 2023-03-28 08:03:21.732600
updated: 2023-03-28 08:03:21.732609
block_type_id: e390ca1e-ae01-4c8e-900c-29219f3dc868
checksum: sha256:e9f3f43e55b73bc94ee2a355f1e4ef7064645268cba22571c2a95d90a2af8dd0
capabilities: []
version: 2.8.7
fields:
  {"title": "String", "description": "A block that represents a string", "type": "object", "properties": {"value": {"title": "Value", "description": "A string value.", "type": "string"}}, "required": ["value"], "block_type_slug": "string", "secret_fields": []}


id: 6f497094-36e2-44ad-b499-5ab952900787
created: 2023-03-28 08:03:21.890125
updated: 2023-03-28 08:03:21.890133
block_type_id: 8e2f1ccd-4e41-434c-8314-39d97400ce56
checksum: sha256:f6998c8723a78207471938f5f74d6d4815ff14c2900caf8e9c3b3ece47bfeb40
capabilities: ["put-directory", "get-directory", "read-path", "write-path"]
version: 2.8.7
fields:
  {"title": "RemoteFileSystem", "description": "Store data as a file on a remote file system.\n\nSupports any remote file system supported by `fsspec`. The file system is specified\nusing a protocol. For example, \"s3://my-bucket/my-folder/\" will use S3.", "type": "object", "properties": {"basepath": {"title": "Basepath", "description": "Default path for this block to write to.", "example": "s3://my-bucket/my-folder/", "type": "string"}, "settings": {"title": "Settings", "description": "Additional settings to pass through to fsspec.", "type": "object"}}, "required": ["basepath"], "block_type_slug": "remote-file-system", "secret_fields": []}


id: 75a0d581-8723-48a6-824c-d642569196fa
created: 2023-03-28 08:03:21.928981
updated: 2023-03-28 08:03:21.928988
block_type_id: c6af5982-4fcf-416a-bb0d-b80b01068672
checksum: sha256:77690b4ef54ef3edc93fca6ac54bc540a32ca07169e91aecd36e49b2e1eeebc5
capabilities: ["put-directory", "get-directory", "read-path", "write-path"]
version: 2.8.7
fields:
  {"title": "S3", "description": "Store data as a file on AWS S3.", "type": "object", "properties": {"bucket_path": {"title": "Bucket Path", "description": "An S3 bucket path.", "example": "my-bucket/a-directory-within", "type": "string"}, "aws_access_key_id": {"title": "AWS Access Key ID", "description": "Equivalent to the AWS_ACCESS_KEY_ID environment variable.", "example": "AKIAIOSFODNN7EXAMPLE", "type": "string", "writeOnly": true, "format": "password"}, "aws_secret_access_key": {"title": "AWS Secret Access Key", "description": "Equivalent to the AWS_SECRET_ACCESS_KEY environment variable.", "example": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY", "type": "string", "writeOnly": true, "format": "password"}}, "required": ["bucket_path"], "block_type_slug": "s3", "secret_fields": ["aws_access_key_id", "aws_secret_access_key"]}


id: 4b74f23b-f7d5-43b2-b967-b21aa5f6f5e8
created: 2023-03-28 08:03:21.965348
updated: 2023-03-28 08:03:21.965356
block_type_id: 6ff479e0-324f-4d19-8904-a1b483fa242c
checksum: sha256:1daf535b60cf9304103bcb4015280a30fd6bdd9686aa0c059eb9715082b5b3ec
capabilities: ["put-directory", "get-directory", "read-path", "write-path"]
version: 2.8.7
fields:
  {"title": "GCS", "description": "Store data as a file on Google Cloud Storage.", "type": "object", "properties": {"bucket_path": {"title": "Bucket Path", "description": "A GCS bucket path.", "example": "my-bucket/a-directory-within", "type": "string"}, "service_account_info": {"title": "Service Account Info", "description": "The contents of a service account keyfile as a JSON string.", "type": "string", "writeOnly": true, "format": "password"}, "project": {"title": "Project", "description": "The project the GCS bucket resides in. If not provided, the project will be inferred from the credentials or environment.", "type": "string"}}, "required": ["bucket_path"], "block_type_slug": "gcs", "secret_fields": ["service_account_info"]}


id: aed7dcd5-9927-49cb-92c1-9996d52c816c
created: 2023-03-28 08:03:22.004203
updated: 2023-03-28 08:03:22.004216
block_type_id: cde4d6b5-1228-4aa5-8928-c8af6ece8215
checksum: sha256:d7b8e34b219812de879cee283580c94480178a578d6c7b0715cd18a551c335fa
capabilities: ["put-directory", "get-directory", "read-path", "write-path"]
version: 2.8.7
fields:
  {"title": "Azure", "description": "Store data as a file on Azure Datalake and Azure Blob Storage.", "type": "object", "properties": {"bucket_path": {"title": "Bucket Path", "description": "An Azure storage bucket path.", "example": "my-bucket/a-directory-within", "type": "string"}, "azure_storage_connection_string": {"title": "Azure storage connection string", "description": "Equivalent to the AZURE_STORAGE_CONNECTION_STRING environment variable.", "type": "string", "writeOnly": true, "format": "password"}, "azure_storage_account_name": {"title": "Azure storage account name", "description": "Equivalent to the AZURE_STORAGE_ACCOUNT_NAME environment variable.", "type": "string", "writeOnly": true, "format": "password"}, "azure_storage_account_key": {"title": "Azure storage account key", "description": "Equivalent to the AZURE_STORAGE_ACCOUNT_KEY environment variable.", "type": "string", "writeOnly": true, "format": "password"}, "azure_storage_tenant_id": {"title": "Azure storage tenant ID", "description": "Equivalent to the AZURE_TENANT_ID environment variable.", "type": "string", "writeOnly": true, "format": "password"}, "azure_storage_client_id": {"title": "Azure storage client ID", "description": "Equivalent to the AZURE_CLIENT_ID environment variable.", "type": "string", "writeOnly": true, "format": "password"}, "azure_storage_client_secret": {"title": "Azure storage client secret", "description": "Equivalent to the AZURE_CLIENT_SECRET environment variable.", "type": "string", "writeOnly": true, "format": "password"}, "azure_storage_anon": {"title": "Azure storage anonymous connection", "description": "Set the 'anon' flag for ADLFS. This should be False for systems that require ADLFS to use DefaultAzureCredentials.", "default": true, "type": "boolean"}}, "required": ["bucket_path"], "block_type_slug": "azure", "secret_fields": ["azure_storage_connection_string", "azure_storage_account_name", "azure_storage_account_key", "azure_storage_tenant_id", "azure_storage_client_id", "azure_storage_client_secret"]}


id: 111f1783-42be-4c85-a7e2-decf6802bf67
created: 2023-03-28 08:03:22.046558
updated: 2023-03-28 08:03:22.046565
block_type_id: 93f5dda1-635f-4fc7-a85c-7f08a3eac9b0
checksum: sha256:d5746a564cf05bec13770a882f76ca8e8f562c8bdc7a6d2d45732b079bf72045
capabilities: ["put-directory", "get-directory", "read-path", "write-path"]
version: 2.8.7
fields:
  {"title": "SMB", "description": "Store data as a file on a SMB share.", "type": "object", "properties": {"share_path": {"title": "Share Path", "description": "SMB target (requires <SHARE>, followed by <PATH>).", "example": "/SHARE/dir/subdir", "type": "string"}, "smb_username": {"title": "SMB Username", "description": "Username with access to the target SMB SHARE.", "type": "string", "writeOnly": true, "format": "password"}, "smb_password": {"title": "SMB Password", "description": "Password for SMB access.", "type": "string", "writeOnly": true, "format": "password"}, "smb_host": {"title": "Smb Host", "description": "SMB server/hostname.", "tile": "SMB server/hostname", "type": "string"}, "smb_port": {"title": "SMB port", "description": "SMB port (default: 445).", "type": "integer"}}, "required": ["share_path", "smb_host"], "block_type_slug": "smb", "secret_fields": ["smb_username", "smb_password"]}


id: 5545772b-e9ee-49e1-878a-7be9ee933f42
created: 2023-03-28 08:03:22.082576
updated: 2023-03-28 08:03:22.082583
block_type_id: 70817eb9-ff7f-41b3-a1a1-b098c775a2af
checksum: sha256:91675c8041736a4086eee462cad180ef2032b2edadcfda032f7a51e80dcbcca6
capabilities: ["get-directory"]
version: 2.8.7
fields:
  {"title": "GitHub", "description": "Interact with files stored on GitHub repositories.", "type": "object", "properties": {"repository": {"title": "Repository", "description": "The URL of a GitHub repository to read from, in either HTTPS or SSH format.", "type": "string"}, "reference": {"title": "Reference", "description": "An optional reference to pin to; can be a branch name or tag.", "type": "string"}, "access_token": {"title": "Access Token", "description": "A GitHub Personal Access Token (PAT) with repo scope.", "name": "Personal Access Token", "type": "string", "writeOnly": true, "format": "password"}, "include_git_objects": {"title": "Include Git Objects", "description": "Whether to include git objects when copying the repo contents to a directory.", "default": true, "type": "boolean"}}, "required": ["repository"], "block_type_slug": "github", "secret_fields": ["access_token"]}


id: df5b6dc9-3efe-4bae-9ca5-56d4a9f13c8a
created: 2023-03-28 08:03:22.120429
updated: 2023-03-28 08:03:22.120440
block_type_id: 73690e0a-68ee-45ab-b84f-215c361c673a
checksum: sha256:6db1457676eee0b54ca2834b06f80a80f7c90112e64f1bdd26afb2e62fcceed9
capabilities: ["docker-login"]
version: 2.8.7
fields:
  {"title": "DockerRegistry", "description": "Connects to a Docker registry.\n\nRequires a Docker Engine to be connectable.", "type": "object", "properties": {"username": {"title": "Username", "description": "The username to log into the registry with.", "type": "string"}, "password": {"title": "Password", "description": "The password to log into the registry with.", "type": "string", "writeOnly": true, "format": "password"}, "registry_url": {"title": "Registry Url", "description": "The URL to the registry. Generally, \"http\" or \"https\" can be omitted.", "type": "string"}, "reauth": {"title": "Reauth", "description": "Whether or not to reauthenticate on each interaction.", "default": true, "type": "boolean"}}, "required": ["username", "password", "registry_url"], "block_type_slug": "docker-registry", "secret_fields": ["password"]}


id: 29dc9a08-8e5e-4623-81c6-21bf05c424db
created: 2023-03-28 08:03:22.156970
updated: 2023-03-28 08:03:22.156978
block_type_id: 65f2aaeb-0236-40c3-b1a3-d91602306014
checksum: sha256:78f682fc53eeb9a7c4917f621b9afccc039842c432701f07abaef3ba5f1ff752
capabilities: ["run-infrastructure"]
version: 2.8.7
fields:
  {"title": "DockerContainer", "description": "Runs a command in a container.\n\nRequires a Docker Engine to be connectable. Docker settings will be retrieved from\nthe environment.\n\nClick [here](https://docs.prefect.io/tutorials/docker/) to see a tutorial.", "type": "object", "properties": {"type": {"title": "Type", "description": "The type of infrastructure.", "default": "docker-container", "enum": ["docker-container"], "type": "string"}, "env": {"title": "Environment", "description": "Environment variables to set in the configured infrastructure.", "type": "object", "additionalProperties": {"type": "string"}}, "labels": {"title": "Labels", "description": "Labels applied to the infrastructure for metadata purposes.", "type": "object", "additionalProperties": {"type": "string"}}, "name": {"title": "Name", "description": "Name applied to the infrastructure for identification.", "type": "string"}, "command": {"title": "Command", "description": "The command to run in the infrastructure.", "type": "array", "items": {"type": "string"}}, "image": {"title": "Image", "description": "Tag of a Docker image to use. Defaults to the Prefect image.", "type": "string"}, "image_pull_policy": {"description": "Specifies if the image should be pulled.", "allOf": [{"$ref": "#/definitions/ImagePullPolicy"}]}, "image_registry": {"$ref": "#/definitions/DockerRegistry"}, "networks": {"title": "Networks", "description": "A list of strings specifying Docker networks to connect the container to.", "type": "array", "items": {"type": "string"}}, "network_mode": {"title": "Network Mode", "description": "The network mode for the created container (e.g. host, bridge). If 'networks' is set, this cannot be set.", "type": "string"}, "auto_remove": {"title": "Auto Remove", "description": "If set, the container will be removed on completion.", "default": false, "type": "boolean"}, "volumes": {"title": "Volumes", "description": "A list of volume mount strings in the format of \"local_path:container_path\".", "type": "array", "items": {"type": "string"}}, "stream_output": {"title": "Stream Output", "description": "If set, the output will be streamed from the container to local standard output.", "default": true, "type": "boolean"}, "memswap_limit": {"title": "Memswap Limit", "description": "Total memory (memory + swap), -1 to disable swap. Should only be set if `mem_limit` is also set. If `mem_limit` is set, this defaults toallowing the container to use as much swap as memory. For example, if `mem_limit` is 300m and `memswap_limit` is not set, the container can use 600m in total of memory and swap.", "anyOf": [{"type": "integer"}, {"type": "string"}]}, "mem_limit": {"title": "Mem Limit", "description": "Memory limit of the created container. Accepts float values to enforce a limit in bytes or a string with a unit e.g. 100000b, 1000k, 128m, 1g. If a string is given without a unit, bytes are assumed.", "anyOf": [{"type": "number"}, {"type": "string"}]}, "privileged": {"title": "Privileged", "description": "Give extended privileges to this container.", "default": false, "type": "boolean"}}, "block_type_slug": "docker-container", "secret_fields": ["image_registry.password"], "definitions": {"ImagePullPolicy": {"title": "ImagePullPolicy", "description": "An enumeration.", "enum": ["IF_NOT_PRESENT", "ALWAYS", "NEVER"], "type": "string"}}}


id: e02fe9f0-b608-4fdf-bc87-c2f116f87020
created: 2023-03-28 08:03:22.205738
updated: 2023-03-28 08:03:22.205747
block_type_id: a260451f-c581-4d32-8ae3-f1b3a785fcb5
checksum: sha256:90d421e948bfbe4cdc98b124995f0edd0f84b0837549ad1390423bad8e31cf3b
capabilities: []
version: 2.8.7
fields:
  {"title": "KubernetesClusterConfig", "description": "Stores configuration for interaction with Kubernetes clusters.\n\nSee `from_file` for creation.", "type": "object", "properties": {"config": {"title": "Config", "description": "The entire contents of a kubectl config file.", "type": "object"}, "context_name": {"title": "Context Name", "description": "The name of the kubectl context to use.", "type": "string"}}, "required": ["config", "context_name"], "block_type_slug": "kubernetes-cluster-config", "secret_fields": []}


id: 8f49a68e-e3ed-41b0-a383-baa88ddc95f4
created: 2023-03-28 08:03:22.242889
updated: 2023-03-28 08:03:22.242896
block_type_id: 0d63ddc5-d3b3-4fe0-ba4c-c3b7731d78a9
checksum: sha256:d366f15d529c230ee8bfa36c165bc659243a0452ca220b5e68d3dec2b3c4f533
capabilities: ["run-infrastructure"]
version: 2.8.7
fields:
  {"title": "KubernetesJob", "description": "Runs a command as a Kubernetes Job.\n\nFor a guided tutorial, see [How to use Kubernetes with Prefect](https://medium.com/the-prefect-blog/how-to-use-kubernetes-with-prefect-419b2e8b8cb2/).\nFor more information, including examples for customizing the resulting manifest, see [`KubernetesJob` infrastructure concepts](https://docs.prefect.io/concepts/infrastructure/#kubernetesjob).", "type": "object", "properties": {"type": {"title": "Type", "description": "The type of infrastructure.", "default": "kubernetes-job", "enum": ["kubernetes-job"], "type": "string"}, "env": {"title": "Environment", "description": "Environment variables to set in the configured infrastructure.", "type": "object", "additionalProperties": {"type": "string"}}, "labels": {"title": "Labels", "description": "Labels applied to the infrastructure for metadata purposes.", "type": "object", "additionalProperties": {"type": "string"}}, "name": {"title": "Name", "description": "Name applied to the infrastructure for identification.", "type": "string"}, "command": {"title": "Command", "description": "The command to run in the infrastructure.", "type": "array", "items": {"type": "string"}}, "image": {"title": "Image", "description": "The image reference of a container image to use for the job, for example, `docker.io/prefecthq/prefect:2-latest`.The behavior is as described in the Kubernetes documentation and uses the latest version of Prefect by default, unless an image is already present in a provided job manifest.", "type": "string"}, "namespace": {"title": "Namespace", "description": "The Kubernetes namespace to use for this job. Defaults to 'default' unless a namespace is already present in a provided job manifest.", "type": "string"}, "service_account_name": {"title": "Service Account Name", "description": "The Kubernetes service account to use for this job.", "type": "string"}, "image_pull_policy": {"description": "The Kubernetes image pull policy to use for job containers.", "allOf": [{"$ref": "#/definitions/KubernetesImagePullPolicy"}]}, "cluster_config": {"title": "Cluster Config", "description": "The Kubernetes cluster config to use for this job.", "allOf": [{"$ref": "#/definitions/KubernetesClusterConfig"}]}, "job": {"title": "Base Job Manifest", "description": "The base manifest for the Kubernetes Job.", "type": "object"}, "customizations": {"title": "Customizations", "description": "A list of JSON 6902 patches to apply to the base Job manifest.", "type": "array", "format": "rfc6902", "items": {"type": "object", "additionalProperties": {"type": "string"}}}, "job_watch_timeout_seconds": {"title": "Job Watch Timeout Seconds", "description": "Number of seconds to wait for each event emitted by the job before timing out. Defaults to `None`, which means no timeout will be enforced while waiting for each event in the job lifecycle.", "type": "integer"}, "pod_watch_timeout_seconds": {"title": "Pod Watch Timeout Seconds", "description": "Number of seconds to watch for pod creation before timing out.", "default": 60, "type": "integer"}, "stream_output": {"title": "Stream Output", "description": "If set, output will be streamed from the job to local standard output.", "default": true, "type": "boolean"}, "finished_job_ttl": {"title": "Finished Job Ttl", "description": "The number of seconds to retain jobs after completion. If set, finished jobs will be cleaned up by Kubernetes after the given delay. If None (default), jobs will need to be manually removed.", "type": "integer"}}, "block_type_slug": "kubernetes-job", "secret_fields": [], "definitions": {"KubernetesImagePullPolicy": {"title": "KubernetesImagePullPolicy", "description": "An enumeration.", "enum": ["IfNotPresent", "Always", "Never"]}}}


id: 2f27e162-0f11-4800-af1c-f8b7bf20faf5
created: 2023-03-28 08:03:22.315697
updated: 2023-03-28 08:03:22.315705
block_type_id: 19749d57-6317-498d-ad6c-ddaa20620547
checksum: sha256:608ea04bddf6b0dbb7b72acf58cec796b50cbdb41cb44872202055315b818083
capabilities: []
version: 0.1.7
fields:
  {"title": "AwsCredentials", "description": "Block used to manage authentication with AWS. AWS authentication is\nhandled via the `boto3` module. Refer to the\n[boto3 docs](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html)\nfor more info about the possible credential configurations.", "type": "object", "properties": {"aws_access_key_id": {"title": "Aws Access Key Id", "description": "A specific AWS access key ID.", "type": "string"}, "aws_secret_access_key": {"title": "Aws Secret Access Key", "description": "A specific AWS secret access key.", "type": "string", "writeOnly": true, "format": "password"}, "aws_session_token": {"title": "Aws Session Token", "description": "The session key for your AWS account. This is only needed when you are using temporary credentials.", "type": "string"}, "profile_name": {"title": "Profile Name", "description": "The profile to use when creating your session.", "type": "string"}, "region_name": {"title": "Region Name", "description": "The AWS Region where you want to create new connections.", "type": "string"}}, "block_type_slug": "aws-credentials", "secret_fields": ["aws_secret_access_key"]}


id: eca7b3ad-b9bd-4ae7-8a45-23c94c40f538
created: 2023-03-28 08:03:22.351456
updated: 2023-03-28 08:03:22.351464
block_type_id: aef7b0f4-f74d-43d3-86f5-00836793825e
checksum: sha256:96937dc8f6bd314a1cbeae7623159848872249e742b3bac8d7af39da4e2dfe79
capabilities: ["run-infrastructure"]
version: 0.1.7
fields:
  {"title": "ECSTask", "description": "Run a command as an ECS task.", "type": "object", "properties": {"type": {"title": "Type", "description": "The slug for this task type.", "default": "ecs-task", "enum": ["ecs-task"], "type": "string"}, "env": {"title": "Environment Variables", "description": "Environment variables to provide to the task run. These variables are set on the Prefect container at task runtime. These will not be set on the task definition.", "type": "object", "additionalProperties": {"type": "string"}}, "labels": {"title": "Labels", "description": "Labels applied to the infrastructure for metadata purposes.", "type": "object", "additionalProperties": {"type": "string"}}, "name": {"title": "Name", "description": "Name applied to the infrastructure for identification.", "type": "string"}, "command": {"title": "Command", "description": "The command to run in the infrastructure.", "type": "array", "items": {"type": "string"}}, "aws_credentials": {"title": "AWS Credentials", "description": "The AWS credentials to use to connect to ECS.", "allOf": [{"$ref": "#/definitions/AwsCredentials"}]}, "task_definition_arn": {"title": "Task Definition Arn", "description": "An identifier for an existing task definition to use. If fields are set on the `ECSTask` that conflict with the task definition, a new copy will be registered with the required values. Cannot be used with `task_definition`. If not provided, Prefect will generate and register a minimal task definition.", "type": "string"}, "task_definition": {"title": "Task Definition", "description": "An ECS task definition to use. Prefect may set defaults or override fields on this task definition to match other `ECSTask` fields. Cannot be used with `task_definition_arn`. If not provided, Prefect will generate and register a minimal task definition.", "type": "object"}, "image": {"title": "Image", "description": "The image to use for the Prefect container in the task. If this value is not null, it will override the value in the task definition. This value defaults to a Prefect base image matching your local versions.", "type": "string"}, "auto_deregister_task_definition": {"title": "Auto Deregister Task Definition", "description": "If set, any task definitions that are created by this block will be deregistered. Existing task definitions linked by ARN will never be deregistered. Deregistering a task definition does not remove it from your AWS account, instead it will be marked as INACTIVE.", "default": true, "type": "boolean"}, "cpu": {"title": "CPU", "description": "The amount of CPU to provide to the ECS task. Valid amounts are specified in the AWS documentation. If not provided, a default value of 1024 will be used unless present on the task definition.", "type": "integer"}, "memory": {"title": "Memory", "description": "The amount of memory to provide to the ECS task. Valid amounts are specified in the AWS documentation. If not provided, a default value of 2048 will be used unless present on the task definition.", "type": "integer"}, "execution_role_arn": {"title": "Execution Role ARN", "description": "An execution role to use for the task. This controls the permissions of the task when it is launching. If this value is not null, it will override the value in the task definition. An execution role must be provided to capture logs from the container.", "type": "string"}, "configure_cloudwatch_logs": {"title": "Configure Cloudwatch Logs", "description": "If `True`, the Prefect container will be configured to send its output to the AWS CloudWatch logs service. This functionality requires an execution role with logs:CreateLogStream, logs:CreateLogGroup, and logs:PutLogEvents permissions. The default for this field is `False` unless `stream_output` is set. ", "type": "boolean"}, "cloudwatch_logs_options": {"title": "Cloudwatch Logs Options", "description": "When `configure_cloudwatch_logs` is enabled, this setting may be used to pass additional options to the CloudWatch logs configuration or override the default options. See the AWS documentation for available options. https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html#create_awslogs_logdriver_options", "type": "object", "additionalProperties": {"type": "string"}}, "stream_output": {"title": "Stream Output", "description": "If `True`, logs will be streamed from the Prefect container to the local console. Unless you have configured AWS CloudWatch logs manually on your task definition, this requires the same prerequisites outlined in `configure_cloudwatch_logs`.", "type": "boolean"}, "launch_type": {"title": "Launch Type", "description": "The type of ECS task run infrastructure that should be used. Note that 'FARGATE_SPOT' is not a formal ECS launch type, but we will configure the proper capacity provider stategy if set here.", "default": "FARGATE", "enum": ["FARGATE", "EC2", "EXTERNAL", "FARGATE_SPOT"], "type": "string"}, "vpc_id": {"title": "VPC ID", "description": "The AWS VPC to link the task run to. This is only applicable when using the 'awsvpc' network mode for your task. FARGATE tasks require this network  mode, but for EC2 tasks the default network mode is 'bridge'. If using the 'awsvpc' network mode and this field is null, your default VPC will be used. If no default VPC can be found, the task run will fail.", "type": "string"}, "cluster": {"title": "Cluster", "description": "The ECS cluster to run the task in. The ARN or name may be provided. If not provided, the default cluster will be used.", "type": "string"}, "task_role_arn": {"title": "Task Role ARN", "description": "A role to attach to the task run. This controls the permissions of the task while it is running.", "type": "string"}, "task_customizations": {"title": "Task Customizations", "description": "A list of JSON 6902 patches to apply to the task run request.", "type": "array", "format": "rfc6902", "items": {"type": "object", "additionalProperties": {"type": "string"}}}, "task_start_timeout_seconds": {"title": "Task Start Timeout Seconds", "description": "The amount of time to watch for the start of the ECS task before marking it as failed. The task must enter a RUNNING state to be considered started.", "default": 120, "type": "integer"}, "task_watch_poll_interval": {"title": "Task Watch Poll Interval", "description": "The amount of time to wait between AWS API calls while monitoring the state of an ECS task.", "default": 5.0, "type": "number"}}, "block_type_slug": "ecs-task", "secret_fields": ["aws_credentials.aws_secret_access_key"]}


id: 438167ac-3f83-4f35-9adb-b498cbf84806
created: 2023-03-28 08:03:22.397262
updated: 2023-03-28 08:03:22.397270
block_type_id: 180740bc-ce03-44ff-be6c-63c761e92b1d
checksum: sha256:631f7e4fca91d0a55e700aaca79c692fb9bfae2d535d7ff833cfd9544872c1bc
capabilities: []
version: 0.2.2
fields:
  {"title": "AzureBlobStorageCredentials", "description": "Block used to manage Blob Storage authentication with Azure.\nAzure authentication is handled via the `azure` module through\na connection string.", "type": "object", "properties": {"connection_string": {"title": "Connection String", "type": "string", "writeOnly": true, "format": "password"}}, "required": ["connection_string"], "block_type_slug": "azure-blob-storage-credentials", "secret_fields": ["connection_string"]}


id: b9d19d1a-85f3-457e-a5df-85905e4c10aa
created: 2023-03-28 08:03:22.434605
updated: 2023-03-28 08:03:22.434613
block_type_id: a5adb5b0-5157-4b1d-8a15-ebdd6a8ad6ab
checksum: sha256:80ebd55992587b783c177dfdc292dc8e90c4af82d94c2f4b51e7a78385b913d3
capabilities: []
version: 0.2.2
fields:
  {"title": "AzureContainerInstanceCredentials", "description": "Block used to manage Azure Container Instances authentication. Stores Azure Service\nPrincipal authentication data.", "type": "object", "properties": {"client_id": {"title": "Client ID", "description": "The service principal client ID.", "default": "...", "type": "string"}, "tenant_id": {"title": "Tenant ID", "description": "The service principal tenant ID.", "type": "string"}, "client_secret": {"title": "Client Secret", "description": "The service principal client secret.", "type": "string", "writeOnly": true, "format": "password"}}, "required": ["tenant_id", "client_secret"], "block_type_slug": "azure-container-instance-credentials", "secret_fields": ["client_secret"]}


id: 831bc0bf-294b-415c-9308-84c714d3d9ce
created: 2023-03-28 08:03:22.474407
updated: 2023-03-28 08:03:22.474415
block_type_id: be6de0e3-1c1d-4b9a-8e3b-cd421feb7eb9
checksum: sha256:224b0f8bdfbe99d1797485382306a1b469d58c9b38512e4e0cbe8097bd5cf6e8
capabilities: ["run-infrastructure"]
version: 0.2.2
fields:
  {"title": "AzureContainerInstanceJob", "description": "Run tasks using Azure Container Instances. Note this block is experimental. The interface may change without notice.", "type": "object", "properties": {"type": {"title": "Type", "description": "The slug for this task type.", "default": "container-instance-job", "enum": ["container-instance-job"], "type": "string"}, "env": {"title": "Environment Variables", "description": "Environment variables to provide to the task run. These variables are set on the Prefect container at task runtime. These will not be set on the task definition.", "type": "object", "additionalProperties": {"type": "string"}}, "labels": {"title": "Labels", "description": "Labels applied to the infrastructure for metadata purposes.", "type": "object", "additionalProperties": {"type": "string"}}, "name": {"title": "Name", "description": "Name applied to the infrastructure for identification.", "type": "string"}, "command": {"title": "Command", "description": "The command to run in the infrastructure.", "type": "array", "items": {"type": "string"}}, "aci_credentials": {"$ref": "#/definitions/AzureContainerInstanceCredentials"}, "resource_group_name": {"title": "Azure Resource Group Name", "description": "The name of the Azure Resource Group in which to run Prefect ACI tasks.", "type": "string"}, "subscription_id": {"title": "Azure Subscription ID", "description": "The ID of the Azure subscription to create containers under.", "type": "string", "writeOnly": true, "format": "password"}, "image": {"title": "Image", "description": "The image to use for the Prefect container in the task. This value defaults to a Prefect base image matching your local versions.", "type": "string"}, "entrypoint": {"title": "Entrypoint", "description": "The entrypoint of the container you wish you run. This value defaults to the entrypoint used by Prefect images and should only be changed when using a custom image that is not based on an official Prefect image. Any commands set on deployments will be passed to the entrypoint as parameters.", "default": "/opt/prefect/entrypoint.sh", "type": "string"}, "image_registry": {"$ref": "#/definitions/DockerRegistry"}, "cpu": {"title": "CPU", "description": "The number of virtual CPUs to assign to the task container. If not provided, a default value of 1.0 will be used.", "default": 1.0, "type": "number"}, "gpu_count": {"title": "GPU Count", "description": "The number of GPUs to assign to the task container. If not provided, no GPU will be used.", "type": "integer"}, "gpu_sku": {"title": "GPU SKU", "description": "The Azure GPU SKU to use. See the ACI documentation for a list of GPU SKUs available in each Azure region.", "type": "string"}, "memory": {"title": "Memory", "description": "The amount of memory in gigabytes to provide to the ACI task. Valid amounts are specified in the Azure documentation. If not provided, a default value of  1.0 will be used unless present on the task definition.", "default": 1.0, "type": "number"}, "subnet_ids": {"title": "Subnet IDs", "description": "A list of Azure subnet IDs the container should be connected to.", "type": "array", "items": {"type": "string"}}, "stream_output": {"title": "Stream Output", "description": "If `True`, logs will be streamed from the Prefect container to the local console.", "type": "boolean"}, "task_start_timeout_seconds": {"title": "Task Start Timeout Seconds", "description": "The amount of time to watch for the start of the ACI container. before marking it as failed.", "default": 240, "type": "integer"}, "task_watch_poll_interval": {"title": "Task Watch Poll Interval", "description": "The number of seconds to wait between Azure API calls while monitoring the state of an Azure Container Instances task.", "default": 5.0, "type": "number"}}, "required": ["aci_credentials", "resource_group_name", "subscription_id"], "block_type_slug": "azure-container-instance-job", "secret_fields": ["aci_credentials.client_secret", "subscription_id", "image_registry.password"]}


id: 4771ad7b-6f51-434f-878f-8fc8cf23801f
created: 2023-03-28 08:03:22.526137
updated: 2023-03-28 08:03:22.526146
block_type_id: 9ce0e455-02c5-4bc0-82ee-a191ee074d23
checksum: sha256:f9560db7d437c52903b93069a6adc9eca4e8a126d83860276703929ce449553a
capabilities: []
version: 0.2.2
fields:
  {"title": "AzureCosmosDbCredentials", "description": "Block used to manage Cosmos DB authentication with Azure.\nAzure authentication is handled via the `azure` module through\na connection string.", "type": "object", "properties": {"connection_string": {"title": "Connection String", "type": "string", "writeOnly": true, "format": "password"}}, "required": ["connection_string"], "block_type_slug": "azure-cosmos-db-credentials", "secret_fields": ["connection_string"]}


id: f940560b-34bd-434e-a94a-09e29546ba38
created: 2023-03-28 08:03:22.562662
updated: 2023-03-28 08:03:22.562669
block_type_id: 73dff291-8f7d-4e1f-96d1-28066b1544b3
checksum: sha256:419c8794df0ee64ab9a90065194de3f69b08206ec8848ba620bba48d4c973abf
capabilities: []
version: 0.2.2
fields:
  {"title": "AzureMlCredentials", "description": "Block used to manage authentication with AzureML. Azure authentication is\nhandled via the `azure` module.", "type": "object", "properties": {"tenant_id": {"title": "Tenant Id", "type": "string"}, "service_principal_id": {"title": "Service Principal Id", "type": "string"}, "service_principal_password": {"title": "Service Principal Password", "type": "string", "writeOnly": true, "format": "password"}, "subscription_id": {"title": "Subscription Id", "type": "string"}, "resource_group": {"title": "Resource Group", "type": "string"}, "workspace_name": {"title": "Workspace Name", "type": "string"}}, "required": ["tenant_id", "service_principal_id", "service_principal_password", "subscription_id", "resource_group", "workspace_name"], "block_type_slug": "azureml-credentials", "secret_fields": ["service_principal_password"]}


id: b2d92d42-6264-405f-b0b5-88549ab89644
created: 2023-03-28 08:03:22.597205
updated: 2023-03-28 08:03:22.597214
block_type_id: 48ed72ac-a0bc-4bad-9fdc-1fea7b5b8d10
checksum: sha256:b82275051357e4267d9ad459c1a8cb5d9ca9f5154db5238f84211d19963369e1
capabilities: []
version: 0.1.3
fields:
  {"title": "DatabricksCredentials", "description": "Block used to manage Databricks authentication.", "type": "object", "properties": {"databricks_instance": {"title": "Databricks Instance", "type": "string"}, "token": {"title": "Token", "type": "string", "writeOnly": true, "format": "password"}, "client_kwargs": {"title": "Client Kwargs", "type": "object"}}, "required": ["databricks_instance", "token"], "block_type_slug": "databricks-credentials", "secret_fields": ["token"]}


id: 09054b83-72c6-4e98-85fa-440dcb027d1f
created: 2023-03-28 08:03:22.632763
updated: 2023-03-28 08:03:22.632769
block_type_id: 1c8cdf8f-dc74-4e8a-89a6-0400e299d1dc
checksum: sha256:276b3197d186ff97c26b14cbbdc0f4d0c4b1639285c7dcb9cd233f0eefffeb35
capabilities: []
version: 0.2.1
fields:
  {"title": "GcpCredentials", "description": "Block used to manage authentication with GCP. GCP authentication is\nhandled via the `google.oauth2` module or through the CLI.\nSpecify either one of service `account_file` or `service_account_info`; if both\nare not specified, the client will try to detect the service account info stored\nin the env from the command, `gcloud auth application-default login`. Refer to the\n[Authentication docs](https://cloud.google.com/docs/authentication/production)\nfor more info about the possible credential configurations.", "type": "object", "properties": {"service_account_file": {"title": "Service Account File", "description": "Path to the service account JSON keyfile.", "type": "string", "format": "path"}, "service_account_info": {"title": "Service Account Info", "description": "The contents of the keyfile as a dict.", "type": "object"}, "project": {"title": "Project", "description": "The GCP project to use for the client.", "type": "string"}}, "block_type_slug": "gcp-credentials", "secret_fields": ["service_account_info.*"]}


id: db80bb8e-f39b-402e-8961-67cf29eb6a59
created: 2023-03-28 08:03:22.672264
updated: 2023-03-28 08:03:22.672271
block_type_id: 984ca796-6940-4cd7-8762-2f8790537202
checksum: sha256:3090c6187d4d855804d22fe2972c1da6de6f9508535a440d261d45034c8fa93a
capabilities: []
version: 0.2.1
fields:
  {"title": "BigQueryWarehouse", "description": "A block for querying a database with BigQuery.\n\nUpon instantiating, a connection to BigQuery is established\nand maintained for the life of the object until the close method is called.\n\nIt is recommended to use this block as a context manager, which will automatically\nclose the connection and its cursors when the context is exited.\n\nIt is also recommended that this block is loaded and consumed within a single task\nor flow because if the block is passed across separate tasks and flows,\nthe state of the block's connection and cursor could be lost.", "type": "object", "properties": {"gcp_credentials": {"$ref": "#/definitions/GcpCredentials"}, "fetch_size": {"title": "Fetch Size", "description": "The number of rows to fetch at a time.", "default": 1, "type": "integer"}}, "required": ["gcp_credentials"], "block_type_slug": "bigquery-warehouse", "secret_fields": ["gcp_credentials.service_account_info.*"]}


id: 8868a30a-957d-495a-bbe1-e378c03afccd
created: 2023-03-28 08:03:22.717117
updated: 2023-03-28 08:03:22.717127
block_type_id: 696b8e33-6e9f-4b9c-beac-f5bcc6ed66dc
checksum: sha256:b36163f0b7ddafb972adc351a6c6c37de33d7276074d3805b6b7248158bc5355
capabilities: ["run-infrastructure"]
version: 0.2.1
fields:
  {"title": "CloudRunJob", "description": "Infrastructure block used to run GCP Cloud Run Jobs. Note this block is experimental. The interface may change without notice.", "type": "object", "properties": {"type": {"title": "Type", "description": "The slug for this task type.", "default": "cloud-run-job", "enum": ["cloud-run-job"], "type": "string"}, "env": {"title": "Env", "description": "Environment variables to be passed to your Cloud Run Job.", "type": "object", "additionalProperties": {"type": "string"}}, "labels": {"title": "Labels", "description": "Labels applied to the infrastructure for metadata purposes.", "type": "object", "additionalProperties": {"type": "string"}}, "name": {"title": "Name", "description": "Name applied to the infrastructure for identification.", "type": "string"}, "command": {"title": "Command", "description": "The command to run in the infrastructure.", "type": "array", "items": {"type": "string"}}, "image": {"title": "Image Name", "description": "The image to use for a new Cloud Run Job. This value must refer to an image within either Google Container Registry or Google Artifact Registry, like `gcr.io/<project_name>/<repo>/`.", "type": "string"}, "region": {"title": "Region", "description": "The region where the Cloud Run Job resides.", "type": "string"}, "credentials": {"$ref": "#/definitions/GcpCredentials"}, "cpu": {"title": "CPU", "description": "The amount of compute allocated to the Cloud Run Job. The int must be valid based on the rules specified at https://cloud.google.com/run/docs/configuring/cpu#setting-jobs .", "type": "integer"}, "memory": {"title": "Memory", "description": "The amount of memory allocated to the Cloud Run Job.", "type": "integer"}, "memory_unit": {"title": "Memory Units", "description": "The unit of memory. See https://cloud.google.com/run/docs/configuring/memory-limits#setting for additional details.", "enum": ["G", "Gi", "M", "Mi"], "type": "string"}, "args": {"title": "Args", "description": "Arguments to be passed to your Cloud Run Job's entrypoint command.", "type": "array", "items": {"type": "string"}}, "keep_job": {"title": "Keep Job After Completion", "description": "Keep the completed Cloud Run Job on Google Cloud Platform.", "default": false, "type": "boolean"}, "timeout": {"title": "Job Timeout", "description": "The length of time that Prefect will wait for a Cloud Run Job to complete before raising an exception.", "type": "integer"}}, "required": ["image", "region", "credentials"], "block_type_slug": "cloud-run-job", "secret_fields": ["credentials.service_account_info.*"]}


# block_document

id: 9d763296-4114-4a72-8fa7-c9c7c2464b9c
created: 2023-03-28 09:18:44.750603
updated: 2023-03-28 09:22:52.375000
name: test-prefect-storage
block_schema_id: 6f497094-36e2-44ad-b499-5ab952900787
block_type_id: 8e2f1ccd-4e41-434c-8314-39d97400ce56
data:
  "gAAAAABkIrHsdImI-n8PBsDLY0vOCFwKUIsrCBkqbdsgsFS-SQBnm-DnXWVtjbJTaum5IAk5ZqfhUX41-SVsRROu-21ZGb8avhb94XEta0AtU8yWZrwWgjyJEXZrO2NRQygwP9r1BNQLmsyr-M-82p2d1NOCdOsU7aXQ2Tcw-gjEVrmEDJSCv7OM8R0Vz5lR-XgKR9uVgIz79m7sE4z-maIHrEk9_pITUBs1u8ecJWLCNtr20XPo-X1-3tSXJzv7Ah0ItaThr4z5Iac8E-PUzGyi1epSS3Mhech-No86LCvaOeLqefv5UL-YC1vTZvhN7Z8Cxz847Ezx"


# block_type

id: 0099b854-5efc-4107-896d-90adea48f81d
created: 2023-03-28 08:03:21.203314
updated: 2023-03-28 08:03:21.826000
name: Webhook
documentation_url: https://docs.prefect.io/api-ref/prefect/blocks/webhook/#prefect.blocks.webhook.Webhook
description: Block that enables calling webhooks.
slug: webhook
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/6ciCsTFsvUAiiIvTllMfOU/627e9513376ca457785118fbba6a858d/webhook_icon_138018.png?h=250

code_example:
  ```python
  from prefect.blocks.webhook import Webhook

  webhook_block = Webhook.load("BLOCK_NAME")
  ```


id: 0989b742-0348-423b-acf4-4517b5d4cdc5
created: 2023-03-28 08:03:21.261760
updated: 2023-03-28 08:03:21.700000
name: JSON
documentation_url: https://docs.prefect.io/api-ref/prefect/blocks/system/#prefect.blocks.system.JSON
description: A block that represents JSON
slug: json
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/19W3Di10hhb4oma2Qer0x6/764d1e7b4b9974cd268c775a488b9d26/image16.png?h=250

code_example:
  Load a stored JSON value:
  ```python
  from prefect.blocks.system import JSON

  json_block = JSON.load("BLOCK_NAME")
  ```


id: 4444c16e-c962-4e32-8230-6b9c98300439
created: 2023-03-28 08:03:21.296325
updated: 2023-03-28 08:03:21.766000
name: Date Time
documentation_url: https://docs.prefect.io/api-ref/prefect/blocks/system/#prefect.blocks.system.DateTime
description: A block that represents a datetime
slug: date-time
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/1gmljt5UBcAwEXHPnIofcE/0f3cf1da45b8b2df846e142ab52b1778/image21.png?h=250

code_example:
  Load a stored JSON value:
  ```python
  from prefect.blocks.system import DateTime

  data_time_block = DateTime.load("BLOCK_NAME")
  ```


id: 088db7b6-0302-4404-a8c4-752e287ef985
created: 2023-03-28 08:03:21.329476
updated: 2023-03-28 08:03:21.800000
name: Secret
documentation_url: https://docs.prefect.io/api-ref/prefect/blocks/system/#prefect.blocks.system.Secret
slug: secret
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/5uUmyGBjRejYuGTWbTxz6E/3003e1829293718b3a5d2e909643a331/image8.png?h=250

description:
  A block that represents a secret value. The value stored in this block will be obfuscated when
  this block is logged or shown in the UI.

code_example:
  ```python
  from prefect.blocks.system import Secret

  secret_block = Secret.load("BLOCK_NAME")

  # Access the stored secret
  secret_block.get()
  ```


id: 7619a9c7-a40a-4916-8f44-a9cddda85f25
created: 2023-03-28 08:03:21.361477
updated: 2023-03-28 08:03:21.849000
name: Local File System
documentation_url: https://docs.prefect.io/concepts/filesystems/#local-filesystem
description: Store data as a file on a local file system.
slug: local-file-system
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/EVKjxM7fNyi4NGUSkeTEE/95c958c5dd5a56c59ea5033e919c1a63/image1.png?h=250

code_example:
  Load stored local file system config:
  ```python
  from prefect.filesystems import LocalFileSystem

  local_file_system_block = LocalFileSystem.load("BLOCK_NAME")
  ```


id: 30fce193-b940-4e91-905c-7569222accbd
created: 2023-03-28 08:03:21.392022
updated: 2023-03-28 08:03:22.283000
name: Process
documentation_url: https://docs.prefect.io/concepts/infrastructure/#process
slug: process
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/39WQhVu4JK40rZWltGqhuC/d15be6189a0cb95949a6b43df00dcb9b/image5.png?h=250

description:
  Run a command in a new process.

  Current environment variables and Prefect settings will be included in the created
  process. Configured environment variables will override any current environment
  variables.

code_example:
  ```python
  from prefect.infrastructure.process import Process

  process_block = Process.load("BLOCK_NAME")
  ```


id: d938b2e0-faba-4362-a88c-f314bd6adecc
created: 2023-03-28 08:03:21.435087
updated: 2023-03-28 08:03:21.435099
name: Slack Webhook
description: Enables sending notifications via a provided Slack webhook.
slug: slack-webhook
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/7dkzINU9r6j44giEFuHuUC/85d4cd321ad60c1b1e898bc3fbd28580/5cb480cd5f1b6d3fbadece79.png?h=250

documentation_url:
  https://docs.prefect.io/api-ref/prefect/blocks/notifications/#prefect.blocks.notifications.SlackWebhook

code_example:
  Load a saved Slack webhook and send a message:
  ```python
  from prefect.blocks.notifications import SlackWebhook

  slack_webhook_block = SlackWebhook.load("BLOCK_NAME")
  slack_webhook_block.notify("Hello from Prefect!")
  ```


id: afd90687-fdff-44a3-905f-404df74c301c
created: 2023-03-28 08:03:21.473374
updated: 2023-03-28 08:03:21.473386
name: Microsoft Teams Webhook
description: Enables sending notifications via a provided Microsoft Teams webhook.
slug: ms-teams-webhook
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/6n0dSTBzwoVPhX8Vgg37i7/9040e07a62def4f48242be3eae6d3719/teams_logo.png?h=250

documentation_url:
  https://docs.prefect.io/api-ref/prefect/blocks/notifications/#prefect.blocks.notifications.MicrosoftTeamsWebhook

code_example:
  Load a saved Teams webhook and send a message:
  ```python
  from prefect.blocks.notifications import MicrosoftTeamsWebhook
  teams_webhook_block = MicrosoftTeamsWebhook.load("BLOCK_NAME")
  teams_webhook_block.notify("Hello from Prefect!")
  ```


id: 61bdad17-dbe6-4feb-af91-81016826cb6b
created: 2023-03-28 08:03:21.538334
updated: 2023-03-28 08:03:21.538346
name: Pager Duty Webhook
description: Enables sending notifications via a provided PagerDuty webhook.
slug: pager-duty-webhook
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/6FHJ4Lcozjfl1yDPxCvQDT/c2f6bdf47327271c068284897527f3da/PagerDuty-Logo.wine.png?h=250

documentation_url:
  https://docs.prefect.io/api-ref/prefect/blocks/notifications/#prefect.blocks.notifications.PagerDutyWebHook

code_example:
  Load a saved PagerDuty webhook and send a message:
  ```python
  from prefect.blocks.notifications import PagerDutyWebHook
  pagerduty_webhook_block = PagerDutyWebHook.load("BLOCK_NAME")
  pagerduty_webhook_block.notify("Hello from Prefect!")
  ```


id: 3ec6c40f-154e-4529-a1a4-bae5dbe5f876
created: 2023-03-28 08:03:21.583618
updated: 2023-03-28 08:03:21.583630
name: Twilio SMS
description: Enables sending notifications via Twilio SMS.
slug: twilio-sms
logo_url:
  https://images.ctfassets.net/zscdif0zqppk/YTCgPL6bnK3BczP2gV9md/609283105a7006c57dbfe44ee1a8f313/58482bb9cef1014c0b5e4a31.png?h=250

documentation_url:
  https://docs.prefect.io/api-ref/prefect/blocks/notifications/#prefect.blocks.notifications.TwilioSMS

code_example:
  Load a saved `TwilioSMS` block and send a message:
  ```python
  from prefect.blocks.notifications import TwilioSMS
  twilio_webhook_block = TwilioSMS.load("BLOCK_NAME")
  twilio_webhook_block.notify("Hello from Prefect!")
  ```


id: f1675517-d627-4903-8043-97555cbb90de
created: 2023-03-28 08:03:21.626197
updated: 2023-03-28 08:03:21.626209
name: Opsgenie Webhook
description: Enables sending notifications via a provided Opsgenie webhook.
slug: opsgenie-webhook
logo_url:
  https://images.ctfassets.net/sahxz1jinscj/3habq8fTzmplh7Ctkppk4/590cecb73f766361fcea9223cd47bad8/opsgenie.png

documentation_url:
  https://docs.prefect.io/api-ref/prefect/blocks/notifications/#prefect.blocks.notifications.OpsgenieWebhook

code_example:
  Load a saved Opsgenie webhook and send a message:
  ```python
  from prefect.blocks.notifications import OpsgenieWebhook
  opsgenie_webhook_block = OpsgenieWebhook.load("BLOCK_NAME")
  opsgenie_webhook_block.notify("Hello from Prefect!")
  ```


id: 08fe314a-cba0-4e0e-a2dc-8844eb65900d
created: 2023-03-28 08:03:21.662806
updated: 2023-03-28 08:03:21.662817
name: Mattermost Webhook
description: Enables sending notifications via a provided Mattermost webhook.
slug: mattermost-webhook
logo_url:
  https://images.ctfassets.net/zscdif0zqppk/3mlbsJDAmK402ER1sf0zUF/a48ac43fa38f395dd5f56c6ed29f22bb/mattermost-logo-png-transparent.png?h=250

documentation_url:
  https://docs.prefect.io/api-ref/prefect/blocks/notifications/#prefect.blocks.notifications.MattermostWebhook

code_example:
  Load a saved Mattermost webhook and send a message:
  ```python
  from prefect.blocks.notifications import MattermostWebhook

  mattermost_webhook_block = MattermostWebhook.load("BLOCK_NAME")

  mattermost_webhook_block.notify("Hello from Prefect!")
  ```


id: e390ca1e-ae01-4c8e-900c-29219f3dc868
created: 2023-03-28 08:03:21.726306
updated: 2023-03-28 08:03:21.726319
name: String
documentation_url: https://docs.prefect.io/api-ref/prefect/blocks/system/#prefect.blocks.system.String
description: A block that represents a string
slug: string
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/4zjrZmh9tBrFiikeB44G4O/2ce1dbbac1c8e356f7c429e0f8bbb58d/image10.png?h=250

code_example:
  Load a stored string value:
  ```python
  from prefect.blocks.system import String

  string_block = String.load("BLOCK_NAME")
  ```


id: 8e2f1ccd-4e41-434c-8314-39d97400ce56
created: 2023-03-28 08:03:21.882680
updated: 2023-03-28 09:22:52.236000
name: Remote File System
documentation_url: https://docs.prefect.io/concepts/filesystems/#remote-file-system
slug: remote-file-system
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/4CxjycqILlT9S9YchI7o1q/ee62e2089dfceb19072245c62f0c69d2/image12.png?h=250

description:
  Store data as a file on a remote file system.

  Supports any remote file system supported by `fsspec`. The file system is specified
  using a protocol. For example, "s3://my-bucket/my-folder/" will use S3.

code_example:
  Load stored remote file system config:
  ```python
  from prefect.filesystems import RemoteFileSystem

  remote_file_system_block = RemoteFileSystem.load("BLOCK_NAME")
  ```


id: c6af5982-4fcf-416a-bb0d-b80b01068672
created: 2023-03-28 08:03:21.923099
updated: 2023-03-28 08:03:21.923110
name: S3
documentation_url: https://docs.prefect.io/concepts/filesystems/#s3
description: Store data as a file on AWS S3.
slug: s3
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/1jbV4lceHOjGgunX15lUwT/db88e184d727f721575aeb054a37e277/aws.png?h=250

code_example:
  Load stored S3 config:
  ```python
  from prefect.filesystems import S3

  s3_block = S3.load("BLOCK_NAME")
  ```


id: 6ff479e0-324f-4d19-8904-a1b483fa242c
created: 2023-03-28 08:03:21.959325
updated: 2023-03-28 08:03:21.959335
name: GCS
documentation_url: https://docs.prefect.io/concepts/filesystems/#gcs
description: Store data as a file on Google Cloud Storage.
slug: gcs
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/4CD4wwbiIKPkZDt4U3TEuW/c112fe85653da054b6d5334ef662bec4/gcp.png?h=250

code_example:
  Load stored GCS config:
  ```python
  from prefect.filesystems import GCS

  gcs_block = GCS.load("BLOCK_NAME")
  ```


id: cde4d6b5-1228-4aa5-8928-c8af6ece8215
created: 2023-03-28 08:03:21.997418
updated: 2023-03-28 08:03:21.997429
name: Azure
documentation_url: https://docs.prefect.io/concepts/filesystems/#azure
description: Store data as a file on Azure Datalake and Azure Blob Storage.
slug: azure
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/6AiQ6HRIft8TspZH7AfyZg/39fd82bdbb186db85560f688746c8cdd/azure.png?h=250

code_example:
  Load stored Azure config:
  ```python
  from prefect.filesystems import Azure

  az_block = Azure.load("BLOCK_NAME")
  ```


id: 93f5dda1-635f-4fc7-a85c-7f08a3eac9b0
created: 2023-03-28 08:03:22.040291
updated: 2023-03-28 08:03:22.040307
name: SMB
documentation_url: https://docs.prefect.io/concepts/filesystems/#smb
description: Store data as a file on a SMB share.
slug: smb
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/6J444m3vW6ukgBOCinSxLk/025f5562d3c165feb7a5df599578a6a8/samba_2010_logo_transparent_151x27.png?h=250

code_example:
  Load stored SMB config:

  ```python
  from prefect.filesystems import SMB
  smb_block = SMB.load("BLOCK_NAME")
  ```


id: 70817eb9-ff7f-41b3-a1a1-b098c775a2af
created: 2023-03-28 08:03:22.076963
updated: 2023-03-28 08:03:22.076974
name: GitHub
documentation_url: https://docs.prefect.io/concepts/filesystems/#github
description: Interact with files stored on GitHub repositories.
code_example:
  ```python
  from prefect.filesystems import GitHub

  github_block = GitHub.load("BLOCK_NAME")
  ```

slug: github
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/187oCWsD18m5yooahq1vU0/ace41e99ab6dc40c53e5584365a33821/github.png?h=250


id: 73690e0a-68ee-45ab-b84f-215c361c673a
created: 2023-03-28 08:03:22.113821
updated: 2023-03-28 09:22:51.979000
name: Docker Registry
description:
  Connects to a Docker registry.

  Requires a Docker Engine to be connectable.

slug: docker-registry
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/2IfXXfMq66mrzJBDFFCHTp/6d8f320d9e4fc4393f045673d61ab612/Moby-logo.png?h=250

documentation_url:
  https://docs.prefect.io/api-ref/prefect/infrastructure/#prefect.infrastructure.docker.DockerRegistry

code_example:
  ```python
  from prefect.infrastructure.docker import DockerRegistry

  docker_registry_block = DockerRegistry.load("BLOCK_NAME")
  ```


id: 65f2aaeb-0236-40c3-b1a3-d91602306014
created: 2023-03-28 08:03:22.150579
updated: 2023-03-28 09:22:52.043000
name: Docker Container
documentation_url: https://docs.prefect.io/api-ref/prefect/infrastructure/#prefect.infrastructure.DockerContainer
slug: docker-container
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/2IfXXfMq66mrzJBDFFCHTp/6d8f320d9e4fc4393f045673d61ab612/Moby-logo.png?h=250

description:
  Runs a command in a container.

  Requires a Docker Engine to be connectable. Docker settings will be retrieved from
  the environment.

  Click [here](https://docs.prefect.io/tutorials/docker/) to see a tutorial.

code_example:
  ```python
  from prefect.infrastructure.docker import DockerContainer

  docker_container_block = DockerContainer.load("BLOCK_NAME")
  ```


id: a260451f-c581-4d32-8ae3-f1b3a785fcb5
created: 2023-03-28 08:03:22.198922
updated: 2023-03-28 08:03:22.198932
name: Kubernetes Cluster Config
description:
  Stores configuration for interaction with Kubernetes clusters.

  See `from_file` for creation.

slug: kubernetes-cluster-config
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/1zrSeY8DZ1MJZs2BAyyyGk/20445025358491b8b72600b8f996125b/Kubernetes_logo_without_workmark.svg.png?h=250

documentation_url:
  https://docs.prefect.io/api-ref/prefect/blocks/kubernetes/#prefect.blocks.kubernetes.KubernetesClusterConfig

code_example:
  Load a saved Kubernetes cluster config:
  ```python
  from prefect.blocks.kubernetes import KubernetesClusterConfig

  cluster_config_block = KubernetesClusterConfig.load("BLOCK_NAME")
  ```


id: 0d63ddc5-d3b3-4fe0-ba4c-c3b7731d78a9
created: 2023-03-28 08:03:22.236359
updated: 2023-03-28 08:03:22.236369
name: Kubernetes Job
documentation_url: https://docs.prefect.io/api-ref/prefect/infrastructure/#prefect.infrastructure.KubernetesJob
slug: kubernetes-job
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/1zrSeY8DZ1MJZs2BAyyyGk/20445025358491b8b72600b8f996125b/Kubernetes_logo_without_workmark.svg.png?h=250

description:
  Runs a command as a Kubernetes Job.

  For a guided tutorial, see [How to use Kubernetes with Prefect](https://medium.com/the-prefect-blog/how-to-use-kubernetes-with-prefect-419b2e8b8cb2/).
  For more information, including examples for customizing the resulting manifest, see [`KubernetesJob` infrastructure concepts](https://docs.prefect.io/concepts/infrastructure/#kubernetesjob).

code_example:
  ```python
  from prefect.infrastructure.kubernetes import KubernetesJob

  kubernetes_job_block = KubernetesJob.load("BLOCK_NAME")
  ```


id: 19749d57-6317-498d-ad6c-ddaa20620547
created: 2023-03-28 08:03:22.309657
updated: 2023-03-28 08:03:22.309668
name: AWS Credentials
documentation_url: https://prefecthq.github.io/prefect-aws/credentials/#prefect_aws.credentials.AwsCredentials
slug: aws-credentials
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/1jbV4lceHOjGgunX15lUwT/db88e184d727f721575aeb054a37e277/aws.png?h=250

description:
  Block used to manage authentication with AWS. AWS authentication is
  handled via the `boto3` module. Refer to the
  [boto3 docs](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html)
  for more info about the possible credential configurations.

code_example:
  Load stored AWS credentials:
  ```python
  from prefect_aws import AwsCredentials

  aws_credentials_block = AwsCredentials.load("BLOCK_NAME")
  ```


id: 180740bc-ce03-44ff-be6c-63c761e92b1d
created: 2023-03-28 08:03:22.391472
updated: 2023-03-28 08:03:22.391481
name: Azure Blob Storage Credentials
documentation_url: https://prefecthq.github.io/prefect-azure/credentials/#prefect_azure.credentials.AzureCredentials
slug: azure-blob-storage-credentials
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/6AiQ6HRIft8TspZH7AfyZg/39fd82bdbb186db85560f688746c8cdd/azure.png?h=250

description:
  Block used to manage Blob Storage authentication with Azure.
  Azure authentication is handled via the `azure` module through
  a connection string.

code_example:
  Load stored Azure Blob Storage credentials:
  ```python
  from prefect_azure import AzureBlobStorageCredentials
  azure_credentials_block = AzureBlobStorageCredentials.load("BLOCK_NAME")
  ```


id: a5adb5b0-5157-4b1d-8a15-ebdd6a8ad6ab
created: 2023-03-28 08:03:22.428095
updated: 2023-03-28 08:03:22.428110
name: Azure Container Instance Credentials
slug: azure-container-instance-credentials
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/6AiQ6HRIft8TspZH7AfyZg/39fd82bdbb186db85560f688746c8cdd/azure.png?h=250

documentation_url:
  https://prefecthq.github.io/prefect-azure/credentials/#prefect_azure.credentials.AzureContainerInstanceCredentials

description:
  Block used to manage Azure Container Instances authentication. Stores Azure Service
  Principal authentication data.

code_example:
  ```python
  from prefect_azure.credentials import AzureContainerInstanceCredentials

  azure_container_instance_credentials_block = AzureContainerInstanceCredentials.load("BLOCK_NAME")
  ```


id: be6de0e3-1c1d-4b9a-8e3b-cd421feb7eb9
created: 2023-03-28 08:03:22.468205
updated: 2023-03-28 08:03:22.468219
name: Azure Container Instance Job
slug: azure-container-instance-job
documentation_url:
  https://prefecthq.github.io/prefect-azure/container_instance/#prefect_azure.container_instance.AzureContainerInstanceJob

description:
  Run tasks using Azure Container Instances. Note this block is experimental. The interface may change without notice.

code_example:
  ```python
  from prefect_azure.container_instance import AzureContainerInstanceJob

  azure_container_instance_job_block = AzureContainerInstanceJob.load("BLOCK_NAME")
  ```


id: 9ce0e455-02c5-4bc0-82ee-a191ee074d23
created: 2023-03-28 08:03:22.519931
updated: 2023-03-28 08:03:22.519942
name: Azure Cosmos DB Credentials
slug: azure-cosmos-db-credentials
documentation_url:
  https://prefecthq.github.io/prefect-azure/credentials/#prefect_azure.credentials.AzureCosmosDbCredentials

description:
  Block used to manage Cosmos DB authentication with Azure.
  Azure authentication is handled via the `azure` module through
  a connection string.

code_example:
  Load stored Azure Cosmos DB credentials:
  ```python
  from prefect_azure import AzureCosmosDbCredentials
  azure_credentials_block = AzureCosmosDbCredentials.load("BLOCK_NAME")
  ```


id: 73dff291-8f7d-4e1f-96d1-28066b1544b3
created: 2023-03-28 08:03:22.557159
updated: 2023-03-28 08:03:22.557186
name: AzureML Credentials
documentation_url: https://prefecthq.github.io/prefect-azure/credentials/#prefect_azure.credentials.AzureMlCredentials
slug: azureml-credentials
description:
  Block used to manage authentication with AzureML. Azure authentication is
  handled via the `azure` module.

code_example:
  Load stored AzureML credentials:
  ```python
  from prefect_azure import AzureMlCredentials
  azure_ml_credentials_block = AzureMlCredentials.load("BLOCK_NAME")
  ```


id: 48ed72ac-a0bc-4bad-9fdc-1fea7b5b8d10
created: 2023-03-28 08:03:22.591585
updated: 2023-03-28 08:03:22.591595
name: Databricks Credentials
description: Block used to manage Databricks authentication.
slug: databricks-credentials
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/5GTHI1PH2dTiantfps6Fnc/1c750fab7f4c14ea1b93a62b9fea6a94/databricks_logo_icon_170295.png?h=250

documentation_url:
  https://prefecthq.github.io/prefect-databricks/credentials/#prefect_databricks.credentials.DatabricksCredentials

code_example:
  Load stored Databricks credentials:
  ```python
  from prefect_databricks import DatabricksCredentials
  databricks_credentials_block = DatabricksCredentials.load("BLOCK_NAME")
  ```


id: 1c8cdf8f-dc74-4e8a-89a6-0400e299d1dc
created: 2023-03-28 08:03:22.626898
updated: 2023-03-28 08:03:22.626910
name: GCP Credentials
documentation_url: https://prefecthq.github.io/prefect-gcp/credentials/#prefect_gcp.credentials.GcpCredentials
slug: gcp-credentials
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/4CD4wwbiIKPkZDt4U3TEuW/c112fe85653da054b6d5334ef662bec4/gcp.png?h=250

description:
  Block used to manage authentication with GCP. GCP authentication is
  handled via the `google.oauth2` module or through the CLI.
  Specify either one of service `account_file` or `service_account_info`; if both
  are not specified, the client will try to detect the service account info stored
  in the env from the command, `gcloud auth application-default login`. Refer to the
  [Authentication docs](https://cloud.google.com/docs/authentication/production)
  for more info about the possible credential configurations.

code_example:
  Load GCP credentials stored in a `GCP Credentials` Block:
  ```python
  from prefect_gcp import GcpCredentials
  gcp_credentials_block = GcpCredentials.load("BLOCK_NAME")
  ```


id: 984ca796-6940-4cd7-8762-2f8790537202
created: 2023-03-28 08:03:22.665422
updated: 2023-03-28 08:03:22.665431
name: BigQuery Warehouse
documentation_url: https://prefecthq.github.io/prefect-gcp/bigquery/#prefect_gcp.bigquery.BigQueryWarehouse
slug: bigquery-warehouse
logo_url:
  https://images.ctfassets.net/gm98wzqotmnx/4CD4wwbiIKPkZDt4U3TEuW/c112fe85653da054b6d5334ef662bec4/gcp.png?h=250

description:
  A block for querying a database with BigQuery.

  Upon instantiating, a connection to BigQuery is established
  and maintained for the life of the object until the close method is called.

  It is recommended to use this block as a context manager, which will automatically
  close the connection and its cursors when the context is exited.

  It is also recommended that this block is loaded and consumed within a single task
  or flow because if the block is passed across separate tasks and flows,
  the state of the block's connection and cursor could be lost.

code_example:
  ```python
  from prefect_gcp.bigquery import BigQueryWarehouse

  bigquery_warehouse_block = BigQueryWarehouse.load("BLOCK_NAME")
  ```


id: 696b8e33-6e9f-4b9c-beac-f5bcc6ed66dc
created: 2023-03-28 08:03:22.711062
updated: 2023-03-28 08:03:22.711072
name: GCP Cloud Run Job
documentation_url: https://prefecthq.github.io/prefect-gcp/cloud_run/#prefect_gcp.cloud_run.CloudRunJob
slug: cloud-run-job
description:
  Infrastructure block used to run GCP Cloud Run Jobs. Note this block is experimental. The interface may change without notice.

code_example:
  ```python
  from prefect_gcp.cloud_run import CloudRunJob

  cloud_run_job_block = CloudRunJob.load("BLOCK_NAME")
  ```


