aws-sdk-managedgrafana 1.19.0 → 1.20.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 +72 -9
- data/lib/aws-sdk-managedgrafana/client_api.rb +36 -0
- data/lib/aws-sdk-managedgrafana/endpoints.rb +14 -0
- data/lib/aws-sdk-managedgrafana/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-managedgrafana/types.rb +94 -10
- 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: 15235a52d01b3ec5c3d58908c4b024fb26d51e7472eecfccb3f1fef745570901
|
4
|
+
data.tar.gz: d5270ce74a1ad5451b5ea0a91447818f53fab0fb22db8ba9cf5018e3caa085bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75543d14829e408a21e2dcbebb3756f62a0d384439a5e8901ba31cd1a52ad2f74e491db287f05772d4446eb040c6cb43521cd50e797710b46930505ad32ddb47
|
7
|
+
data.tar.gz: 2c8acc8c9b64e408f5e71744b60f2736557f4a42fcdb7bdcb01bc4d547ad4aa553596c67194a767d8622d77f99a8df13a4d8ca858fb962e0eb0c9e7ac24037cc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.20.0 (2023-07-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon Managed Grafana now supports grafanaVersion update for existing workspaces with UpdateWorkspaceConfiguration API. DescribeWorkspaceConfiguration API additionally returns grafanaVersion. A new ListVersions API lists available versions or, if given a workspaceId, the versions it can upgrade to.
|
8
|
+
|
4
9
|
1.19.0 (2023-07-11)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.20.0
|
@@ -443,7 +443,7 @@ module Aws::ManagedGrafana
|
|
443
443
|
# resp.workspace.organizational_units[0] #=> String
|
444
444
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
445
445
|
# resp.workspace.stack_set_name #=> String
|
446
|
-
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED"
|
446
|
+
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED", "VERSION_UPDATING", "VERSION_UPDATE_FAILED"
|
447
447
|
# resp.workspace.tags #=> Hash
|
448
448
|
# resp.workspace.tags["TagKey"] #=> String
|
449
449
|
# resp.workspace.vpc_configuration.security_group_ids #=> Array
|
@@ -514,7 +514,7 @@ module Aws::ManagedGrafana
|
|
514
514
|
# @option params [String] :grafana_version
|
515
515
|
# Specifies the version of Grafana to support in the new workspace.
|
516
516
|
#
|
517
|
-
#
|
517
|
+
# To get a list of supported version, use the `ListVersions` operation.
|
518
518
|
#
|
519
519
|
# @option params [Types::NetworkAccessConfiguration] :network_access_control
|
520
520
|
# Configuration for network access to your workspace.
|
@@ -570,6 +570,11 @@ module Aws::ManagedGrafana
|
|
570
570
|
# The configuration settings for an Amazon VPC that contains data
|
571
571
|
# sources for your Grafana workspace to connect to.
|
572
572
|
#
|
573
|
+
# <note markdown="1"> Connecting to a private VPC is not yet available in the Asia Pacific
|
574
|
+
# (Seoul) Region (ap-northeast-2).
|
575
|
+
#
|
576
|
+
# </note>
|
577
|
+
#
|
573
578
|
# @option params [Array<String>] :workspace_data_sources
|
574
579
|
# This parameter is for internal use only, and should not be used.
|
575
580
|
#
|
@@ -664,7 +669,7 @@ module Aws::ManagedGrafana
|
|
664
669
|
# resp.workspace.organizational_units[0] #=> String
|
665
670
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
666
671
|
# resp.workspace.stack_set_name #=> String
|
667
|
-
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED"
|
672
|
+
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED", "VERSION_UPDATING", "VERSION_UPDATE_FAILED"
|
668
673
|
# resp.workspace.tags #=> Hash
|
669
674
|
# resp.workspace.tags["TagKey"] #=> String
|
670
675
|
# resp.workspace.vpc_configuration.security_group_ids #=> Array
|
@@ -782,7 +787,7 @@ module Aws::ManagedGrafana
|
|
782
787
|
# resp.workspace.organizational_units[0] #=> String
|
783
788
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
784
789
|
# resp.workspace.stack_set_name #=> String
|
785
|
-
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED"
|
790
|
+
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED", "VERSION_UPDATING", "VERSION_UPDATE_FAILED"
|
786
791
|
# resp.workspace.tags #=> Hash
|
787
792
|
# resp.workspace.tags["TagKey"] #=> String
|
788
793
|
# resp.workspace.vpc_configuration.security_group_ids #=> Array
|
@@ -879,7 +884,7 @@ module Aws::ManagedGrafana
|
|
879
884
|
# resp.workspace.organizational_units[0] #=> String
|
880
885
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
881
886
|
# resp.workspace.stack_set_name #=> String
|
882
|
-
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED"
|
887
|
+
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED", "VERSION_UPDATING", "VERSION_UPDATE_FAILED"
|
883
888
|
# resp.workspace.tags #=> Hash
|
884
889
|
# resp.workspace.tags["TagKey"] #=> String
|
885
890
|
# resp.workspace.vpc_configuration.security_group_ids #=> Array
|
@@ -952,6 +957,7 @@ module Aws::ManagedGrafana
|
|
952
957
|
# @return [Types::DescribeWorkspaceConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
953
958
|
#
|
954
959
|
# * {Types::DescribeWorkspaceConfigurationResponse#configuration #configuration} => String
|
960
|
+
# * {Types::DescribeWorkspaceConfigurationResponse#grafana_version #grafana_version} => String
|
955
961
|
#
|
956
962
|
# @example Request syntax with placeholder values
|
957
963
|
#
|
@@ -962,6 +968,7 @@ module Aws::ManagedGrafana
|
|
962
968
|
# @example Response structure
|
963
969
|
#
|
964
970
|
# resp.configuration #=> String
|
971
|
+
# resp.grafana_version #=> String
|
965
972
|
#
|
966
973
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DescribeWorkspaceConfiguration AWS API Documentation
|
967
974
|
#
|
@@ -1021,7 +1028,7 @@ module Aws::ManagedGrafana
|
|
1021
1028
|
# resp.workspace.organizational_units[0] #=> String
|
1022
1029
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
1023
1030
|
# resp.workspace.stack_set_name #=> String
|
1024
|
-
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED"
|
1031
|
+
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED", "VERSION_UPDATING", "VERSION_UPDATE_FAILED"
|
1025
1032
|
# resp.workspace.tags #=> Hash
|
1026
1033
|
# resp.workspace.tags["TagKey"] #=> String
|
1027
1034
|
# resp.workspace.vpc_configuration.security_group_ids #=> Array
|
@@ -1135,6 +1142,52 @@ module Aws::ManagedGrafana
|
|
1135
1142
|
req.send_request(options)
|
1136
1143
|
end
|
1137
1144
|
|
1145
|
+
# Lists available versions of Grafana. These are available when calling
|
1146
|
+
# `CreateWorkspace`. Optionally, include a workspace to list the
|
1147
|
+
# versions to which it can be upgraded.
|
1148
|
+
#
|
1149
|
+
# @option params [Integer] :max_results
|
1150
|
+
# The maximum number of results to include in the response.
|
1151
|
+
#
|
1152
|
+
# @option params [String] :next_token
|
1153
|
+
# The token to use when requesting the next set of results. You receive
|
1154
|
+
# this token from a previous `ListVersions` operation.
|
1155
|
+
#
|
1156
|
+
# @option params [String] :workspace_id
|
1157
|
+
# The ID of the workspace to list the available upgrade versions. If not
|
1158
|
+
# included, lists all versions of Grafana that are supported for
|
1159
|
+
# `CreateWorkspace`.
|
1160
|
+
#
|
1161
|
+
# @return [Types::ListVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1162
|
+
#
|
1163
|
+
# * {Types::ListVersionsResponse#grafana_versions #grafana_versions} => Array<String>
|
1164
|
+
# * {Types::ListVersionsResponse#next_token #next_token} => String
|
1165
|
+
#
|
1166
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1167
|
+
#
|
1168
|
+
# @example Request syntax with placeholder values
|
1169
|
+
#
|
1170
|
+
# resp = client.list_versions({
|
1171
|
+
# max_results: 1,
|
1172
|
+
# next_token: "PaginationToken",
|
1173
|
+
# workspace_id: "WorkspaceId",
|
1174
|
+
# })
|
1175
|
+
#
|
1176
|
+
# @example Response structure
|
1177
|
+
#
|
1178
|
+
# resp.grafana_versions #=> Array
|
1179
|
+
# resp.grafana_versions[0] #=> String
|
1180
|
+
# resp.next_token #=> String
|
1181
|
+
#
|
1182
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListVersions AWS API Documentation
|
1183
|
+
#
|
1184
|
+
# @overload list_versions(params = {})
|
1185
|
+
# @param [Hash] params ({})
|
1186
|
+
def list_versions(params = {}, options = {})
|
1187
|
+
req = build_request(:list_versions, params)
|
1188
|
+
req.send_request(options)
|
1189
|
+
end
|
1190
|
+
|
1138
1191
|
# Returns a list of Amazon Managed Grafana workspaces in the account,
|
1139
1192
|
# with some information about each workspace. For more complete
|
1140
1193
|
# information about one workspace, use [DescribeWorkspace][1].
|
@@ -1180,7 +1233,7 @@ module Aws::ManagedGrafana
|
|
1180
1233
|
# resp.workspaces[0].name #=> String
|
1181
1234
|
# resp.workspaces[0].notification_destinations #=> Array
|
1182
1235
|
# resp.workspaces[0].notification_destinations[0] #=> String, one of "SNS"
|
1183
|
-
# resp.workspaces[0].status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED"
|
1236
|
+
# resp.workspaces[0].status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED", "VERSION_UPDATING", "VERSION_UPDATE_FAILED"
|
1184
1237
|
# resp.workspaces[0].tags #=> Hash
|
1185
1238
|
# resp.workspaces[0].tags["TagKey"] #=> String
|
1186
1239
|
#
|
@@ -1495,7 +1548,7 @@ module Aws::ManagedGrafana
|
|
1495
1548
|
# resp.workspace.organizational_units[0] #=> String
|
1496
1549
|
# resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
|
1497
1550
|
# resp.workspace.stack_set_name #=> String
|
1498
|
-
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED"
|
1551
|
+
# resp.workspace.status #=> String, one of "ACTIVE", "CREATING", "DELETING", "FAILED", "UPDATING", "UPGRADING", "DELETION_FAILED", "CREATION_FAILED", "UPDATE_FAILED", "UPGRADE_FAILED", "LICENSE_REMOVAL_FAILED", "VERSION_UPDATING", "VERSION_UPDATE_FAILED"
|
1499
1552
|
# resp.workspace.tags #=> Hash
|
1500
1553
|
# resp.workspace.tags["TagKey"] #=> String
|
1501
1554
|
# resp.workspace.vpc_configuration.security_group_ids #=> Array
|
@@ -1620,6 +1673,15 @@ module Aws::ManagedGrafana
|
|
1620
1673
|
#
|
1621
1674
|
# [1]: https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html
|
1622
1675
|
#
|
1676
|
+
# @option params [String] :grafana_version
|
1677
|
+
# Specifies the version of Grafana to support in the new workspace.
|
1678
|
+
#
|
1679
|
+
# Can only be used to upgrade (for example, from 8.4 to 9.4), not
|
1680
|
+
# downgrade (for example, from 9.4 to 8.4).
|
1681
|
+
#
|
1682
|
+
# To know what versions are available to upgrade to for a specific
|
1683
|
+
# workspace, see the `ListVersions` operation.
|
1684
|
+
#
|
1623
1685
|
# @option params [required, String] :workspace_id
|
1624
1686
|
# The ID of the workspace to update.
|
1625
1687
|
#
|
@@ -1629,6 +1691,7 @@ module Aws::ManagedGrafana
|
|
1629
1691
|
#
|
1630
1692
|
# resp = client.update_workspace_configuration({
|
1631
1693
|
# configuration: "OverridableConfigurationJson", # required
|
1694
|
+
# grafana_version: "GrafanaVersion",
|
1632
1695
|
# workspace_id: "WorkspaceId", # required
|
1633
1696
|
# })
|
1634
1697
|
#
|
@@ -1654,7 +1717,7 @@ module Aws::ManagedGrafana
|
|
1654
1717
|
params: params,
|
1655
1718
|
config: config)
|
1656
1719
|
context[:gem_name] = 'aws-sdk-managedgrafana'
|
1657
|
-
context[:gem_version] = '1.
|
1720
|
+
context[:gem_version] = '1.20.0'
|
1658
1721
|
Seahorse::Client::Request.new(handlers, context)
|
1659
1722
|
end
|
1660
1723
|
|
@@ -53,6 +53,7 @@ module Aws::ManagedGrafana
|
|
53
53
|
DisassociateLicenseResponse = Shapes::StructureShape.new(name: 'DisassociateLicenseResponse')
|
54
54
|
Endpoint = Shapes::StringShape.new(name: 'Endpoint')
|
55
55
|
GrafanaVersion = Shapes::StringShape.new(name: 'GrafanaVersion')
|
56
|
+
GrafanaVersionList = Shapes::ListShape.new(name: 'GrafanaVersionList')
|
56
57
|
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
57
58
|
IdpMetadata = Shapes::UnionShape.new(name: 'IdpMetadata')
|
58
59
|
IdpMetadataUrl = Shapes::StringShape.new(name: 'IdpMetadataUrl')
|
@@ -64,6 +65,9 @@ module Aws::ManagedGrafana
|
|
64
65
|
ListPermissionsResponse = Shapes::StructureShape.new(name: 'ListPermissionsResponse')
|
65
66
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
66
67
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
68
|
+
ListVersionsRequest = Shapes::StructureShape.new(name: 'ListVersionsRequest')
|
69
|
+
ListVersionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListVersionsRequestMaxResultsInteger')
|
70
|
+
ListVersionsResponse = Shapes::StructureShape.new(name: 'ListVersionsResponse')
|
67
71
|
ListWorkspacesRequest = Shapes::StructureShape.new(name: 'ListWorkspacesRequest')
|
68
72
|
ListWorkspacesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListWorkspacesRequestMaxResultsInteger')
|
69
73
|
ListWorkspacesResponse = Shapes::StructureShape.new(name: 'ListWorkspacesResponse')
|
@@ -237,6 +241,7 @@ module Aws::ManagedGrafana
|
|
237
241
|
DescribeWorkspaceConfigurationRequest.struct_class = Types::DescribeWorkspaceConfigurationRequest
|
238
242
|
|
239
243
|
DescribeWorkspaceConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: OverridableConfigurationJson, required: true, location_name: "configuration", metadata: {"jsonvalue"=>true}))
|
244
|
+
DescribeWorkspaceConfigurationResponse.add_member(:grafana_version, Shapes::ShapeRef.new(shape: GrafanaVersion, location_name: "grafanaVersion"))
|
240
245
|
DescribeWorkspaceConfigurationResponse.struct_class = Types::DescribeWorkspaceConfigurationResponse
|
241
246
|
|
242
247
|
DescribeWorkspaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
@@ -252,6 +257,8 @@ module Aws::ManagedGrafana
|
|
252
257
|
DisassociateLicenseResponse.add_member(:workspace, Shapes::ShapeRef.new(shape: WorkspaceDescription, required: true, location_name: "workspace"))
|
253
258
|
DisassociateLicenseResponse.struct_class = Types::DisassociateLicenseResponse
|
254
259
|
|
260
|
+
GrafanaVersionList.member = Shapes::ShapeRef.new(shape: GrafanaVersion)
|
261
|
+
|
255
262
|
IdpMetadata.add_member(:url, Shapes::ShapeRef.new(shape: IdpMetadataUrl, location_name: "url"))
|
256
263
|
IdpMetadata.add_member(:xml, Shapes::ShapeRef.new(shape: String, location_name: "xml"))
|
257
264
|
IdpMetadata.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
@@ -282,6 +289,15 @@ module Aws::ManagedGrafana
|
|
282
289
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
283
290
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
284
291
|
|
292
|
+
ListVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListVersionsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
293
|
+
ListVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
294
|
+
ListVersionsRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location: "querystring", location_name: "workspace-id"))
|
295
|
+
ListVersionsRequest.struct_class = Types::ListVersionsRequest
|
296
|
+
|
297
|
+
ListVersionsResponse.add_member(:grafana_versions, Shapes::ShapeRef.new(shape: GrafanaVersionList, location_name: "grafanaVersions"))
|
298
|
+
ListVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
299
|
+
ListVersionsResponse.struct_class = Types::ListVersionsResponse
|
300
|
+
|
285
301
|
ListWorkspacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkspacesRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
286
302
|
ListWorkspacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
287
303
|
ListWorkspacesRequest.struct_class = Types::ListWorkspacesRequest
|
@@ -392,6 +408,7 @@ module Aws::ManagedGrafana
|
|
392
408
|
UpdateWorkspaceAuthenticationResponse.struct_class = Types::UpdateWorkspaceAuthenticationResponse
|
393
409
|
|
394
410
|
UpdateWorkspaceConfigurationRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: OverridableConfigurationJson, required: true, location_name: "configuration", metadata: {"jsonvalue"=>true}))
|
411
|
+
UpdateWorkspaceConfigurationRequest.add_member(:grafana_version, Shapes::ShapeRef.new(shape: GrafanaVersion, location_name: "grafanaVersion"))
|
395
412
|
UpdateWorkspaceConfigurationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
396
413
|
UpdateWorkspaceConfigurationRequest.struct_class = Types::UpdateWorkspaceConfigurationRequest
|
397
414
|
|
@@ -652,6 +669,25 @@ module Aws::ManagedGrafana
|
|
652
669
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
653
670
|
end)
|
654
671
|
|
672
|
+
api.add_operation(:list_versions, Seahorse::Model::Operation.new.tap do |o|
|
673
|
+
o.name = "ListVersions"
|
674
|
+
o.http_method = "GET"
|
675
|
+
o.http_request_uri = "/versions"
|
676
|
+
o.input = Shapes::ShapeRef.new(shape: ListVersionsRequest)
|
677
|
+
o.output = Shapes::ShapeRef.new(shape: ListVersionsResponse)
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
682
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
683
|
+
o[:pager] = Aws::Pager.new(
|
684
|
+
limit_key: "max_results",
|
685
|
+
tokens: {
|
686
|
+
"next_token" => "next_token"
|
687
|
+
}
|
688
|
+
)
|
689
|
+
end)
|
690
|
+
|
655
691
|
api.add_operation(:list_workspaces, Seahorse::Model::Operation.new.tap do |o|
|
656
692
|
o.name = "ListWorkspaces"
|
657
693
|
o.http_method = "GET"
|
@@ -166,6 +166,20 @@ module Aws::ManagedGrafana
|
|
166
166
|
end
|
167
167
|
end
|
168
168
|
|
169
|
+
class ListVersions
|
170
|
+
def self.build(context)
|
171
|
+
unless context.config.regional_endpoint
|
172
|
+
endpoint = context.config.endpoint.to_s
|
173
|
+
end
|
174
|
+
Aws::ManagedGrafana::EndpointParameters.new(
|
175
|
+
region: context.config.region,
|
176
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
177
|
+
use_fips: context.config.use_fips_endpoint,
|
178
|
+
endpoint: endpoint,
|
179
|
+
)
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
169
183
|
class ListWorkspaces
|
170
184
|
def self.build(context)
|
171
185
|
unless context.config.regional_endpoint
|
@@ -78,6 +78,8 @@ module Aws::ManagedGrafana
|
|
78
78
|
Aws::ManagedGrafana::Endpoints::ListPermissions.build(context)
|
79
79
|
when :list_tags_for_resource
|
80
80
|
Aws::ManagedGrafana::Endpoints::ListTagsForResource.build(context)
|
81
|
+
when :list_versions
|
82
|
+
Aws::ManagedGrafana::Endpoints::ListVersions.build(context)
|
81
83
|
when :list_workspaces
|
82
84
|
Aws::ManagedGrafana::Endpoints::ListWorkspaces.build(context)
|
83
85
|
when :tag_resource
|
@@ -288,7 +288,8 @@ module Aws::ManagedGrafana
|
|
288
288
|
# @!attribute [rw] grafana_version
|
289
289
|
# Specifies the version of Grafana to support in the new workspace.
|
290
290
|
#
|
291
|
-
#
|
291
|
+
# To get a list of supported version, use the `ListVersions`
|
292
|
+
# operation.
|
292
293
|
# @return [String]
|
293
294
|
#
|
294
295
|
# @!attribute [rw] network_access_control
|
@@ -349,6 +350,11 @@ module Aws::ManagedGrafana
|
|
349
350
|
# @!attribute [rw] vpc_configuration
|
350
351
|
# The configuration settings for an Amazon VPC that contains data
|
351
352
|
# sources for your Grafana workspace to connect to.
|
353
|
+
#
|
354
|
+
# <note markdown="1"> Connecting to a private VPC is not yet available in the Asia Pacific
|
355
|
+
# (Seoul) Region (ap-northeast-2).
|
356
|
+
#
|
357
|
+
# </note>
|
352
358
|
# @return [Types::VpcConfiguration]
|
353
359
|
#
|
354
360
|
# @!attribute [rw] workspace_data_sources
|
@@ -529,10 +535,15 @@ module Aws::ManagedGrafana
|
|
529
535
|
# [1]: https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html
|
530
536
|
# @return [String]
|
531
537
|
#
|
538
|
+
# @!attribute [rw] grafana_version
|
539
|
+
# The supported Grafana version for the workspace.
|
540
|
+
# @return [String]
|
541
|
+
#
|
532
542
|
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DescribeWorkspaceConfigurationResponse AWS API Documentation
|
533
543
|
#
|
534
544
|
class DescribeWorkspaceConfigurationResponse < Struct.new(
|
535
|
-
:configuration
|
545
|
+
:configuration,
|
546
|
+
:grafana_version)
|
536
547
|
SENSITIVE = []
|
537
548
|
include Aws::Structure
|
538
549
|
end
|
@@ -727,6 +738,51 @@ module Aws::ManagedGrafana
|
|
727
738
|
include Aws::Structure
|
728
739
|
end
|
729
740
|
|
741
|
+
# @!attribute [rw] max_results
|
742
|
+
# The maximum number of results to include in the response.
|
743
|
+
# @return [Integer]
|
744
|
+
#
|
745
|
+
# @!attribute [rw] next_token
|
746
|
+
# The token to use when requesting the next set of results. You
|
747
|
+
# receive this token from a previous `ListVersions` operation.
|
748
|
+
# @return [String]
|
749
|
+
#
|
750
|
+
# @!attribute [rw] workspace_id
|
751
|
+
# The ID of the workspace to list the available upgrade versions. If
|
752
|
+
# not included, lists all versions of Grafana that are supported for
|
753
|
+
# `CreateWorkspace`.
|
754
|
+
# @return [String]
|
755
|
+
#
|
756
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListVersionsRequest AWS API Documentation
|
757
|
+
#
|
758
|
+
class ListVersionsRequest < Struct.new(
|
759
|
+
:max_results,
|
760
|
+
:next_token,
|
761
|
+
:workspace_id)
|
762
|
+
SENSITIVE = []
|
763
|
+
include Aws::Structure
|
764
|
+
end
|
765
|
+
|
766
|
+
# @!attribute [rw] grafana_versions
|
767
|
+
# The Grafana versions available to create. If a workspace ID is
|
768
|
+
# included in the request, the Grafana versions to which this
|
769
|
+
# workspace can be upgraded.
|
770
|
+
# @return [Array<String>]
|
771
|
+
#
|
772
|
+
# @!attribute [rw] next_token
|
773
|
+
# The token to use in a subsequent `ListVersions` operation to return
|
774
|
+
# the next set of results.
|
775
|
+
# @return [String]
|
776
|
+
#
|
777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListVersionsResponse AWS API Documentation
|
778
|
+
#
|
779
|
+
class ListVersionsResponse < Struct.new(
|
780
|
+
:grafana_versions,
|
781
|
+
:next_token)
|
782
|
+
SENSITIVE = []
|
783
|
+
include Aws::Structure
|
784
|
+
end
|
785
|
+
|
730
786
|
# @!attribute [rw] max_results
|
731
787
|
# The maximum number of workspaces to include in the results.
|
732
788
|
# @return [Integer]
|
@@ -768,18 +824,31 @@ module Aws::ManagedGrafana
|
|
768
824
|
#
|
769
825
|
# When this is configured, only listed IP addresses and VPC endpoints
|
770
826
|
# will be able to access your workspace. Standard Grafana authentication
|
771
|
-
# and authorization
|
827
|
+
# and authorization are still required.
|
828
|
+
#
|
829
|
+
# Access is granted to a caller that is in either the IP address list or
|
830
|
+
# the VPC endpoint list - they do not need to be in both.
|
772
831
|
#
|
773
832
|
# If this is not configured, or is removed, then all IP addresses and
|
774
|
-
# VPC endpoints
|
775
|
-
# authorization
|
833
|
+
# VPC endpoints are allowed. Standard Grafana authentication and
|
834
|
+
# authorization are still required.
|
835
|
+
#
|
836
|
+
# <note markdown="1"> While both `prefixListIds` and `vpceIds` are required, you can pass in
|
837
|
+
# an empty array of strings for either parameter if you do not want to
|
838
|
+
# allow any of that type.
|
839
|
+
#
|
840
|
+
# If both are passed as empty arrays, no traffic is allowed to the
|
841
|
+
# workspace, because only *explicitly* allowed connections are accepted.
|
842
|
+
#
|
843
|
+
# </note>
|
776
844
|
#
|
777
845
|
# @!attribute [rw] prefix_list_ids
|
778
846
|
# An array of prefix list IDs. A prefix list is a list of CIDR ranges
|
779
847
|
# of IP addresses. The IP addresses specified are allowed to access
|
780
848
|
# your workspace. If the list is not included in the configuration
|
781
|
-
# then no IP addresses
|
782
|
-
# create a prefix list using the Amazon VPC
|
849
|
+
# (passed an empty array) then no IP addresses are allowed to access
|
850
|
+
# the workspace. You create a prefix list using the Amazon VPC
|
851
|
+
# console.
|
783
852
|
#
|
784
853
|
# Prefix list IDs have the format `pl-1a2b3c4d `.
|
785
854
|
#
|
@@ -796,8 +865,9 @@ module Aws::ManagedGrafana
|
|
796
865
|
# An array of Amazon VPC endpoint IDs for the workspace. You can
|
797
866
|
# create VPC endpoints to your Amazon Managed Grafana workspace for
|
798
867
|
# access from within a VPC. If a `NetworkAccessConfiguration` is
|
799
|
-
# specified then only VPC endpoints specified here
|
800
|
-
# access the workspace.
|
868
|
+
# specified then only VPC endpoints specified here are allowed to
|
869
|
+
# access the workspace. If you pass in an empty array of strings, then
|
870
|
+
# no VPCs are allowed to access the workspace.
|
801
871
|
#
|
802
872
|
# VPC endpoint IDs have the format `vpce-1a2b3c4d `.
|
803
873
|
#
|
@@ -808,7 +878,7 @@ module Aws::ManagedGrafana
|
|
808
878
|
# <note markdown="1"> The only VPC endpoints that can be specified here are interface VPC
|
809
879
|
# endpoints for Grafana workspaces (using the
|
810
880
|
# `com.amazonaws.[region].grafana-workspace` service endpoint). Other
|
811
|
-
# VPC endpoints
|
881
|
+
# VPC endpoints are ignored.
|
812
882
|
#
|
813
883
|
# </note>
|
814
884
|
#
|
@@ -1212,6 +1282,16 @@ module Aws::ManagedGrafana
|
|
1212
1282
|
# [1]: https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html
|
1213
1283
|
# @return [String]
|
1214
1284
|
#
|
1285
|
+
# @!attribute [rw] grafana_version
|
1286
|
+
# Specifies the version of Grafana to support in the new workspace.
|
1287
|
+
#
|
1288
|
+
# Can only be used to upgrade (for example, from 8.4 to 9.4), not
|
1289
|
+
# downgrade (for example, from 9.4 to 8.4).
|
1290
|
+
#
|
1291
|
+
# To know what versions are available to upgrade to for a specific
|
1292
|
+
# workspace, see the `ListVersions` operation.
|
1293
|
+
# @return [String]
|
1294
|
+
#
|
1215
1295
|
# @!attribute [rw] workspace_id
|
1216
1296
|
# The ID of the workspace to update.
|
1217
1297
|
# @return [String]
|
@@ -1220,6 +1300,7 @@ module Aws::ManagedGrafana
|
|
1220
1300
|
#
|
1221
1301
|
class UpdateWorkspaceConfigurationRequest < Struct.new(
|
1222
1302
|
:configuration,
|
1303
|
+
:grafana_version,
|
1223
1304
|
:workspace_id)
|
1224
1305
|
SENSITIVE = []
|
1225
1306
|
include Aws::Structure
|
@@ -1463,6 +1544,9 @@ module Aws::ManagedGrafana
|
|
1463
1544
|
# <note markdown="1"> Provided `securityGroupIds` and `subnetIds` must be part of the same
|
1464
1545
|
# VPC.
|
1465
1546
|
#
|
1547
|
+
# Connecting to a private VPC is not yet available in the Asia Pacific
|
1548
|
+
# (Seoul) Region (ap-northeast-2).
|
1549
|
+
#
|
1466
1550
|
# </note>
|
1467
1551
|
#
|
1468
1552
|
# @!attribute [rw] security_group_ids
|
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.20.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: 2023-07-
|
11
|
+
date: 2023-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|