Skip to content
Merged
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
1 change: 1 addition & 0 deletions packages/clients/src/api/audit_trail/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export class API extends ParentAPI {
['recorded_after', request.recordedAfter],
['recorded_before', request.recordedBefore],
['resource_type', request.resourceType],
['service_name', request.serviceName],
['status', request.status],
),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export type ListEventsRequest = {
organizationId?: string
/** (Optional) Returns a paginated list of Scaleway resources' features. */
resourceType?: ResourceType
/** (Optional) Name of the method or the API call performed. */
/** (Optional) Name of the method of the API call performed. */
methodName?: string
/**
* (Optional) HTTP status code of the request. Returns either `200` if the
Expand All @@ -223,6 +223,8 @@ export type ListEventsRequest = {
pageToken?: string
/** (Optional) Name of the Scaleway resource in a hyphenated format. */
productName?: string
/** (Optional) Name of the service of the API call performed. */
serviceName?: string
}

export interface ListEventsResponse {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export const ListEventsRequest = {
productName: {
pattern: /^[a-z]+(-[a-z]+)*$/,
},
serviceName: {
pattern: /^scaleway(\.[a-zA-Z0-9_-]*)*$/,
},
status: {
greaterThanOrEqual: 200,
lessThan: 600,
Expand Down
Loading