aws-sdk-managedgrafana 1.4.0 → 1.7.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-managedgrafana/client.rb +139 -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 +4 -4
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,21 @@
|
|
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
|
+
|
9
|
+
1.6.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.5.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.4.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.7.0
|
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::ManagedGrafana
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
80
84
|
|
@@ -380,7 +384,7 @@ module Aws::ManagedGrafana
|
|
380
384
|
# resp.workspace.authentication.saml_configuration_status #=> String, one of "CONFIGURED", "NOT_CONFIGURED"
|
381
385
|
# resp.workspace.created #=> Time
|
382
386
|
# resp.workspace.data_sources #=> Array
|
383
|
-
# 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"
|
384
388
|
# resp.workspace.description #=> String
|
385
389
|
# resp.workspace.endpoint #=> String
|
386
390
|
# resp.workspace.free_trial_consumed #=> Boolean
|
@@ -399,6 +403,8 @@ module Aws::ManagedGrafana
|
|
399
403
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
400
404
|
# resp.workspace.stack_set_name #=> String
|
401
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
|
402
408
|
# resp.workspace.workspace_role_arn #=> String
|
403
409
|
#
|
404
410
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/AssociateLicense AWS API Documentation
|
@@ -453,10 +459,11 @@ module Aws::ManagedGrafana
|
|
453
459
|
# in other accounts in an organization.
|
454
460
|
#
|
455
461
|
# @option params [required, String] :permission_type
|
456
|
-
# If you specify `
|
457
|
-
# creates the IAM roles and provisions the
|
458
|
-
# workspace needs to use Amazon Web Services data
|
459
|
-
# 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.
|
460
467
|
#
|
461
468
|
# If you specify `CUSTOMER_MANAGED`, you will manage those roles and
|
462
469
|
# permissions yourself. If you are creating this workspace in a member
|
@@ -467,7 +474,7 @@ module Aws::ManagedGrafana
|
|
467
474
|
#
|
468
475
|
# For more information, see [Amazon Managed Grafana permissions and
|
469
476
|
# policies for Amazon Web Services data sources and notification
|
470
|
-
# channels][1]
|
477
|
+
# channels][1].
|
471
478
|
#
|
472
479
|
#
|
473
480
|
#
|
@@ -477,6 +484,9 @@ module Aws::ManagedGrafana
|
|
477
484
|
# The name of the CloudFormation stack set to use to generate IAM roles
|
478
485
|
# to be used for this workspace.
|
479
486
|
#
|
487
|
+
# @option params [Hash<String,String>] :tags
|
488
|
+
# The list of tags associated with the workspace.
|
489
|
+
#
|
480
490
|
# @option params [Array<String>] :workspace_data_sources
|
481
491
|
# Specify the Amazon Web Services data sources that you want to be
|
482
492
|
# queried in this workspace. Specifying these data sources here enables
|
@@ -492,6 +502,8 @@ module Aws::ManagedGrafana
|
|
492
502
|
# A description for the workspace. This is used only to help you
|
493
503
|
# identify this workspace.
|
494
504
|
#
|
505
|
+
# Pattern: `^[\\p\{L\}\\p\{Z\}\\p\{N\}\\p\{P\}]\{0,2048\}$`
|
506
|
+
#
|
495
507
|
# @option params [String] :workspace_name
|
496
508
|
# The name for the workspace. It does not have to be unique.
|
497
509
|
#
|
@@ -509,10 +521,8 @@ module Aws::ManagedGrafana
|
|
509
521
|
# @option params [String] :workspace_role_arn
|
510
522
|
# The workspace needs an IAM role that grants permissions to the Amazon
|
511
523
|
# Web Services resources that the workspace will view data from. If you
|
512
|
-
# already have a role that you want to use, specify it here.
|
513
|
-
#
|
514
|
-
# `workspaceDataSources` or `workspaceNotificationDestinations`, a new
|
515
|
-
# 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`.
|
516
526
|
#
|
517
527
|
# @return [Types::CreateWorkspaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
518
528
|
#
|
@@ -527,7 +537,10 @@ module Aws::ManagedGrafana
|
|
527
537
|
# organization_role_name: "OrganizationRoleName",
|
528
538
|
# permission_type: "CUSTOMER_MANAGED", # required, accepts CUSTOMER_MANAGED, SERVICE_MANAGED
|
529
539
|
# stack_set_name: "StackSetName",
|
530
|
-
#
|
540
|
+
# tags: {
|
541
|
+
# "TagKey" => "TagValue",
|
542
|
+
# },
|
543
|
+
# workspace_data_sources: ["AMAZON_OPENSEARCH_SERVICE"], # accepts AMAZON_OPENSEARCH_SERVICE, CLOUDWATCH, PROMETHEUS, XRAY, TIMESTREAM, SITEWISE, ATHENA, REDSHIFT
|
531
544
|
# workspace_description: "Description",
|
532
545
|
# workspace_name: "WorkspaceName",
|
533
546
|
# workspace_notification_destinations: ["SNS"], # accepts SNS
|
@@ -543,7 +556,7 @@ module Aws::ManagedGrafana
|
|
543
556
|
# resp.workspace.authentication.saml_configuration_status #=> String, one of "CONFIGURED", "NOT_CONFIGURED"
|
544
557
|
# resp.workspace.created #=> Time
|
545
558
|
# resp.workspace.data_sources #=> Array
|
546
|
-
# 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"
|
547
560
|
# resp.workspace.description #=> String
|
548
561
|
# resp.workspace.endpoint #=> String
|
549
562
|
# resp.workspace.free_trial_consumed #=> Boolean
|
@@ -562,6 +575,8 @@ module Aws::ManagedGrafana
|
|
562
575
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
563
576
|
# resp.workspace.stack_set_name #=> String
|
564
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
|
565
580
|
# resp.workspace.workspace_role_arn #=> String
|
566
581
|
#
|
567
582
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/CreateWorkspace AWS API Documentation
|
@@ -596,7 +611,7 @@ module Aws::ManagedGrafana
|
|
596
611
|
# resp.workspace.authentication.saml_configuration_status #=> String, one of "CONFIGURED", "NOT_CONFIGURED"
|
597
612
|
# resp.workspace.created #=> Time
|
598
613
|
# resp.workspace.data_sources #=> Array
|
599
|
-
# 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"
|
600
615
|
# resp.workspace.description #=> String
|
601
616
|
# resp.workspace.endpoint #=> String
|
602
617
|
# resp.workspace.free_trial_consumed #=> Boolean
|
@@ -615,6 +630,8 @@ module Aws::ManagedGrafana
|
|
615
630
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
616
631
|
# resp.workspace.stack_set_name #=> String
|
617
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
|
618
635
|
# resp.workspace.workspace_role_arn #=> String
|
619
636
|
#
|
620
637
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DeleteWorkspace AWS API Documentation
|
@@ -649,7 +666,7 @@ module Aws::ManagedGrafana
|
|
649
666
|
# resp.workspace.authentication.saml_configuration_status #=> String, one of "CONFIGURED", "NOT_CONFIGURED"
|
650
667
|
# resp.workspace.created #=> Time
|
651
668
|
# resp.workspace.data_sources #=> Array
|
652
|
-
# 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"
|
653
670
|
# resp.workspace.description #=> String
|
654
671
|
# resp.workspace.endpoint #=> String
|
655
672
|
# resp.workspace.free_trial_consumed #=> Boolean
|
@@ -668,6 +685,8 @@ module Aws::ManagedGrafana
|
|
668
685
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
669
686
|
# resp.workspace.stack_set_name #=> String
|
670
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
|
671
690
|
# resp.workspace.workspace_role_arn #=> String
|
672
691
|
#
|
673
692
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DescribeWorkspace AWS API Documentation
|
@@ -753,7 +772,7 @@ module Aws::ManagedGrafana
|
|
753
772
|
# resp.workspace.authentication.saml_configuration_status #=> String, one of "CONFIGURED", "NOT_CONFIGURED"
|
754
773
|
# resp.workspace.created #=> Time
|
755
774
|
# resp.workspace.data_sources #=> Array
|
756
|
-
# 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"
|
757
776
|
# resp.workspace.description #=> String
|
758
777
|
# resp.workspace.endpoint #=> String
|
759
778
|
# resp.workspace.free_trial_consumed #=> Boolean
|
@@ -772,6 +791,8 @@ module Aws::ManagedGrafana
|
|
772
791
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
773
792
|
# resp.workspace.stack_set_name #=> String
|
774
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
|
775
796
|
# resp.workspace.workspace_role_arn #=> String
|
776
797
|
#
|
777
798
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DisassociateLicense AWS API Documentation
|
@@ -848,6 +869,38 @@ module Aws::ManagedGrafana
|
|
848
869
|
req.send_request(options)
|
849
870
|
end
|
850
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
|
+
|
851
904
|
# Returns a list of Amazon Managed Grafana workspaces in the account,
|
852
905
|
# with some information about each workspace. For more complete
|
853
906
|
# information about one workspace, use [DescribeWorkspace][1].
|
@@ -894,6 +947,8 @@ module Aws::ManagedGrafana
|
|
894
947
|
# resp.workspaces[0].notification_destinations #=> Array
|
895
948
|
# resp.workspaces[0].notification_destinations[0] #=> String, one of "SNS"
|
896
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
|
897
952
|
#
|
898
953
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListWorkspaces AWS API Documentation
|
899
954
|
#
|
@@ -904,6 +959,70 @@ module Aws::ManagedGrafana
|
|
904
959
|
req.send_request(options)
|
905
960
|
end
|
906
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
|
+
|
907
1026
|
# Updates which users in a workspace have the Grafana `Admin` or
|
908
1027
|
# `Editor` roles.
|
909
1028
|
#
|
@@ -1059,7 +1178,7 @@ module Aws::ManagedGrafana
|
|
1059
1178
|
# organization_role_name: "OrganizationRoleName",
|
1060
1179
|
# permission_type: "CUSTOMER_MANAGED", # accepts CUSTOMER_MANAGED, SERVICE_MANAGED
|
1061
1180
|
# stack_set_name: "StackSetName",
|
1062
|
-
# 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
|
1063
1182
|
# workspace_description: "Description",
|
1064
1183
|
# workspace_id: "WorkspaceId", # required
|
1065
1184
|
# workspace_name: "WorkspaceName",
|
@@ -1076,7 +1195,7 @@ module Aws::ManagedGrafana
|
|
1076
1195
|
# resp.workspace.authentication.saml_configuration_status #=> String, one of "CONFIGURED", "NOT_CONFIGURED"
|
1077
1196
|
# resp.workspace.created #=> Time
|
1078
1197
|
# resp.workspace.data_sources #=> Array
|
1079
|
-
# 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"
|
1080
1199
|
# resp.workspace.description #=> String
|
1081
1200
|
# resp.workspace.endpoint #=> String
|
1082
1201
|
# resp.workspace.free_trial_consumed #=> Boolean
|
@@ -1095,6 +1214,8 @@ module Aws::ManagedGrafana
|
|
1095
1214
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
1096
1215
|
# resp.workspace.stack_set_name #=> String
|
1097
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
|
1098
1219
|
# resp.workspace.workspace_role_arn #=> String
|
1099
1220
|
#
|
1100
1221
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UpdateWorkspace AWS API Documentation
|
@@ -1206,7 +1327,7 @@ module Aws::ManagedGrafana
|
|
1206
1327
|
params: params,
|
1207
1328
|
config: config)
|
1208
1329
|
context[:gem_name] = 'aws-sdk-managedgrafana'
|
1209
|
-
context[:gem_version] = '1.
|
1330
|
+
context[:gem_version] = '1.7.0'
|
1210
1331
|
Seahorse::Client::Request.new(handlers, context)
|
1211
1332
|
end
|
1212
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:
|
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
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|