Documentation
¶
Index ¶
- type Client
- func (client *Client) AddIntegrationHTTP(apiID, resourceID, method, statusCode, uri string) error
- func (client *Client) AddIntegrationLambda(apiID, resourceID, method, statusCode, arn string) error
- func (client *Client) AddMethod(apiID, resourceID, method string, statusCode int, authType string) error
- func (client *Client) CreateAPI(name string) (*apigateway.RestApi, error)
- func (client *Client) CreateDeployment(apiID, stageName, stageDescription, description string) (*apigateway.Deployment, error)
- func (client *Client) CreateResource(apiID, parentID, pathPart string) (*apigateway.Resource, error)
- func (client *Client) DeleteAPI(apiID string) error
- func (client *Client) DeleteResource(apiID, resourceID string) error
- func (client *Client) GetDeployment(apiID, deploymentID string) (string, error)
- func (client *Client) GetResources(apiID string) (*apigateway.GetResourcesOutput, error)
- func (client *Client) IntegrationFactory(integrationType, apiID, resourceID, method, statusCode, uri string) error
- func (client *Client) PurgeDeployment(apiID, deploymentID, stageName string) error
- func (client *Client) PurgeIntegration(apiID, resourceID, method string, statusCode int) error
- func (client *Client) PurgeMethod(apiID, resourceID, method string, statusCode int) error
- type IClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddIntegrationHTTP ¶
func (*Client) AddIntegrationLambda ¶
func (*Client) CreateAPI ¶
func (client *Client) CreateAPI(name string) (*apigateway.RestApi, error)
func (*Client) CreateDeployment ¶
func (client *Client) CreateDeployment(apiID, stageName, stageDescription, description string) (*apigateway.Deployment, error)
func (*Client) CreateResource ¶
func (client *Client) CreateResource(apiID, parentID, pathPart string) (*apigateway.Resource, error)
func (*Client) DeleteResource ¶
func (*Client) GetDeployment ¶
func (*Client) GetResources ¶
func (client *Client) GetResources(apiID string) (*apigateway.GetResourcesOutput, error)
func (*Client) IntegrationFactory ¶
func (*Client) PurgeDeployment ¶
func (*Client) PurgeIntegration ¶
type IClient ¶
type IClient interface { CreateAPI(name string) (*apigateway.RestApi, error) DeleteAPI(apiID string) error CreateDeployment(apiID, stageName, stageDescription, description string) (*apigateway.Deployment, error) PurgeDeployment(apiID, deploymentID, stageName string) error GetDeployment(apiID, deploymentID string) (string, error) CreateResource(apiID, parentID, pathPart string) (*apigateway.Resource, error) DeleteResource(apiID, resourceID string) error GetResources(apiID string) (*apigateway.GetResourcesOutput, error) AddMethod(apiID, resourceID, method string, statusCode int, authType string) error PurgeMethod(apiID, resourceID, method string, statusCode int) error AddIntegrationHTTP(apiID, resourceID, method, statusCode, uri string) error AddIntegrationLambda(apiID, resourceID, method, statusCode, arn string) error PurgeIntegration(apiID, resourceID, method string, statusCode int) error }
Click to show internal directories.
Click to hide internal directories.