id stringlengths 15 25 | source stringclasses 1
value | chunk_index int64 0 393k | token_count int32 449 512 | content stringlengths 203 7.95k |
|---|---|---|---|---|
combine_chunk_1500 | combine.txt | 1,500 | 512 | azon/aws/example_lambda.py
:language: python
:dedent: 4
:start-after: [START howto_sensor_lambda_function_state]
:end-before: [END howto_sensor_lambda_function_state]
Reference
---------
* `AWS boto3 library documentation for Lambda <https://boto3.amazonaws.com/v1/documentation/api/latest/reference/s... |
combine_chunk_1501 | combine.txt | 1,501 | 512 | https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html>`__
For example, to invoke a Meta Llama model you would use:
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_bedrock.py
:language: python
:dedent: 4
:start-after: [START howto_operator_invoke_llama_model]
:end... |
combine_chunk_1502 | combine.txt | 1,502 | 512 | ../../amazon/tests/system/amazon/aws/example_bedrock_agentcore.py
:language: python
:dedent: 4
:start-after: [START howto_operator_bedrock_invoke_agent_runtime]
:end-before: [END howto_operator_bedrock_invoke_agent_runtime]
.. _howto/hook:BedrockAgentCoreHook:managed-agent:
Consult an Amazon Bedrock A... |
combine_chunk_1503 | combine.txt | 1,503 | 512 | .providers.amazon.aws.operators.bedrock.BedrockInvokeAgentRuntimeOperator`
instead; a toolset call blocks a worker thread for the duration of the call.
.. _howto/operator:BedrockDeleteAgentRuntimeOperator:
Delete an Amazon Bedrock AgentCore Runtime
==========================================
To delete an Amazon Bedro... |
combine_chunk_1504 | combine.txt | 1,504 | 512 | vision throughput jobs are asynchronous. To monitor the state of the job, you can use the
"provisioned_model_throughput_complete" Waiter, the
:class:`~airflow.providers.amazon.aws.sensors.bedrock.BedrockProvisionModelThroughputCompletedSensor` Sensor,
or the :class:`~airflow.providers.amazon.aws.triggers.BedrockProvisi... |
combine_chunk_1505 | combine.txt | 1,505 | 512 | _create_data_source]
:end-before: [END howto_operator_bedrock_create_data_source]
.. _howto_operator:BedrockDeleteDataSource:
Delete an Amazon Bedrock Data Source
====================================
Deleting a Data Source is a simple boto API call and can be done in a TaskFlow task like the example below.
.. e... |
combine_chunk_1506 | combine.txt | 1,506 | 512 | airflow.providers.amazon.aws.operators.bedrock.BedrockRaGOperator`.
The response will contain citations to sources that are relevant to the query as well as a generated text reply.
For more information on which models support retrieving information from a knowledge base, see
https://docs.aws.amazon.com/bedrock/latest/... |
combine_chunk_1507 | combine.txt | 1,507 | 512 | ]
:end-before: [END howto_operator_bedrock_batch_inference]
Sensors
-------
.. _howto/sensor:BedrockCustomizeModelCompletedSensor:
Wait for an Amazon Bedrock customize model job
==============================================
To wait on the state of an Amazon Bedrock customize model job until it reaches a termi... |
combine_chunk_1508 | combine.txt | 1,508 | 512 | trieve_and_generate.py
:language: python
:dedent: 4
:start-after: [START howto_sensor_bedrock_ingest_data]
:end-before: [END howto_sensor_bedrock_ingest_data]
.. _howto/sensor:BedrockBatchInferenceSensor:
Wait for an Amazon Bedrock batch inference job
==============================================
To... |
combine_chunk_1509 | combine.txt | 1,509 | 512 | :BedrockDeleteGuardrailOperator:
Delete a Guardrail
------------------
To delete an Amazon Bedrock guardrail, use
:class:`~airflow.providers.amazon.aws.operators.bedrock.BedrockDeleteGuardrailOperator`.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_bedrock_guardrail.py
:language: python
:... |
combine_chunk_1510 | combine.txt | 1,510 | 512 | the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
.. http://www.apache.org/licenses/LICENSE-2.0
.. Unless required by applicable law or agreed to in writing,
software distributed under the License... |
combine_chunk_1511 | combine.txt | 1,511 | 512 |
:language: python
:dedent: 4
:start-after: [START howto_operator_glue_crawler_update]
:end-before: [END howto_operator_glue_crawler_update]
.. _howto/operator:GlueCrawlerRunOperator:
Run an AWS Glue crawler
=======================
To run an existing crawler and wait for it to complete, use
:class:`~... |
combine_chunk_1512 | combine.txt | 1,512 | 512 | /tests/system/amazon/aws/example_glue.py
:language: python
:dedent: 4
:start-after: [START howto_operator_glue]
:end-before: [END howto_operator_glue]
.. note::
The same AWS IAM role used for the crawler can be used here as well, but it will need
policies to provide access to the output location fo... |
combine_chunk_1513 | combine.txt | 1,513 | 512 | * if it failed terminally, or its id has expired and is no longer found, the operator submits the
job fresh
* if it already stopped, the operator submits the job fresh
If the stored state is already ``STOPPED``, the operator submits fresh rather than reconnecting to
it. If a reconnect finds the run still stopping an... |
combine_chunk_1514 | combine.txt | 1,514 | 512 | ). If a task's ``retry_delay`` is longer than
``[state_store] default_retention_days`` (30 days by default) and cleanup runs in between, the run
id won't be there for the next retry, and the operator falls back to the XCom/scan mechanism
above rather than reconnecting via task state store. Avoid running cleanup on a sc... |
combine_chunk_1515 | combine.txt | 1,515 | 512 | _on_retry`` still works and maps its value onto ``durable``. Below
3.3, ``resume_glue_job_on_retry`` remains the only working option, since ``durable`` is a no-op
there. Either way, passing it emits an ``AirflowProviderDeprecationWarning``, since the parameter
will be removed once this provider's minimum supported Airf... |
combine_chunk_1516 | combine.txt | 1,516 | 512 | _rule_recommendation_run]
Sensors
-------
.. _howto/sensor:GlueCrawlerSensor:
Wait on an AWS Glue crawler state
=================================
To wait on the state of an AWS Glue crawler execution until it reaches a terminal state you can
use :class:`~airflow.providers.amazon.aws.sensors.glue_crawler.GlueCrawler... |
combine_chunk_1517 | combine.txt | 1,517 | 512 | : python
:dedent: 4
:start-after: [START howto_sensor_glue_data_quality_rule_recommendation_run]
:end-before: [END howto_sensor_glue_data_quality_rule_recommendation_run]
.. _howto/sensor:GlueCatalogPartitionSensor:
Wait on an AWS Glue Catalog Partition
======================================
To wait for ... |
combine_chunk_1518 | combine.txt | 1,518 | 512 | servers in Amazon's data centers—that you use to build and host your software systems.
Prerequisite Tasks
------------------
.. include:: ../_partials/prerequisite_tasks.rst
Generic Parameters
------------------
.. include:: ../_partials/generic_parameters.rst
Operators
---------
.. _howto/operator:EC2StartInsta... |
combine_chunk_1519 | combine.txt | 1,519 | 512 | /operator:EC2RebootInstanceOperator:
Reboot an Amazon EC2 instance
================================
To reboot an Amazon EC2 instance you can use
:class:`~airflow.providers.amazon.aws.operators.ec2.EC2RebootInstanceOperator`.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_ec2.py
:language: pyth... |
combine_chunk_1520 | combine.txt | 1,520 | 512 | .. Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under th... |
combine_chunk_1521 | combine.txt | 1,521 | 512 | .ComprehendStartPiiEntitiesDetectionJobCompletedSensor`.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_comprehend.py
:language: python
:dedent: 4
:start-after: [START howto_sensor_start_pii_entities_detection_job]
:end-before: [END howto_sensor_start_pii_entities_detection_job]
.. ... |
combine_chunk_1522 | combine.txt | 1,522 | 512 | , execute, and monitor end-to-end workflows from a single interface.
This helps drive collaboration across teams and facilitate agile development.
Airflow provides different operators for running artifacts in SageMaker Unified Studio. Read the descriptions
below to understand which operator is best suited for your use... |
combine_chunk_1523 | combine.txt | 1,523 | 512 | ified_studio_notebook.SageMakerUnifiedStudioNotebookOperator`
to execute SageMaker Unified Studio notebooks through the DataZone ``StartNotebookRun`` API.
The notebook is identified by its notebook ID (e.g. ``nb-1234567890``), along with the domain ID and project ID
where the notebook resides.
.. exampleinclude:: /..... |
combine_chunk_1524 | combine.txt | 1,524 | 512 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
Amazon Redshift Operators
=========================
Amazon offers two ways to query Redshift.
1. `Using Python con... |
combine_chunk_1525 | combine.txt | 1,525 | 512 | shiftDataOperator <airflow.providers.amazon.aws.operators.redshift_data>` to execute
statements against an Amazon Redshift cluster.
This differs from ``RedshiftSQLOperator`` in that it allows users to query and retrieve data via the AWS API and avoid
the necessity of a Postgres connection.
.. exampleinclude:: /../../... |
combine_chunk_1526 | combine.txt | 1,526 | 512 | task state store. On
earlier Airflow versions the flag is a no-op and the operator always submits fresh SQL on retry,
exactly as before. If the task state store is unavailable at runtime, the operator logs that
crash recovery is disabled and behaves the same way.
Like the persisted state itself, the stored statement ... |
combine_chunk_1527 | combine.txt | 1,527 | 512 | 3 library documentation for Amazon Redshift Data <https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/redshift-data.html>`__
<|file|>airflow/providers/amazon/docs/operators/redshift/redshift_sql.rst
.. Licensed to the Apache Software Foundation (ASF) under one
or more contributor license ag... |
combine_chunk_1528 | combine.txt | 1,528 | 512 | __
<|file|>airflow/providers/amazon/docs/operators/redshift/redshift_cluster.rst
.. Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses... |
combine_chunk_1529 | combine.txt | 1,529 | 512 | task is deferred from the Airflow worker slot and polling for the task status happens on the trigger.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_redshift.py
:language: python
:dedent: 4
:start-after: [START howto_operator_redshift_resume_cluster]
:end-before: [END howto_operator... |
combine_chunk_1530 | combine.txt | 1,530 | 512 | can also run this operator in deferrable mode by setting ``deferrable`` param to ``True``
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_redshift.py
:language: python
:dedent: 4
:start-after: [START howto_operator_redshift_delete_cluster]
:end-before: [END howto_operator_redshift_de... |
combine_chunk_1531 | combine.txt | 1,531 | 512 | -oriented middleware, and empowers developers to focus on differentiating work. Using SQS, you
can send, store, and receive messages between software components at any volume, without losing messages
or requiring other services to be available.
Prerequisite Tasks
------------------
.. include:: ../_partials/prerequis... |
combine_chunk_1532 | combine.txt | 1,532 | 512 | a copy of the License at
.. http://www.apache.org/licenses/LICENSE-2.0
.. Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for... |
combine_chunk_1533 | combine.txt | 1,533 | 512 | :language: python
:dedent: 4
:start-after: [START howto_sensor_mwaa_serverless_workflow_run]
:end-before: [END howto_sensor_mwaa_serverless_workflow_run]
.. _howto/operator:MwaaServerlessUpdateWorkflowOperator:
Update a Workflow
-----------------
To update an existing Amazon MWAA Serverless workflow,... |
combine_chunk_1534 | combine.txt | 1,534 | 512 | the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
.. http://www.apache.org/licenses/LICENSE-2.0
.. Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" ... |
combine_chunk_1535 | combine.txt | 1,535 | 512 | :doc:`the DuckDB connection docs <apache-airflow-providers-duckdb:connections/duckdb>` for the
details and for the alternative that needs no home directory at all. If you run tasks on the
:doc:`Lambda executor <../executors/lambda-executor>`, set ``HOME`` in the function's image or
environment variables... |
combine_chunk_1536 | combine.txt | 1,536 | 512 |
valid choice for it rather than the absence of one. Set it to ``null`` in the ``extra`` (or
``None`` in ``hook_params``) to use no Airflow AWS connection at all. The secret then gets a
region and endpoint only from the DuckDB connection's own keys, such as ``region_name`` and
``s3_endpoint_url``, and `... |
combine_chunk_1537 | combine.txt | 1,537 | 512 | created rather than when S3 is
first read. If nothing can be resolved, the hook logs a warning and opens the connection anyway,
so a query that does not use S3 still runs; one that does will fail on its own. A ``config``
secret that cannot be created raises instead, since explicit credentials failing is a
... |
combine_chunk_1538 | combine.txt | 1,538 | 512 | the standard
``AWS_ACCESS_KEY_ID`` / ``AWS_SECRET_ACCESS_KEY`` / ``AWS_SESSION_TOKEN`` environment
variables, so it can authenticate where those are set. What its HTTP client does not implement is
the ECS container credential provider, so a container-assigned task role (often how a managed Airflow
work... |
combine_chunk_1539 | combine.txt | 1,539 | 512 | ://www.apache.org/licenses/LICENSE-2.0
.. Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing ... |
combine_chunk_1540 | combine.txt | 1,540 | 512 | _to_gcs.py
:language: python
:dedent: 4
:start-after: [START howto_sensor_glacier_job_operation]
:end-before: [END howto_sensor_glacier_job_operation]
References
----------
* `AWS boto3 library documentation for Amazon Glacier <https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services... |
combine_chunk_1541 | combine.txt | 1,541 | 512 | exampleinclude:: /../../amazon/tests/system/amazon/aws/example_s3.py
:language: python
:dedent: 4
:start-after: [START howto_operator_s3_delete_bucket]
:end-before: [END howto_operator_s3_delete_bucket]
.. _howto/operator:S3PutBucketTaggingOperator:
Set the tags for an Amazon S3 bucket
==============... |
combine_chunk_1542 | combine.txt | 1,542 | 512 | :dedent: 4
:start-after: [START howto_operator_s3_create_object]
:end-before: [END howto_operator_s3_create_object]
.. _howto/operator:S3CopyObjectOperator:
Copy an Amazon S3 object
========================
To copy an Amazon S3 object from one bucket to another you can use
:class:`~airflow.providers.amazon.... |
combine_chunk_1543 | combine.txt | 1,543 | 512 | : 4
:start-after: [START howto_operator_s3_delete_objects]
:end-before: [END howto_operator_s3_delete_objects]
.. _howto/operator:S3FileTransformOperator:
Transform an Amazon S3 object
=============================
To transform the data from one Amazon S3 object and save it to another object you can use
:cla... |
combine_chunk_1544 | combine.txt | 1,544 | 512 | S3 bucket you can use
:class:`~airflow.providers.amazon.aws.operators.s3.S3ListOperator`.
You can specify a ``prefix`` to filter the objects whose name begins with such prefix.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_s3.py
:language: python
:dedent: 4
:start-after: [START howto_o... |
combine_chunk_1545 | combine.txt | 1,545 | 512 | :
- ``True``: a certain criteria is met
- ``False``: the criteria isn't met
This function is called for each key passed as parameter in ``bucket_key``.
The reason why the parameter of this function is a list of objects is when ``wildcard_match`` is ``True``,
multiple files can match one key. The list of matched S3 ob... |
combine_chunk_1546 | combine.txt | 1,546 | 512 | howto/sensor:S3KeysUnchangedSensor:
Wait on Amazon S3 prefix changes
================================
To check for changes in the number of objects at a specific prefix in an Amazon S3 bucket and waits until
the inactivity period has passed with no increase in the number of objects you can use
:class:`~airflow.provid... |
combine_chunk_1547 | combine.txt | 1,547 | 512 | and artifacts.
Prerequisite Tasks
------------------
.. include:: ../_partials/prerequisite_tasks.rst
Generic Parameters
------------------
.. include:: ../_partials/generic_parameters.rst
Operators
---------
.. _howto/operator:EcrCreateRepositoryOperator:
Create an ECR repository
========================
To c... |
combine_chunk_1548 | combine.txt | 1,548 | 512 | /api/latest/reference/services/ecr.html>`__
<|file|>airflow/providers/amazon/docs/operators/ecs.rst
.. Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership... |
combine_chunk_1549 | combine.txt | 1,549 | 512 |
:dedent: 4
:start-after: [START howto_operator_ecs_delete_cluster]
:end-before: [END howto_operator_ecs_delete_cluster]
.. _howto/operator:EcsRegisterTaskDefinitionOperator:
Register a Task Definition
==========================
To register a task definition you can use
:class:`~airflow.providers.amazon.... |
combine_chunk_1550 | combine.txt | 1,550 | 512 | the compute resources in your ECS Cluster, set the parameter to EC2.
* If you have integrated external resources in your ECS Cluster, for example using ECS Anywhere, and want to run your containers on those external resources, set the parameter to EXTERNAL.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/ex... |
combine_chunk_1551 | combine.txt | 1,551 | 512 | """"""""""""""""""""""""""""
Use ``fail_on_exit_code`` when a known application failure should fail the Airflow task
without consuming its remaining retries. Other failures continue to use the task's
normal retry settings. For example, if your application uses exit code ``2`` for an
invalid input that will not succeed... |
combine_chunk_1552 | combine.txt | 1,552 | 512 | Allow",
"Action": [
"ecs:RunTask",
"ecs:DescribeTasks",
]
"Resource": [ "arn:aws:ecs:{aws region}:{aws account number}:task_definition/{task definition family}" ]
},
{
"Effect": "Allow",
"Action": [
"iam:PassRole"
]
"Resource": [ "arn:aws:iam::... |
combine_chunk_1553 | combine.txt | 1,553 | 512 | _cluster_state]
:end-before: [END howto_sensor_ecs_cluster_state]
.. _howto/sensor:EcsTaskDefinitionStateSensor:
AWS ECS Task Definition State Sensor
=====================================
To poll the task definition state until it reaches a terminal state you can use
:class:`~airflow.providers.amazon.aws.operato... |
combine_chunk_1554 | combine.txt | 1,554 | 512 | License at
.. http://www.apache.org/licenses/LICENSE-2.0
.. Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
speci... |
combine_chunk_1555 | combine.txt | 1,555 | 512 |
:class:`~airflow.providers.amazon.aws.operators.rds.RDSDeleteDBSnapshotOperator`.
The database snapshot must be in the ``available`` state to be deleted.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_rds_snapshot.py
:language: python
:dedent: 4
:start-after: [START howto_operator_rds_d... |
combine_chunk_1556 | combine.txt | 1,556 | 512 | _operator_rds_create_event_subscription]
:end-before: [END howto_operator_rds_create_event_subscription]
.. _howto/operator:RDSDeleteEventSubscriptionOperator:
Unsubscribe to an Amazon RDS event notification
===============================================
To delete an Amazon RDS event subscription you can use
:c... |
combine_chunk_1557 | combine.txt | 1,557 | 512 | _rds_start_db]
:end-before: [END howto_operator_rds_start_db]
.. _howto/operator:RdsStopDbOperator:
Stop a database instance or cluster
===================================
To stop an Amazon RDS DB instance or cluster you can use
:class:`~airflow.providers.amazon.aws.operators.rds.RdsStopDbOperator`.
.. example... |
combine_chunk_1558 | combine.txt | 1,558 | 512 | /aws/example_rds_export.py
:language: python
:dedent: 4
:start-after: [START howto_sensor_rds_export_task_existence]
:end-before: [END howto_sensor_rds_export_task_existence]
Reference
---------
* `AWS boto3 library documentation for RDS <https://boto3.amazonaws.com/v1/documentation/api/latest/referen... |
combine_chunk_1559 | combine.txt | 1,559 | 512 | Sync Task is executed it creates an AWS DataSync TaskExecution, identified
by a TaskExecutionArn.
The TaskExecutionArn will be monitored until completion (success / failure), and its status will be
periodically written to the Airflow task log.
The :class:`~airflow.providers.amazon.aws.operators.datasync.DataSyncOpera... |
combine_chunk_1560 | combine.txt | 1,560 | 512 | , because ``delete_task_after_execution`` is set to ``True``, the task will be deleted
from AWS DataSync after it completes successfully.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_datasync.py
:language: python
:dedent: 4
:start-after: [START howto_operator_datasync_create_task]
... |
combine_chunk_1561 | combine.txt | 1,561 | 512 | Super-fast, Parallel, In-Memory, Calculation Engine (SPICE).
Prerequisite Tasks
------------------
.. include:: ../_partials/prerequisite_tasks.rst
Generic Parameters
------------------
.. include:: ../_partials/generic_parameters.rst
Operators
---------
.. _howto/operator:QuickSightCreateIngestionOperator:
Ama... |
combine_chunk_1562 | combine.txt | 1,562 | 512 | .0
.. Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
unde... |
combine_chunk_1563 | combine.txt | 1,563 | 512 | airflow/providers/amazon/docs/operators/appflow.rst
.. Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under th... |
combine_chunk_1564 | combine.txt | 1,564 | 512 | Zendesk
.. _howto/operator:AppflowRunOperator:
Run Flow Full
=============
To run an AppFlow flow removing all filters, use:
:class:`~airflow.providers.amazon.aws.operators.appflow.AppflowRunFullOperator`.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_appflow.py
:language: python
:deden... |
combine_chunk_1565 | combine.txt | 1,565 | 512 | AppFlow run return zero records, use:
:class:`~airflow.providers.amazon.aws.operators.appflow.AppflowRecordsShortCircuitOperator`.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_appflow.py
:language: python
:dedent: 4
:start-after: [START howto_operator_appflow_shortcircuit]
:end-be... |
combine_chunk_1566 | combine.txt | 1,566 | 512 |
---------
.. _howto/operator:EventBridgePutEventsOperator:
Send events to Amazon EventBridge
=================================
To send custom events to Amazon EventBridge, use
:class:`~airflow.providers.amazon.aws.operators.eventbridge.EventBridgePutEventsOperator`.
.. exampleinclude:: /../../amazon/tests/system/... |
combine_chunk_1567 | combine.txt | 1,567 | 512 | or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License... |
combine_chunk_1568 | combine.txt | 1,568 | 512 | , either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
===============================
Amazon EMR Serverless Operators
===============================
`Amazon EMR Serverless <https://aws.amazon.com/emr/serverless/>`__ is a serverless o... |
combine_chunk_1569 | combine.txt | 1,569 | 512 | also be configured to generate one-time links to the application UIs and Spark stdout logs
by passing the ``enable_application_ui_links=True`` as a parameter. Once the job starts running, these links
are available in the Details section of the relevant Task. If ``enable_application_ui_links=False`` then the
links will... |
combine_chunk_1570 | combine.txt | 1,570 | 512 | you can use
:class:`~airflow.providers.amazon.aws.sensors.emr.EmrServerlessJobSensor`.
This sensor can be run in deferrable mode by passing ``deferrable=True`` as a parameter. This requires
the aiobotocore module to be installed.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_emr_serverless.py
:... |
combine_chunk_1571 | combine.txt | 1,571 | 512 | _start_session]
:end-before: [END howto_operator_emr_serverless_start_session]
.. _howto/operator:EmrServerlessGetSessionEndpointOperator:
Get an interactive session endpoint
===================================
To resolve the Spark Connect endpoint and a short-lived auth token for a running session, use
:class:`~... |
combine_chunk_1572 | combine.txt | 1,572 | 512 | You may obtain a copy of the License at
.. http://www.apache.org/licenses/LICENSE-2.0
.. Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See ... |
combine_chunk_1573 | combine.txt | 1,573 | 512 | cluster
The example job below calculates the mathematical constant ``Pi``. In a
production job, you would usually refer to a Spark script on Amazon Simple Storage Service (S3).
To create a job for Amazon EMR on Amazon EKS, you need to specify your virtual cluster ID, the release of Amazon EMR you
want to use, your IA... |
combine_chunk_1574 | combine.txt | 1,574 | 512 | EmrContainerSensor`
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_emr_eks.py
:language: python
:dedent: 4
:start-after: [START howto_sensor_emr_container]
:end-before: [END howto_sensor_emr_container]
Reference
---------
* `AWS boto3 library documentation for EMR Containers <https... |
combine_chunk_1575 | combine.txt | 1,575 | 512 | include:: ../../_partials/generic_parameters.rst
Operators
---------
.. note::
In order to run the examples successfully, you need to create the IAM Service
Roles(``EMR_EC2_DefaultRole`` and ``EMR_DefaultRole``) for Amazon EMR. You can
create these roles using the AWS CLI: ``aws emr create-default-roles... |
combine_chunk_1576 | combine.txt | 1,576 | 512 | R clusters launched with the EMR API like this one are not visible to all users by default, so
you may not see the cluster in the EMR Management Console - you can change this by adding
``'VisibleToAllUsers': True`` at the end of the ``JOB_FLOW_OVERRIDES`` dict.
For more config information, please refer to `Bot... |
combine_chunk_1577 | combine.txt | 1,577 | 512 | passing ``openlineage_inject_parent_job_info=True``. The operator preserves manually configured
``spark.openlineage.parent*`` properties and does not modify non-Spark steps. The Spark application must still
have the OpenLineage Spark integration installed and enabled.
See the `OpenLineage Spark automatic injection do... |
combine_chunk_1578 | combine.txt | 1,578 | 512 | END howto_operator_emr_start_notebook_execution]
.. _howto/operator:EmrStopNotebookExecutionOperator:
Stop an EMR notebook execution
====================================
You can use :class:`~airflow.providers.amazon.aws.operators.emr.EmrStopNotebookExecutionOperator` to
stop a running notebook execution.
.. example... |
combine_chunk_1579 | combine.txt | 1,579 | 512 | be viewed in detail `here <https://docs.aws.amazon.com/general/latest/gr/emr.html#limits_emr>`__.
As a consequence, you might experience throttling issues when using any of the operators and sensors listed in this
page. To circumvent this limitation, consider customizing the AWS connection configuration to modify the ... |
combine_chunk_1580 | combine.txt | 1,580 | 512 | hosted on AWS MWAA.
Prerequisite Tasks
------------------
.. include:: ../_partials/prerequisite_tasks.rst
Generic Parameters
------------------
.. include:: ../_partials/generic_parameters.rst
Operators
---------
.. _howto/operator:MwaaTriggerDagRunOperator:
Trigger a Dag run in an Amazon MWAA environment
=====... |
combine_chunk_1581 | combine.txt | 1,581 | 512 | ent: 4
:start-after: [START howto_sensor_mwaa_task]
:end-before: [END howto_sensor_mwaa_task]
References
----------
* `AWS boto3 library documentation for MWAA <https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/mwaa.html>`__
<|file|>airflow/providers/amazon/docs/operators/s3_tables.r... |
combine_chunk_1582 | combine.txt | 1,582 | 512 | TableOperator:
Create a Table
--------------
To create a new Iceberg table in an Amazon S3 Tables namespace you can use
:class:`~airflow.providers.amazon.aws.operators.s3_tables.S3TablesCreateTableOperator`.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_s3_tables.py
:language: python
:ded... |
combine_chunk_1583 | combine.txt | 1,583 | 512 | include:: /../../amazon/tests/system/amazon/aws/example_s3_tables.py
:language: python
:dedent: 4
:start-after: [START howto_operator_s3tables_rename_table]
:end-before: [END howto_operator_s3tables_rename_table]
.. _howto/operator:S3TablesPutTableBucketPolicyOperator:
Put a Table Bucket Policy
-----... |
combine_chunk_1584 | combine.txt | 1,584 | 512 | OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
=================
AWS Glue DataBrew
=================
`AWS Glue DataBrew <https://aws.amazon.com/glue/features/databrew/>`__ is a visual data preparation tool
that m... |
combine_chunk_1585 | combine.txt | 1,585 | 512 | under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
================
Amazon SageMaker
================
`Amazon SageMaker <http... |
combine_chunk_1586 | combine.txt | 1,586 | 512 | _model]
.. _howto/operator:SageMakerTuningOperator:
Start a hyperparameter tuning job
=================================
To start a hyperparameter tuning job for an Amazon Sagemaker model you can use
:class:`~airflow.providers.amazon.aws.operators.sagemaker.SageMakerTuningOperator`.
.. exampleinclude:: /../../amazon... |
combine_chunk_1587 | combine.txt | 1,587 | 512 | :`~airflow.providers.amazon.aws.operators.sagemaker.SageMakerEndpointOperator`.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_sagemaker_endpoint.py
:language: python
:dedent: 4
:start-after: [START howto_operator_sagemaker_endpoint]
:end-before: [END howto_operator_sagemaker_endpoin... |
combine_chunk_1588 | combine.txt | 1,588 | 512 | :end-before: [END howto_operator_sagemaker_register]
.. _howto/operator:SageMakerAutoMLOperator:
Launch an AutoML experiment
===========================
To launch an AutoML experiment, a.k.a. SageMaker Autopilot, you can use :class:`~airflow.providers.amazon.aws.operators.sagemaker.SageMakerAutoMLOperator`.
An A... |
combine_chunk_1589 | combine.txt | 1,589 | 512 | bookOperator`.
This terminates the ML compute instance and disconnects the ML storage volume.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_sagemaker_notebook.py
:language: python
:dedent: 4
:start-after: [START howto_operator_sagemaker_notebook_stop]
:end-before: [END howto_operato... |
combine_chunk_1590 | combine.txt | 1,590 | 512 | END howto_sensor_sagemaker_training]
.. _howto/sensor:SageMakerTransformSensor:
Wait on an Amazon SageMaker transform job state
===============================================
To check the state of an Amazon Sagemaker transform job until it reaches a terminal state
you can use :class:`~airflow.providers.amazon.aws.o... |
combine_chunk_1591 | combine.txt | 1,591 | 512 | :end-before: [END howto_sensor_sagemaker_pipeline]
.. _howto/sensor:SageMakerAutoMLSensor:
Wait on an Amazon SageMaker AutoML experiment state
===================================================
To check the state of an Amazon Sagemaker AutoML job until it reaches a terminal state
you can use :class:`~airflow.pr... |
combine_chunk_1592 | combine.txt | 1,592 | 512 | dedent: 4
:start-after: [START howto_operator_sagemaker_condition_not_or]
:end-before: [END howto_operator_sagemaker_condition_not_or]
Reference
---------
* `AWS boto3 library documentation for Sagemaker <https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html>`__
* `Amazon S... |
combine_chunk_1593 | combine.txt | 1,593 | 512 | _analytics.py
:language: python
:dedent: 4
:start-after: [START howto_operator_create_application]
:end-before: [END howto_operator_create_application]
.. _howto/operator:KinesisAnalyticsV2StartApplicationOperator:
Start an Amazon Managed Service for Apache Flink Application
==========================... |
combine_chunk_1594 | combine.txt | 1,594 | 512 | CompletedSensor`.
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_kinesis_analytics.py
:language: python
:dedent: 4
:start-after: [START howto_sensor_stop_application]
:end-before: [END howto_sensor_stop_application]
Reference
---------
* `AWS boto3 library documentation for Amazon ... |
combine_chunk_1595 | combine.txt | 1,595 | 512 | specific instance, you can use the "command_executed"
Waiter. Additionally, you can use the following components to track the status of the command execution:
:class:`~airflow.providers.amazon.aws.sensors.ssm.SsmRunCommandCompletedSensor` Sensor,
or the :class:`~airflow.providers.amazon.aws.triggers.ssm.SsmRunCommandT... |
combine_chunk_1596 | combine.txt | 1,596 | 512 | for debugging or data processing purposes
To retrieve output from all instances that executed a command:
.. code-block:: python
get_all_output = SsmGetCommandInvocationOperator(
task_id="get_command_output",
command_id='{{ ti.xcom_pull(task_ids="run_command") }}', # From upstream task
)
To... |
combine_chunk_1597 | combine.txt | 1,597 | 512 | or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License... |
combine_chunk_1598 | combine.txt | 1,598 | 512 | -to addresses:
.. exampleinclude:: /../../amazon/tests/system/amazon/aws/example_ses.py
:language: python
:dedent: 4
:start-after: [START howto_operator_ses_email_headers]
:end-before: [END howto_operator_ses_email_headers]
The operator also supports Jinja templating for dynamic content:
.. examplein... |
combine_chunk_1599 | combine.txt | 1,599 | 512 | an Amazon OpenSearch Serverless Collection to become active
====================================================================
To wait on the state of an Amazon Bedrock customize model job until it reaches a terminal state you can use
:class:`~airflow.providers.amazon.aws.sensors.bedrock.OpenSearchServerlessCollect... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.