Documentation ¶
Overview ¶
AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_api_routes.tmpl
AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_api_routes.tmpl
AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_service_metadata_route.tmpl
Index ¶
- func DiffMultiAutoScalingGroups(c *gin.Context, dao db.ReaderDAO)
- func DiffMultiLaunchConfigurations(c *gin.Context, dao db.ReaderDAO)
- func DiffSingleAutoScalingGroup(c *gin.Context, dao db.ReaderDAO)
- func DiffSingleLaunchConfiguration(c *gin.Context, dao db.ReaderDAO)
- func GetAutoScalingGroup(c *gin.Context, dao db.ReaderDAO)
- func GetAutoScalingGroupsMetadata(c *gin.Context, dao db.ReaderDAO)
- func GetAutoScalingMetadata(c *gin.Context)
- func GetLaunchConfiguration(c *gin.Context, dao db.ReaderDAO)
- func GetLaunchConfigurationsMetadata(c *gin.Context, dao db.ReaderDAO)
- func ListAutoScalingGroups(c *gin.Context, dao db.ReaderDAO)
- func ListLaunchConfigurations(c *gin.Context, dao db.ReaderDAO)
- type ListAutoScalingGroupsResponse
- type ListLaunchConfigurationsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffMultiAutoScalingGroups ¶
DiffMultiAutoScalingGroups godoc @Summary Diff AutoScalingGroups @Description get a diff of AutoScalingGroups between two points in time @Tags aws autoscaling @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/autoscaling/auto_scaling_groups [get]
func DiffMultiLaunchConfigurations ¶
DiffMultiLaunchConfigurations godoc @Summary Diff LaunchConfigurations @Description get a diff of LaunchConfigurations between two points in time @Tags aws autoscaling @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/autoscaling/launch_configurations [get]
func DiffSingleAutoScalingGroup ¶
DiffSingleAutoScalingGroup godoc @Summary Diff AutoScalingGroup @Description get a diff of AutoScalingGroup between two points in time @Tags aws autoscaling @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 auto_scaling_group_arn path string true "The auto_scaling_group_arn of the AutoScalingGroup to retrieve" @Security ApiKeyAuth @Success 200 {array} routes.Diff @Failure 400 @Router /diff/aws/autoscaling/auto_scaling_groups/{auto_scaling_group_arn} [get]
func DiffSingleLaunchConfiguration ¶
DiffSingleLaunchConfiguration godoc @Summary Diff LaunchConfiguration @Description get a diff of LaunchConfiguration between two points in time @Tags aws autoscaling @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 launch_configuration_arn path string true "The launch_configuration_arn of the LaunchConfiguration to retrieve" @Security ApiKeyAuth @Success 200 {array} routes.Diff @Failure 400 @Router /diff/aws/autoscaling/launch_configurations/{launch_configuration_arn} [get]
func GetAutoScalingGroup ¶
GetAutoScalingGroup godoc @Summary Get a specific AutoScalingGroup @Description Get a specific AutoScalingGroup by its AutoScalingGroupARN @Tags aws autoscaling @Produce json @Param report_date query string false "Which date to pull data from. Current date by default" Format(date) @Param auto_scaling_group_arn path string true "The auto_scaling_group_arn of the AutoScalingGroup 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} autoscaling.AutoScalingGroup @Failure 400 @Failure 404 @Router /inventory/aws/autoscaling/auto_scaling_groups/{auto_scaling_group_arn} [get]
func GetAutoScalingGroupsMetadata ¶
GetAutoScalingGroupsMetadata godoc @Summary Get AutoScalingGroups Metadata @Description get a list of auto_scaling_groups metadata @Tags aws autoscaling @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/autoscaling/auto_scaling_groups [get]
func GetAutoScalingMetadata ¶
GetAutoScalingMetadata godoc @Summary Get AutoScaling Metadata @Description get a list of AutoScaling metadata @Tags aws autoscaling @Produce json @Security ApiKeyAuth @Success 200 {array} routes.AwsServiceMetadata @Failure 400 @Router /metadata/aws/autoscaling [get]
func GetLaunchConfiguration ¶
GetLaunchConfiguration godoc @Summary Get a specific LaunchConfiguration @Description Get a specific LaunchConfiguration by its LaunchConfigurationARN @Tags aws autoscaling @Produce json @Param report_date query string false "Which date to pull data from. Current date by default" Format(date) @Param launch_configuration_arn path string true "The launch_configuration_arn of the LaunchConfiguration 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} autoscaling.LaunchConfiguration @Failure 400 @Failure 404 @Router /inventory/aws/autoscaling/launch_configurations/{launch_configuration_arn} [get]
func GetLaunchConfigurationsMetadata ¶
GetLaunchConfigurationsMetadata godoc @Summary Get LaunchConfigurations Metadata @Description get a list of launch_configurations metadata @Tags aws autoscaling @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/autoscaling/launch_configurations [get]
func ListAutoScalingGroups ¶
ListAutoScalingGroups godoc @Summary List AutoScalingGroups @Description get a list of auto_scaling_groups @Tags aws autoscaling @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} ListAutoScalingGroupsResponse @Failure 400 @Router /inventory/aws/autoscaling/auto_scaling_groups [get]
func ListLaunchConfigurations ¶
ListLaunchConfigurations godoc @Summary List LaunchConfigurations @Description get a list of launch_configurations @Tags aws autoscaling @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} ListLaunchConfigurationsResponse @Failure 400 @Router /inventory/aws/autoscaling/launch_configurations [get]
Types ¶
type ListAutoScalingGroupsResponse ¶
type ListAutoScalingGroupsResponse struct { AutoScalingGroups []*autoscaling.AutoScalingGroup `json:"auto_scaling_groups"` PaginationToken *string `json:"pagination_token,omitempty"` }
type ListLaunchConfigurationsResponse ¶
type ListLaunchConfigurationsResponse struct { LaunchConfigurations []*autoscaling.LaunchConfiguration `json:"launch_configurations"` PaginationToken *string `json:"pagination_token,omitempty"` }