Documentation ¶
Index ¶
Constants ¶
View Source
const ( AssumeRole = "ASSUME_ROLE" Region = "AWS_REGION" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIGatewayClient ¶
type APIGatewayClient struct {
// contains filtered or unexported fields
}
func NewAPIGatewayClient ¶
func NewAPIGatewayClient() APIGatewayClient
SDK Client Initial credentials loaded from SDK's default credential chain. Such as the environment, shared credentials (~/.aws/credentials), or EC2 Instance The assume role is used when run locally against the dev environment
func (APIGatewayClient) CreateDeployment ¶
func (cl APIGatewayClient) CreateDeployment(stage string, apigwId string) (*apigateway.Deployment, error)
CreateDeployment for the recent upload
func (APIGatewayClient) ImportSwagger ¶
func (cl APIGatewayClient) ImportSwagger(swaggerDoc []byte, apigwId string) (*apigateway.RestApi, error)
ImportSwagger imports the swagger doc into API Gateway
Click to show internal directories.
Click to hide internal directories.