ssm

package
v0.27.0-pre01 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: AGPL-3.0 Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSM

type SSM struct {
	Service ssmiface.SSMAPI
	// contains filtered or unexported fields
}

func New

func New(opts ...SSMOption) *SSM

New creates a new SSM

func (*SSM) CreateAssociation added in v0.14.0

func (s *SSM) CreateAssociation(ctx context.Context, instanceId, docName string) (string, error)

func (*SSM) DescribeAssociation

func (s *SSM) DescribeAssociation(ctx context.Context, instanceId, docName string) (*ssm.DescribeAssociationOutput, error)

func (*SSM) GetCommandInvocation

func (s *SSM) GetCommandInvocation(ctx context.Context, instanceId, commandId string) (*ssm.GetCommandInvocationOutput, error)

func (*SSM) SendCommand added in v0.13.0

func (s *SSM) SendCommand(ctx context.Context, input *ssm.SendCommandInput) (*ssm.Command, error)

type SSMOption

type SSMOption func(*SSM)

func WithCredentials

func WithCredentials(key, secret, token, region string) SSMOption

func WithSession

func WithSession(sess *session.Session) SSMOption

Jump to

Keyboard shortcuts

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