aws-sdk-managedgrafana 1.28.0 → 1.29.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 +361 -8
- data/lib/aws-sdk-managedgrafana/client_api.rb +207 -0
- data/lib/aws-sdk-managedgrafana/endpoints.rb +84 -0
- data/lib/aws-sdk-managedgrafana/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-managedgrafana/types.rb +397 -6
- data/lib/aws-sdk-managedgrafana.rb +1 -1
- data/sig/client.rbs +86 -0
- data/sig/types.rbs +110 -0
- metadata +2 -2
@@ -72,8 +72,8 @@ module Aws::ManagedGrafana
|
|
72
72
|
|
73
73
|
# @!attribute [rw] grafana_token
|
74
74
|
# A token from Grafana Labs that ties your Amazon Web Services account
|
75
|
-
# with a Grafana Labs account. For more information, see [
|
76
|
-
# with Grafana Labs][1].
|
75
|
+
# with a Grafana Labs account. For more information, see [Link your
|
76
|
+
# account with Grafana Labs][1].
|
77
77
|
#
|
78
78
|
#
|
79
79
|
#
|
@@ -217,7 +217,7 @@ module Aws::ManagedGrafana
|
|
217
217
|
# @!attribute [rw] key_role
|
218
218
|
# Specifies the permission level of the key.
|
219
219
|
#
|
220
|
-
# Valid values: `
|
220
|
+
# Valid values: `ADMIN`\|`EDITOR`\|`VIEWER`
|
221
221
|
# @return [String]
|
222
222
|
#
|
223
223
|
# @!attribute [rw] seconds_to_live
|
@@ -303,7 +303,7 @@ module Aws::ManagedGrafana
|
|
303
303
|
#
|
304
304
|
# @!attribute [rw] grafana_version
|
305
305
|
# Specifies the version of Grafana to support in the new workspace. If
|
306
|
-
# not specified, defaults to the latest version (for example,
|
306
|
+
# not specified, defaults to the latest version (for example, 10.4).
|
307
307
|
#
|
308
308
|
# To get a list of supported versions, use the `ListVersions`
|
309
309
|
# operation.
|
@@ -446,6 +446,117 @@ module Aws::ManagedGrafana
|
|
446
446
|
include Aws::Structure
|
447
447
|
end
|
448
448
|
|
449
|
+
# @!attribute [rw] grafana_role
|
450
|
+
# The permission level to use for this service account.
|
451
|
+
#
|
452
|
+
# <note markdown="1"> For more information about the roles and the permissions each has,
|
453
|
+
# see [User roles][1] in the *Amazon Managed Grafana User Guide*.
|
454
|
+
#
|
455
|
+
# </note>
|
456
|
+
#
|
457
|
+
#
|
458
|
+
#
|
459
|
+
# [1]: https://docs.aws.amazon.com/grafana/latest/userguide/Grafana-user-roles.html
|
460
|
+
# @return [String]
|
461
|
+
#
|
462
|
+
# @!attribute [rw] name
|
463
|
+
# A name for the service account. The name must be unique within the
|
464
|
+
# workspace, as it determines the ID associated with the service
|
465
|
+
# account.
|
466
|
+
# @return [String]
|
467
|
+
#
|
468
|
+
# @!attribute [rw] workspace_id
|
469
|
+
# The ID of the workspace within which to create the service account.
|
470
|
+
# @return [String]
|
471
|
+
#
|
472
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/CreateWorkspaceServiceAccountRequest AWS API Documentation
|
473
|
+
#
|
474
|
+
class CreateWorkspaceServiceAccountRequest < Struct.new(
|
475
|
+
:grafana_role,
|
476
|
+
:name,
|
477
|
+
:workspace_id)
|
478
|
+
SENSITIVE = []
|
479
|
+
include Aws::Structure
|
480
|
+
end
|
481
|
+
|
482
|
+
# @!attribute [rw] grafana_role
|
483
|
+
# The permission level given to the service account.
|
484
|
+
# @return [String]
|
485
|
+
#
|
486
|
+
# @!attribute [rw] id
|
487
|
+
# The ID of the service account.
|
488
|
+
# @return [String]
|
489
|
+
#
|
490
|
+
# @!attribute [rw] name
|
491
|
+
# The name of the service account.
|
492
|
+
# @return [String]
|
493
|
+
#
|
494
|
+
# @!attribute [rw] workspace_id
|
495
|
+
# The workspace with which the service account is associated.
|
496
|
+
# @return [String]
|
497
|
+
#
|
498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/CreateWorkspaceServiceAccountResponse AWS API Documentation
|
499
|
+
#
|
500
|
+
class CreateWorkspaceServiceAccountResponse < Struct.new(
|
501
|
+
:grafana_role,
|
502
|
+
:id,
|
503
|
+
:name,
|
504
|
+
:workspace_id)
|
505
|
+
SENSITIVE = []
|
506
|
+
include Aws::Structure
|
507
|
+
end
|
508
|
+
|
509
|
+
# @!attribute [rw] name
|
510
|
+
# A name for the token to create.
|
511
|
+
# @return [String]
|
512
|
+
#
|
513
|
+
# @!attribute [rw] seconds_to_live
|
514
|
+
# Sets how long the token will be valid, in seconds. You can set the
|
515
|
+
# time up to 30 days in the future.
|
516
|
+
# @return [Integer]
|
517
|
+
#
|
518
|
+
# @!attribute [rw] service_account_id
|
519
|
+
# The ID of the service account for which to create a token.
|
520
|
+
# @return [String]
|
521
|
+
#
|
522
|
+
# @!attribute [rw] workspace_id
|
523
|
+
# The ID of the workspace the service account resides within.
|
524
|
+
# @return [String]
|
525
|
+
#
|
526
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/CreateWorkspaceServiceAccountTokenRequest AWS API Documentation
|
527
|
+
#
|
528
|
+
class CreateWorkspaceServiceAccountTokenRequest < Struct.new(
|
529
|
+
:name,
|
530
|
+
:seconds_to_live,
|
531
|
+
:service_account_id,
|
532
|
+
:workspace_id)
|
533
|
+
SENSITIVE = []
|
534
|
+
include Aws::Structure
|
535
|
+
end
|
536
|
+
|
537
|
+
# @!attribute [rw] service_account_id
|
538
|
+
# The ID of the service account where the token was created.
|
539
|
+
# @return [String]
|
540
|
+
#
|
541
|
+
# @!attribute [rw] service_account_token
|
542
|
+
# Information about the created token, including the key. Be sure to
|
543
|
+
# store the key securely.
|
544
|
+
# @return [Types::ServiceAccountTokenSummaryWithKey]
|
545
|
+
#
|
546
|
+
# @!attribute [rw] workspace_id
|
547
|
+
# The ID of the workspace where the token was created.
|
548
|
+
# @return [String]
|
549
|
+
#
|
550
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/CreateWorkspaceServiceAccountTokenResponse AWS API Documentation
|
551
|
+
#
|
552
|
+
class CreateWorkspaceServiceAccountTokenResponse < Struct.new(
|
553
|
+
:service_account_id,
|
554
|
+
:service_account_token,
|
555
|
+
:workspace_id)
|
556
|
+
SENSITIVE = []
|
557
|
+
include Aws::Structure
|
558
|
+
end
|
559
|
+
|
449
560
|
# @!attribute [rw] key_name
|
450
561
|
# The name of the API key to delete.
|
451
562
|
# @return [String]
|
@@ -505,6 +616,84 @@ module Aws::ManagedGrafana
|
|
505
616
|
include Aws::Structure
|
506
617
|
end
|
507
618
|
|
619
|
+
# @!attribute [rw] service_account_id
|
620
|
+
# The ID of the service account to delete.
|
621
|
+
# @return [String]
|
622
|
+
#
|
623
|
+
# @!attribute [rw] workspace_id
|
624
|
+
# The ID of the workspace where the service account resides.
|
625
|
+
# @return [String]
|
626
|
+
#
|
627
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DeleteWorkspaceServiceAccountRequest AWS API Documentation
|
628
|
+
#
|
629
|
+
class DeleteWorkspaceServiceAccountRequest < Struct.new(
|
630
|
+
:service_account_id,
|
631
|
+
:workspace_id)
|
632
|
+
SENSITIVE = []
|
633
|
+
include Aws::Structure
|
634
|
+
end
|
635
|
+
|
636
|
+
# @!attribute [rw] service_account_id
|
637
|
+
# The ID of the service account deleted.
|
638
|
+
# @return [String]
|
639
|
+
#
|
640
|
+
# @!attribute [rw] workspace_id
|
641
|
+
# The ID of the workspace where the service account was deleted.
|
642
|
+
# @return [String]
|
643
|
+
#
|
644
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DeleteWorkspaceServiceAccountResponse AWS API Documentation
|
645
|
+
#
|
646
|
+
class DeleteWorkspaceServiceAccountResponse < Struct.new(
|
647
|
+
:service_account_id,
|
648
|
+
:workspace_id)
|
649
|
+
SENSITIVE = []
|
650
|
+
include Aws::Structure
|
651
|
+
end
|
652
|
+
|
653
|
+
# @!attribute [rw] service_account_id
|
654
|
+
# The ID of the service account from which to delete the token.
|
655
|
+
# @return [String]
|
656
|
+
#
|
657
|
+
# @!attribute [rw] token_id
|
658
|
+
# The ID of the token to delete.
|
659
|
+
# @return [String]
|
660
|
+
#
|
661
|
+
# @!attribute [rw] workspace_id
|
662
|
+
# The ID of the workspace from which to delete the token.
|
663
|
+
# @return [String]
|
664
|
+
#
|
665
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DeleteWorkspaceServiceAccountTokenRequest AWS API Documentation
|
666
|
+
#
|
667
|
+
class DeleteWorkspaceServiceAccountTokenRequest < Struct.new(
|
668
|
+
:service_account_id,
|
669
|
+
:token_id,
|
670
|
+
:workspace_id)
|
671
|
+
SENSITIVE = []
|
672
|
+
include Aws::Structure
|
673
|
+
end
|
674
|
+
|
675
|
+
# @!attribute [rw] service_account_id
|
676
|
+
# The ID of the service account where the token was deleted.
|
677
|
+
# @return [String]
|
678
|
+
#
|
679
|
+
# @!attribute [rw] token_id
|
680
|
+
# The ID of the token that was deleted.
|
681
|
+
# @return [String]
|
682
|
+
#
|
683
|
+
# @!attribute [rw] workspace_id
|
684
|
+
# The ID of the workspace where the token was deleted.
|
685
|
+
# @return [String]
|
686
|
+
#
|
687
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DeleteWorkspaceServiceAccountTokenResponse AWS API Documentation
|
688
|
+
#
|
689
|
+
class DeleteWorkspaceServiceAccountTokenResponse < Struct.new(
|
690
|
+
:service_account_id,
|
691
|
+
:token_id,
|
692
|
+
:workspace_id)
|
693
|
+
SENSITIVE = []
|
694
|
+
include Aws::Structure
|
695
|
+
end
|
696
|
+
|
508
697
|
# @!attribute [rw] workspace_id
|
509
698
|
# The ID of the workspace to return authentication information about.
|
510
699
|
# @return [String]
|
@@ -800,6 +989,109 @@ module Aws::ManagedGrafana
|
|
800
989
|
include Aws::Structure
|
801
990
|
end
|
802
991
|
|
992
|
+
# @!attribute [rw] max_results
|
993
|
+
# The maximum number of tokens to include in the results.
|
994
|
+
# @return [Integer]
|
995
|
+
#
|
996
|
+
# @!attribute [rw] next_token
|
997
|
+
# The token for the next set of service accounts to return. (You
|
998
|
+
# receive this token from a previous
|
999
|
+
# `ListWorkspaceServiceAccountTokens` operation.)
|
1000
|
+
# @return [String]
|
1001
|
+
#
|
1002
|
+
# @!attribute [rw] service_account_id
|
1003
|
+
# The ID of the service account for which to return tokens.
|
1004
|
+
# @return [String]
|
1005
|
+
#
|
1006
|
+
# @!attribute [rw] workspace_id
|
1007
|
+
# The ID of the workspace for which to return tokens.
|
1008
|
+
# @return [String]
|
1009
|
+
#
|
1010
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListWorkspaceServiceAccountTokensRequest AWS API Documentation
|
1011
|
+
#
|
1012
|
+
class ListWorkspaceServiceAccountTokensRequest < Struct.new(
|
1013
|
+
:max_results,
|
1014
|
+
:next_token,
|
1015
|
+
:service_account_id,
|
1016
|
+
:workspace_id)
|
1017
|
+
SENSITIVE = []
|
1018
|
+
include Aws::Structure
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# @!attribute [rw] next_token
|
1022
|
+
# The token to use when requesting the next set of service accounts.
|
1023
|
+
# @return [String]
|
1024
|
+
#
|
1025
|
+
# @!attribute [rw] service_account_id
|
1026
|
+
# The ID of the service account where the tokens reside.
|
1027
|
+
# @return [String]
|
1028
|
+
#
|
1029
|
+
# @!attribute [rw] service_account_tokens
|
1030
|
+
# An array of structures containing information about the tokens.
|
1031
|
+
# @return [Array<Types::ServiceAccountTokenSummary>]
|
1032
|
+
#
|
1033
|
+
# @!attribute [rw] workspace_id
|
1034
|
+
# The ID of the workspace where the tokens reside.
|
1035
|
+
# @return [String]
|
1036
|
+
#
|
1037
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListWorkspaceServiceAccountTokensResponse AWS API Documentation
|
1038
|
+
#
|
1039
|
+
class ListWorkspaceServiceAccountTokensResponse < Struct.new(
|
1040
|
+
:next_token,
|
1041
|
+
:service_account_id,
|
1042
|
+
:service_account_tokens,
|
1043
|
+
:workspace_id)
|
1044
|
+
SENSITIVE = []
|
1045
|
+
include Aws::Structure
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
# @!attribute [rw] max_results
|
1049
|
+
# The maximum number of service accounts to include in the results.
|
1050
|
+
# @return [Integer]
|
1051
|
+
#
|
1052
|
+
# @!attribute [rw] next_token
|
1053
|
+
# The token for the next set of service accounts to return. (You
|
1054
|
+
# receive this token from a previous `ListWorkspaceServiceAccounts`
|
1055
|
+
# operation.)
|
1056
|
+
# @return [String]
|
1057
|
+
#
|
1058
|
+
# @!attribute [rw] workspace_id
|
1059
|
+
# The workspace for which to list service accounts.
|
1060
|
+
# @return [String]
|
1061
|
+
#
|
1062
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListWorkspaceServiceAccountsRequest AWS API Documentation
|
1063
|
+
#
|
1064
|
+
class ListWorkspaceServiceAccountsRequest < Struct.new(
|
1065
|
+
:max_results,
|
1066
|
+
:next_token,
|
1067
|
+
:workspace_id)
|
1068
|
+
SENSITIVE = []
|
1069
|
+
include Aws::Structure
|
1070
|
+
end
|
1071
|
+
|
1072
|
+
# @!attribute [rw] next_token
|
1073
|
+
# The token to use when requesting the next set of service accounts.
|
1074
|
+
# @return [String]
|
1075
|
+
#
|
1076
|
+
# @!attribute [rw] service_accounts
|
1077
|
+
# An array of structures containing information about the service
|
1078
|
+
# accounts.
|
1079
|
+
# @return [Array<Types::ServiceAccountSummary>]
|
1080
|
+
#
|
1081
|
+
# @!attribute [rw] workspace_id
|
1082
|
+
# The workspace to which the service accounts are associated.
|
1083
|
+
# @return [String]
|
1084
|
+
#
|
1085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListWorkspaceServiceAccountsResponse AWS API Documentation
|
1086
|
+
#
|
1087
|
+
class ListWorkspaceServiceAccountsResponse < Struct.new(
|
1088
|
+
:next_token,
|
1089
|
+
:service_accounts,
|
1090
|
+
:workspace_id)
|
1091
|
+
SENSITIVE = []
|
1092
|
+
include Aws::Structure
|
1093
|
+
end
|
1094
|
+
|
803
1095
|
# @!attribute [rw] max_results
|
804
1096
|
# The maximum number of workspaces to include in the results.
|
805
1097
|
# @return [Integer]
|
@@ -1046,6 +1338,105 @@ module Aws::ManagedGrafana
|
|
1046
1338
|
include Aws::Structure
|
1047
1339
|
end
|
1048
1340
|
|
1341
|
+
# A structure that contains the information about one service account.
|
1342
|
+
#
|
1343
|
+
# @!attribute [rw] grafana_role
|
1344
|
+
# The role of the service account, which sets the permission level
|
1345
|
+
# used when calling Grafana APIs.
|
1346
|
+
# @return [String]
|
1347
|
+
#
|
1348
|
+
# @!attribute [rw] id
|
1349
|
+
# The unique ID of the service account.
|
1350
|
+
# @return [String]
|
1351
|
+
#
|
1352
|
+
# @!attribute [rw] is_disabled
|
1353
|
+
# Returns true if the service account is disabled. Service accounts
|
1354
|
+
# can be disabled and enabled in the Amazon Managed Grafana console.
|
1355
|
+
# @return [String]
|
1356
|
+
#
|
1357
|
+
# @!attribute [rw] name
|
1358
|
+
# The name of the service account.
|
1359
|
+
# @return [String]
|
1360
|
+
#
|
1361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ServiceAccountSummary AWS API Documentation
|
1362
|
+
#
|
1363
|
+
class ServiceAccountSummary < Struct.new(
|
1364
|
+
:grafana_role,
|
1365
|
+
:id,
|
1366
|
+
:is_disabled,
|
1367
|
+
:name)
|
1368
|
+
SENSITIVE = []
|
1369
|
+
include Aws::Structure
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
# A structure that contains the information about a service account
|
1373
|
+
# token.
|
1374
|
+
#
|
1375
|
+
# @!attribute [rw] created_at
|
1376
|
+
# When the service account token was created.
|
1377
|
+
# @return [Time]
|
1378
|
+
#
|
1379
|
+
# @!attribute [rw] expires_at
|
1380
|
+
# When the service account token will expire.
|
1381
|
+
# @return [Time]
|
1382
|
+
#
|
1383
|
+
# @!attribute [rw] id
|
1384
|
+
# The unique ID of the service account token.
|
1385
|
+
# @return [String]
|
1386
|
+
#
|
1387
|
+
# @!attribute [rw] last_used_at
|
1388
|
+
# The last time the token was used to authorize a Grafana HTTP API.
|
1389
|
+
# @return [Time]
|
1390
|
+
#
|
1391
|
+
# @!attribute [rw] name
|
1392
|
+
# The name of the service account token.
|
1393
|
+
# @return [String]
|
1394
|
+
#
|
1395
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ServiceAccountTokenSummary AWS API Documentation
|
1396
|
+
#
|
1397
|
+
class ServiceAccountTokenSummary < Struct.new(
|
1398
|
+
:created_at,
|
1399
|
+
:expires_at,
|
1400
|
+
:id,
|
1401
|
+
:last_used_at,
|
1402
|
+
:name)
|
1403
|
+
SENSITIVE = []
|
1404
|
+
include Aws::Structure
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
# A structure that contains the information about a service account
|
1408
|
+
# token.
|
1409
|
+
#
|
1410
|
+
# This structure is returned when creating the token. It is important to
|
1411
|
+
# store the `key` that is returned, as it is not retrievable at a later
|
1412
|
+
# time.
|
1413
|
+
#
|
1414
|
+
# If you lose the key, you can delete and recreate the token, which will
|
1415
|
+
# create a new key.
|
1416
|
+
#
|
1417
|
+
# @!attribute [rw] id
|
1418
|
+
# The unique ID of the service account token.
|
1419
|
+
# @return [String]
|
1420
|
+
#
|
1421
|
+
# @!attribute [rw] key
|
1422
|
+
# The key for the service account token. Used when making calls to the
|
1423
|
+
# Grafana HTTP APIs to authenticate and authorize the requests.
|
1424
|
+
# @return [String]
|
1425
|
+
#
|
1426
|
+
# @!attribute [rw] name
|
1427
|
+
# The name of the service account token.
|
1428
|
+
# @return [String]
|
1429
|
+
#
|
1430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ServiceAccountTokenSummaryWithKey AWS API Documentation
|
1431
|
+
#
|
1432
|
+
class ServiceAccountTokenSummaryWithKey < Struct.new(
|
1433
|
+
:id,
|
1434
|
+
:key,
|
1435
|
+
:name)
|
1436
|
+
SENSITIVE = [:key]
|
1437
|
+
include Aws::Structure
|
1438
|
+
end
|
1439
|
+
|
1049
1440
|
# The request would cause a service quota to be exceeded.
|
1050
1441
|
#
|
1051
1442
|
# @!attribute [rw] message
|
@@ -1652,7 +2043,7 @@ module Aws::ManagedGrafana
|
|
1652
2043
|
#
|
1653
2044
|
# @!attribute [rw] grafana_token
|
1654
2045
|
# The token that ties this workspace to a Grafana Labs account. For
|
1655
|
-
# more information, see [
|
2046
|
+
# more information, see [Link your account with Grafana Labs][1].
|
1656
2047
|
#
|
1657
2048
|
#
|
1658
2049
|
#
|
@@ -1822,7 +2213,7 @@ module Aws::ManagedGrafana
|
|
1822
2213
|
#
|
1823
2214
|
# @!attribute [rw] grafana_token
|
1824
2215
|
# The token that ties this workspace to a Grafana Labs account. For
|
1825
|
-
# more information, see [
|
2216
|
+
# more information, see [Link your account with Grafana Labs][1].
|
1826
2217
|
#
|
1827
2218
|
#
|
1828
2219
|
#
|
data/sig/client.rbs
CHANGED
@@ -131,6 +131,36 @@ module Aws
|
|
131
131
|
) -> _CreateWorkspaceApiKeyResponseSuccess
|
132
132
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkspaceApiKeyResponseSuccess
|
133
133
|
|
134
|
+
interface _CreateWorkspaceServiceAccountResponseSuccess
|
135
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkspaceServiceAccountResponse]
|
136
|
+
def grafana_role: () -> ("ADMIN" | "EDITOR" | "VIEWER")
|
137
|
+
def id: () -> ::String
|
138
|
+
def name: () -> ::String
|
139
|
+
def workspace_id: () -> ::String
|
140
|
+
end
|
141
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#create_workspace_service_account-instance_method
|
142
|
+
def create_workspace_service_account: (
|
143
|
+
grafana_role: ("ADMIN" | "EDITOR" | "VIEWER"),
|
144
|
+
name: ::String,
|
145
|
+
workspace_id: ::String
|
146
|
+
) -> _CreateWorkspaceServiceAccountResponseSuccess
|
147
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkspaceServiceAccountResponseSuccess
|
148
|
+
|
149
|
+
interface _CreateWorkspaceServiceAccountTokenResponseSuccess
|
150
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkspaceServiceAccountTokenResponse]
|
151
|
+
def service_account_id: () -> ::String
|
152
|
+
def service_account_token: () -> Types::ServiceAccountTokenSummaryWithKey
|
153
|
+
def workspace_id: () -> ::String
|
154
|
+
end
|
155
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#create_workspace_service_account_token-instance_method
|
156
|
+
def create_workspace_service_account_token: (
|
157
|
+
name: ::String,
|
158
|
+
seconds_to_live: ::Integer,
|
159
|
+
service_account_id: ::String,
|
160
|
+
workspace_id: ::String
|
161
|
+
) -> _CreateWorkspaceServiceAccountTokenResponseSuccess
|
162
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkspaceServiceAccountTokenResponseSuccess
|
163
|
+
|
134
164
|
interface _DeleteWorkspaceResponseSuccess
|
135
165
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkspaceResponse]
|
136
166
|
def workspace: () -> Types::WorkspaceDescription
|
@@ -153,6 +183,32 @@ module Aws
|
|
153
183
|
) -> _DeleteWorkspaceApiKeyResponseSuccess
|
154
184
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkspaceApiKeyResponseSuccess
|
155
185
|
|
186
|
+
interface _DeleteWorkspaceServiceAccountResponseSuccess
|
187
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkspaceServiceAccountResponse]
|
188
|
+
def service_account_id: () -> ::String
|
189
|
+
def workspace_id: () -> ::String
|
190
|
+
end
|
191
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#delete_workspace_service_account-instance_method
|
192
|
+
def delete_workspace_service_account: (
|
193
|
+
service_account_id: ::String,
|
194
|
+
workspace_id: ::String
|
195
|
+
) -> _DeleteWorkspaceServiceAccountResponseSuccess
|
196
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkspaceServiceAccountResponseSuccess
|
197
|
+
|
198
|
+
interface _DeleteWorkspaceServiceAccountTokenResponseSuccess
|
199
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkspaceServiceAccountTokenResponse]
|
200
|
+
def service_account_id: () -> ::String
|
201
|
+
def token_id: () -> ::String
|
202
|
+
def workspace_id: () -> ::String
|
203
|
+
end
|
204
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#delete_workspace_service_account_token-instance_method
|
205
|
+
def delete_workspace_service_account_token: (
|
206
|
+
service_account_id: ::String,
|
207
|
+
token_id: ::String,
|
208
|
+
workspace_id: ::String
|
209
|
+
) -> _DeleteWorkspaceServiceAccountTokenResponseSuccess
|
210
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkspaceServiceAccountTokenResponseSuccess
|
211
|
+
|
156
212
|
interface _DescribeWorkspaceResponseSuccess
|
157
213
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeWorkspaceResponse]
|
158
214
|
def workspace: () -> Types::WorkspaceDescription
|
@@ -234,6 +290,36 @@ module Aws
|
|
234
290
|
) -> _ListVersionsResponseSuccess
|
235
291
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVersionsResponseSuccess
|
236
292
|
|
293
|
+
interface _ListWorkspaceServiceAccountTokensResponseSuccess
|
294
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkspaceServiceAccountTokensResponse]
|
295
|
+
def next_token: () -> ::String
|
296
|
+
def service_account_id: () -> ::String
|
297
|
+
def service_account_tokens: () -> ::Array[Types::ServiceAccountTokenSummary]
|
298
|
+
def workspace_id: () -> ::String
|
299
|
+
end
|
300
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#list_workspace_service_account_tokens-instance_method
|
301
|
+
def list_workspace_service_account_tokens: (
|
302
|
+
?max_results: ::Integer,
|
303
|
+
?next_token: ::String,
|
304
|
+
service_account_id: ::String,
|
305
|
+
workspace_id: ::String
|
306
|
+
) -> _ListWorkspaceServiceAccountTokensResponseSuccess
|
307
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkspaceServiceAccountTokensResponseSuccess
|
308
|
+
|
309
|
+
interface _ListWorkspaceServiceAccountsResponseSuccess
|
310
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkspaceServiceAccountsResponse]
|
311
|
+
def next_token: () -> ::String
|
312
|
+
def service_accounts: () -> ::Array[Types::ServiceAccountSummary]
|
313
|
+
def workspace_id: () -> ::String
|
314
|
+
end
|
315
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#list_workspace_service_accounts-instance_method
|
316
|
+
def list_workspace_service_accounts: (
|
317
|
+
?max_results: ::Integer,
|
318
|
+
?next_token: ::String,
|
319
|
+
workspace_id: ::String
|
320
|
+
) -> _ListWorkspaceServiceAccountsResponseSuccess
|
321
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkspaceServiceAccountsResponseSuccess
|
322
|
+
|
237
323
|
interface _ListWorkspacesResponseSuccess
|
238
324
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkspacesResponse]
|
239
325
|
def next_token: () -> ::String
|