cloudwatchlogs

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(p client.ConfigProvider, opts ...*aws.Config) api.Endpoint

New implements api.ServiceFunc

Types

type API

type API interface {
	ListBucketsWithContext(context.Context, *s3.ListBucketsInput, ...request.Option) (*s3.ListBucketsOutput, error)
	GetBucketTaggingWithContext(context.Context, *s3.GetBucketTaggingInput, ...request.Option) (*s3.GetBucketTaggingOutput, error)
	GetBucketLocationWithContext(context.Context, *s3.GetBucketLocationInput, ...request.Option) (*s3.GetBucketLocationOutput, error)
	GetBucketPolicyWithContext(context.Context, *s3.GetBucketPolicyInput, ...request.Option) (*s3.GetBucketPolicyOutput, error)
	GetBucketAclWithContext(context.Context, *s3.GetBucketAclInput, ...request.Option) (*s3.GetBucketAclOutput, error)
}

API documents the subset of AWS API we actually call

type ListBuckets

type ListBuckets struct {
	API
	Region *string
}

func (*ListBuckets) New

func (fn *ListBuckets) New(name string, config interface{}) ([]api.Request, error)

New implements api.RequestBuilder

type ListBucketsOutput

func (*ListBucketsOutput) Records

func (o *ListBucketsOutput) Records() (records []*api.Record)

Jump to

Keyboard shortcuts

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