emrserverless

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Overview

Code generated by generate-cached. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	service.AbstractResource
	*types.Application
}

func NewApplication

func NewApplication(client AwsClient, application *types.Application) Application

func (Application) GetName

func (e Application) GetName() string

func (Application) GetTagValue

func (e Application) GetTagValue(tag string) string

func (Application) GetTags

func (e Application) GetTags() map[string]string

type ApplicationList

type ApplicationList struct {
	Items []Application
}

type AwsClient

type AwsClient interface {
	GetRegion() ptypes.AwsRegion
	GetAccountID() ptypes.AwsAccountID
}

type EMRServerlessRepository

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

func NewEMRServerlessRepository

func NewEMRServerlessRepository(ctx context.Context, client *v3.Client) *EMRServerlessRepository

func (*EMRServerlessRepository) DescribeApplication

func (r *EMRServerlessRepository) DescribeApplication(applicationId *string) (*Application, error)

func (*EMRServerlessRepository) DescribeApplicationByInput

func (r *EMRServerlessRepository) DescribeApplicationByInput(query *awsemr.GetApplicationInput) (*Application, error)

func (*EMRServerlessRepository) GetRegion

func (r *EMRServerlessRepository) GetRegion() ptypes.AwsRegion

func (*EMRServerlessRepository) ListApplicationsActive

func (r *EMRServerlessRepository) ListApplicationsActive() ([]Application, error)

func (*EMRServerlessRepository) ListApplicationsAll

func (r *EMRServerlessRepository) ListApplicationsAll(maxResults *int32) ([]Application, error)

func (*EMRServerlessRepository) ListApplicationsByInput

func (r *EMRServerlessRepository) ListApplicationsByInput(query *awsemr.ListApplicationsInput) ([]Application, error)

func (*EMRServerlessRepository) ListJobRunsAll

func (r *EMRServerlessRepository) ListJobRunsAll() ([]JobRun, error)

func (*EMRServerlessRepository) ListJobRunsByInput

func (r *EMRServerlessRepository) ListJobRunsByInput(query *awsemr.ListJobRunsInput) ([]JobRun, error)

ListJobRunsByInput returns all job runs for a given Input

func (*EMRServerlessRepository) WithCache added in v0.4.0

WithCache returns a EMRServerlessRepositoryCached that stores/retrieves results via the given DataCache. The cache namespace is set to "<accountID>:<region>".

type EMRServerlessRepositoryCached added in v0.4.0

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

EMRServerlessRepositoryCached wraps EMRServerlessRepository and caches results of Get*/List* calls.

func (*EMRServerlessRepositoryCached) ListApplicationsActive added in v0.4.0

func (c *EMRServerlessRepositoryCached) ListApplicationsActive() ([]Application, error)

ListApplicationsActive returns cached results when available, otherwise delegates to the underlying repository.

func (*EMRServerlessRepositoryCached) ListApplicationsAll added in v0.4.0

func (c *EMRServerlessRepositoryCached) ListApplicationsAll(maxResults *int32) ([]Application, error)

ListApplicationsAll returns cached results when available, otherwise delegates to the underlying repository.

func (*EMRServerlessRepositoryCached) ListApplicationsByInput added in v0.4.0

func (c *EMRServerlessRepositoryCached) ListApplicationsByInput(query *awsemr.ListApplicationsInput) ([]Application, error)

ListApplicationsByInput returns cached results when available, otherwise delegates to the underlying repository.

func (*EMRServerlessRepositoryCached) ListJobRunsAll added in v0.4.0

func (c *EMRServerlessRepositoryCached) ListJobRunsAll() ([]JobRun, error)

ListJobRunsAll returns cached results when available, otherwise delegates to the underlying repository.

func (*EMRServerlessRepositoryCached) ListJobRunsByInput added in v0.4.0

func (c *EMRServerlessRepositoryCached) ListJobRunsByInput(query *awsemr.ListJobRunsInput) ([]JobRun, error)

ListJobRunsByInput returns cached results when available, otherwise delegates to the underlying repository.

type JobRun

type JobRun struct {
	service.AbstractResource
	*types.JobRun
}

func NewJobRun

func NewJobRun(client AwsClient, jobRun *types.JobRun) JobRun

func (JobRun) GetName

func (e JobRun) GetName() string

func (JobRun) GetTagValue

func (e JobRun) GetTagValue(tag string) string

func (JobRun) GetTags

func (e JobRun) GetTags() map[string]string

type JobRunList

type JobRunList struct {
	Items []JobRun
}

Jump to

Keyboard shortcuts

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