applicationautoscaling

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: 7 Imported by: 0

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffMultiScalingPolicies

func DiffMultiScalingPolicies(c *gin.Context, dao db.ReaderDAO)

DiffMultiScalingPolicies godoc @Summary Diff ScalingPolicies @Description get a diff of ScalingPolicies between two points in time @Tags aws applicationautoscaling @Produce json @Param start_report_date query string true "Which date to pull data from. Current date by default" Format(date) @Param start_time_selection query string false "How to select the time range to pull data from. 'latest' by default" Enums(latest, before, after, at) @Param start_time_selection_reference query string false "The reference time to use when selecting the time range to pull data from. Only used when time_selection is 'before', 'after', or 'at'." Format(dateTime) @Param end_report_date query string true "Which date to pull data from. Current date by default" Format(date) @Param end_time_selection query string false "How to select the time range to pull data from. 'latest' by default" Enums(latest, before, after, at) @Param end_time_selection_reference query string false "The reference time to use when selecting the time range to pull data from. Only used when time_selection is 'before', 'after', or 'at'." Format(dateTime) @Param account_id query string false "A specific account to pull data from. All accounts by default" @Param region query string false "A specific region to pull data from. All regions by default" @Security ApiKeyAuth @Success 200 {array} routes.Diff @Failure 400 @Router /diff/aws/applicationautoscaling/scaling_policies [get]

func DiffSingleScalingPolicy

func DiffSingleScalingPolicy(c *gin.Context, dao db.ReaderDAO)

DiffSingleScalingPolicy godoc @Summary Diff ScalingPolicy @Description get a diff of ScalingPolicy between two points in time @Tags aws applicationautoscaling @Produce json @Param start_report_date query string true "Which date to pull data from. Current date by default" Format(date) @Param start_time_selection query string false "How to select the time range to pull data from. 'latest' by default" Enums(latest, before, after, at) @Param start_time_selection_reference query string false "The reference time to use when selecting the time range to pull data from. Only used when time_selection is 'before', 'after', or 'at'." Format(dateTime) @Param end_report_date query string true "Which date to pull data from. Current date by default" Format(date) @Param end_time_selection query string false "How to select the time range to pull data from. 'latest' by default" Enums(latest, before, after, at) @Param end_time_selection_reference query string false "The reference time to use when selecting the time range to pull data from. Only used when time_selection is 'before', 'after', or 'at'." Format(dateTime) @Param account_id query string false "A specific account to pull data from. All accounts by default" @Param region query string false "A specific region to pull data from. All regions by default" @Param policy_arn path string true "The policy_arn of the ScalingPolicy to retrieve" @Security ApiKeyAuth @Success 200 {array} routes.Diff @Failure 400 @Router /diff/aws/applicationautoscaling/scaling_policies/{policy_arn} [get]

func GetApplicationAutoScalingMetadata

func GetApplicationAutoScalingMetadata(c *gin.Context)

GetApplicationAutoScalingMetadata godoc @Summary Get ApplicationAutoScaling Metadata @Description get a list of ApplicationAutoScaling metadata @Tags aws applicationautoscaling @Produce json @Security ApiKeyAuth @Success 200 {array} routes.AwsServiceMetadata @Failure 400 @Router /metadata/aws/applicationautoscaling [get]

func GetScalingPoliciesMetadata

func GetScalingPoliciesMetadata(c *gin.Context, dao db.ReaderDAO)

GetScalingPoliciesMetadata godoc @Summary Get ScalingPolicies Metadata @Description get a list of scaling_policies metadata @Tags aws applicationautoscaling @Produce json @Param report_date query string false "Which date to pull data from. Current date by default" Format(date) @Security ApiKeyAuth @Success 200 {array} routes.AwsResourceMetadata @Failure 400 @Router /metadata/aws/applicationautoscaling/scaling_policies [get]

func GetScalingPolicy

func GetScalingPolicy(c *gin.Context, dao db.ReaderDAO)

GetScalingPolicy godoc @Summary Get a specific ScalingPolicy @Description Get a specific ScalingPolicy by its PolicyARN @Tags aws applicationautoscaling @Produce json @Param report_date query string false "Which date to pull data from. Current date by default" Format(date) @Param policy_arn path string true "The policy_arn of the ScalingPolicy to retrieve" @Param account_id query string false "A specific account to pull data from. All accounts by default" @Param region query string false "A specific region to pull data from. All regions by default" @Param time_selection query string false "How to select the time range to pull data from. 'latest' by default" Enums(latest, before, after, at) @Param time_selection_reference query string false "The reference time to use when selecting the time range to pull data from. Only used when time_selection is 'before', 'after', or 'at'." Format(dateTime) @Security ApiKeyAuth @Success 200 {object} applicationautoscaling.ScalingPolicy @Failure 400 @Failure 404 @Router /inventory/aws/applicationautoscaling/scaling_policies/{policy_arn} [get]

func ListScalingPolicies

func ListScalingPolicies(c *gin.Context, dao db.ReaderDAO)

ListScalingPolicies godoc @Summary List ScalingPolicies @Description get a list of scaling_policies @Tags aws applicationautoscaling @Produce json @Param report_date query string false "Which date to pull data from. Current date by default" Format(date) @Param account_id query string false "A specific account to pull data from. All accounts by default" @Param region query string false "A specific region to pull data from. All regions by default" @Param time_selection query string false "How to select the time range to pull data from. 'latest' by default" Enums(latest, before, after, at) @Param time_selection_reference query string false "The reference time to use when selecting the time range to pull data from. Only used when time_selection is 'before', 'after', or 'at'." Format(dateTime) @Param pagination_token query string false "A pagination token. If this is specified, the next set of results is retrieved. The pagination token is returned in the response." @Param max_results query int false "The maximum number of results to return. Default is 100" @Security ApiKeyAuth @Success 200 {object} ListScalingPoliciesResponse @Failure 400 @Router /inventory/aws/applicationautoscaling/scaling_policies [get]

Types

type ListScalingPoliciesResponse

type ListScalingPoliciesResponse struct {
	ScalingPolicies []*applicationautoscaling.ScalingPolicy `json:"scaling_policies"`
	PaginationToken *string                                 `json:"pagination_token,omitempty"`
}

Jump to

Keyboard shortcuts

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