awsconnections

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package awsconnections contains methods related to AwsConnections

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsConnectionsV1

type AwsConnectionsV1 struct {
	// contains filtered or unexported fields
}

AwsConnectionsV1 represents a custom type struct

func (*AwsConnectionsV1) CreateAwsConnection

func (a *AwsConnectionsV1) CreateAwsConnection(
	body *models.CreateAwsConnectionV1Request) (
	*models.CreateAWSConnectionResponse, *apiutils.APIError)

CreateAwsConnection Initiate a new AWS connection.

func (*AwsConnectionsV1) DeleteAwsConnection

func (a *AwsConnectionsV1) DeleteAwsConnection(
	connectionId string) (
	interface{}, *apiutils.APIError)

DeleteAwsConnection Delete the specified AWS connection.

func (*AwsConnectionsV1) ListAwsConnections

func (a *AwsConnectionsV1) ListAwsConnections(
	limit *int64,
	start *string,
	filter *string) (
	*models.ListAWSConnectionsResponse, *apiutils.APIError)

ListAwsConnections Returns a list of AWS Connections

func (*AwsConnectionsV1) ReadAwsConnection

func (a *AwsConnectionsV1) ReadAwsConnection(
	connectionId string) (
	*models.ReadAWSConnectionResponse, *apiutils.APIError)

ReadAwsConnection Returns a representation of the specified AWS connection.

func (*AwsConnectionsV1) UpdateAwsConnection

func (a *AwsConnectionsV1) UpdateAwsConnection(
	connectionId string,
	body models.UpdateAwsConnectionV1Request) (
	*models.UpdateAWSConnectionResponse, *apiutils.APIError)

UpdateAwsConnection Returns a new template url for the specified configuration.

type AwsConnectionsV1Client

type AwsConnectionsV1Client interface {
	// ListAwsConnections Returns a list of AWS Connections
	ListAwsConnections(
		limit *int64,
		start *string,
		filter *string) (
		*models.ListAWSConnectionsResponse, *apiutils.APIError)

	// CreateAwsConnection Initiate a new AWS connection.
	CreateAwsConnection(
		body *models.CreateAwsConnectionV1Request) (
		*models.CreateAWSConnectionResponse, *apiutils.APIError)

	// ReadAwsConnection Returns a representation of the specified AWS connection.
	ReadAwsConnection(
		connectionId string) (
		*models.ReadAWSConnectionResponse, *apiutils.APIError)

	// DeleteAwsConnection Delete the specified AWS connection.
	DeleteAwsConnection(
		connectionId string) (
		interface{}, *apiutils.APIError)

	// UpdateAwsConnection Returns a new template url for the specified configuration.
	UpdateAwsConnection(
		connectionId string,
		body models.UpdateAwsConnectionV1Request) (
		*models.UpdateAWSConnectionResponse, *apiutils.APIError)
}

AwsConnectionsV1Client represents a custom type interface

func NewAwsConnectionsV1

func NewAwsConnectionsV1(config config.Config) AwsConnectionsV1Client

NewAwsConnectionsV1 returns AwsConnectionsV1Client

Jump to

Keyboard shortcuts

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