Documentation ¶
Overview ¶
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
AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_referenced_resource_file.tmpl
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostProcessApi ¶
Types ¶
type AccessLogSettings ¶
type Api ¶
type Api struct { Name string `` /* 149-byte string literal not displayed */ ProtocolType string `` /* 203-byte string literal not displayed */ RouteSelectionExpression string `` /* 281-byte string literal not displayed */ ApiEndpoint string `` /* 197-byte string literal not displayed */ ApiGatewayManaged bool `` /* 207-byte string literal not displayed */ ApiId string `` /* 201-byte string literal not displayed */ ApiKeySelectionExpression string `` /* 293-byte string literal not displayed */ CorsConfiguration *Cors `` /* 198-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 */ DisableSchemaValidation bool `` /* 243-byte string literal not displayed */ ImportInfo []string `` /* 229-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 */ Routes []*GetRouteOutput `` /* 154-byte string literal not displayed */ Integrations []*Integration `` /* 190-byte string literal not displayed */ Authorizers []*Authorizer `` /* 184-byte string literal not displayed */ }
func FetchApis ¶
func FetchApis(ctx context.Context, params *aws.AwsFetchInput) ([]*Api, *aws.AwsFetchOutputMetadata)
type Authorizer ¶
type Authorizer struct { Name string `` /* 149-byte string literal not displayed */ AuthorizerCredentialsArn string `` /* 281-byte string literal not displayed */ AuthorizerId string `` /* 203-byte string literal not displayed */ AuthorizerPayloadFormatVersion string `` /* 323-byte string literal not displayed */ AuthorizerResultTtlInSeconds int32 `` /* 293-byte string literal not displayed */ AuthorizerType string `` /* 215-byte string literal not displayed */ AuthorizerUri string `` /* 209-byte string literal not displayed */ EnableSimpleResponses bool `` /* 231-byte string literal not displayed */ IdentitySource []string `` /* 253-byte string literal not displayed */ IdentityValidationExpression string `` /* 305-byte string literal not displayed */ JwtConfiguration *JWTConfiguration `` /* 192-byte string literal not displayed */ }
type Cors ¶
type Cors struct { AllowCredentials bool `` /* 195-byte string literal not displayed */ AllowHeaders []string `` /* 241-byte string literal not displayed */ AllowMethods []string `` /* 241-byte string literal not displayed */ AllowOrigins []string `` /* 241-byte string literal not displayed */ ExposeHeaders []string `` /* 247-byte string literal not displayed */ MaxAge int32 `` /* 143-byte string literal not displayed */ }
type GetRouteOutput ¶
type GetRouteOutput struct { ApiGatewayManaged bool `` /* 207-byte string literal not displayed */ 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 */ ModelSelectionExpression string `` /* 281-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]*ParameterConstraints `` /* 248-byte string literal not displayed */ RouteId string `` /* 173-byte string literal not displayed */ RouteKey string `` /* 179-byte string literal not displayed */ RouteResponseSelectionExpression string `` /* 335-byte string literal not displayed */ Target string `` /* 161-byte string literal not displayed */ }
type Integration ¶
type Integration struct { ApiGatewayManaged bool `` /* 207-byte string literal not displayed */ ConnectionId string `` /* 203-byte string literal not displayed */ ConnectionType string `` /* 215-byte string literal not displayed */ ContentHandlingStrategy string `` /* 275-byte string literal not displayed */ CredentialsArn string `` /* 215-byte string literal not displayed */ Description string `` /* 191-byte string literal not displayed */ IntegrationId string `` /* 209-byte string literal not displayed */ IntegrationMethod string `` /* 233-byte string literal not displayed */ IntegrationResponseSelectionExpression string `` /* 371-byte string literal not displayed */ IntegrationSubtype string `` /* 239-byte string literal not displayed */ IntegrationType string `` /* 221-byte string literal not displayed */ IntegrationUri string `` /* 215-byte string literal not displayed */ PassthroughBehavior string `` /* 245-byte string literal not displayed */ PayloadFormatVersion string `` /* 257-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 */ TemplateSelectionExpression string `` /* 299-byte string literal not displayed */ TimeoutInMillis int32 `` /* 203-byte string literal not displayed */ TlsConfig *TlsConfig `` /* 150-byte string literal not displayed */ }
type JWTConfiguration ¶
type ParameterConstraints ¶
type ParameterConstraints struct {
Required bool `` /* 141-byte string literal not displayed */
}
type RouteSettings ¶
type RouteSettings struct { DataTraceEnabled bool `` /* 201-byte string literal not displayed */ DetailedMetricsEnabled bool `` /* 237-byte string literal not displayed */ LoggingLevel string `` /* 203-byte string literal not displayed */ ThrottlingBurstLimit int32 `` /* 233-byte string literal not displayed */ ThrottlingRateLimit float64 `` /* 228-byte string literal not displayed */ }
type Stage ¶
type Stage struct { StageName string `` /* 185-byte string literal not displayed */ AccessLogSettings *AccessLogSettings `` /* 204-byte string literal not displayed */ ApiGatewayManaged bool `` /* 207-byte string literal not displayed */ AutoDeploy bool `` /* 159-byte string literal not displayed */ ClientCertificateId string `` /* 251-byte string literal not displayed */ CreatedDate int64 `` /* 204-byte string literal not displayed */ DefaultRouteSettings *RouteSettings `` /* 222-byte string literal not displayed */ DeploymentId string `` /* 203-byte string literal not displayed */ Description string `` /* 191-byte string literal not displayed */ LastDeploymentStatusMessage string `` /* 305-byte string literal not displayed */ LastUpdatedDate int64 `` /* 234-byte string literal not displayed */ RouteSettings map[string]*RouteSettings `` /* 224-byte string literal not displayed */ StageVariables map[string]string `` /* 275-byte string literal not displayed */ Tags map[string]string `` /* 209-byte string literal not displayed */ }
Click to show internal directories.
Click to hide internal directories.