apigateway

package
v0.0.0-...-62343dc Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_referenced_resource_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_fetching_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostProcessRestApi

func PostProcessRestApi(ctx context.Context, params *localAws.AwsFetchInput, model *RestApi) error

Types

type AccessLogSettings

type AccessLogSettings struct {
	DestinationArn string `` /* 215-byte string literal not displayed */
	Format         string `` /* 161-byte string literal not displayed */
}

type CanarySettings

type CanarySettings struct {
	DeploymentId           string            `` /* 203-byte string literal not displayed */
	PercentTraffic         float64           `` /* 192-byte string literal not displayed */
	StageVariableOverrides map[string]string `` /* 329-byte string literal not displayed */
	UseStageCache          bool              `` /* 183-byte string literal not displayed */
}

type EndpointConfiguration

type EndpointConfiguration struct {
	Types          []string `` /* 193-byte string literal not displayed */
	VpcEndpointIds []string `` /* 259-byte string literal not displayed */
}

type Integration

type Integration struct {
	CacheKeyParameters   []string                        `` /* 283-byte string literal not displayed */
	CacheNamespace       string                          `` /* 215-byte string literal not displayed */
	ConnectionId         string                          `` /* 203-byte string literal not displayed */
	ConnectionType       string                          `` /* 215-byte string literal not displayed */
	ContentHandling      string                          `` /* 221-byte string literal not displayed */
	Credentials          string                          `` /* 191-byte string literal not displayed */
	HttpMethod           string                          `` /* 191-byte string literal not displayed */
	IntegrationResponses map[string]*IntegrationResponse `` /* 266-byte string literal not displayed */
	PassthroughBehavior  string                          `` /* 245-byte string literal not displayed */
	RequestParameters    map[string]string               `` /* 293-byte string literal not displayed */
	RequestTemplates     map[string]string               `` /* 287-byte string literal not displayed */
	TimeoutInMillis      int32                           `` /* 203-byte string literal not displayed */
	TlsConfig            *TlsConfig                      `` /* 150-byte string literal not displayed */
	Type                 string                          `` /* 149-byte string literal not displayed */
	Uri                  string                          `` /* 143-byte string literal not displayed */
}

type IntegrationResponse

type IntegrationResponse struct {
	ContentHandling    string            `` /* 221-byte string literal not displayed */
	ResponseParameters map[string]string `` /* 299-byte string literal not displayed */
	ResponseTemplates  map[string]string `` /* 293-byte string literal not displayed */
	SelectionPattern   string            `` /* 227-byte string literal not displayed */
	StatusCode         string            `` /* 191-byte string literal not displayed */
}

type Method

type Method struct {
	ApiKeyRequired      bool                       `` /* 189-byte string literal not displayed */
	AuthorizationScopes []string                   `` /* 283-byte string literal not displayed */
	AuthorizationType   string                     `` /* 233-byte string literal not displayed */
	AuthorizerId        string                     `` /* 203-byte string literal not displayed */
	HttpMethod          string                     `` /* 191-byte string literal not displayed */
	MethodIntegration   *Integration               `` /* 198-byte string literal not displayed */
	MethodResponses     map[string]*MethodResponse `` /* 236-byte string literal not displayed */
	OperationName       string                     `` /* 209-byte string literal not displayed */
	RequestModels       map[string]string          `` /* 269-byte string literal not displayed */
	RequestParameters   map[string]bool            `` /* 266-byte string literal not displayed */
	RequestValidatorId  string                     `` /* 245-byte string literal not displayed */
}

type MethodResponse

type MethodResponse struct {
	ResponseModels     map[string]string `` /* 275-byte string literal not displayed */
	ResponseParameters map[string]bool   `` /* 272-byte string literal not displayed */
	StatusCode         string            `` /* 191-byte string literal not displayed */
}

type MethodSetting

type MethodSetting struct {
	CacheDataEncrypted                     bool    `` /* 213-byte string literal not displayed */
	CacheTtlInSeconds                      int32   `` /* 221-byte string literal not displayed */
	CachingEnabled                         bool    `` /* 183-byte string literal not displayed */
	DataTraceEnabled                       bool    `` /* 201-byte string literal not displayed */
	LoggingLevel                           string  `` /* 203-byte string literal not displayed */
	MetricsEnabled                         bool    `` /* 183-byte string literal not displayed */
	RequireAuthorizationForCacheControl    bool    `` /* 327-byte string literal not displayed */
	ThrottlingBurstLimit                   int32   `` /* 233-byte string literal not displayed */
	ThrottlingRateLimit                    float64 `` /* 228-byte string literal not displayed */
	UnauthorizedCacheControlHeaderStrategy string  `` /* 377-byte string literal not displayed */
}

type Resource

type Resource struct {
	Id              string             `` /* 177-byte string literal not displayed */
	ParentId        string             `` /* 179-byte string literal not displayed */
	Path            string             `` /* 149-byte string literal not displayed */
	PathPart        string             `` /* 179-byte string literal not displayed */
	ResourceMethods map[string]*Method `` /* 236-byte string literal not displayed */
}

type RestApi

type RestApi struct {
	ApiKeySource              string                 `` /* 209-byte string literal not displayed */
	BinaryMediaTypes          []string               `` /* 271-byte string literal not displayed */
	CreatedDate               int64                  `` /* 204-byte string literal not displayed */
	Description               string                 `` /* 191-byte string literal not displayed */
	DisableExecuteApiEndpoint bool                   `` /* 261-byte string literal not displayed */
	EndpointConfiguration     *EndpointConfiguration `` /* 222-byte string literal not displayed */
	Id                        string                 `` /* 177-byte string literal not displayed */
	MinimumCompressionSize    int32                  `` /* 245-byte string literal not displayed */
	Name                      string                 `` /* 149-byte string literal not displayed */
	Policy                    string                 `` /* 161-byte string literal not displayed */
	Tags                      map[string]string      `` /* 209-byte string literal not displayed */
	Version                   string                 `` /* 167-byte string literal not displayed */
	Warnings                  []string               `` /* 211-byte string literal not displayed */
	AccountId                 string                 `` /* 185-byte string literal not displayed */
	Region                    string                 `` /* 161-byte string literal not displayed */
	ReportTime                int64                  `` /* 208-byte string literal not displayed */
	InventoryUUID             string                 `` /* 152-byte string literal not displayed */
	Stages                    []*Stage               `` /* 154-byte string literal not displayed */
	Resources                 []*Resource            `` /* 172-byte string literal not displayed */
}

func FetchRestApis

func FetchRestApis(ctx context.Context, params *aws.AwsFetchInput) ([]*RestApi, *aws.AwsFetchOutputMetadata)

type Stage

type Stage struct {
	AccessLogSettings    *AccessLogSettings        `` /* 204-byte string literal not displayed */
	CacheClusterEnabled  bool                      `` /* 219-byte string literal not displayed */
	CacheClusterSize     string                    `` /* 233-byte string literal not displayed */
	CacheClusterStatus   string                    `` /* 245-byte string literal not displayed */
	CanarySettings       *CanarySettings           `` /* 180-byte string literal not displayed */
	ClientCertificateId  string                    `` /* 251-byte string literal not displayed */
	CreatedDate          int64                     `` /* 204-byte string literal not displayed */
	DeploymentId         string                    `` /* 203-byte string literal not displayed */
	Description          string                    `` /* 191-byte string literal not displayed */
	DocumentationVersion string                    `` /* 251-byte string literal not displayed */
	LastUpdatedDate      int64                     `` /* 234-byte string literal not displayed */
	MethodSettings       map[string]*MethodSetting `` /* 230-byte string literal not displayed */
	StageName            string                    `` /* 185-byte string literal not displayed */
	Tags                 map[string]string         `` /* 209-byte string literal not displayed */
	TracingEnabled       bool                      `` /* 183-byte string literal not displayed */
	Variables            map[string]string         `` /* 239-byte string literal not displayed */
	WebAclArn            string                    `` /* 191-byte string literal not displayed */
}

type TlsConfig

type TlsConfig struct {
	InsecureSkipVerification bool `` /* 249-byte string literal not displayed */
}

Jump to

Keyboard shortcuts

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