apigateway

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 7 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

Types

type API

type API interface {
	GetRestApisPagesWithContext(ctx aws.Context, input *apigateway.GetRestApisInput, fn func(*apigateway.GetRestApisOutput, bool) bool, opts ...request.Option) error
	GetStagesWithContext(ctx aws.Context, input *apigateway.GetStagesInput, opts ...request.Option) (*apigateway.GetStagesOutput, error)
	GetDeploymentsWithContext(ctx aws.Context, input *apigateway.GetDeploymentsInput, opts ...request.Option) (*apigateway.GetDeploymentsOutput, error)
}

type GetDeployments

type GetDeployments struct {
	API
}

func (*GetDeployments) New

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

New implements api.RequestBuilder

type GetDeploymentsOutput

type GetDeploymentsOutput struct {
	*apigateway.GetDeploymentsOutput
	// contains filtered or unexported fields
}

func (*GetDeploymentsOutput) Records

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

type GetDeploymentsRecord

type GetDeploymentsRecord struct {
	*apigateway.Deployment
	RestApiId   *string
	RestApiName *string
}

type GetRestApis

type GetRestApis struct {
	API
}

func (*GetRestApis) New

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

New implements api.RequestBuilder

type GetRestApisOutput

type GetRestApisOutput struct {
	*apigateway.GetRestApisOutput
}

func (*GetRestApisOutput) Records

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

type GetStages

type GetStages struct {
	API
}

func (*GetStages) New

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

New implements api.RequestBuilder

type GetStagesOutput

type GetStagesOutput struct {
	*apigateway.GetStagesOutput
	// contains filtered or unexported fields
}

func (*GetStagesOutput) Records

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

type GetStagesRecord

type GetStagesRecord struct {
	*apigateway.Stage
	RestApiId   *string
	RestApiName *string
}

Jump to

Keyboard shortcuts

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