aws-sdk-managedgrafana 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-managedgrafana/client.rb +90 -4
- data/lib/aws-sdk-managedgrafana/client_api.rb +55 -0
- data/lib/aws-sdk-managedgrafana/types.rb +108 -2
- data/lib/aws-sdk-managedgrafana.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc8e6f4657047140c76d7e67e03d5e597c6f198c4eca53f6c836e8540f4e729c
|
4
|
+
data.tar.gz: 4fba88dce5a57ebf73610fbd32076467149489e18f56f9843ea2c1cbf1e88c2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bbb7a0dd95cf6e0d5727475f10b7a5867e58b4a74c9ed79147fc58b974c1e62750c4a20ff38b7fb51f2343f04f220a2339473485ce2dd045a01d557bfbd0406
|
7
|
+
data.tar.gz: 819600eb6c12c6325cc3b7b6eecac7f239a65a71d62b1a0baa1766b313cd4468d0ba90e0907f35fcc00b478c7efd040a82d110acd2d93ca40c405132eb416f88
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.0
|
@@ -588,6 +588,58 @@ module Aws::ManagedGrafana
|
|
588
588
|
req.send_request(options)
|
589
589
|
end
|
590
590
|
|
591
|
+
# Creates an API key for the workspace. This key can be used to
|
592
|
+
# authenticate requests sent to the workspace's HTTP API. See [
|
593
|
+
# https://docs.aws.amazon.com/grafana/latest/userguide/Using-Grafana-APIs.html](
|
594
|
+
# https://docs.aws.amazon.com/grafana/latest/userguide/Using-Grafana-APIs.html)
|
595
|
+
# for available APIs and example requests.
|
596
|
+
#
|
597
|
+
# @option params [required, String] :key_name
|
598
|
+
# Specifies the name of the key to create. Key names must be unique to
|
599
|
+
# the workspace.
|
600
|
+
#
|
601
|
+
# @option params [required, String] :key_role
|
602
|
+
# Specifies the permission level of the key.
|
603
|
+
#
|
604
|
+
# Valid Values: `VIEWER` \| `EDITOR` \| `ADMIN`
|
605
|
+
#
|
606
|
+
# @option params [required, Integer] :seconds_to_live
|
607
|
+
# Specifies the time in seconds until the key expires. Keys can be valid
|
608
|
+
# for up to 30 days.
|
609
|
+
#
|
610
|
+
# @option params [required, String] :workspace_id
|
611
|
+
# The ID of the workspace in which to create an API key.
|
612
|
+
#
|
613
|
+
# @return [Types::CreateWorkspaceApiKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
614
|
+
#
|
615
|
+
# * {Types::CreateWorkspaceApiKeyResponse#key #key} => String
|
616
|
+
# * {Types::CreateWorkspaceApiKeyResponse#key_name #key_name} => String
|
617
|
+
# * {Types::CreateWorkspaceApiKeyResponse#workspace_id #workspace_id} => String
|
618
|
+
#
|
619
|
+
# @example Request syntax with placeholder values
|
620
|
+
#
|
621
|
+
# resp = client.create_workspace_api_key({
|
622
|
+
# key_name: "ApiKeyName", # required
|
623
|
+
# key_role: "String", # required
|
624
|
+
# seconds_to_live: 1, # required
|
625
|
+
# workspace_id: "WorkspaceId", # required
|
626
|
+
# })
|
627
|
+
#
|
628
|
+
# @example Response structure
|
629
|
+
#
|
630
|
+
# resp.key #=> String
|
631
|
+
# resp.key_name #=> String
|
632
|
+
# resp.workspace_id #=> String
|
633
|
+
#
|
634
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/CreateWorkspaceApiKey AWS API Documentation
|
635
|
+
#
|
636
|
+
# @overload create_workspace_api_key(params = {})
|
637
|
+
# @param [Hash] params ({})
|
638
|
+
def create_workspace_api_key(params = {}, options = {})
|
639
|
+
req = build_request(:create_workspace_api_key, params)
|
640
|
+
req.send_request(options)
|
641
|
+
end
|
642
|
+
|
591
643
|
# Deletes an Amazon Managed Grafana workspace.
|
592
644
|
#
|
593
645
|
# @option params [required, String] :workspace_id
|
@@ -643,6 +695,40 @@ module Aws::ManagedGrafana
|
|
643
695
|
req.send_request(options)
|
644
696
|
end
|
645
697
|
|
698
|
+
# Deletes an API key for a workspace.
|
699
|
+
#
|
700
|
+
# @option params [required, String] :key_name
|
701
|
+
# The name of the API key to delete.
|
702
|
+
#
|
703
|
+
# @option params [required, String] :workspace_id
|
704
|
+
# The ID of the workspace to delete.
|
705
|
+
#
|
706
|
+
# @return [Types::DeleteWorkspaceApiKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
707
|
+
#
|
708
|
+
# * {Types::DeleteWorkspaceApiKeyResponse#key_name #key_name} => String
|
709
|
+
# * {Types::DeleteWorkspaceApiKeyResponse#workspace_id #workspace_id} => String
|
710
|
+
#
|
711
|
+
# @example Request syntax with placeholder values
|
712
|
+
#
|
713
|
+
# resp = client.delete_workspace_api_key({
|
714
|
+
# key_name: "ApiKeyName", # required
|
715
|
+
# workspace_id: "WorkspaceId", # required
|
716
|
+
# })
|
717
|
+
#
|
718
|
+
# @example Response structure
|
719
|
+
#
|
720
|
+
# resp.key_name #=> String
|
721
|
+
# resp.workspace_id #=> String
|
722
|
+
#
|
723
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DeleteWorkspaceApiKey AWS API Documentation
|
724
|
+
#
|
725
|
+
# @overload delete_workspace_api_key(params = {})
|
726
|
+
# @param [Hash] params ({})
|
727
|
+
def delete_workspace_api_key(params = {}, options = {})
|
728
|
+
req = build_request(:delete_workspace_api_key, params)
|
729
|
+
req.send_request(options)
|
730
|
+
end
|
731
|
+
|
646
732
|
# Displays information about one Amazon Managed Grafana workspace.
|
647
733
|
#
|
648
734
|
# @option params [required, String] :workspace_id
|
@@ -856,7 +942,7 @@ module Aws::ManagedGrafana
|
|
856
942
|
#
|
857
943
|
# resp.next_token #=> String
|
858
944
|
# resp.permissions #=> Array
|
859
|
-
# resp.permissions[0].role #=> String, one of "ADMIN", "EDITOR"
|
945
|
+
# resp.permissions[0].role #=> String, one of "ADMIN", "EDITOR", "VIEWER"
|
860
946
|
# resp.permissions[0].user.id #=> String
|
861
947
|
# resp.permissions[0].user.type #=> String, one of "SSO_USER", "SSO_GROUP"
|
862
948
|
#
|
@@ -1042,7 +1128,7 @@ module Aws::ManagedGrafana
|
|
1042
1128
|
# update_instruction_batch: [ # required
|
1043
1129
|
# {
|
1044
1130
|
# action: "ADD", # required, accepts ADD, REVOKE
|
1045
|
-
# role: "ADMIN", # required, accepts ADMIN, EDITOR
|
1131
|
+
# role: "ADMIN", # required, accepts ADMIN, EDITOR, VIEWER
|
1046
1132
|
# users: [ # required
|
1047
1133
|
# {
|
1048
1134
|
# id: "SsoId", # required
|
@@ -1058,7 +1144,7 @@ module Aws::ManagedGrafana
|
|
1058
1144
|
#
|
1059
1145
|
# resp.errors #=> Array
|
1060
1146
|
# resp.errors[0].caused_by.action #=> String, one of "ADD", "REVOKE"
|
1061
|
-
# resp.errors[0].caused_by.role #=> String, one of "ADMIN", "EDITOR"
|
1147
|
+
# resp.errors[0].caused_by.role #=> String, one of "ADMIN", "EDITOR", "VIEWER"
|
1062
1148
|
# resp.errors[0].caused_by.users #=> Array
|
1063
1149
|
# resp.errors[0].caused_by.users[0].id #=> String
|
1064
1150
|
# resp.errors[0].caused_by.users[0].type #=> String, one of "SSO_USER", "SSO_GROUP"
|
@@ -1327,7 +1413,7 @@ module Aws::ManagedGrafana
|
|
1327
1413
|
params: params,
|
1328
1414
|
config: config)
|
1329
1415
|
context[:gem_name] = 'aws-sdk-managedgrafana'
|
1330
|
-
context[:gem_version] = '1.
|
1416
|
+
context[:gem_version] = '1.8.0'
|
1331
1417
|
Seahorse::Client::Request.new(handlers, context)
|
1332
1418
|
end
|
1333
1419
|
|
@@ -17,6 +17,8 @@ module Aws::ManagedGrafana
|
|
17
17
|
AccountAccessType = Shapes::StringShape.new(name: 'AccountAccessType')
|
18
18
|
AllowedOrganization = Shapes::StringShape.new(name: 'AllowedOrganization')
|
19
19
|
AllowedOrganizations = Shapes::ListShape.new(name: 'AllowedOrganizations')
|
20
|
+
ApiKeyName = Shapes::StringShape.new(name: 'ApiKeyName')
|
21
|
+
ApiKeyToken = Shapes::StringShape.new(name: 'ApiKeyToken')
|
20
22
|
AssertionAttribute = Shapes::StringShape.new(name: 'AssertionAttribute')
|
21
23
|
AssertionAttributes = Shapes::StructureShape.new(name: 'AssertionAttributes')
|
22
24
|
AssociateLicenseRequest = Shapes::StructureShape.new(name: 'AssociateLicenseRequest')
|
@@ -29,10 +31,15 @@ module Aws::ManagedGrafana
|
|
29
31
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
30
32
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
31
33
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
34
|
+
CreateWorkspaceApiKeyRequest = Shapes::StructureShape.new(name: 'CreateWorkspaceApiKeyRequest')
|
35
|
+
CreateWorkspaceApiKeyRequestSecondsToLiveInteger = Shapes::IntegerShape.new(name: 'CreateWorkspaceApiKeyRequestSecondsToLiveInteger')
|
36
|
+
CreateWorkspaceApiKeyResponse = Shapes::StructureShape.new(name: 'CreateWorkspaceApiKeyResponse')
|
32
37
|
CreateWorkspaceRequest = Shapes::StructureShape.new(name: 'CreateWorkspaceRequest')
|
33
38
|
CreateWorkspaceResponse = Shapes::StructureShape.new(name: 'CreateWorkspaceResponse')
|
34
39
|
DataSourceType = Shapes::StringShape.new(name: 'DataSourceType')
|
35
40
|
DataSourceTypesList = Shapes::ListShape.new(name: 'DataSourceTypesList')
|
41
|
+
DeleteWorkspaceApiKeyRequest = Shapes::StructureShape.new(name: 'DeleteWorkspaceApiKeyRequest')
|
42
|
+
DeleteWorkspaceApiKeyResponse = Shapes::StructureShape.new(name: 'DeleteWorkspaceApiKeyResponse')
|
36
43
|
DeleteWorkspaceRequest = Shapes::StructureShape.new(name: 'DeleteWorkspaceRequest')
|
37
44
|
DeleteWorkspaceResponse = Shapes::StructureShape.new(name: 'DeleteWorkspaceResponse')
|
38
45
|
DescribeWorkspaceAuthenticationRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceAuthenticationRequest')
|
@@ -156,6 +163,17 @@ module Aws::ManagedGrafana
|
|
156
163
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
157
164
|
ConflictException.struct_class = Types::ConflictException
|
158
165
|
|
166
|
+
CreateWorkspaceApiKeyRequest.add_member(:key_name, Shapes::ShapeRef.new(shape: ApiKeyName, required: true, location_name: "keyName"))
|
167
|
+
CreateWorkspaceApiKeyRequest.add_member(:key_role, Shapes::ShapeRef.new(shape: String, required: true, location_name: "keyRole"))
|
168
|
+
CreateWorkspaceApiKeyRequest.add_member(:seconds_to_live, Shapes::ShapeRef.new(shape: CreateWorkspaceApiKeyRequestSecondsToLiveInteger, required: true, location_name: "secondsToLive"))
|
169
|
+
CreateWorkspaceApiKeyRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
170
|
+
CreateWorkspaceApiKeyRequest.struct_class = Types::CreateWorkspaceApiKeyRequest
|
171
|
+
|
172
|
+
CreateWorkspaceApiKeyResponse.add_member(:key, Shapes::ShapeRef.new(shape: ApiKeyToken, required: true, location_name: "key"))
|
173
|
+
CreateWorkspaceApiKeyResponse.add_member(:key_name, Shapes::ShapeRef.new(shape: ApiKeyName, required: true, location_name: "keyName"))
|
174
|
+
CreateWorkspaceApiKeyResponse.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
|
175
|
+
CreateWorkspaceApiKeyResponse.struct_class = Types::CreateWorkspaceApiKeyResponse
|
176
|
+
|
159
177
|
CreateWorkspaceRequest.add_member(:account_access_type, Shapes::ShapeRef.new(shape: AccountAccessType, required: true, location_name: "accountAccessType"))
|
160
178
|
CreateWorkspaceRequest.add_member(:authentication_providers, Shapes::ShapeRef.new(shape: AuthenticationProviders, required: true, location_name: "authenticationProviders"))
|
161
179
|
CreateWorkspaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -176,6 +194,14 @@ module Aws::ManagedGrafana
|
|
176
194
|
|
177
195
|
DataSourceTypesList.member = Shapes::ShapeRef.new(shape: DataSourceType)
|
178
196
|
|
197
|
+
DeleteWorkspaceApiKeyRequest.add_member(:key_name, Shapes::ShapeRef.new(shape: ApiKeyName, required: true, location: "uri", location_name: "keyName"))
|
198
|
+
DeleteWorkspaceApiKeyRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
199
|
+
DeleteWorkspaceApiKeyRequest.struct_class = Types::DeleteWorkspaceApiKeyRequest
|
200
|
+
|
201
|
+
DeleteWorkspaceApiKeyResponse.add_member(:key_name, Shapes::ShapeRef.new(shape: ApiKeyName, required: true, location_name: "keyName"))
|
202
|
+
DeleteWorkspaceApiKeyResponse.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
|
203
|
+
DeleteWorkspaceApiKeyResponse.struct_class = Types::DeleteWorkspaceApiKeyResponse
|
204
|
+
|
179
205
|
DeleteWorkspaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
180
206
|
DeleteWorkspaceRequest.struct_class = Types::DeleteWorkspaceRequest
|
181
207
|
|
@@ -447,6 +473,21 @@ module Aws::ManagedGrafana
|
|
447
473
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
448
474
|
end)
|
449
475
|
|
476
|
+
api.add_operation(:create_workspace_api_key, Seahorse::Model::Operation.new.tap do |o|
|
477
|
+
o.name = "CreateWorkspaceApiKey"
|
478
|
+
o.http_method = "POST"
|
479
|
+
o.http_request_uri = "/workspaces/{workspaceId}/apikeys"
|
480
|
+
o.input = Shapes::ShapeRef.new(shape: CreateWorkspaceApiKeyRequest)
|
481
|
+
o.output = Shapes::ShapeRef.new(shape: CreateWorkspaceApiKeyResponse)
|
482
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
483
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
488
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
489
|
+
end)
|
490
|
+
|
450
491
|
api.add_operation(:delete_workspace, Seahorse::Model::Operation.new.tap do |o|
|
451
492
|
o.name = "DeleteWorkspace"
|
452
493
|
o.http_method = "DELETE"
|
@@ -461,6 +502,20 @@ module Aws::ManagedGrafana
|
|
461
502
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
462
503
|
end)
|
463
504
|
|
505
|
+
api.add_operation(:delete_workspace_api_key, Seahorse::Model::Operation.new.tap do |o|
|
506
|
+
o.name = "DeleteWorkspaceApiKey"
|
507
|
+
o.http_method = "DELETE"
|
508
|
+
o.http_request_uri = "/workspaces/{workspaceId}/apikeys/{keyName}"
|
509
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteWorkspaceApiKeyRequest)
|
510
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteWorkspaceApiKeyResponse)
|
511
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
516
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
517
|
+
end)
|
518
|
+
|
464
519
|
api.add_operation(:describe_workspace, Seahorse::Model::Operation.new.tap do |o|
|
465
520
|
o.name = "DescribeWorkspace"
|
466
521
|
o.http_method = "GET"
|
@@ -213,6 +213,70 @@ module Aws::ManagedGrafana
|
|
213
213
|
include Aws::Structure
|
214
214
|
end
|
215
215
|
|
216
|
+
# @note When making an API call, you may pass CreateWorkspaceApiKeyRequest
|
217
|
+
# data as a hash:
|
218
|
+
#
|
219
|
+
# {
|
220
|
+
# key_name: "ApiKeyName", # required
|
221
|
+
# key_role: "String", # required
|
222
|
+
# seconds_to_live: 1, # required
|
223
|
+
# workspace_id: "WorkspaceId", # required
|
224
|
+
# }
|
225
|
+
#
|
226
|
+
# @!attribute [rw] key_name
|
227
|
+
# Specifies the name of the key to create. Key names must be unique to
|
228
|
+
# the workspace.
|
229
|
+
# @return [String]
|
230
|
+
#
|
231
|
+
# @!attribute [rw] key_role
|
232
|
+
# Specifies the permission level of the key.
|
233
|
+
#
|
234
|
+
# Valid Values: `VIEWER` \| `EDITOR` \| `ADMIN`
|
235
|
+
# @return [String]
|
236
|
+
#
|
237
|
+
# @!attribute [rw] seconds_to_live
|
238
|
+
# Specifies the time in seconds until the key expires. Keys can be
|
239
|
+
# valid for up to 30 days.
|
240
|
+
# @return [Integer]
|
241
|
+
#
|
242
|
+
# @!attribute [rw] workspace_id
|
243
|
+
# The ID of the workspace in which to create an API key.
|
244
|
+
# @return [String]
|
245
|
+
#
|
246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/CreateWorkspaceApiKeyRequest AWS API Documentation
|
247
|
+
#
|
248
|
+
class CreateWorkspaceApiKeyRequest < Struct.new(
|
249
|
+
:key_name,
|
250
|
+
:key_role,
|
251
|
+
:seconds_to_live,
|
252
|
+
:workspace_id)
|
253
|
+
SENSITIVE = []
|
254
|
+
include Aws::Structure
|
255
|
+
end
|
256
|
+
|
257
|
+
# @!attribute [rw] key
|
258
|
+
# The key token that was created. Use this value as a bearer token to
|
259
|
+
# authenticate HTTP requests to the workspace.
|
260
|
+
# @return [String]
|
261
|
+
#
|
262
|
+
# @!attribute [rw] key_name
|
263
|
+
# The name of the key that was created.
|
264
|
+
# @return [String]
|
265
|
+
#
|
266
|
+
# @!attribute [rw] workspace_id
|
267
|
+
# The ID of the workspace that the key is valid for.
|
268
|
+
# @return [String]
|
269
|
+
#
|
270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/CreateWorkspaceApiKeyResponse AWS API Documentation
|
271
|
+
#
|
272
|
+
class CreateWorkspaceApiKeyResponse < Struct.new(
|
273
|
+
:key,
|
274
|
+
:key_name,
|
275
|
+
:workspace_id)
|
276
|
+
SENSITIVE = [:key]
|
277
|
+
include Aws::Structure
|
278
|
+
end
|
279
|
+
|
216
280
|
# @note When making an API call, you may pass CreateWorkspaceRequest
|
217
281
|
# data as a hash:
|
218
282
|
#
|
@@ -377,6 +441,48 @@ module Aws::ManagedGrafana
|
|
377
441
|
include Aws::Structure
|
378
442
|
end
|
379
443
|
|
444
|
+
# @note When making an API call, you may pass DeleteWorkspaceApiKeyRequest
|
445
|
+
# data as a hash:
|
446
|
+
#
|
447
|
+
# {
|
448
|
+
# key_name: "ApiKeyName", # required
|
449
|
+
# workspace_id: "WorkspaceId", # required
|
450
|
+
# }
|
451
|
+
#
|
452
|
+
# @!attribute [rw] key_name
|
453
|
+
# The name of the API key to delete.
|
454
|
+
# @return [String]
|
455
|
+
#
|
456
|
+
# @!attribute [rw] workspace_id
|
457
|
+
# The ID of the workspace to delete.
|
458
|
+
# @return [String]
|
459
|
+
#
|
460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DeleteWorkspaceApiKeyRequest AWS API Documentation
|
461
|
+
#
|
462
|
+
class DeleteWorkspaceApiKeyRequest < Struct.new(
|
463
|
+
:key_name,
|
464
|
+
:workspace_id)
|
465
|
+
SENSITIVE = []
|
466
|
+
include Aws::Structure
|
467
|
+
end
|
468
|
+
|
469
|
+
# @!attribute [rw] key_name
|
470
|
+
# The name of the API key that was deleted.
|
471
|
+
# @return [String]
|
472
|
+
#
|
473
|
+
# @!attribute [rw] workspace_id
|
474
|
+
# The ID of the workspace where the key was deleted.
|
475
|
+
# @return [String]
|
476
|
+
#
|
477
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DeleteWorkspaceApiKeyResponse AWS API Documentation
|
478
|
+
#
|
479
|
+
class DeleteWorkspaceApiKeyResponse < Struct.new(
|
480
|
+
:key_name,
|
481
|
+
:workspace_id)
|
482
|
+
SENSITIVE = []
|
483
|
+
include Aws::Structure
|
484
|
+
end
|
485
|
+
|
380
486
|
# @note When making an API call, you may pass DeleteWorkspaceRequest
|
381
487
|
# data as a hash:
|
382
488
|
#
|
@@ -1041,7 +1147,7 @@ module Aws::ManagedGrafana
|
|
1041
1147
|
#
|
1042
1148
|
# {
|
1043
1149
|
# action: "ADD", # required, accepts ADD, REVOKE
|
1044
|
-
# role: "ADMIN", # required, accepts ADMIN, EDITOR
|
1150
|
+
# role: "ADMIN", # required, accepts ADMIN, EDITOR, VIEWER
|
1045
1151
|
# users: [ # required
|
1046
1152
|
# {
|
1047
1153
|
# id: "SsoId", # required
|
@@ -1081,7 +1187,7 @@ module Aws::ManagedGrafana
|
|
1081
1187
|
# update_instruction_batch: [ # required
|
1082
1188
|
# {
|
1083
1189
|
# action: "ADD", # required, accepts ADD, REVOKE
|
1084
|
-
# role: "ADMIN", # required, accepts ADMIN, EDITOR
|
1190
|
+
# role: "ADMIN", # required, accepts ADMIN, EDITOR, VIEWER
|
1085
1191
|
# users: [ # required
|
1086
1192
|
# {
|
1087
1193
|
# id: "SsoId", # required
|
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.
|
4
|
+
version: 1.8.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: 2022-
|
11
|
+
date: 2022-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|