Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIGatewayV2Spec

type APIGatewayV2Spec struct {
	Session *session.Session
}

    APIGatewayV2Spec contains the AWS session

    func New

      New returns a new APIGatewayV2Spec

      func (APIGatewayV2Spec) APIExists

      func (a APIGatewayV2Spec) APIExists(apiID string) (res bool, err error)

        APIExists returns true if the specified API ID exists.

        func (APIGatewayV2Spec) StageExists

        func (a APIGatewayV2Spec) StageExists(apiID, stage string) (res bool, err error)

          StageExists returns true if the specified stage exists for the provided API ID.

          func (APIGatewayV2Spec) StageHasBurstLimit

          func (a APIGatewayV2Spec) StageHasBurstLimit(apiID, stage string, limit int) (res bool, err error)

            StageHasBurstLimit returns true if the specified stage associated to the provided API ID has burst limiting set to the provided value.

            func (APIGatewayV2Spec) StageHasDetailedMetricsEnabled

            func (a APIGatewayV2Spec) StageHasDetailedMetricsEnabled(apiID, stage string) (res bool, err error)

              StageHasDetailedMetricsEnabled returns true if detailed metrics are enabled for the specified stage associated to the provided API ID.

              func (APIGatewayV2Spec) StageHasLogDestination

              func (a APIGatewayV2Spec) StageHasLogDestination(apiID, stage, logGroupARN string) (res bool, err error)

                StageHasLogDestination returns true for the specified stage associated to the provided API ID logs to the specified log group ARN.

                func (APIGatewayV2Spec) StageHasLogFormat

                func (a APIGatewayV2Spec) StageHasLogFormat(apiID, stage, format string) (res bool, err error)

                  StageHasLogFormat returns true if the specified stage associated to the provided API ID has the specified format.

                  func (APIGatewayV2Spec) StageHasLoggingEnabled

                  func (a APIGatewayV2Spec) StageHasLoggingEnabled(apiID, stage string) (res bool, err error)

                    StageHasLoggingEnabled returns true if logging is enabled for the specified stage associated to the provided API ID.

                    func (APIGatewayV2Spec) StageHasRateLimit

                    func (a APIGatewayV2Spec) StageHasRateLimit(apiID, stage string, limit int) (res bool, err error)

                      StageHasRateLimit returns true if the specified stage associated to the provided API ID has rate limiting set to the provided value.