aws-sdk-managedgrafana 1.28.0 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs CHANGED
@@ -101,6 +101,36 @@ module Aws::ManagedGrafana
101
101
  SENSITIVE: []
102
102
  end
103
103
 
104
+ class CreateWorkspaceServiceAccountRequest
105
+ attr_accessor grafana_role: ("ADMIN" | "EDITOR" | "VIEWER")
106
+ attr_accessor name: ::String
107
+ attr_accessor workspace_id: ::String
108
+ SENSITIVE: []
109
+ end
110
+
111
+ class CreateWorkspaceServiceAccountResponse
112
+ attr_accessor grafana_role: ("ADMIN" | "EDITOR" | "VIEWER")
113
+ attr_accessor id: ::String
114
+ attr_accessor name: ::String
115
+ attr_accessor workspace_id: ::String
116
+ SENSITIVE: []
117
+ end
118
+
119
+ class CreateWorkspaceServiceAccountTokenRequest
120
+ attr_accessor name: ::String
121
+ attr_accessor seconds_to_live: ::Integer
122
+ attr_accessor service_account_id: ::String
123
+ attr_accessor workspace_id: ::String
124
+ SENSITIVE: []
125
+ end
126
+
127
+ class CreateWorkspaceServiceAccountTokenResponse
128
+ attr_accessor service_account_id: ::String
129
+ attr_accessor service_account_token: Types::ServiceAccountTokenSummaryWithKey
130
+ attr_accessor workspace_id: ::String
131
+ SENSITIVE: []
132
+ end
133
+
104
134
  class DeleteWorkspaceApiKeyRequest
105
135
  attr_accessor key_name: ::String
106
136
  attr_accessor workspace_id: ::String
@@ -123,6 +153,32 @@ module Aws::ManagedGrafana
123
153
  SENSITIVE: []
124
154
  end
125
155
 
156
+ class DeleteWorkspaceServiceAccountRequest
157
+ attr_accessor service_account_id: ::String
158
+ attr_accessor workspace_id: ::String
159
+ SENSITIVE: []
160
+ end
161
+
162
+ class DeleteWorkspaceServiceAccountResponse
163
+ attr_accessor service_account_id: ::String
164
+ attr_accessor workspace_id: ::String
165
+ SENSITIVE: []
166
+ end
167
+
168
+ class DeleteWorkspaceServiceAccountTokenRequest
169
+ attr_accessor service_account_id: ::String
170
+ attr_accessor token_id: ::String
171
+ attr_accessor workspace_id: ::String
172
+ SENSITIVE: []
173
+ end
174
+
175
+ class DeleteWorkspaceServiceAccountTokenResponse
176
+ attr_accessor service_account_id: ::String
177
+ attr_accessor token_id: ::String
178
+ attr_accessor workspace_id: ::String
179
+ SENSITIVE: []
180
+ end
181
+
126
182
  class DescribeWorkspaceAuthenticationRequest
127
183
  attr_accessor workspace_id: ::String
128
184
  SENSITIVE: []
@@ -224,6 +280,36 @@ module Aws::ManagedGrafana
224
280
  SENSITIVE: []
225
281
  end
226
282
 
283
+ class ListWorkspaceServiceAccountTokensRequest
284
+ attr_accessor max_results: ::Integer
285
+ attr_accessor next_token: ::String
286
+ attr_accessor service_account_id: ::String
287
+ attr_accessor workspace_id: ::String
288
+ SENSITIVE: []
289
+ end
290
+
291
+ class ListWorkspaceServiceAccountTokensResponse
292
+ attr_accessor next_token: ::String
293
+ attr_accessor service_account_id: ::String
294
+ attr_accessor service_account_tokens: ::Array[Types::ServiceAccountTokenSummary]
295
+ attr_accessor workspace_id: ::String
296
+ SENSITIVE: []
297
+ end
298
+
299
+ class ListWorkspaceServiceAccountsRequest
300
+ attr_accessor max_results: ::Integer
301
+ attr_accessor next_token: ::String
302
+ attr_accessor workspace_id: ::String
303
+ SENSITIVE: []
304
+ end
305
+
306
+ class ListWorkspaceServiceAccountsResponse
307
+ attr_accessor next_token: ::String
308
+ attr_accessor service_accounts: ::Array[Types::ServiceAccountSummary]
309
+ attr_accessor workspace_id: ::String
310
+ SENSITIVE: []
311
+ end
312
+
227
313
  class ListWorkspacesRequest
228
314
  attr_accessor max_results: ::Integer
229
315
  attr_accessor next_token: ::String
@@ -276,6 +362,30 @@ module Aws::ManagedGrafana
276
362
  SENSITIVE: []
277
363
  end
278
364
 
365
+ class ServiceAccountSummary
366
+ attr_accessor grafana_role: ("ADMIN" | "EDITOR" | "VIEWER")
367
+ attr_accessor id: ::String
368
+ attr_accessor is_disabled: ::String
369
+ attr_accessor name: ::String
370
+ SENSITIVE: []
371
+ end
372
+
373
+ class ServiceAccountTokenSummary
374
+ attr_accessor created_at: ::Time
375
+ attr_accessor expires_at: ::Time
376
+ attr_accessor id: ::String
377
+ attr_accessor last_used_at: ::Time
378
+ attr_accessor name: ::String
379
+ SENSITIVE: []
380
+ end
381
+
382
+ class ServiceAccountTokenSummaryWithKey
383
+ attr_accessor id: ::String
384
+ attr_accessor key: ::String
385
+ attr_accessor name: ::String
386
+ SENSITIVE: [:key]
387
+ end
388
+
279
389
  class ServiceQuotaExceededException
280
390
  attr_accessor message: ::String
281
391
  attr_accessor quota_code: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-managedgrafana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.28.0
4
+ version: 1.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-13 00:00:00.000000000 Z
11
+ date: 2024-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core