npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_mwaa

v5.0.0

Published

DataFire integration for AmazonMWAA

Downloads

6

Readme

@datafire/amazonaws_mwaa

Client library for AmazonMWAA

Installation and Usage

npm install --save @datafire/amazonaws_mwaa
let amazonaws_mwaa = require('@datafire/amazonaws_mwaa').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

CreateCliToken

amazonaws_mwaa.CreateCliToken({
  "Name": ""
}, context)

Input

  • input object
    • Name required string

Output

ListEnvironments

amazonaws_mwaa.ListEnvironments({}, context)

Input

  • input object
    • MaxResults integer
    • NextToken string

Output

DeleteEnvironment

amazonaws_mwaa.DeleteEnvironment({
  "Name": ""
}, context)

Input

  • input object
    • Name required string

Output

GetEnvironment

amazonaws_mwaa.GetEnvironment({
  "Name": ""
}, context)

Input

  • input object
    • Name required string

Output

UpdateEnvironment

amazonaws_mwaa.UpdateEnvironment({
  "Name": ""
}, context)

Input

  • input object
    • Name required string
    • AirflowConfigurationOptions object: The Airflow Configuration Options to update of your Amazon MWAA environment.
    • AirflowVersion string: The Airflow Version to update of your Amazon MWAA environment.
    • DagS3Path string: The Dags folder S3 Path to update of your Amazon MWAA environment.
    • EnvironmentClass string: The Environment Class to update of your Amazon MWAA environment.
    • ExecutionRoleArn string: The Executio Role ARN to update of your Amazon MWAA environment.
    • LoggingConfiguration object: The Logging Configuration of your Amazon MWAA environment.
    • MaxWorkers integer: The Maximum Workers to update of your Amazon MWAA environment.
    • NetworkConfiguration object: Provide the security group and subnet IDs for the workers and scheduler.
    • PluginsS3ObjectVersion string: The Plugins.zip S3 Object Version to update of your Amazon MWAA environment.
    • PluginsS3Path string: The Plugins.zip S3 Path to update of your Amazon MWAA environment.
    • RequirementsS3ObjectVersion string: The Requirements.txt S3 ObjectV ersion to update of your Amazon MWAA environment.
    • RequirementsS3Path string: The Requirements.txt S3 Path to update of your Amazon MWAA environment.
    • SourceBucketArn string: The S3 Source Bucket ARN to update of your Amazon MWAA environment.
    • WebserverAccessMode string (values: PRIVATE_ONLY, PUBLIC_ONLY): The Webserver Access Mode to update of your Amazon MWAA environment.
    • WeeklyMaintenanceWindowStart string: The Weekly Maintenance Window Start to update of your Amazon MWAA environment.

Output

CreateEnvironment

amazonaws_mwaa.CreateEnvironment({
  "Name": "",
  "DagS3Path": "",
  "ExecutionRoleArn": "",
  "NetworkConfiguration": {},
  "SourceBucketArn": ""
}, context)

Input

  • input object
    • Name required string
    • AirflowConfigurationOptions object: The Apache Airflow configuration setting you want to override in your environment. For more information, see Environment configuration.
    • AirflowVersion string: The Apache Airflow version you want to use for your environment.
    • DagS3Path required string: The relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    • EnvironmentClass string: The environment class you want to use for your environment. The environment class determines the size of the containers and database used for your Apache Airflow services.
    • ExecutionRoleArn required string: The Amazon Resource Name (ARN) of the execution role for your environment. An execution role is an AWS Identity and Access Management (IAM) role that grants MWAA permission to access AWS services and resources used by your environment. For example, arn:aws:iam::123456789:role/my-execution-role. For more information, see Managing access to Amazon Managed Workflows for Apache Airflow.
    • KmsKey string: The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a custom KMS key (advanced). For more information, see Customer master keys (CMKs) in the AWS KMS developer guide.
    • LoggingConfiguration object: The Logging Configuration of your Amazon MWAA environment.
    • MaxWorkers integer: The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers and the Fargate containers that run your tasks up to the number you specify in this field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra containers leaving the one worker that is included with your environment.
    • NetworkConfiguration required object: Provide the security group and subnet IDs for the workers and scheduler.
    • PluginsS3ObjectVersion string: The plugins.zip file version you want to use.
    • PluginsS3Path string: The relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then PluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    • RequirementsS3ObjectVersion string: The requirements.txt file version you want to use.
    • RequirementsS3Path string: The relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then RequirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    • SourceBucketArn required string: The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    • Tags object: The metadata tags you want to attach to your environment. For more information, see Tagging AWS resources.
    • WebserverAccessMode string (values: PRIVATE_ONLY, PUBLIC_ONLY): The networking access of your Apache Airflow web server. A public network allows your Airflow UI to be accessed over the Internet by users granted access in your IAM policy. A private network limits access of your Airflow UI to users within your VPC. For more information, see Creating the VPC network for a MWAA environment.
    • WeeklyMaintenanceWindowStart string: The day and time you want MWAA to start weekly maintenance updates on your environment.

Output

PublishMetrics

amazonaws_mwaa.PublishMetrics({
  "EnvironmentName": "",
  "MetricData": []
}, context)

Input

  • input object
    • EnvironmentName required string
    • MetricData required array: Publishes metric data points to Amazon CloudWatch. CloudWatch associates the data points with the specified metrica.

Output

ListTagsForResource

amazonaws_mwaa.ListTagsForResource({
  "ResourceArn": ""
}, context)

Input

  • input object
    • ResourceArn required string

Output

TagResource

amazonaws_mwaa.TagResource({
  "ResourceArn": "",
  "Tags": {}
}, context)

Input

  • input object
    • ResourceArn required string
    • Tags required object: The tag resource tag of the MWAA environments.

Output

UntagResource

amazonaws_mwaa.UntagResource({
  "ResourceArn": "",
  "tagKeys": []
}, context)

Input

  • input object
    • ResourceArn required string
    • tagKeys required array

Output

CreateWebLoginToken

amazonaws_mwaa.CreateWebLoginToken({
  "Name": ""
}, context)

Input

  • input object
    • Name required string

Output

Definitions

AccessDeniedException

AirflowConfigurationOptions

  • AirflowConfigurationOptions object

AirflowVersion

  • AirflowVersion string

CloudWatchLogGroupArn

  • CloudWatchLogGroupArn string

ConfigKey

  • ConfigKey string

ConfigValue

  • ConfigValue string

CreateCliTokenRequest

  • CreateCliTokenRequest object

CreateCliTokenResponse

  • CreateCliTokenResponse object
    • CliToken
    • WebServerHostname

CreateEnvironmentInput

CreateEnvironmentOutput

  • CreateEnvironmentOutput object
    • Arn

CreateWebLoginTokenRequest

  • CreateWebLoginTokenRequest object

CreateWebLoginTokenResponse

  • CreateWebLoginTokenResponse object
    • WebServerHostname
    • WebToken

CreatedAt

  • CreatedAt string

DeleteEnvironmentInput

  • DeleteEnvironmentInput object

DeleteEnvironmentOutput

  • DeleteEnvironmentOutput object

Dimension

  • Dimension object: Internal only API.
    • Name required
    • Value required

Dimensions

Double

  • Double number

Environment

EnvironmentArn

  • EnvironmentArn string

EnvironmentClass

  • EnvironmentClass string

EnvironmentList

EnvironmentName

  • EnvironmentName string

EnvironmentStatus

  • EnvironmentStatus string (values: CREATING, CREATE_FAILED, AVAILABLE, UPDATING, DELETING, DELETED)

ErrorCode

  • ErrorCode string

ErrorMessage

  • ErrorMessage string

GetEnvironmentInput

  • GetEnvironmentInput object

GetEnvironmentOutput

Hostname

  • Hostname string

IamRoleArn

  • IamRoleArn string

Integer

  • Integer integer

InternalServerException

KmsKey

  • KmsKey string

LastUpdate

  • LastUpdate object: Last update information for the environment.
    • CreatedAt
    • Error
      • ErrorCode
      • ErrorMessage
    • Status

ListEnvironmentsInput

  • ListEnvironmentsInput object

ListEnvironmentsInputMaxResultsInteger

  • ListEnvironmentsInputMaxResultsInteger integer

ListEnvironmentsOutput

  • ListEnvironmentsOutput object

ListTagsForResourceInput

  • ListTagsForResourceInput object

ListTagsForResourceOutput

  • ListTagsForResourceOutput object
    • Tags

LoggingConfiguration

LoggingConfigurationInput

LoggingEnabled

  • LoggingEnabled boolean

LoggingLevel

  • LoggingLevel string (values: CRITICAL, ERROR, WARNING, INFO, DEBUG)

MaxWorkers

  • MaxWorkers integer

MetricData

MetricDatum

  • MetricDatum object: Internal only API.
    • Dimensions
    • MetricName required
    • StatisticValues
      • Maximum
      • Minimum
      • SampleCount
      • Sum
    • Timestamp required
    • Unit Unit
    • Value

ModuleLoggingConfiguration

  • ModuleLoggingConfiguration object: A JSON blob that provides configuration to use for logging with respect to the various Apache Airflow services: DagProcessingLogs, SchedulerLogs, TaskLogs, WebserverLogs, and WorkerLogs.
    • CloudWatchLogGroupArn
    • Enabled
    • LogLevel

ModuleLoggingConfigurationInput

  • ModuleLoggingConfigurationInput object: A JSON blob that provides configuration to use for logging with respect to the various Apache Airflow services: DagProcessingLogs, SchedulerLogs, TaskLogs, WebserverLogs, and WorkerLogs.
    • Enabled required
    • LogLevel required

NetworkConfiguration

  • NetworkConfiguration object: Provide the security group and subnet IDs for the workers and scheduler.

NextToken

  • NextToken string

PublishMetricsInput

  • PublishMetricsInput object

PublishMetricsOutput

  • PublishMetricsOutput object

RelativePath

  • RelativePath string

ResourceNotFoundException

S3BucketArn

  • S3BucketArn string

S3ObjectVersion

  • S3ObjectVersion string

SecurityGroupId

  • SecurityGroupId string

SecurityGroupList

StatisticSet

  • StatisticSet object: Internal only API.
    • Maximum
    • Minimum
    • SampleCount
    • Sum

String

  • String string

SubnetId

  • SubnetId string

SubnetList

SyntheticCreateCliTokenResponseToken

  • SyntheticCreateCliTokenResponseToken string

SyntheticCreateEnvironmentInputAirflowConfigurationOptions

  • SyntheticCreateEnvironmentInputAirflowConfigurationOptions object

SyntheticCreateWebLoginTokenResponseToken

  • SyntheticCreateWebLoginTokenResponseToken string

SyntheticUpdateEnvironmentInputAirflowConfigurationOptions

  • SyntheticUpdateEnvironmentInputAirflowConfigurationOptions object

TagKey

  • TagKey string

TagKeyList

TagMap

  • TagMap object

TagResourceInput

  • TagResourceInput object
    • Tags required

TagResourceOutput

  • TagResourceOutput object

TagValue

  • TagValue string

Timestamp

  • Timestamp string

Unit

  • Unit string (values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None): Unit

UntagResourceInput

  • UntagResourceInput object

UntagResourceOutput

  • UntagResourceOutput object

UpdateCreatedAt

  • UpdateCreatedAt string

UpdateEnvironmentInput

UpdateEnvironmentOutput

  • UpdateEnvironmentOutput object
    • Arn

UpdateError

  • UpdateError object: Error information of update, if applicable.
    • ErrorCode
    • ErrorMessage

UpdateNetworkConfigurationInput

  • UpdateNetworkConfigurationInput object: Provide the security group and subnet IDs for the workers and scheduler.

UpdateStatus

  • UpdateStatus string (values: SUCCESS, PENDING, FAILED)

ValidationException

WebserverAccessMode

  • WebserverAccessMode string (values: PRIVATE_ONLY, PUBLIC_ONLY)

WebserverUrl

  • WebserverUrl string

WeeklyMaintenanceWindowStart

  • WeeklyMaintenanceWindowStart string