Documentation
¶
Overview ¶
Package finout provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.0 DO NOT EDIT.
Index ¶
- Constants
- func NewDeleteVirtualTagsIdRequest(server string, id string) (*http.Request, error)
- func NewGetCostGuardScansRequest(server string) (*http.Request, error)
- func NewGetEndpointsRequest(server string) (*http.Request, error)
- func NewGetMegabillQueryLanguageKeysRequest(server string) (*http.Request, error)
- func NewGetMegabillQueryLanguageValuesCostCenterKeyRequest(server string, costCenter string, key string) (*http.Request, error)
- func NewGetViewRequest(server string) (*http.Request, error)
- func NewGetVirtualTagsIdRequest(server string, id string) (*http.Request, error)
- func NewGetVirtualTagsRequest(server string) (*http.Request, error)
- func NewGetVirtualTagsVtagIdMetadataRequest(server string, vtagId string) (*http.Request, error)
- func NewPostCostGuardScansRecommendationsRequest(server string, body PostCostGuardScansRecommendationsJSONRequestBody) (*http.Request, error)
- func NewPostCostGuardScansRecommendationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostCostQueryByViewRequest(server string, body PostCostQueryByViewJSONRequestBody) (*http.Request, error)
- func NewPostCostQueryByViewRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostEndpointsRequest(server string, body PostEndpointsJSONRequestBody) (*http.Request, error)
- func NewPostEndpointsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostVirtualTagsRequest(server string, body PostVirtualTagsJSONRequestBody) (*http.Request, error)
- func NewPostVirtualTagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutVirtualTagsIdRequest(server string, id string, body PutVirtualTagsIdJSONRequestBody) (*http.Request, error)
- func NewPutVirtualTagsIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutVirtualTagsVtagIdMetadataRequest(server string, vtagId string, body PutVirtualTagsVtagIdMetadataJSONRequestBody) (*http.Request, error)
- func NewPutVirtualTagsVtagIdMetadataRequestWithBody(server string, vtagId string, contentType string, body io.Reader) (*http.Request, error)
- type Client
- func (c *Client) DeleteVirtualTagsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCostGuardScans(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEndpoints(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMegabillQueryLanguageKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMegabillQueryLanguageValuesCostCenterKey(ctx context.Context, costCenter string, key string, ...) (*http.Response, error)
- func (c *Client) GetView(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVirtualTags(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVirtualTagsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVirtualTagsVtagIdMetadata(ctx context.Context, vtagId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostCostGuardScansRecommendations(ctx context.Context, body PostCostGuardScansRecommendationsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostCostGuardScansRecommendationsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostCostQueryByView(ctx context.Context, body PostCostQueryByViewJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostCostQueryByViewWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostEndpoints(ctx context.Context, body PostEndpointsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostEndpointsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostVirtualTags(ctx context.Context, body PostVirtualTagsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostVirtualTagsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutVirtualTagsId(ctx context.Context, id string, body PutVirtualTagsIdJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutVirtualTagsIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutVirtualTagsVtagIdMetadata(ctx context.Context, vtagId string, ...) (*http.Response, error)
- func (c *Client) PutVirtualTagsVtagIdMetadataWithBody(ctx context.Context, vtagId string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteVirtualTagsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteVirtualTagsIdResponse, error)
- func (c *ClientWithResponses) GetCostGuardScansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCostGuardScansResponse, error)
- func (c *ClientWithResponses) GetEndpointsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEndpointsResponse, error)
- func (c *ClientWithResponses) GetMegabillQueryLanguageKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMegabillQueryLanguageKeysResponse, error)
- func (c *ClientWithResponses) GetMegabillQueryLanguageValuesCostCenterKeyWithResponse(ctx context.Context, costCenter string, key string, ...) (*GetMegabillQueryLanguageValuesCostCenterKeyResponse, error)
- func (c *ClientWithResponses) GetViewWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetViewResponse, error)
- func (c *ClientWithResponses) GetVirtualTagsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetVirtualTagsIdResponse, error)
- func (c *ClientWithResponses) GetVirtualTagsVtagIdMetadataWithResponse(ctx context.Context, vtagId string, reqEditors ...RequestEditorFn) (*GetVirtualTagsVtagIdMetadataResponse, error)
- func (c *ClientWithResponses) GetVirtualTagsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVirtualTagsResponse, error)
- func (c *ClientWithResponses) PostCostGuardScansRecommendationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostCostGuardScansRecommendationsResponse, error)
- func (c *ClientWithResponses) PostCostGuardScansRecommendationsWithResponse(ctx context.Context, body PostCostGuardScansRecommendationsJSONRequestBody, ...) (*PostCostGuardScansRecommendationsResponse, error)
- func (c *ClientWithResponses) PostCostQueryByViewWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostCostQueryByViewResponse, error)
- func (c *ClientWithResponses) PostCostQueryByViewWithResponse(ctx context.Context, body PostCostQueryByViewJSONRequestBody, ...) (*PostCostQueryByViewResponse, error)
- func (c *ClientWithResponses) PostEndpointsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostEndpointsResponse, error)
- func (c *ClientWithResponses) PostEndpointsWithResponse(ctx context.Context, body PostEndpointsJSONRequestBody, ...) (*PostEndpointsResponse, error)
- func (c *ClientWithResponses) PostVirtualTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostVirtualTagsResponse, error)
- func (c *ClientWithResponses) PostVirtualTagsWithResponse(ctx context.Context, body PostVirtualTagsJSONRequestBody, ...) (*PostVirtualTagsResponse, error)
- func (c *ClientWithResponses) PutVirtualTagsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PutVirtualTagsIdResponse, error)
- func (c *ClientWithResponses) PutVirtualTagsIdWithResponse(ctx context.Context, id string, body PutVirtualTagsIdJSONRequestBody, ...) (*PutVirtualTagsIdResponse, error)
- func (c *ClientWithResponses) PutVirtualTagsVtagIdMetadataWithBodyWithResponse(ctx context.Context, vtagId string, contentType string, body io.Reader, ...) (*PutVirtualTagsVtagIdMetadataResponse, error)
- func (c *ClientWithResponses) PutVirtualTagsVtagIdMetadataWithResponse(ctx context.Context, vtagId string, ...) (*PutVirtualTagsVtagIdMetadataResponse, error)
- type ClientWithResponsesInterface
- type CreateEndpointRequest
- type CreateEndpointResponse
- type CreateVirtualTagRequest
- type CreateVirtualTagResponse
- type DeleteVirtualTagsIdResponse
- type GetCostGuardScansResponse
- type GetEndpoints
- type GetEndpointsResponse
- type GetKeysResponse
- type GetMegabillQueryLanguageKeysResponse
- type GetMegabillQueryLanguageValuesCostCenterKeyResponse
- type GetScansResponse
- type GetValuesResponse
- type GetViewResponse
- type GetViewsResponse
- type GetVirtualTagMetadataResponse
- type GetVirtualTagResponse
- type GetVirtualTags
- type GetVirtualTagsIdResponse
- type GetVirtualTagsResponse
- type GetVirtualTagsVtagIdMetadataResponse
- type HttpRequestDoer
- type PostCostGuardScansRecommendationsJSONRequestBody
- type PostCostGuardScansRecommendationsResponse
- type PostCostQueryByViewJSONRequestBody
- type PostCostQueryByViewResponse
- type PostEndpointsJSONRequestBody
- type PostEndpointsResponse
- type PostVirtualTagsJSONRequestBody
- type PostVirtualTagsResponse
- type PutVirtualTagsIdJSONRequestBody
- type PutVirtualTagsIdResponse
- type PutVirtualTagsVtagIdMetadataJSONRequestBody
- type PutVirtualTagsVtagIdMetadataResponse
- type QueryByViewRequest
- type QueryByViewRequestCostType
- type QueryByViewResponse
- type RequestEditorFn
- type ScanRecommendationsRequest
- type ScanRecommendationsResponse
- type UpdateVirtualTagMetadataRequest
- type UpdateVirtualTagMetadataResponse
- type UpdateVirtualTagRequest
- type UpdateVirtualTagResponse
Constants ¶
const ( ClientIDScopes = "clientID.Scopes" SecretKeyScopes = "secretKey.Scopes" )
const (
DefaultBaseURL = "https://app.finout.io/v1"
)
Variables ¶
This section is empty.
Functions ¶
func NewDeleteVirtualTagsIdRequest ¶
NewDeleteVirtualTagsIdRequest generates requests for DeleteVirtualTagsId
func NewGetCostGuardScansRequest ¶
NewGetCostGuardScansRequest generates requests for GetCostGuardScans
func NewGetEndpointsRequest ¶
NewGetEndpointsRequest generates requests for GetEndpoints
func NewGetMegabillQueryLanguageKeysRequest ¶
NewGetMegabillQueryLanguageKeysRequest generates requests for GetMegabillQueryLanguageKeys
func NewGetMegabillQueryLanguageValuesCostCenterKeyRequest ¶
func NewGetMegabillQueryLanguageValuesCostCenterKeyRequest(server string, costCenter string, key string) (*http.Request, error)
NewGetMegabillQueryLanguageValuesCostCenterKeyRequest generates requests for GetMegabillQueryLanguageValuesCostCenterKey
func NewGetViewRequest ¶
NewGetViewRequest generates requests for GetView
func NewGetVirtualTagsIdRequest ¶
NewGetVirtualTagsIdRequest generates requests for GetVirtualTagsId
func NewGetVirtualTagsRequest ¶
NewGetVirtualTagsRequest generates requests for GetVirtualTags
func NewGetVirtualTagsVtagIdMetadataRequest ¶
NewGetVirtualTagsVtagIdMetadataRequest generates requests for GetVirtualTagsVtagIdMetadata
func NewPostCostGuardScansRecommendationsRequest ¶
func NewPostCostGuardScansRecommendationsRequest(server string, body PostCostGuardScansRecommendationsJSONRequestBody) (*http.Request, error)
NewPostCostGuardScansRecommendationsRequest calls the generic PostCostGuardScansRecommendations builder with application/json body
func NewPostCostGuardScansRecommendationsRequestWithBody ¶
func NewPostCostGuardScansRecommendationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostCostGuardScansRecommendationsRequestWithBody generates requests for PostCostGuardScansRecommendations with any type of body
func NewPostCostQueryByViewRequest ¶
func NewPostCostQueryByViewRequest(server string, body PostCostQueryByViewJSONRequestBody) (*http.Request, error)
NewPostCostQueryByViewRequest calls the generic PostCostQueryByView builder with application/json body
func NewPostCostQueryByViewRequestWithBody ¶
func NewPostCostQueryByViewRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostCostQueryByViewRequestWithBody generates requests for PostCostQueryByView with any type of body
func NewPostEndpointsRequest ¶
func NewPostEndpointsRequest(server string, body PostEndpointsJSONRequestBody) (*http.Request, error)
NewPostEndpointsRequest calls the generic PostEndpoints builder with application/json body
func NewPostEndpointsRequestWithBody ¶
func NewPostEndpointsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostEndpointsRequestWithBody generates requests for PostEndpoints with any type of body
func NewPostVirtualTagsRequest ¶
func NewPostVirtualTagsRequest(server string, body PostVirtualTagsJSONRequestBody) (*http.Request, error)
NewPostVirtualTagsRequest calls the generic PostVirtualTags builder with application/json body
func NewPostVirtualTagsRequestWithBody ¶
func NewPostVirtualTagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostVirtualTagsRequestWithBody generates requests for PostVirtualTags with any type of body
func NewPutVirtualTagsIdRequest ¶
func NewPutVirtualTagsIdRequest(server string, id string, body PutVirtualTagsIdJSONRequestBody) (*http.Request, error)
NewPutVirtualTagsIdRequest calls the generic PutVirtualTagsId builder with application/json body
func NewPutVirtualTagsIdRequestWithBody ¶
func NewPutVirtualTagsIdRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPutVirtualTagsIdRequestWithBody generates requests for PutVirtualTagsId with any type of body
func NewPutVirtualTagsVtagIdMetadataRequest ¶
func NewPutVirtualTagsVtagIdMetadataRequest(server string, vtagId string, body PutVirtualTagsVtagIdMetadataJSONRequestBody) (*http.Request, error)
NewPutVirtualTagsVtagIdMetadataRequest calls the generic PutVirtualTagsVtagIdMetadata builder with application/json body
func NewPutVirtualTagsVtagIdMetadataRequestWithBody ¶
func NewPutVirtualTagsVtagIdMetadataRequestWithBody(server string, vtagId string, contentType string, body io.Reader) (*http.Request, error)
NewPutVirtualTagsVtagIdMetadataRequestWithBody generates requests for PutVirtualTagsVtagIdMetadata with any type of body
Types ¶
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func NewSecuredClient ¶
func (*Client) DeleteVirtualTagsId ¶
func (*Client) GetCostGuardScans ¶
func (*Client) GetEndpoints ¶
func (*Client) GetMegabillQueryLanguageKeys ¶
func (*Client) GetMegabillQueryLanguageValuesCostCenterKey ¶
func (*Client) GetVirtualTags ¶
func (*Client) GetVirtualTagsId ¶
func (*Client) GetVirtualTagsVtagIdMetadata ¶
func (*Client) PostCostGuardScansRecommendations ¶
func (c *Client) PostCostGuardScansRecommendations(ctx context.Context, body PostCostGuardScansRecommendationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostCostGuardScansRecommendationsWithBody ¶
func (*Client) PostCostQueryByView ¶
func (c *Client) PostCostQueryByView(ctx context.Context, body PostCostQueryByViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostCostQueryByViewWithBody ¶
func (*Client) PostEndpoints ¶
func (c *Client) PostEndpoints(ctx context.Context, body PostEndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostEndpointsWithBody ¶
func (*Client) PostVirtualTags ¶
func (c *Client) PostVirtualTags(ctx context.Context, body PostVirtualTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostVirtualTagsWithBody ¶
func (*Client) PutVirtualTagsId ¶
func (c *Client) PutVirtualTagsId(ctx context.Context, id string, body PutVirtualTagsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutVirtualTagsIdWithBody ¶
func (*Client) PutVirtualTagsVtagIdMetadata ¶
func (c *Client) PutVirtualTagsVtagIdMetadata(ctx context.Context, vtagId string, body PutVirtualTagsVtagIdMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// GetCostGuardScans request
GetCostGuardScans(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostCostGuardScansRecommendationsWithBody request with any body
PostCostGuardScansRecommendationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostCostGuardScansRecommendations(ctx context.Context, body PostCostGuardScansRecommendationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostCostQueryByViewWithBody request with any body
PostCostQueryByViewWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostCostQueryByView(ctx context.Context, body PostCostQueryByViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEndpoints request
GetEndpoints(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostEndpointsWithBody request with any body
PostEndpointsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostEndpoints(ctx context.Context, body PostEndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMegabillQueryLanguageKeys request
GetMegabillQueryLanguageKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMegabillQueryLanguageValuesCostCenterKey request
GetMegabillQueryLanguageValuesCostCenterKey(ctx context.Context, costCenter string, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetView request
GetView(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVirtualTags request
GetVirtualTags(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostVirtualTagsWithBody request with any body
PostVirtualTagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostVirtualTags(ctx context.Context, body PostVirtualTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVirtualTagsId request
DeleteVirtualTagsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVirtualTagsId request
GetVirtualTagsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutVirtualTagsIdWithBody request with any body
PutVirtualTagsIdWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutVirtualTagsId(ctx context.Context, id string, body PutVirtualTagsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVirtualTagsVtagIdMetadata request
GetVirtualTagsVtagIdMetadata(ctx context.Context, vtagId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutVirtualTagsVtagIdMetadataWithBody request with any body
PutVirtualTagsVtagIdMetadataWithBody(ctx context.Context, vtagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutVirtualTagsVtagIdMetadata(ctx context.Context, vtagId string, body PutVirtualTagsVtagIdMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func NewSecuredClientWithResponses ¶ added in v0.0.2
func NewSecuredClientWithResponses(clientID, secretKey string) (*ClientWithResponses, error)
func (*ClientWithResponses) DeleteVirtualTagsIdWithResponse ¶
func (c *ClientWithResponses) DeleteVirtualTagsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteVirtualTagsIdResponse, error)
DeleteVirtualTagsIdWithResponse request returning *DeleteVirtualTagsIdResponse
func (*ClientWithResponses) GetCostGuardScansWithResponse ¶
func (c *ClientWithResponses) GetCostGuardScansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCostGuardScansResponse, error)
GetCostGuardScansWithResponse request returning *GetCostGuardScansResponse
func (*ClientWithResponses) GetEndpointsWithResponse ¶
func (c *ClientWithResponses) GetEndpointsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEndpointsResponse, error)
GetEndpointsWithResponse request returning *GetEndpointsResponse
func (*ClientWithResponses) GetMegabillQueryLanguageKeysWithResponse ¶
func (c *ClientWithResponses) GetMegabillQueryLanguageKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMegabillQueryLanguageKeysResponse, error)
GetMegabillQueryLanguageKeysWithResponse request returning *GetMegabillQueryLanguageKeysResponse
func (*ClientWithResponses) GetMegabillQueryLanguageValuesCostCenterKeyWithResponse ¶
func (c *ClientWithResponses) GetMegabillQueryLanguageValuesCostCenterKeyWithResponse(ctx context.Context, costCenter string, key string, reqEditors ...RequestEditorFn) (*GetMegabillQueryLanguageValuesCostCenterKeyResponse, error)
GetMegabillQueryLanguageValuesCostCenterKeyWithResponse request returning *GetMegabillQueryLanguageValuesCostCenterKeyResponse
func (*ClientWithResponses) GetViewWithResponse ¶
func (c *ClientWithResponses) GetViewWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetViewResponse, error)
GetViewWithResponse request returning *GetViewResponse
func (*ClientWithResponses) GetVirtualTagsIdWithResponse ¶
func (c *ClientWithResponses) GetVirtualTagsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetVirtualTagsIdResponse, error)
GetVirtualTagsIdWithResponse request returning *GetVirtualTagsIdResponse
func (*ClientWithResponses) GetVirtualTagsVtagIdMetadataWithResponse ¶
func (c *ClientWithResponses) GetVirtualTagsVtagIdMetadataWithResponse(ctx context.Context, vtagId string, reqEditors ...RequestEditorFn) (*GetVirtualTagsVtagIdMetadataResponse, error)
GetVirtualTagsVtagIdMetadataWithResponse request returning *GetVirtualTagsVtagIdMetadataResponse
func (*ClientWithResponses) GetVirtualTagsWithResponse ¶
func (c *ClientWithResponses) GetVirtualTagsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVirtualTagsResponse, error)
GetVirtualTagsWithResponse request returning *GetVirtualTagsResponse
func (*ClientWithResponses) PostCostGuardScansRecommendationsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostCostGuardScansRecommendationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCostGuardScansRecommendationsResponse, error)
PostCostGuardScansRecommendationsWithBodyWithResponse request with arbitrary body returning *PostCostGuardScansRecommendationsResponse
func (*ClientWithResponses) PostCostGuardScansRecommendationsWithResponse ¶
func (c *ClientWithResponses) PostCostGuardScansRecommendationsWithResponse(ctx context.Context, body PostCostGuardScansRecommendationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCostGuardScansRecommendationsResponse, error)
func (*ClientWithResponses) PostCostQueryByViewWithBodyWithResponse ¶
func (c *ClientWithResponses) PostCostQueryByViewWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCostQueryByViewResponse, error)
PostCostQueryByViewWithBodyWithResponse request with arbitrary body returning *PostCostQueryByViewResponse
func (*ClientWithResponses) PostCostQueryByViewWithResponse ¶
func (c *ClientWithResponses) PostCostQueryByViewWithResponse(ctx context.Context, body PostCostQueryByViewJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCostQueryByViewResponse, error)
func (*ClientWithResponses) PostEndpointsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostEndpointsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostEndpointsResponse, error)
PostEndpointsWithBodyWithResponse request with arbitrary body returning *PostEndpointsResponse
func (*ClientWithResponses) PostEndpointsWithResponse ¶
func (c *ClientWithResponses) PostEndpointsWithResponse(ctx context.Context, body PostEndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostEndpointsResponse, error)
func (*ClientWithResponses) PostVirtualTagsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostVirtualTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVirtualTagsResponse, error)
PostVirtualTagsWithBodyWithResponse request with arbitrary body returning *PostVirtualTagsResponse
func (*ClientWithResponses) PostVirtualTagsWithResponse ¶
func (c *ClientWithResponses) PostVirtualTagsWithResponse(ctx context.Context, body PostVirtualTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVirtualTagsResponse, error)
func (*ClientWithResponses) PutVirtualTagsIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PutVirtualTagsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutVirtualTagsIdResponse, error)
PutVirtualTagsIdWithBodyWithResponse request with arbitrary body returning *PutVirtualTagsIdResponse
func (*ClientWithResponses) PutVirtualTagsIdWithResponse ¶
func (c *ClientWithResponses) PutVirtualTagsIdWithResponse(ctx context.Context, id string, body PutVirtualTagsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutVirtualTagsIdResponse, error)
func (*ClientWithResponses) PutVirtualTagsVtagIdMetadataWithBodyWithResponse ¶
func (c *ClientWithResponses) PutVirtualTagsVtagIdMetadataWithBodyWithResponse(ctx context.Context, vtagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutVirtualTagsVtagIdMetadataResponse, error)
PutVirtualTagsVtagIdMetadataWithBodyWithResponse request with arbitrary body returning *PutVirtualTagsVtagIdMetadataResponse
func (*ClientWithResponses) PutVirtualTagsVtagIdMetadataWithResponse ¶
func (c *ClientWithResponses) PutVirtualTagsVtagIdMetadataWithResponse(ctx context.Context, vtagId string, body PutVirtualTagsVtagIdMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*PutVirtualTagsVtagIdMetadataResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetCostGuardScansWithResponse request
GetCostGuardScansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCostGuardScansResponse, error)
// PostCostGuardScansRecommendationsWithBodyWithResponse request with any body
PostCostGuardScansRecommendationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCostGuardScansRecommendationsResponse, error)
PostCostGuardScansRecommendationsWithResponse(ctx context.Context, body PostCostGuardScansRecommendationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCostGuardScansRecommendationsResponse, error)
// PostCostQueryByViewWithBodyWithResponse request with any body
PostCostQueryByViewWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCostQueryByViewResponse, error)
PostCostQueryByViewWithResponse(ctx context.Context, body PostCostQueryByViewJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCostQueryByViewResponse, error)
// GetEndpointsWithResponse request
GetEndpointsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEndpointsResponse, error)
// PostEndpointsWithBodyWithResponse request with any body
PostEndpointsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostEndpointsResponse, error)
PostEndpointsWithResponse(ctx context.Context, body PostEndpointsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostEndpointsResponse, error)
// GetMegabillQueryLanguageKeysWithResponse request
GetMegabillQueryLanguageKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMegabillQueryLanguageKeysResponse, error)
// GetMegabillQueryLanguageValuesCostCenterKeyWithResponse request
GetMegabillQueryLanguageValuesCostCenterKeyWithResponse(ctx context.Context, costCenter string, key string, reqEditors ...RequestEditorFn) (*GetMegabillQueryLanguageValuesCostCenterKeyResponse, error)
// GetViewWithResponse request
GetViewWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetViewResponse, error)
// GetVirtualTagsWithResponse request
GetVirtualTagsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVirtualTagsResponse, error)
// PostVirtualTagsWithBodyWithResponse request with any body
PostVirtualTagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostVirtualTagsResponse, error)
PostVirtualTagsWithResponse(ctx context.Context, body PostVirtualTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostVirtualTagsResponse, error)
// DeleteVirtualTagsIdWithResponse request
DeleteVirtualTagsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteVirtualTagsIdResponse, error)
// GetVirtualTagsIdWithResponse request
GetVirtualTagsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetVirtualTagsIdResponse, error)
// PutVirtualTagsIdWithBodyWithResponse request with any body
PutVirtualTagsIdWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutVirtualTagsIdResponse, error)
PutVirtualTagsIdWithResponse(ctx context.Context, id string, body PutVirtualTagsIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutVirtualTagsIdResponse, error)
// GetVirtualTagsVtagIdMetadataWithResponse request
GetVirtualTagsVtagIdMetadataWithResponse(ctx context.Context, vtagId string, reqEditors ...RequestEditorFn) (*GetVirtualTagsVtagIdMetadataResponse, error)
// PutVirtualTagsVtagIdMetadataWithBodyWithResponse request with any body
PutVirtualTagsVtagIdMetadataWithBodyWithResponse(ctx context.Context, vtagId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutVirtualTagsVtagIdMetadataResponse, error)
PutVirtualTagsVtagIdMetadataWithResponse(ctx context.Context, vtagId string, body PutVirtualTagsVtagIdMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*PutVirtualTagsVtagIdMetadataResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateEndpointRequest ¶
type CreateEndpointRequest struct {
Configuration *struct {
// To The destination address for notifications (email address or Slack webhook URL).
To *string `json:"to,omitempty"`
} `json:"configuration,omitempty"`
// Name The name of the endpoint.
Name *string `json:"name,omitempty"`
// Type The endpoint type (Email or Slack).
Type *string `json:"type,omitempty"`
}
CreateEndpointRequest defines model for CreateEndpointRequest.
type CreateEndpointResponse ¶
type CreateEndpointResponse struct {
Endpoint *struct {
// AccountId The account ID of the endpoint.
AccountId *string `json:"accountId,omitempty"`
Configuration *struct {
// To The destination address or endpoint for the notification.
To *string `json:"to,omitempty"`
} `json:"configuration,omitempty"`
// CreatedAt The time and date the endpoint was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// CreatedBy The creator of the endpoint.
CreatedBy *string `json:"createdBy,omitempty"`
// Id The unique identifier of your account's views.
Id *string `json:"id,omitempty"`
// Name The name of the endpoint.
Name *string `json:"name,omitempty"`
// Type The endpoint type (email or Slack).
Type *string `json:"type,omitempty"`
// UpdatedAt The time and date the endpoint was updated.
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
} `json:"endpoint,omitempty"`
// RequestId The ID of this specific request.
RequestId *string `json:"requestId,omitempty"`
}
CreateEndpointResponse defines model for CreateEndpointResponse.
type CreateVirtualTagRequest ¶
type CreateVirtualTagRequest struct {
DefaultValue *string `json:"defaultValue,omitempty"`
Name *string `json:"name,omitempty"`
Rules *[]struct {
Filters *map[string]string `json:"filters,omitempty"`
To *string `json:"to,omitempty"`
} `json:"rules,omitempty"`
}
CreateVirtualTagRequest defines model for CreateVirtualTagRequest.
type CreateVirtualTagResponse ¶
type CreateVirtualTagResponse struct {
Category *string `json:"category,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
CreatedBy *string `json:"createdBy,omitempty"`
DefaultValue *string `json:"defaultValue,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Rules *[]struct {
Filters *map[string]string `json:"filters,omitempty"`
To *string `json:"to,omitempty"`
} `json:"rules,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
UpdatedBy *string `json:"updatedBy,omitempty"`
}
CreateVirtualTagResponse defines model for CreateVirtualTagResponse.
type DeleteVirtualTagsIdResponse ¶
func ParseDeleteVirtualTagsIdResponse ¶
func ParseDeleteVirtualTagsIdResponse(rsp *http.Response) (*DeleteVirtualTagsIdResponse, error)
ParseDeleteVirtualTagsIdResponse parses an HTTP response from a DeleteVirtualTagsIdWithResponse call
func (DeleteVirtualTagsIdResponse) Status ¶
func (r DeleteVirtualTagsIdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVirtualTagsIdResponse) StatusCode ¶
func (r DeleteVirtualTagsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCostGuardScansResponse ¶
type GetCostGuardScansResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GetScansResponse
}
func ParseGetCostGuardScansResponse ¶
func ParseGetCostGuardScansResponse(rsp *http.Response) (*GetCostGuardScansResponse, error)
ParseGetCostGuardScansResponse parses an HTTP response from a GetCostGuardScansWithResponse call
func (GetCostGuardScansResponse) Status ¶
func (r GetCostGuardScansResponse) Status() string
Status returns HTTPResponse.Status
func (GetCostGuardScansResponse) StatusCode ¶
func (r GetCostGuardScansResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEndpoints ¶
type GetEndpoints struct {
Endpoints *[]struct {
Configuration *struct {
// To The destination address or endpoint for the notification.
To *string `json:"to,omitempty"`
} `json:"configuration,omitempty"`
// CreatedAt The time and date the endpoint was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// CreatedBy The creator of the endpoint.
CreatedBy *string `json:"createdBy,omitempty"`
// Id The unique identifier of the endpoint.
Id *string `json:"id,omitempty"`
// Name The name of the endpoint.
Name *string `json:"name,omitempty"`
// RequestId The ID of this specific request.
RequestId *string `json:"requestId,omitempty"`
// Type The endpoint type (email or Slack).
Type *string `json:"type,omitempty"`
} `json:"endpoints,omitempty"`
}
GetEndpoints defines model for GetEndpoints.
type GetEndpointsResponse ¶
type GetEndpointsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GetEndpoints
}
func ParseGetEndpointsResponse ¶
func ParseGetEndpointsResponse(rsp *http.Response) (*GetEndpointsResponse, error)
ParseGetEndpointsResponse parses an HTTP response from a GetEndpointsWithResponse call
func (GetEndpointsResponse) Status ¶
func (r GetEndpointsResponse) Status() string
Status returns HTTPResponse.Status
func (GetEndpointsResponse) StatusCode ¶
func (r GetEndpointsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetKeysResponse ¶
type GetKeysResponse struct {
Error *string `json:"error"`
Keys *[]struct {
CostCenter *string `json:"costCenter,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Key *string `json:"key,omitempty"`
} `json:"keys,omitempty"`
Request *map[string]interface{} `json:"request,omitempty"`
RequestId *string `json:"request_id,omitempty"`
}
GetKeysResponse defines model for GetKeysResponse.
type GetMegabillQueryLanguageKeysResponse ¶
type GetMegabillQueryLanguageKeysResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GetKeysResponse
}
func ParseGetMegabillQueryLanguageKeysResponse ¶
func ParseGetMegabillQueryLanguageKeysResponse(rsp *http.Response) (*GetMegabillQueryLanguageKeysResponse, error)
ParseGetMegabillQueryLanguageKeysResponse parses an HTTP response from a GetMegabillQueryLanguageKeysWithResponse call
func (GetMegabillQueryLanguageKeysResponse) Status ¶
func (r GetMegabillQueryLanguageKeysResponse) Status() string
Status returns HTTPResponse.Status
func (GetMegabillQueryLanguageKeysResponse) StatusCode ¶
func (r GetMegabillQueryLanguageKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMegabillQueryLanguageValuesCostCenterKeyResponse ¶
type GetMegabillQueryLanguageValuesCostCenterKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GetValuesResponse
}
func ParseGetMegabillQueryLanguageValuesCostCenterKeyResponse ¶
func ParseGetMegabillQueryLanguageValuesCostCenterKeyResponse(rsp *http.Response) (*GetMegabillQueryLanguageValuesCostCenterKeyResponse, error)
ParseGetMegabillQueryLanguageValuesCostCenterKeyResponse parses an HTTP response from a GetMegabillQueryLanguageValuesCostCenterKeyWithResponse call
func (GetMegabillQueryLanguageValuesCostCenterKeyResponse) Status ¶
func (r GetMegabillQueryLanguageValuesCostCenterKeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetMegabillQueryLanguageValuesCostCenterKeyResponse) StatusCode ¶
func (r GetMegabillQueryLanguageValuesCostCenterKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetScansResponse ¶
type GetScansResponse struct {
RequestId *string `json:"requestId,omitempty"`
Scans *[]struct {
ScanId *string `json:"scanId,omitempty"`
ScanLastRunTime *int `json:"scanLastRunTime,omitempty"`
ScanMetadata *struct {
AnalysisDays *int `json:"analysisDays,omitempty"`
CostCenter *string `json:"costCenter,omitempty"`
Type *string `json:"type,omitempty"`
} `json:"scanMetadata,omitempty"`
ScanName *string `json:"scanName,omitempty"`
} `json:"scans,omitempty"`
}
GetScansResponse defines model for GetScansResponse.
type GetValuesResponse ¶
type GetValuesResponse struct {
AccountId *string `json:"accountId,omitempty"`
Request *struct {
CostCenter *string `json:"costCenter,omitempty"`
Key *string `json:"key,omitempty"`
} `json:"request,omitempty"`
RequestId *string `json:"requestId,omitempty"`
Values *[]string `json:"values,omitempty"`
}
GetValuesResponse defines model for GetValuesResponse.
type GetViewResponse ¶
type GetViewResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GetViewsResponse
}
func ParseGetViewResponse ¶
func ParseGetViewResponse(rsp *http.Response) (*GetViewResponse, error)
ParseGetViewResponse parses an HTTP response from a GetViewWithResponse call
func (GetViewResponse) Status ¶
func (r GetViewResponse) Status() string
Status returns HTTPResponse.Status
func (GetViewResponse) StatusCode ¶
func (r GetViewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetViewsResponse ¶
type GetViewsResponse struct {
Data *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"data,omitempty"`
RequestId *string `json:"requestId,omitempty"`
}
GetViewsResponse defines model for GetViewsResponse.
type GetVirtualTagMetadataResponse ¶
type GetVirtualTagMetadataResponse struct {
Metadata *map[string]struct {
CustomMetadata *map[string]string `json:"customMetadata,omitempty"`
Groups *[]string `json:"groups,omitempty"`
} `json:"metadata,omitempty"`
RequestId *string `json:"requestId,omitempty"`
}
GetVirtualTagMetadataResponse defines model for GetVirtualTagMetadataResponse.
type GetVirtualTagResponse ¶
type GetVirtualTagResponse struct {
Category *string `json:"category,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
CreatedBy *string `json:"createdBy,omitempty"`
DefaultValue *string `json:"defaultValue,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Rules *[]struct {
Filters *map[string]string `json:"filters,omitempty"`
To *string `json:"to,omitempty"`
} `json:"rules,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
UpdatedBy *string `json:"updatedBy,omitempty"`
}
GetVirtualTagResponse defines model for GetVirtualTagResponse.
type GetVirtualTags ¶
type GetVirtualTags struct {
AccountId *string `json:"accountId,omitempty"`
RequestId *string `json:"requestId,omitempty"`
VirtualTags *[]struct {
Category *string `json:"category,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
CreatedBy *string `json:"createdBy,omitempty"`
DefaultValue *string `json:"defaultValue,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Rules *[]struct {
Filters *map[string]string `json:"filters,omitempty"`
To *string `json:"to,omitempty"`
} `json:"rules,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
UpdatedBy *string `json:"updatedBy,omitempty"`
} `json:"virtualTags,omitempty"`
}
GetVirtualTags defines model for GetVirtualTags.
type GetVirtualTagsIdResponse ¶
type GetVirtualTagsIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GetVirtualTagResponse
}
func ParseGetVirtualTagsIdResponse ¶
func ParseGetVirtualTagsIdResponse(rsp *http.Response) (*GetVirtualTagsIdResponse, error)
ParseGetVirtualTagsIdResponse parses an HTTP response from a GetVirtualTagsIdWithResponse call
func (GetVirtualTagsIdResponse) Status ¶
func (r GetVirtualTagsIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetVirtualTagsIdResponse) StatusCode ¶
func (r GetVirtualTagsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVirtualTagsResponse ¶
type GetVirtualTagsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GetVirtualTags
}
func ParseGetVirtualTagsResponse ¶
func ParseGetVirtualTagsResponse(rsp *http.Response) (*GetVirtualTagsResponse, error)
ParseGetVirtualTagsResponse parses an HTTP response from a GetVirtualTagsWithResponse call
func (GetVirtualTagsResponse) Status ¶
func (r GetVirtualTagsResponse) Status() string
Status returns HTTPResponse.Status
func (GetVirtualTagsResponse) StatusCode ¶
func (r GetVirtualTagsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVirtualTagsVtagIdMetadataResponse ¶
type GetVirtualTagsVtagIdMetadataResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GetVirtualTagMetadataResponse
}
func ParseGetVirtualTagsVtagIdMetadataResponse ¶
func ParseGetVirtualTagsVtagIdMetadataResponse(rsp *http.Response) (*GetVirtualTagsVtagIdMetadataResponse, error)
ParseGetVirtualTagsVtagIdMetadataResponse parses an HTTP response from a GetVirtualTagsVtagIdMetadataWithResponse call
func (GetVirtualTagsVtagIdMetadataResponse) Status ¶
func (r GetVirtualTagsVtagIdMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (GetVirtualTagsVtagIdMetadataResponse) StatusCode ¶
func (r GetVirtualTagsVtagIdMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type PostCostGuardScansRecommendationsJSONRequestBody ¶
type PostCostGuardScansRecommendationsJSONRequestBody = ScanRecommendationsRequest
PostCostGuardScansRecommendationsJSONRequestBody defines body for PostCostGuardScansRecommendations for application/json ContentType.
type PostCostGuardScansRecommendationsResponse ¶
type PostCostGuardScansRecommendationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScanRecommendationsResponse
}
func ParsePostCostGuardScansRecommendationsResponse ¶
func ParsePostCostGuardScansRecommendationsResponse(rsp *http.Response) (*PostCostGuardScansRecommendationsResponse, error)
ParsePostCostGuardScansRecommendationsResponse parses an HTTP response from a PostCostGuardScansRecommendationsWithResponse call
func (PostCostGuardScansRecommendationsResponse) Status ¶
func (r PostCostGuardScansRecommendationsResponse) Status() string
Status returns HTTPResponse.Status
func (PostCostGuardScansRecommendationsResponse) StatusCode ¶
func (r PostCostGuardScansRecommendationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostCostQueryByViewJSONRequestBody ¶
type PostCostQueryByViewJSONRequestBody = QueryByViewRequest
PostCostQueryByViewJSONRequestBody defines body for PostCostQueryByView for application/json ContentType.
type PostCostQueryByViewResponse ¶
type PostCostQueryByViewResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *QueryByViewResponse
}
func ParsePostCostQueryByViewResponse ¶
func ParsePostCostQueryByViewResponse(rsp *http.Response) (*PostCostQueryByViewResponse, error)
ParsePostCostQueryByViewResponse parses an HTTP response from a PostCostQueryByViewWithResponse call
func (PostCostQueryByViewResponse) Status ¶
func (r PostCostQueryByViewResponse) Status() string
Status returns HTTPResponse.Status
func (PostCostQueryByViewResponse) StatusCode ¶
func (r PostCostQueryByViewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostEndpointsJSONRequestBody ¶
type PostEndpointsJSONRequestBody = CreateEndpointRequest
PostEndpointsJSONRequestBody defines body for PostEndpoints for application/json ContentType.
type PostEndpointsResponse ¶
type PostEndpointsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CreateEndpointResponse
}
func ParsePostEndpointsResponse ¶
func ParsePostEndpointsResponse(rsp *http.Response) (*PostEndpointsResponse, error)
ParsePostEndpointsResponse parses an HTTP response from a PostEndpointsWithResponse call
func (PostEndpointsResponse) Status ¶
func (r PostEndpointsResponse) Status() string
Status returns HTTPResponse.Status
func (PostEndpointsResponse) StatusCode ¶
func (r PostEndpointsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostVirtualTagsJSONRequestBody ¶
type PostVirtualTagsJSONRequestBody = CreateVirtualTagRequest
PostVirtualTagsJSONRequestBody defines body for PostVirtualTags for application/json ContentType.
type PostVirtualTagsResponse ¶
type PostVirtualTagsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *CreateVirtualTagResponse
}
func ParsePostVirtualTagsResponse ¶
func ParsePostVirtualTagsResponse(rsp *http.Response) (*PostVirtualTagsResponse, error)
ParsePostVirtualTagsResponse parses an HTTP response from a PostVirtualTagsWithResponse call
func (PostVirtualTagsResponse) Status ¶
func (r PostVirtualTagsResponse) Status() string
Status returns HTTPResponse.Status
func (PostVirtualTagsResponse) StatusCode ¶
func (r PostVirtualTagsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutVirtualTagsIdJSONRequestBody ¶
type PutVirtualTagsIdJSONRequestBody = UpdateVirtualTagRequest
PutVirtualTagsIdJSONRequestBody defines body for PutVirtualTagsId for application/json ContentType.
type PutVirtualTagsIdResponse ¶
type PutVirtualTagsIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UpdateVirtualTagResponse
}
func ParsePutVirtualTagsIdResponse ¶
func ParsePutVirtualTagsIdResponse(rsp *http.Response) (*PutVirtualTagsIdResponse, error)
ParsePutVirtualTagsIdResponse parses an HTTP response from a PutVirtualTagsIdWithResponse call
func (PutVirtualTagsIdResponse) Status ¶
func (r PutVirtualTagsIdResponse) Status() string
Status returns HTTPResponse.Status
func (PutVirtualTagsIdResponse) StatusCode ¶
func (r PutVirtualTagsIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutVirtualTagsVtagIdMetadataJSONRequestBody ¶
type PutVirtualTagsVtagIdMetadataJSONRequestBody = UpdateVirtualTagMetadataRequest
PutVirtualTagsVtagIdMetadataJSONRequestBody defines body for PutVirtualTagsVtagIdMetadata for application/json ContentType.
type PutVirtualTagsVtagIdMetadataResponse ¶
type PutVirtualTagsVtagIdMetadataResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UpdateVirtualTagMetadataResponse
}
func ParsePutVirtualTagsVtagIdMetadataResponse ¶
func ParsePutVirtualTagsVtagIdMetadataResponse(rsp *http.Response) (*PutVirtualTagsVtagIdMetadataResponse, error)
ParsePutVirtualTagsVtagIdMetadataResponse parses an HTTP response from a PutVirtualTagsVtagIdMetadataWithResponse call
func (PutVirtualTagsVtagIdMetadataResponse) Status ¶
func (r PutVirtualTagsVtagIdMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (PutVirtualTagsVtagIdMetadataResponse) StatusCode ¶
func (r PutVirtualTagsVtagIdMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QueryByViewRequest ¶
type QueryByViewRequest struct {
CostType *QueryByViewRequestCostType `json:"costType,omitempty"`
Date *struct {
UnixTimeMillSecondsEnd *int `json:"unixTimeMillSecondsEnd,omitempty"`
UnixTimeMillSecondsStart *int `json:"unixTimeMillSecondsStart,omitempty"`
} `json:"date,omitempty"`
ViewId *string `json:"viewId,omitempty"`
}
QueryByViewRequest defines model for QueryByViewRequest.
type QueryByViewRequestCostType ¶
type QueryByViewRequestCostType string
QueryByViewRequestCostType defines model for QueryByViewRequest.CostType.
const ( AmortizedCost QueryByViewRequestCostType = "amortizedCost" BlendedCost QueryByViewRequestCostType = "blendedCost" NetAmortizedCost QueryByViewRequestCostType = "netAmortizedCost" NetUnblendedCost QueryByViewRequestCostType = "netUnblendedCost" UnblendedCost QueryByViewRequestCostType = "unblendedCost" )
Defines values for QueryByViewRequestCostType.
type QueryByViewResponse ¶
type QueryByViewResponse struct {
Data *[]struct {
Data *[]struct {
Cost *float32 `json:"cost,omitempty"`
Time *int `json:"time,omitempty"`
} `json:"data,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"data,omitempty"`
Request *struct {
ViewId *string `json:"viewId,omitempty"`
} `json:"request,omitempty"`
RequestId *string `json:"requestId,omitempty"`
}
QueryByViewResponse defines model for QueryByViewResponse.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ScanRecommendationsRequest ¶
type ScanRecommendationsRequest struct {
Filters *map[string]string `json:"filters,omitempty"`
GroupBy *map[string]string `json:"groupBy,omitempty"`
ScanId *string `json:"scanId,omitempty"`
}
ScanRecommendationsRequest defines model for ScanRecommendationsRequest.
type ScanRecommendationsResponse ¶
type ScanRecommendationsResponse struct {
Data *[]struct {
Group *string `json:"group,omitempty"`
GroupTotalCost *float32 `json:"groupTotalCost,omitempty"`
GroupTotalWaste *float32 `json:"groupTotalWaste,omitempty"`
GroupYearlyPotentialSavings *float32 `json:"groupYearlyPotentialSavings,omitempty"`
Resources *[]struct {
ResourceId *string `json:"resourceId,omitempty"`
ResourceMetadata *struct {
AccountName *string `json:"accountName,omitempty"`
InstanceType *string `json:"instanceType,omitempty"`
} `json:"resourceMetadata,omitempty"`
ResourceMetrics *struct {
UsedCpu *float32 `json:"usedCpu,omitempty"`
} `json:"resourceMetrics,omitempty"`
ResourceRecommendations *struct {
TargetCpu *float32 `json:"targetCpu,omitempty"`
TargetInstanceType *string `json:"targetInstanceType,omitempty"`
TargetMemory *float32 `json:"targetMemory,omitempty"`
} `json:"resourceRecommendations,omitempty"`
ResourceTotalCost *float32 `json:"resourceTotalCost,omitempty"`
ResourceTotalWaste *float32 `json:"resourceTotalWaste,omitempty"`
ResourceYearlyPotentialSavings *float32 `json:"resourceYearlyPotentialSavings,omitempty"`
} `json:"resources,omitempty"`
} `json:"data,omitempty"`
RequestId *string `json:"requestId,omitempty"`
ScanId *string `json:"scanId,omitempty"`
ScanLastRunTime *int `json:"scanLastRunTime,omitempty"`
ScanMetadata *struct {
AnalysisDays *int `json:"analysisDays,omitempty"`
CostCenter *string `json:"costCenter,omitempty"`
Type *string `json:"type,omitempty"`
} `json:"scanMetadata,omitempty"`
ScanName *string `json:"scanName,omitempty"`
ScanTotalCost *float32 `json:"scanTotalCost,omitempty"`
ScanTotalWaste *float32 `json:"scanTotalWaste,omitempty"`
ScanYearlyPotentialSavings *float32 `json:"scanYearlyPotentialSavings,omitempty"`
}
ScanRecommendationsResponse defines model for ScanRecommendationsResponse.
type UpdateVirtualTagMetadataRequest ¶
type UpdateVirtualTagMetadataRequest map[string]struct { CustomMetadata *map[string]string `json:"customMetadata,omitempty"` Groups *[]string `json:"groups,omitempty"` }
UpdateVirtualTagMetadataRequest defines model for UpdateVirtualTagMetadataRequest.
type UpdateVirtualTagMetadataResponse ¶
type UpdateVirtualTagMetadataResponse struct {
Metadata *map[string]struct {
CustomMetadata *map[string]string `json:"customMetadata,omitempty"`
Groups *[]string `json:"groups,omitempty"`
} `json:"metadata,omitempty"`
Request *struct {
VirtualTagId *string `json:"virtualTagId,omitempty"`
} `json:"request,omitempty"`
RequestId *string `json:"requestId,omitempty"`
}
UpdateVirtualTagMetadataResponse defines model for UpdateVirtualTagMetadataResponse.
type UpdateVirtualTagRequest ¶
type UpdateVirtualTagRequest struct {
DefaultValue *string `json:"defaultValue,omitempty"`
Name *string `json:"name,omitempty"`
Rules *[]struct {
Filters *map[string]string `json:"filters,omitempty"`
To *string `json:"to,omitempty"`
} `json:"rules,omitempty"`
}
UpdateVirtualTagRequest defines model for UpdateVirtualTagRequest.
type UpdateVirtualTagResponse ¶
type UpdateVirtualTagResponse struct {
DefaultValue *string `json:"defaultValue,omitempty"`
Name *string `json:"name,omitempty"`
RequestId *string `json:"requestId,omitempty"`
Rules *[]struct {
Filters *map[string]string `json:"filters,omitempty"`
To *string `json:"to,omitempty"`
} `json:"rules,omitempty"`
}
UpdateVirtualTagResponse defines model for UpdateVirtualTagResponse.