service

package module
v0.0.0-...-6e6fad1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 20 Imported by: 1

Documentation

Overview

File: https://github.com/data-engineering-helpers/dppctl/blob/main/service/aws.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AWSAirflowCLI

func AWSAirflowCLI(webServerHostname string, cliToken string,
	command string) (string, error)

*

func AWSCodeArtifactFormatFromString

func AWSCodeArtifactFormatFromString(format string) (awscatypes.PackageFormat,
	error)

*

  • AWS CodeArticat (CA) - Get the repository format from a string *
  • Not sure that this function is needed in Go. It is way possible that
  • Go can do the same thing in a much safer and automated way thanks to
  • the AWS SDK for go. Contributions are welcome (https://github.com/data-engineering-helpers/dppctl/pulls)
  • if you find out.

func AWSGetCallerIdentity

func AWSGetCallerIdentity() (string, error)

*

  • AWS STS - Get caller identity

func AWSS3List

func AWSS3List(bucketName string, prefix string) ([]string, error)

*

  • AWS S3 - List of objects within a specific folder (prefix)

Types

type MWAAResponse

type MWAAResponse struct {
	StdErr string `json:"stderr"`
	StdOut string `json:"stdout"`
}

A Response struct to map the MWAA CLI API response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL