aws-sdk-managedgrafana 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-managedgrafana/client.rb +135 -18
- data/lib/aws-sdk-managedgrafana/client_api.rb +75 -0
- data/lib/aws-sdk-managedgrafana/types.rb +127 -12
- 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: '065564804bad82939e60d25841d8dcb7681583b88fbe9c0d172f7a2697fb87f4'
|
4
|
+
data.tar.gz: 67e119b56e6ac05a0dad82ad9f57e8f9e533a47d756a06a783a34d39545e5505
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56675e343f4bf925f519e8d517c73b497148830701ff0f9bf4fdad5f046375f2295fef2040213d60f0cfa4e164d4c317e00d03fd47efb32fe5e9b940ac0e421c
|
7
|
+
data.tar.gz: 562b9c7c2d174d7062fccfc71363666c94e3e100cf31d7abeebd926ac3c2a9b0eec3af8cc83bc047ad3970b248be5b4dade547610a58593bd76d58aaf6c8783f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.7.0 (2022-03-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds tagging support to the Managed Grafana service. New APIs: TagResource, UntagResource and ListTagsForResource. Updates: add optional field tags to support tagging while calling CreateWorkspace.
|
8
|
+
|
4
9
|
1.6.0 (2022-02-24)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.7.0
|
@@ -384,7 +384,7 @@ module Aws::ManagedGrafana
|
|
384
384
|
# resp.workspace.authentication.saml_configuration_status #=> String, one of "CONFIGURED", "NOT_CONFIGURED"
|
385
385
|
# resp.workspace.created #=> Time
|
386
386
|
# resp.workspace.data_sources #=> Array
|
387
|
-
# resp.workspace.data_sources[0] #=> String, one of "AMAZON_OPENSEARCH_SERVICE", "CLOUDWATCH", "PROMETHEUS", "XRAY", "TIMESTREAM", "SITEWISE"
|
387
|
+
# resp.workspace.data_sources[0] #=> String, one of "AMAZON_OPENSEARCH_SERVICE", "CLOUDWATCH", "PROMETHEUS", "XRAY", "TIMESTREAM", "SITEWISE", "ATHENA", "REDSHIFT"
|
388
388
|
# resp.workspace.description #=> String
|
389
389
|
# resp.workspace.endpoint #=> String
|
390
390
|
# resp.workspace.free_trial_consumed #=> Boolean
|
@@ -403,6 +403,8 @@ module Aws::ManagedGrafana
|
|
403
403
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
404
404
|
# resp.workspace.stack_set_name #=> String
|
405
405
|
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED"
|
406
|
+
# resp.workspace.tags #=> Hash
|
407
|
+
# resp.workspace.tags["TagKey"] #=> String
|
406
408
|
# resp.workspace.workspace_role_arn #=> String
|
407
409
|
#
|
408
410
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/AssociateLicense AWS API Documentation
|
@@ -457,10 +459,11 @@ module Aws::ManagedGrafana
|
|
457
459
|
# in other accounts in an organization.
|
458
460
|
#
|
459
461
|
# @option params [required, String] :permission_type
|
460
|
-
# If you specify `
|
461
|
-
# creates the IAM roles and provisions the
|
462
|
-
# workspace needs to use Amazon Web Services data
|
463
|
-
# notification channels.
|
462
|
+
# If you specify `SERVICE_MANAGED` on AWS Grafana console, Amazon
|
463
|
+
# Managed Grafana automatically creates the IAM roles and provisions the
|
464
|
+
# permissions that the workspace needs to use Amazon Web Services data
|
465
|
+
# sources and notification channels. In CLI mode, the permissionType
|
466
|
+
# `SERVICE_MANAGED` will not create the IAM role for you.
|
464
467
|
#
|
465
468
|
# If you specify `CUSTOMER_MANAGED`, you will manage those roles and
|
466
469
|
# permissions yourself. If you are creating this workspace in a member
|
@@ -471,7 +474,7 @@ module Aws::ManagedGrafana
|
|
471
474
|
#
|
472
475
|
# For more information, see [Amazon Managed Grafana permissions and
|
473
476
|
# policies for Amazon Web Services data sources and notification
|
474
|
-
# channels][1]
|
477
|
+
# channels][1].
|
475
478
|
#
|
476
479
|
#
|
477
480
|
#
|
@@ -481,6 +484,9 @@ module Aws::ManagedGrafana
|
|
481
484
|
# The name of the CloudFormation stack set to use to generate IAM roles
|
482
485
|
# to be used for this workspace.
|
483
486
|
#
|
487
|
+
# @option params [Hash<String,String>] :tags
|
488
|
+
# The list of tags associated with the workspace.
|
489
|
+
#
|
484
490
|
# @option params [Array<String>] :workspace_data_sources
|
485
491
|
# Specify the Amazon Web Services data sources that you want to be
|
486
492
|
# queried in this workspace. Specifying these data sources here enables
|
@@ -496,6 +502,8 @@ module Aws::ManagedGrafana
|
|
496
502
|
# A description for the workspace. This is used only to help you
|
497
503
|
# identify this workspace.
|
498
504
|
#
|
505
|
+
# Pattern: `^[\\p\{L\}\\p\{Z\}\\p\{N\}\\p\{P\}]\{0,2048\}$`
|
506
|
+
#
|
499
507
|
# @option params [String] :workspace_name
|
500
508
|
# The name for the workspace. It does not have to be unique.
|
501
509
|
#
|
@@ -513,10 +521,8 @@ module Aws::ManagedGrafana
|
|
513
521
|
# @option params [String] :workspace_role_arn
|
514
522
|
# The workspace needs an IAM role that grants permissions to the Amazon
|
515
523
|
# Web Services resources that the workspace will view data from. If you
|
516
|
-
# already have a role that you want to use, specify it here.
|
517
|
-
#
|
518
|
-
# `workspaceDataSources` or `workspaceNotificationDestinations`, a new
|
519
|
-
# IAM role with the necessary permissions is automatically created.
|
524
|
+
# already have a role that you want to use, specify it here. The
|
525
|
+
# permission type should be set to `CUSTOMER_MANAGED`.
|
520
526
|
#
|
521
527
|
# @return [Types::CreateWorkspaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
522
528
|
#
|
@@ -531,7 +537,10 @@ module Aws::ManagedGrafana
|
|
531
537
|
# organization_role_name: "OrganizationRoleName",
|
532
538
|
# permission_type: "CUSTOMER_MANAGED", # required, accepts CUSTOMER_MANAGED, SERVICE_MANAGED
|
533
539
|
# stack_set_name: "StackSetName",
|
534
|
-
#
|
540
|
+
# tags: {
|
541
|
+
# "TagKey" => "TagValue",
|
542
|
+
# },
|
543
|
+
# workspace_data_sources: ["AMAZON_OPENSEARCH_SERVICE"], # accepts AMAZON_OPENSEARCH_SERVICE, CLOUDWATCH, PROMETHEUS, XRAY, TIMESTREAM, SITEWISE, ATHENA, REDSHIFT
|
535
544
|
# workspace_description: "Description",
|
536
545
|
# workspace_name: "WorkspaceName",
|
537
546
|
# workspace_notification_destinations: ["SNS"], # accepts SNS
|
@@ -547,7 +556,7 @@ module Aws::ManagedGrafana
|
|
547
556
|
# resp.workspace.authentication.saml_configuration_status #=> String, one of "CONFIGURED", "NOT_CONFIGURED"
|
548
557
|
# resp.workspace.created #=> Time
|
549
558
|
# resp.workspace.data_sources #=> Array
|
550
|
-
# resp.workspace.data_sources[0] #=> String, one of "AMAZON_OPENSEARCH_SERVICE", "CLOUDWATCH", "PROMETHEUS", "XRAY", "TIMESTREAM", "SITEWISE"
|
559
|
+
# resp.workspace.data_sources[0] #=> String, one of "AMAZON_OPENSEARCH_SERVICE", "CLOUDWATCH", "PROMETHEUS", "XRAY", "TIMESTREAM", "SITEWISE", "ATHENA", "REDSHIFT"
|
551
560
|
# resp.workspace.description #=> String
|
552
561
|
# resp.workspace.endpoint #=> String
|
553
562
|
# resp.workspace.free_trial_consumed #=> Boolean
|
@@ -566,6 +575,8 @@ module Aws::ManagedGrafana
|
|
566
575
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
567
576
|
# resp.workspace.stack_set_name #=> String
|
568
577
|
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED"
|
578
|
+
# resp.workspace.tags #=> Hash
|
579
|
+
# resp.workspace.tags["TagKey"] #=> String
|
569
580
|
# resp.workspace.workspace_role_arn #=> String
|
570
581
|
#
|
571
582
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/CreateWorkspace AWS API Documentation
|
@@ -600,7 +611,7 @@ module Aws::ManagedGrafana
|
|
600
611
|
# resp.workspace.authentication.saml_configuration_status #=> String, one of "CONFIGURED", "NOT_CONFIGURED"
|
601
612
|
# resp.workspace.created #=> Time
|
602
613
|
# resp.workspace.data_sources #=> Array
|
603
|
-
# resp.workspace.data_sources[0] #=> String, one of "AMAZON_OPENSEARCH_SERVICE", "CLOUDWATCH", "PROMETHEUS", "XRAY", "TIMESTREAM", "SITEWISE"
|
614
|
+
# resp.workspace.data_sources[0] #=> String, one of "AMAZON_OPENSEARCH_SERVICE", "CLOUDWATCH", "PROMETHEUS", "XRAY", "TIMESTREAM", "SITEWISE", "ATHENA", "REDSHIFT"
|
604
615
|
# resp.workspace.description #=> String
|
605
616
|
# resp.workspace.endpoint #=> String
|
606
617
|
# resp.workspace.free_trial_consumed #=> Boolean
|
@@ -619,6 +630,8 @@ module Aws::ManagedGrafana
|
|
619
630
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
620
631
|
# resp.workspace.stack_set_name #=> String
|
621
632
|
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED"
|
633
|
+
# resp.workspace.tags #=> Hash
|
634
|
+
# resp.workspace.tags["TagKey"] #=> String
|
622
635
|
# resp.workspace.workspace_role_arn #=> String
|
623
636
|
#
|
624
637
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DeleteWorkspace AWS API Documentation
|
@@ -653,7 +666,7 @@ module Aws::ManagedGrafana
|
|
653
666
|
# resp.workspace.authentication.saml_configuration_status #=> String, one of "CONFIGURED", "NOT_CONFIGURED"
|
654
667
|
# resp.workspace.created #=> Time
|
655
668
|
# resp.workspace.data_sources #=> Array
|
656
|
-
# resp.workspace.data_sources[0] #=> String, one of "AMAZON_OPENSEARCH_SERVICE", "CLOUDWATCH", "PROMETHEUS", "XRAY", "TIMESTREAM", "SITEWISE"
|
669
|
+
# resp.workspace.data_sources[0] #=> String, one of "AMAZON_OPENSEARCH_SERVICE", "CLOUDWATCH", "PROMETHEUS", "XRAY", "TIMESTREAM", "SITEWISE", "ATHENA", "REDSHIFT"
|
657
670
|
# resp.workspace.description #=> String
|
658
671
|
# resp.workspace.endpoint #=> String
|
659
672
|
# resp.workspace.free_trial_consumed #=> Boolean
|
@@ -672,6 +685,8 @@ module Aws::ManagedGrafana
|
|
672
685
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
673
686
|
# resp.workspace.stack_set_name #=> String
|
674
687
|
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED"
|
688
|
+
# resp.workspace.tags #=> Hash
|
689
|
+
# resp.workspace.tags["TagKey"] #=> String
|
675
690
|
# resp.workspace.workspace_role_arn #=> String
|
676
691
|
#
|
677
692
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DescribeWorkspace AWS API Documentation
|
@@ -757,7 +772,7 @@ module Aws::ManagedGrafana
|
|
757
772
|
# resp.workspace.authentication.saml_configuration_status #=> String, one of "CONFIGURED", "NOT_CONFIGURED"
|
758
773
|
# resp.workspace.created #=> Time
|
759
774
|
# resp.workspace.data_sources #=> Array
|
760
|
-
# resp.workspace.data_sources[0] #=> String, one of "AMAZON_OPENSEARCH_SERVICE", "CLOUDWATCH", "PROMETHEUS", "XRAY", "TIMESTREAM", "SITEWISE"
|
775
|
+
# resp.workspace.data_sources[0] #=> String, one of "AMAZON_OPENSEARCH_SERVICE", "CLOUDWATCH", "PROMETHEUS", "XRAY", "TIMESTREAM", "SITEWISE", "ATHENA", "REDSHIFT"
|
761
776
|
# resp.workspace.description #=> String
|
762
777
|
# resp.workspace.endpoint #=> String
|
763
778
|
# resp.workspace.free_trial_consumed #=> Boolean
|
@@ -776,6 +791,8 @@ module Aws::ManagedGrafana
|
|
776
791
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
777
792
|
# resp.workspace.stack_set_name #=> String
|
778
793
|
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED"
|
794
|
+
# resp.workspace.tags #=> Hash
|
795
|
+
# resp.workspace.tags["TagKey"] #=> String
|
779
796
|
# resp.workspace.workspace_role_arn #=> String
|
780
797
|
#
|
781
798
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DisassociateLicense AWS API Documentation
|
@@ -852,6 +869,38 @@ module Aws::ManagedGrafana
|
|
852
869
|
req.send_request(options)
|
853
870
|
end
|
854
871
|
|
872
|
+
# The `ListTagsForResource` operation returns the tags that are
|
873
|
+
# associated with the Amazon Managed Service for Grafana resource
|
874
|
+
# specified by the `resourceArn`. Currently, the only resource that can
|
875
|
+
# be tagged is a workspace.
|
876
|
+
#
|
877
|
+
# @option params [required, String] :resource_arn
|
878
|
+
# The ARN of the resource the list of tags are associated with.
|
879
|
+
#
|
880
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
881
|
+
#
|
882
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
883
|
+
#
|
884
|
+
# @example Request syntax with placeholder values
|
885
|
+
#
|
886
|
+
# resp = client.list_tags_for_resource({
|
887
|
+
# resource_arn: "String", # required
|
888
|
+
# })
|
889
|
+
#
|
890
|
+
# @example Response structure
|
891
|
+
#
|
892
|
+
# resp.tags #=> Hash
|
893
|
+
# resp.tags["TagKey"] #=> String
|
894
|
+
#
|
895
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListTagsForResource AWS API Documentation
|
896
|
+
#
|
897
|
+
# @overload list_tags_for_resource(params = {})
|
898
|
+
# @param [Hash] params ({})
|
899
|
+
def list_tags_for_resource(params = {}, options = {})
|
900
|
+
req = build_request(:list_tags_for_resource, params)
|
901
|
+
req.send_request(options)
|
902
|
+
end
|
903
|
+
|
855
904
|
# Returns a list of Amazon Managed Grafana workspaces in the account,
|
856
905
|
# with some information about each workspace. For more complete
|
857
906
|
# information about one workspace, use [DescribeWorkspace][1].
|
@@ -898,6 +947,8 @@ module Aws::ManagedGrafana
|
|
898
947
|
# resp.workspaces[0].notification_destinations #=> Array
|
899
948
|
# resp.workspaces[0].notification_destinations[0] #=> String, one of "SNS"
|
900
949
|
# resp.workspaces[0].status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED"
|
950
|
+
# resp.workspaces[0].tags #=> Hash
|
951
|
+
# resp.workspaces[0].tags["TagKey"] #=> String
|
901
952
|
#
|
902
953
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListWorkspaces AWS API Documentation
|
903
954
|
#
|
@@ -908,6 +959,70 @@ module Aws::ManagedGrafana
|
|
908
959
|
req.send_request(options)
|
909
960
|
end
|
910
961
|
|
962
|
+
# The `TagResource` operation associates tags with an Amazon Managed
|
963
|
+
# Grafana resource. Currently, the only resource that can be tagged is
|
964
|
+
# workspaces.
|
965
|
+
#
|
966
|
+
# If you specify a new tag key for the resource, this tag is appended to
|
967
|
+
# the list of tags associated with the resource. If you specify a tag
|
968
|
+
# key that is already associated with the resource, the new tag value
|
969
|
+
# that you specify replaces the previous value for that tag.
|
970
|
+
#
|
971
|
+
# @option params [required, String] :resource_arn
|
972
|
+
# The ARN of the resource the tag is associated with.
|
973
|
+
#
|
974
|
+
# @option params [required, Hash<String,String>] :tags
|
975
|
+
# The list of tag keys and values to associate with the resource. You
|
976
|
+
# can associate tag keys only, tags (key and values) only or a
|
977
|
+
# combination of tag keys and tags.
|
978
|
+
#
|
979
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
980
|
+
#
|
981
|
+
# @example Request syntax with placeholder values
|
982
|
+
#
|
983
|
+
# resp = client.tag_resource({
|
984
|
+
# resource_arn: "String", # required
|
985
|
+
# tags: { # required
|
986
|
+
# "TagKey" => "TagValue",
|
987
|
+
# },
|
988
|
+
# })
|
989
|
+
#
|
990
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/TagResource AWS API Documentation
|
991
|
+
#
|
992
|
+
# @overload tag_resource(params = {})
|
993
|
+
# @param [Hash] params ({})
|
994
|
+
def tag_resource(params = {}, options = {})
|
995
|
+
req = build_request(:tag_resource, params)
|
996
|
+
req.send_request(options)
|
997
|
+
end
|
998
|
+
|
999
|
+
# The `UntagResource` operation removes the association of the tag with
|
1000
|
+
# the Amazon Managed Grafana resource.
|
1001
|
+
#
|
1002
|
+
# @option params [required, String] :resource_arn
|
1003
|
+
# The ARN of the resource the tag association is removed from.
|
1004
|
+
#
|
1005
|
+
# @option params [required, Array<String>] :tag_keys
|
1006
|
+
# The key values of the tag to be removed from the resource.
|
1007
|
+
#
|
1008
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1009
|
+
#
|
1010
|
+
# @example Request syntax with placeholder values
|
1011
|
+
#
|
1012
|
+
# resp = client.untag_resource({
|
1013
|
+
# resource_arn: "String", # required
|
1014
|
+
# tag_keys: ["TagKey"], # required
|
1015
|
+
# })
|
1016
|
+
#
|
1017
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UntagResource AWS API Documentation
|
1018
|
+
#
|
1019
|
+
# @overload untag_resource(params = {})
|
1020
|
+
# @param [Hash] params ({})
|
1021
|
+
def untag_resource(params = {}, options = {})
|
1022
|
+
req = build_request(:untag_resource, params)
|
1023
|
+
req.send_request(options)
|
1024
|
+
end
|
1025
|
+
|
911
1026
|
# Updates which users in a workspace have the Grafana `Admin` or
|
912
1027
|
# `Editor` roles.
|
913
1028
|
#
|
@@ -1063,7 +1178,7 @@ module Aws::ManagedGrafana
|
|
1063
1178
|
# organization_role_name: "OrganizationRoleName",
|
1064
1179
|
# permission_type: "CUSTOMER_MANAGED", # accepts CUSTOMER_MANAGED, SERVICE_MANAGED
|
1065
1180
|
# stack_set_name: "StackSetName",
|
1066
|
-
# workspace_data_sources: ["AMAZON_OPENSEARCH_SERVICE"], # accepts AMAZON_OPENSEARCH_SERVICE, CLOUDWATCH, PROMETHEUS, XRAY, TIMESTREAM, SITEWISE
|
1181
|
+
# workspace_data_sources: ["AMAZON_OPENSEARCH_SERVICE"], # accepts AMAZON_OPENSEARCH_SERVICE, CLOUDWATCH, PROMETHEUS, XRAY, TIMESTREAM, SITEWISE, ATHENA, REDSHIFT
|
1067
1182
|
# workspace_description: "Description",
|
1068
1183
|
# workspace_id: "WorkspaceId", # required
|
1069
1184
|
# workspace_name: "WorkspaceName",
|
@@ -1080,7 +1195,7 @@ module Aws::ManagedGrafana
|
|
1080
1195
|
# resp.workspace.authentication.saml_configuration_status #=> String, one of "CONFIGURED", "NOT_CONFIGURED"
|
1081
1196
|
# resp.workspace.created #=> Time
|
1082
1197
|
# resp.workspace.data_sources #=> Array
|
1083
|
-
# resp.workspace.data_sources[0] #=> String, one of "AMAZON_OPENSEARCH_SERVICE", "CLOUDWATCH", "PROMETHEUS", "XRAY", "TIMESTREAM", "SITEWISE"
|
1198
|
+
# resp.workspace.data_sources[0] #=> String, one of "AMAZON_OPENSEARCH_SERVICE", "CLOUDWATCH", "PROMETHEUS", "XRAY", "TIMESTREAM", "SITEWISE", "ATHENA", "REDSHIFT"
|
1084
1199
|
# resp.workspace.description #=> String
|
1085
1200
|
# resp.workspace.endpoint #=> String
|
1086
1201
|
# resp.workspace.free_trial_consumed #=> Boolean
|
@@ -1099,6 +1214,8 @@ module Aws::ManagedGrafana
|
|
1099
1214
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
1100
1215
|
# resp.workspace.stack_set_name #=> String
|
1101
1216
|
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED"
|
1217
|
+
# resp.workspace.tags #=> Hash
|
1218
|
+
# resp.workspace.tags["TagKey"] #=> String
|
1102
1219
|
# resp.workspace.workspace_role_arn #=> String
|
1103
1220
|
#
|
1104
1221
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UpdateWorkspace AWS API Documentation
|
@@ -1210,7 +1327,7 @@ module Aws::ManagedGrafana
|
|
1210
1327
|
params: params,
|
1211
1328
|
config: config)
|
1212
1329
|
context[:gem_name] = 'aws-sdk-managedgrafana'
|
1213
|
-
context[:gem_version] = '1.
|
1330
|
+
context[:gem_version] = '1.7.0'
|
1214
1331
|
Seahorse::Client::Request.new(handlers, context)
|
1215
1332
|
end
|
1216
1333
|
|
@@ -53,6 +53,8 @@ module Aws::ManagedGrafana
|
|
53
53
|
ListPermissionsRequest = Shapes::StructureShape.new(name: 'ListPermissionsRequest')
|
54
54
|
ListPermissionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListPermissionsRequestMaxResultsInteger')
|
55
55
|
ListPermissionsResponse = Shapes::StructureShape.new(name: 'ListPermissionsResponse')
|
56
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
57
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
56
58
|
ListWorkspacesRequest = Shapes::StructureShape.new(name: 'ListWorkspacesRequest')
|
57
59
|
ListWorkspacesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListWorkspacesRequestMaxResultsInteger')
|
58
60
|
ListWorkspacesResponse = Shapes::StructureShape.new(name: 'ListWorkspacesResponse')
|
@@ -79,8 +81,16 @@ module Aws::ManagedGrafana
|
|
79
81
|
SsoId = Shapes::StringShape.new(name: 'SsoId')
|
80
82
|
StackSetName = Shapes::StringShape.new(name: 'StackSetName')
|
81
83
|
String = Shapes::StringShape.new(name: 'String')
|
84
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
85
|
+
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
86
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
87
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
88
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
89
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
82
90
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
83
91
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
92
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
93
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
84
94
|
UpdateAction = Shapes::StringShape.new(name: 'UpdateAction')
|
85
95
|
UpdateError = Shapes::StructureShape.new(name: 'UpdateError')
|
86
96
|
UpdateErrorCodeInteger = Shapes::IntegerShape.new(name: 'UpdateErrorCodeInteger')
|
@@ -152,6 +162,7 @@ module Aws::ManagedGrafana
|
|
152
162
|
CreateWorkspaceRequest.add_member(:organization_role_name, Shapes::ShapeRef.new(shape: OrganizationRoleName, location_name: "organizationRoleName"))
|
153
163
|
CreateWorkspaceRequest.add_member(:permission_type, Shapes::ShapeRef.new(shape: PermissionType, required: true, location_name: "permissionType"))
|
154
164
|
CreateWorkspaceRequest.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, location_name: "stackSetName"))
|
165
|
+
CreateWorkspaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
155
166
|
CreateWorkspaceRequest.add_member(:workspace_data_sources, Shapes::ShapeRef.new(shape: DataSourceTypesList, location_name: "workspaceDataSources"))
|
156
167
|
CreateWorkspaceRequest.add_member(:workspace_description, Shapes::ShapeRef.new(shape: Description, location_name: "workspaceDescription"))
|
157
168
|
CreateWorkspaceRequest.add_member(:workspace_name, Shapes::ShapeRef.new(shape: WorkspaceName, location_name: "workspaceName"))
|
@@ -214,6 +225,12 @@ module Aws::ManagedGrafana
|
|
214
225
|
ListPermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionEntryList, required: true, location_name: "permissions"))
|
215
226
|
ListPermissionsResponse.struct_class = Types::ListPermissionsResponse
|
216
227
|
|
228
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
229
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
230
|
+
|
231
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
232
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
233
|
+
|
217
234
|
ListWorkspacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkspacesRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
218
235
|
ListWorkspacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
219
236
|
ListWorkspacesRequest.struct_class = Types::ListWorkspacesRequest
|
@@ -261,12 +278,29 @@ module Aws::ManagedGrafana
|
|
261
278
|
ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceCode"))
|
262
279
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
263
280
|
|
281
|
+
TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
|
282
|
+
|
283
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
284
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
285
|
+
|
286
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
287
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
|
288
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
289
|
+
|
290
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
291
|
+
|
264
292
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
265
293
|
ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
|
266
294
|
ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
267
295
|
ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
|
268
296
|
ThrottlingException.struct_class = Types::ThrottlingException
|
269
297
|
|
298
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
299
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
|
300
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
301
|
+
|
302
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
303
|
+
|
270
304
|
UpdateError.add_member(:caused_by, Shapes::ShapeRef.new(shape: UpdateInstruction, required: true, location_name: "causedBy"))
|
271
305
|
UpdateError.add_member(:code, Shapes::ShapeRef.new(shape: UpdateErrorCodeInteger, required: true, location_name: "code"))
|
272
306
|
UpdateError.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -349,6 +383,7 @@ module Aws::ManagedGrafana
|
|
349
383
|
WorkspaceDescription.add_member(:permission_type, Shapes::ShapeRef.new(shape: PermissionType, location_name: "permissionType"))
|
350
384
|
WorkspaceDescription.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, location_name: "stackSetName"))
|
351
385
|
WorkspaceDescription.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceStatus, required: true, location_name: "status"))
|
386
|
+
WorkspaceDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
352
387
|
WorkspaceDescription.add_member(:workspace_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "workspaceRoleArn"))
|
353
388
|
WorkspaceDescription.struct_class = Types::WorkspaceDescription
|
354
389
|
|
@@ -364,6 +399,7 @@ module Aws::ManagedGrafana
|
|
364
399
|
WorkspaceSummary.add_member(:name, Shapes::ShapeRef.new(shape: WorkspaceName, location_name: "name"))
|
365
400
|
WorkspaceSummary.add_member(:notification_destinations, Shapes::ShapeRef.new(shape: NotificationDestinationsList, location_name: "notificationDestinations"))
|
366
401
|
WorkspaceSummary.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceStatus, required: true, location_name: "status"))
|
402
|
+
WorkspaceSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
367
403
|
WorkspaceSummary.struct_class = Types::WorkspaceSummary
|
368
404
|
|
369
405
|
|
@@ -483,6 +519,19 @@ module Aws::ManagedGrafana
|
|
483
519
|
)
|
484
520
|
end)
|
485
521
|
|
522
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
523
|
+
o.name = "ListTagsForResource"
|
524
|
+
o.http_method = "GET"
|
525
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
526
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
527
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
529
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
530
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
532
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
533
|
+
end)
|
534
|
+
|
486
535
|
api.add_operation(:list_workspaces, Seahorse::Model::Operation.new.tap do |o|
|
487
536
|
o.name = "ListWorkspaces"
|
488
537
|
o.http_method = "GET"
|
@@ -500,6 +549,32 @@ module Aws::ManagedGrafana
|
|
500
549
|
)
|
501
550
|
end)
|
502
551
|
|
552
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
553
|
+
o.name = "TagResource"
|
554
|
+
o.http_method = "POST"
|
555
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
556
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
557
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
558
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
563
|
+
end)
|
564
|
+
|
565
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
566
|
+
o.name = "UntagResource"
|
567
|
+
o.http_method = "DELETE"
|
568
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
569
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
570
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
571
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
572
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
573
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
574
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
576
|
+
end)
|
577
|
+
|
503
578
|
api.add_operation(:update_permissions, Seahorse::Model::Operation.new.tap do |o|
|
504
579
|
o.name = "UpdatePermissions"
|
505
580
|
o.http_method = "PATCH"
|
@@ -223,7 +223,10 @@ module Aws::ManagedGrafana
|
|
223
223
|
# organization_role_name: "OrganizationRoleName",
|
224
224
|
# permission_type: "CUSTOMER_MANAGED", # required, accepts CUSTOMER_MANAGED, SERVICE_MANAGED
|
225
225
|
# stack_set_name: "StackSetName",
|
226
|
-
#
|
226
|
+
# tags: {
|
227
|
+
# "TagKey" => "TagValue",
|
228
|
+
# },
|
229
|
+
# workspace_data_sources: ["AMAZON_OPENSEARCH_SERVICE"], # accepts AMAZON_OPENSEARCH_SERVICE, CLOUDWATCH, PROMETHEUS, XRAY, TIMESTREAM, SITEWISE, ATHENA, REDSHIFT
|
227
230
|
# workspace_description: "Description",
|
228
231
|
# workspace_name: "WorkspaceName",
|
229
232
|
# workspace_notification_destinations: ["SNS"], # accepts SNS
|
@@ -266,10 +269,12 @@ module Aws::ManagedGrafana
|
|
266
269
|
# @return [String]
|
267
270
|
#
|
268
271
|
# @!attribute [rw] permission_type
|
269
|
-
# If you specify `
|
270
|
-
# automatically creates the IAM roles and provisions
|
271
|
-
# that the workspace needs to use Amazon Web Services
|
272
|
-
# notification channels.
|
272
|
+
# If you specify `SERVICE_MANAGED` on AWS Grafana console, Amazon
|
273
|
+
# Managed Grafana automatically creates the IAM roles and provisions
|
274
|
+
# the permissions that the workspace needs to use Amazon Web Services
|
275
|
+
# data sources and notification channels. In CLI mode, the
|
276
|
+
# permissionType `SERVICE_MANAGED` will not create the IAM role for
|
277
|
+
# you.
|
273
278
|
#
|
274
279
|
# If you specify `CUSTOMER_MANAGED`, you will manage those roles and
|
275
280
|
# permissions yourself. If you are creating this workspace in a member
|
@@ -280,7 +285,7 @@ module Aws::ManagedGrafana
|
|
280
285
|
#
|
281
286
|
# For more information, see [Amazon Managed Grafana permissions and
|
282
287
|
# policies for Amazon Web Services data sources and notification
|
283
|
-
# channels][1]
|
288
|
+
# channels][1].
|
284
289
|
#
|
285
290
|
#
|
286
291
|
#
|
@@ -292,6 +297,10 @@ module Aws::ManagedGrafana
|
|
292
297
|
# roles to be used for this workspace.
|
293
298
|
# @return [String]
|
294
299
|
#
|
300
|
+
# @!attribute [rw] tags
|
301
|
+
# The list of tags associated with the workspace.
|
302
|
+
# @return [Hash<String,String>]
|
303
|
+
#
|
295
304
|
# @!attribute [rw] workspace_data_sources
|
296
305
|
# Specify the Amazon Web Services data sources that you want to be
|
297
306
|
# queried in this workspace. Specifying these data sources here
|
@@ -308,6 +317,8 @@ module Aws::ManagedGrafana
|
|
308
317
|
# @!attribute [rw] workspace_description
|
309
318
|
# A description for the workspace. This is used only to help you
|
310
319
|
# identify this workspace.
|
320
|
+
#
|
321
|
+
# Pattern: `^[\\p\{L\}\\p\{Z\}\\p\{N\}\\p\{P\}]\{0,2048\}$`
|
311
322
|
# @return [String]
|
312
323
|
#
|
313
324
|
# @!attribute [rw] workspace_name
|
@@ -331,10 +342,7 @@ module Aws::ManagedGrafana
|
|
331
342
|
# The workspace needs an IAM role that grants permissions to the
|
332
343
|
# Amazon Web Services resources that the workspace will view data
|
333
344
|
# from. If you already have a role that you want to use, specify it
|
334
|
-
# here.
|
335
|
-
# Services resources in `workspaceDataSources` or
|
336
|
-
# `workspaceNotificationDestinations`, a new IAM role with the
|
337
|
-
# necessary permissions is automatically created.
|
345
|
+
# here. The permission type should be set to `CUSTOMER_MANAGED`.
|
338
346
|
# @return [String]
|
339
347
|
#
|
340
348
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/CreateWorkspaceRequest AWS API Documentation
|
@@ -346,6 +354,7 @@ module Aws::ManagedGrafana
|
|
346
354
|
:organization_role_name,
|
347
355
|
:permission_type,
|
348
356
|
:stack_set_name,
|
357
|
+
:tags,
|
349
358
|
:workspace_data_sources,
|
350
359
|
:workspace_description,
|
351
360
|
:workspace_name,
|
@@ -626,6 +635,37 @@ module Aws::ManagedGrafana
|
|
626
635
|
include Aws::Structure
|
627
636
|
end
|
628
637
|
|
638
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
639
|
+
# data as a hash:
|
640
|
+
#
|
641
|
+
# {
|
642
|
+
# resource_arn: "String", # required
|
643
|
+
# }
|
644
|
+
#
|
645
|
+
# @!attribute [rw] resource_arn
|
646
|
+
# The ARN of the resource the list of tags are associated with.
|
647
|
+
# @return [String]
|
648
|
+
#
|
649
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListTagsForResourceRequest AWS API Documentation
|
650
|
+
#
|
651
|
+
class ListTagsForResourceRequest < Struct.new(
|
652
|
+
:resource_arn)
|
653
|
+
SENSITIVE = []
|
654
|
+
include Aws::Structure
|
655
|
+
end
|
656
|
+
|
657
|
+
# @!attribute [rw] tags
|
658
|
+
# The list of tags that are associated with the resource.
|
659
|
+
# @return [Hash<String,String>]
|
660
|
+
#
|
661
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListTagsForResourceResponse AWS API Documentation
|
662
|
+
#
|
663
|
+
class ListTagsForResourceResponse < Struct.new(
|
664
|
+
:tags)
|
665
|
+
SENSITIVE = []
|
666
|
+
include Aws::Structure
|
667
|
+
end
|
668
|
+
|
629
669
|
# @note When making an API call, you may pass ListWorkspacesRequest
|
630
670
|
# data as a hash:
|
631
671
|
#
|
@@ -868,6 +908,39 @@ module Aws::ManagedGrafana
|
|
868
908
|
include Aws::Structure
|
869
909
|
end
|
870
910
|
|
911
|
+
# @note When making an API call, you may pass TagResourceRequest
|
912
|
+
# data as a hash:
|
913
|
+
#
|
914
|
+
# {
|
915
|
+
# resource_arn: "String", # required
|
916
|
+
# tags: { # required
|
917
|
+
# "TagKey" => "TagValue",
|
918
|
+
# },
|
919
|
+
# }
|
920
|
+
#
|
921
|
+
# @!attribute [rw] resource_arn
|
922
|
+
# The ARN of the resource the tag is associated with.
|
923
|
+
# @return [String]
|
924
|
+
#
|
925
|
+
# @!attribute [rw] tags
|
926
|
+
# The list of tag keys and values to associate with the resource. You
|
927
|
+
# can associate tag keys only, tags (key and values) only or a
|
928
|
+
# combination of tag keys and tags.
|
929
|
+
# @return [Hash<String,String>]
|
930
|
+
#
|
931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/TagResourceRequest AWS API Documentation
|
932
|
+
#
|
933
|
+
class TagResourceRequest < Struct.new(
|
934
|
+
:resource_arn,
|
935
|
+
:tags)
|
936
|
+
SENSITIVE = []
|
937
|
+
include Aws::Structure
|
938
|
+
end
|
939
|
+
|
940
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/TagResourceResponse AWS API Documentation
|
941
|
+
#
|
942
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
943
|
+
|
871
944
|
# The request was denied because of request throttling. Retry the
|
872
945
|
# request.
|
873
946
|
#
|
@@ -898,6 +971,35 @@ module Aws::ManagedGrafana
|
|
898
971
|
include Aws::Structure
|
899
972
|
end
|
900
973
|
|
974
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
975
|
+
# data as a hash:
|
976
|
+
#
|
977
|
+
# {
|
978
|
+
# resource_arn: "String", # required
|
979
|
+
# tag_keys: ["TagKey"], # required
|
980
|
+
# }
|
981
|
+
#
|
982
|
+
# @!attribute [rw] resource_arn
|
983
|
+
# The ARN of the resource the tag association is removed from.
|
984
|
+
# @return [String]
|
985
|
+
#
|
986
|
+
# @!attribute [rw] tag_keys
|
987
|
+
# The key values of the tag to be removed from the resource.
|
988
|
+
# @return [Array<String>]
|
989
|
+
#
|
990
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UntagResourceRequest AWS API Documentation
|
991
|
+
#
|
992
|
+
class UntagResourceRequest < Struct.new(
|
993
|
+
:resource_arn,
|
994
|
+
:tag_keys)
|
995
|
+
SENSITIVE = []
|
996
|
+
include Aws::Structure
|
997
|
+
end
|
998
|
+
|
999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UntagResourceResponse AWS API Documentation
|
1000
|
+
#
|
1001
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
1002
|
+
|
901
1003
|
# A structure containing information about one error encountered while
|
902
1004
|
# performing an [UpdatePermissions][1] operation.
|
903
1005
|
#
|
@@ -1102,7 +1204,7 @@ module Aws::ManagedGrafana
|
|
1102
1204
|
# organization_role_name: "OrganizationRoleName",
|
1103
1205
|
# permission_type: "CUSTOMER_MANAGED", # accepts CUSTOMER_MANAGED, SERVICE_MANAGED
|
1104
1206
|
# stack_set_name: "StackSetName",
|
1105
|
-
# workspace_data_sources: ["AMAZON_OPENSEARCH_SERVICE"], # accepts AMAZON_OPENSEARCH_SERVICE, CLOUDWATCH, PROMETHEUS, XRAY, TIMESTREAM, SITEWISE
|
1207
|
+
# workspace_data_sources: ["AMAZON_OPENSEARCH_SERVICE"], # accepts AMAZON_OPENSEARCH_SERVICE, CLOUDWATCH, PROMETHEUS, XRAY, TIMESTREAM, SITEWISE, ATHENA, REDSHIFT
|
1106
1208
|
# workspace_description: "Description",
|
1107
1209
|
# workspace_id: "WorkspaceId", # required
|
1108
1210
|
# workspace_name: "WorkspaceName",
|
@@ -1243,6 +1345,9 @@ module Aws::ManagedGrafana
|
|
1243
1345
|
#
|
1244
1346
|
# @!attribute [rw] id
|
1245
1347
|
# The ID of the user or group.
|
1348
|
+
#
|
1349
|
+
# Pattern:
|
1350
|
+
# `^([0-9a-fA-F]\{10\}-|)[A-Fa-f0-9]\{8\}-[A-Fa-f0-9]\{4\}-[A-Fa-f0-9]\{4\}-[A-Fa-f0-9]\{4\}-[A-Fa-f0-9]\{12\}$`
|
1246
1351
|
# @return [String]
|
1247
1352
|
#
|
1248
1353
|
# @!attribute [rw] type
|
@@ -1422,6 +1527,10 @@ module Aws::ManagedGrafana
|
|
1422
1527
|
# The current status of the workspace.
|
1423
1528
|
# @return [String]
|
1424
1529
|
#
|
1530
|
+
# @!attribute [rw] tags
|
1531
|
+
# The list of tags associated with the workspace.
|
1532
|
+
# @return [Hash<String,String>]
|
1533
|
+
#
|
1425
1534
|
# @!attribute [rw] workspace_role_arn
|
1426
1535
|
# The IAM role that grants permissions to the Amazon Web Services
|
1427
1536
|
# resources that the workspace will view data from. This role must
|
@@ -1451,6 +1560,7 @@ module Aws::ManagedGrafana
|
|
1451
1560
|
:permission_type,
|
1452
1561
|
:stack_set_name,
|
1453
1562
|
:status,
|
1563
|
+
:tags,
|
1454
1564
|
:workspace_role_arn)
|
1455
1565
|
SENSITIVE = [:description, :name, :organization_role_name, :organizational_units, :workspace_role_arn]
|
1456
1566
|
include Aws::Structure
|
@@ -1503,6 +1613,10 @@ module Aws::ManagedGrafana
|
|
1503
1613
|
# The current status of the workspace.
|
1504
1614
|
# @return [String]
|
1505
1615
|
#
|
1616
|
+
# @!attribute [rw] tags
|
1617
|
+
# The list of tags associated with the workspace.
|
1618
|
+
# @return [Hash<String,String>]
|
1619
|
+
#
|
1506
1620
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/WorkspaceSummary AWS API Documentation
|
1507
1621
|
#
|
1508
1622
|
class WorkspaceSummary < Struct.new(
|
@@ -1515,7 +1629,8 @@ module Aws::ManagedGrafana
|
|
1515
1629
|
:modified,
|
1516
1630
|
:name,
|
1517
1631
|
:notification_destinations,
|
1518
|
-
:status
|
1632
|
+
:status,
|
1633
|
+
:tags)
|
1519
1634
|
SENSITIVE = [:description, :name]
|
1520
1635
|
include Aws::Structure
|
1521
1636
|
end
|
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.7.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-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|