Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118751,6 +118751,11 @@ paths:
name: filter[provider]
schema:
type: string
- description: Filter results to tag keys that have data for a specific Cloud Cost Management metric (for example, `aws.cost.net.amortized`). When omitted, all tag keys for the requested period are returned.
in: query
name: filter[metric]
schema:
type: string
responses:
"200":
content:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7763,6 +7763,7 @@ public CompletableFuture<ApiResponse<CostTagKeysResponse>> listCostTagKeysWithHt
/** Manage optional parameters to listCostTagKeySources. */
public static class ListCostTagKeySourcesOptionalParameters {
private String filterProvider;
private String filterMetric;

/**
* Set filterProvider.
Expand All @@ -7778,6 +7779,19 @@ public ListCostTagKeySourcesOptionalParameters filterProvider(String filterProvi
this.filterProvider = filterProvider;
return this;
}

/**
* Set filterMetric.
*
* @param filterMetric Filter results to tag keys that have data for a specific Cloud Cost
* Management metric (for example, <code>aws.cost.net.amortized</code>). When omitted, all
* tag keys for the requested period are returned. (optional)
* @return ListCostTagKeySourcesOptionalParameters
*/
public ListCostTagKeySourcesOptionalParameters filterMetric(String filterMetric) {
this.filterMetric = filterMetric;
return this;
}
}

/**
Expand Down Expand Up @@ -7881,6 +7895,7 @@ public ApiResponse<CostTagKeySourcesResponse> listCostTagKeySourcesWithHttpInfo(
400, "Missing the required parameter 'filterMonth' when calling listCostTagKeySources");
}
String filterProvider = parameters.filterProvider;
String filterMetric = parameters.filterMetric;
// create path and map variables
String localVarPath = "/api/v2/cost/tag_metadata/tag_sources";

Expand All @@ -7889,6 +7904,7 @@ public ApiResponse<CostTagKeySourcesResponse> listCostTagKeySourcesWithHttpInfo(

localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[month]", filterMonth));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[provider]", filterProvider));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[metric]", filterMetric));

Invocation.Builder builder =
apiClient.createBuilder(
Expand Down Expand Up @@ -7944,6 +7960,7 @@ public ApiResponse<CostTagKeySourcesResponse> listCostTagKeySourcesWithHttpInfo(
return result;
}
String filterProvider = parameters.filterProvider;
String filterMetric = parameters.filterMetric;
// create path and map variables
String localVarPath = "/api/v2/cost/tag_metadata/tag_sources";

Expand All @@ -7952,6 +7969,7 @@ public ApiResponse<CostTagKeySourcesResponse> listCostTagKeySourcesWithHttpInfo(

localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[month]", filterMonth));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[provider]", filterProvider));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "filter[metric]", filterMetric));

Invocation.Builder builder;
try {
Expand Down
Loading