File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
packages/clients/src/api/audit_trail/v1alpha1 Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ export class API extends ParentAPI {
5454 [ 'recorded_after' , request . recordedAfter ] ,
5555 [ 'recorded_before' , request . recordedBefore ] ,
5656 [ 'resource_type' , request . resourceType ] ,
57+ [ 'service_name' , request . serviceName ] ,
5758 [ 'status' , request . status ] ,
5859 ) ,
5960 } ,
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ export type ListEventsRequest = {
200200 organizationId ?: string
201201 /** (Optional) Returns a paginated list of Scaleway resources' features. */
202202 resourceType ?: ResourceType
203- /** (Optional) Name of the method or the API call performed. */
203+ /** (Optional) Name of the method of the API call performed. */
204204 methodName ?: string
205205 /**
206206 * (Optional) HTTP status code of the request. Returns either `200` if the
@@ -223,6 +223,8 @@ export type ListEventsRequest = {
223223 pageToken ?: string
224224 /** (Optional) Name of the Scaleway resource in a hyphenated format. */
225225 productName ?: string
226+ /** (Optional) Name of the service of the API call performed. */
227+ serviceName ?: string
226228}
227229
228230export interface ListEventsResponse {
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ export const ListEventsRequest = {
1212 productName : {
1313 pattern : / ^ [ a - z ] + ( - [ a - z ] + ) * $ / ,
1414 } ,
15+ serviceName : {
16+ pattern : / ^ s c a l e w a y ( \. [ a - z A - Z 0 - 9 _ - ] * ) * $ / ,
17+ } ,
1518 status : {
1619 greaterThanOrEqual : 200 ,
1720 lessThan : 600 ,
You can’t perform that action at this time.
0 commit comments