View on GitHub

aws-sdk-swift

MwaaClientProtocol

Amazon Managed Workflows for Apache Airflow This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see What Is Amazon MWAA?.

public protocol MwaaClientProtocol 

Requirements

createCliToken(input:completion:)

Create a CLI token to use Airflow CLI.

func createCliToken(input: CreateCliTokenInput, completion: @escaping (ClientRuntime.SdkResult<CreateCliTokenOutputResponse, CreateCliTokenOutputError>) -> Void)

createEnvironment(input:completion:)

Creates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.

func createEnvironment(input: CreateEnvironmentInput, completion: @escaping (ClientRuntime.SdkResult<CreateEnvironmentOutputResponse, CreateEnvironmentOutputError>) -> Void)

createWebLoginToken(input:completion:)

Create a JWT token to be used to login to Airflow Web UI with claims based Authentication.

func createWebLoginToken(input: CreateWebLoginTokenInput, completion: @escaping (ClientRuntime.SdkResult<CreateWebLoginTokenOutputResponse, CreateWebLoginTokenOutputError>) -> Void)

deleteEnvironment(input:completion:)

Deletes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.

func deleteEnvironment(input: DeleteEnvironmentInput, completion: @escaping (ClientRuntime.SdkResult<DeleteEnvironmentOutputResponse, DeleteEnvironmentOutputError>) -> Void)

getEnvironment(input:completion:)

Retrieves the details of an Amazon Managed Workflows for Apache Airflow (MWAA) environment.

func getEnvironment(input: GetEnvironmentInput, completion: @escaping (ClientRuntime.SdkResult<GetEnvironmentOutputResponse, GetEnvironmentOutputError>) -> Void)

listEnvironments(input:completion:)

Lists the Amazon Managed Workflows for Apache Airflow (MWAA) environments.

func listEnvironments(input: ListEnvironmentsInput, completion: @escaping (ClientRuntime.SdkResult<ListEnvironmentsOutputResponse, ListEnvironmentsOutputError>) -> Void)

listTagsForResource(input:completion:)

Lists the key-value tag pairs associated to the Amazon Managed Workflows for Apache Airflow (MWAA) environment. For example, “Environment”: “Staging”.

func listTagsForResource(input: ListTagsForResourceInput, completion: @escaping (ClientRuntime.SdkResult<ListTagsForResourceOutputResponse, ListTagsForResourceOutputError>) -> Void)

publishMetrics(input:completion:)

An operation for publishing metrics from the customers to the Ops plane.

func publishMetrics(input: PublishMetricsInput, completion: @escaping (ClientRuntime.SdkResult<PublishMetricsOutputResponse, PublishMetricsOutputError>) -> Void)

tagResource(input:completion:)

Associates key-value tag pairs to your Amazon Managed Workflows for Apache Airflow (MWAA) environment.

func tagResource(input: TagResourceInput, completion: @escaping (ClientRuntime.SdkResult<TagResourceOutputResponse, TagResourceOutputError>) -> Void)

untagResource(input:completion:)

Removes key-value tag pairs associated to your Amazon Managed Workflows for Apache Airflow (MWAA) environment. For example, “Environment”: “Staging”.

func untagResource(input: UntagResourceInput, completion: @escaping (ClientRuntime.SdkResult<UntagResourceOutputResponse, UntagResourceOutputError>) -> Void)

updateEnvironment(input:completion:)

Updates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.

func updateEnvironment(input: UpdateEnvironmentInput, completion: @escaping (ClientRuntime.SdkResult<UpdateEnvironmentOutputResponse, UpdateEnvironmentOutputError>) -> Void)