Skip to content

Commit

Permalink
feat(iam): enable CLI for IAM logs (#1937)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot committed Nov 29, 2023
1 parent c646e1e commit 32ade99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/iam/v1alpha1/iam_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -2998,7 +2998,7 @@ func (s *API) ListQuota(req *ListQuotaRequest, opts ...scw.RequestOption) (*List
return &resp, nil
}

// GetQuotum: Retrieve information about a resource quota, speficified by the `quotum_name` parameter. The quota's `limit`, or whether it is unlimited, is returned in the response.
// GetQuotum: Retrieve information about a resource quota, specified by the `quotum_name` parameter. The quota's `limit`, or whether it is unlimited, is returned in the response.
func (s *API) GetQuotum(req *GetQuotumRequest, opts ...scw.RequestOption) (*Quotum, error) {
var err error

Expand Down Expand Up @@ -3102,7 +3102,7 @@ func (s *API) DeleteJWT(req *DeleteJWTRequest, opts ...scw.RequestOption) error
return nil
}

// ListLogs:
// ListLogs: List logs available for given Organization. You must define the `organization_id` in the query path of your request.
func (s *API) ListLogs(req *ListLogsRequest, opts ...scw.RequestOption) (*ListLogsResponse, error) {
var err error

Expand Down Expand Up @@ -3142,7 +3142,7 @@ func (s *API) ListLogs(req *ListLogsRequest, opts ...scw.RequestOption) (*ListLo
return &resp, nil
}

// GetLog:
// GetLog: Retrieve information about a log, specified by the `log_id` parameter. The log's full details, including `id`, `ip`, `user_agent`, `action`, `bearer_id`, `resource_type` and `resource_id` are returned in the response.
func (s *API) GetLog(req *GetLogRequest, opts ...scw.RequestOption) (*Log, error) {
var err error

Expand Down

0 comments on commit 32ade99

Please sign in to comment.