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_service_metadata_route.tmpl
AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_api_routes.tmpl
Index ¶
- func DiffMultiLoadBalancers(c *gin.Context, dao db.ReaderDAO)
- func DiffMultiTargetGroups(c *gin.Context, dao db.ReaderDAO)
- func DiffSingleLoadBalancer(c *gin.Context, dao db.ReaderDAO)
- func DiffSingleTargetGroup(c *gin.Context, dao db.ReaderDAO)
- func GetElasticLoadBalancingV2Metadata(c *gin.Context)
- func GetLoadBalancer(c *gin.Context, dao db.ReaderDAO)
- func GetLoadBalancersMetadata(c *gin.Context, dao db.ReaderDAO)
- func GetTargetGroup(c *gin.Context, dao db.ReaderDAO)
- func GetTargetGroupsMetadata(c *gin.Context, dao db.ReaderDAO)
- func ListLoadBalancers(c *gin.Context, dao db.ReaderDAO)
- func ListTargetGroups(c *gin.Context, dao db.ReaderDAO)
- type ListLoadBalancersResponse
- type ListTargetGroupsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffMultiLoadBalancers ¶
DiffMultiLoadBalancers godoc @Summary Diff LoadBalancers @Description get a diff of LoadBalancers between two points in time @Tags aws elasticloadbalancingv2 @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/elasticloadbalancingv2/load_balancers [get]
func DiffMultiTargetGroups ¶
DiffMultiTargetGroups godoc @Summary Diff TargetGroups @Description get a diff of TargetGroups between two points in time @Tags aws elasticloadbalancingv2 @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/elasticloadbalancingv2/target_groups [get]
func DiffSingleLoadBalancer ¶
DiffSingleLoadBalancer godoc @Summary Diff LoadBalancer @Description get a diff of LoadBalancer between two points in time @Tags aws elasticloadbalancingv2 @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 load_balancer_arn path string true "The load_balancer_arn of the LoadBalancer to retrieve" @Security ApiKeyAuth @Success 200 {array} routes.Diff @Failure 400 @Router /diff/aws/elasticloadbalancingv2/load_balancers/{load_balancer_arn} [get]
func DiffSingleTargetGroup ¶
DiffSingleTargetGroup godoc @Summary Diff TargetGroup @Description get a diff of TargetGroup between two points in time @Tags aws elasticloadbalancingv2 @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 target_group_arn path string true "The target_group_arn of the TargetGroup to retrieve" @Security ApiKeyAuth @Success 200 {array} routes.Diff @Failure 400 @Router /diff/aws/elasticloadbalancingv2/target_groups/{target_group_arn} [get]
func GetElasticLoadBalancingV2Metadata ¶
GetElasticLoadBalancingV2Metadata godoc @Summary Get ElasticLoadBalancingV2 Metadata @Description get a list of ElasticLoadBalancingV2 metadata @Tags aws elasticloadbalancingv2 @Produce json @Security ApiKeyAuth @Success 200 {array} routes.AwsServiceMetadata @Failure 400 @Router /metadata/aws/elasticloadbalancingv2 [get]
func GetLoadBalancer ¶
GetLoadBalancer godoc @Summary Get a specific LoadBalancer @Description Get a specific LoadBalancer by its LoadBalancerArn @Tags aws elasticloadbalancingv2 @Produce json @Param report_date query string false "Which date to pull data from. Current date by default" Format(date) @Param load_balancer_arn path string true "The load_balancer_arn of the LoadBalancer 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} elasticloadbalancingv2.LoadBalancer @Failure 400 @Failure 404 @Router /inventory/aws/elasticloadbalancingv2/load_balancers/{load_balancer_arn} [get]
func GetLoadBalancersMetadata ¶
GetLoadBalancersMetadata godoc @Summary Get LoadBalancers Metadata @Description get a list of load_balancers metadata @Tags aws elasticloadbalancingv2 @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/elasticloadbalancingv2/load_balancers [get]
func GetTargetGroup ¶
GetTargetGroup godoc @Summary Get a specific TargetGroup @Description Get a specific TargetGroup by its TargetGroupArn @Tags aws elasticloadbalancingv2 @Produce json @Param report_date query string false "Which date to pull data from. Current date by default" Format(date) @Param target_group_arn path string true "The target_group_arn of the TargetGroup 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} elasticloadbalancingv2.TargetGroup @Failure 400 @Failure 404 @Router /inventory/aws/elasticloadbalancingv2/target_groups/{target_group_arn} [get]
func GetTargetGroupsMetadata ¶
GetTargetGroupsMetadata godoc @Summary Get TargetGroups Metadata @Description get a list of target_groups metadata @Tags aws elasticloadbalancingv2 @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/elasticloadbalancingv2/target_groups [get]
func ListLoadBalancers ¶
ListLoadBalancers godoc @Summary List LoadBalancers @Description get a list of load_balancers @Tags aws elasticloadbalancingv2 @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} ListLoadBalancersResponse @Failure 400 @Router /inventory/aws/elasticloadbalancingv2/load_balancers [get]
func ListTargetGroups ¶
ListTargetGroups godoc @Summary List TargetGroups @Description get a list of target_groups @Tags aws elasticloadbalancingv2 @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} ListTargetGroupsResponse @Failure 400 @Router /inventory/aws/elasticloadbalancingv2/target_groups [get]
Types ¶
type ListLoadBalancersResponse ¶
type ListLoadBalancersResponse struct { LoadBalancers []*elasticloadbalancingv2.LoadBalancer `json:"load_balancers"` PaginationToken *string `json:"pagination_token,omitempty"` }
type ListTargetGroupsResponse ¶
type ListTargetGroupsResponse struct { TargetGroups []*elasticloadbalancingv2.TargetGroup `json:"target_groups"` PaginationToken *string `json:"pagination_token,omitempty"` }