Documentation ¶
Index ¶
- func ErrCode(msg string, err error) error
- type SSM
- func (s *SSM) CreateParameter(ctx context.Context, input *ssm.PutParameterInput) error
- func (s *SSM) DeleteParameter(ctx context.Context, name string) error
- func (s *SSM) GetParameter(ctx context.Context, prefix, name string) (*ssm.Parameter, error)
- func (s *SSM) GetParameterMetadata(ctx context.Context, prefix, name string) (*ssm.ParameterMetadata, error)
- func (s *SSM) ListParameterTags(ctx context.Context, prefix, name string) ([]*ssm.Tag, error)
- func (s *SSM) ListParametersByPath(ctx context.Context, path string) ([]string, error)
- func (s *SSM) UpdateParameter(ctx context.Context, input *ssm.PutParameterInput) error
- func (s *SSM) UpdateParameterTags(ctx context.Context, id string, tags []*ssm.Tag) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SSM ¶
SSM is a wrapper around the aws ssm service with some default config info
func NewSession ¶
NewSession creates a new cloudfront session
func (*SSM) CreateParameter ¶
CreateParameter creates a new parameter
func (*SSM) DeleteParameter ¶
DeleteParameter deletes a parameter
func (*SSM) GetParameter ¶
GetParameter gets the details of a parameter
func (*SSM) GetParameterMetadata ¶ added in v0.7.3
func (s *SSM) GetParameterMetadata(ctx context.Context, prefix, name string) (*ssm.ParameterMetadata, error)
GetParameterMetadata gets a parameters metadata
func (*SSM) ListParameterTags ¶
ListParameterTags gets a list of tags for the parameter
func (*SSM) ListParametersByPath ¶
ListParametersByPath gets all of the parameters in a path recursively
func (*SSM) UpdateParameter ¶
UpdateParameter creates a new parameter
Click to show internal directories.
Click to hide internal directories.