aws-sdk-managedgrafana 1.18.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad3f79befa96b35affc559097fae2ea1ef9c5bf282e88c6fc72525c16534d665
4
- data.tar.gz: 29c3dbfa661bec2ae0c1770f8b46c96f9d840be3f22fc70bd3a99e07698d82c4
3
+ metadata.gz: 15235a52d01b3ec5c3d58908c4b024fb26d51e7472eecfccb3f1fef745570901
4
+ data.tar.gz: d5270ce74a1ad5451b5ea0a91447818f53fab0fb22db8ba9cf5018e3caa085bc
5
5
  SHA512:
6
- metadata.gz: 4db15129e418a0117960c9d9026fdb920d87449f719d3717e51146fc42ca2006194a56fe61609bcb38156fb655bba97b80696716ef5e3a0e0c525f723292acaa
7
- data.tar.gz: ac69d8932e6c3e88aeedeee8eac88fc09a2321536f79dc8e49db3ef7a6df64eada2b11f68f9da8a2c2db1484969d9a4e11fdfebbd0c9c686b2f14089d7a9a137
6
+ metadata.gz: 75543d14829e408a21e2dcbebb3756f62a0d384439a5e8901ba31cd1a52ad2f74e491db287f05772d4446eb040c6cb43521cd50e797710b46930505ad32ddb47
7
+ data.tar.gz: 2c8acc8c9b64e408f5e71744b60f2736557f4a42fcdb7bdcb01bc4d547ad4aa553596c67194a767d8622d77f99a8df13a4d8ca858fb962e0eb0c9e7ac24037cc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.19.0 (2023-07-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.18.0 (2023-07-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.20.0
@@ -216,6 +216,10 @@ module Aws::ManagedGrafana
216
216
  # @option options [Boolean] :endpoint_discovery (false)
217
217
  # When set to `true`, endpoint discovery will be enabled for operations when available.
218
218
  #
219
+ # @option options [Boolean] :ignore_configured_endpoint_urls
220
+ # Setting to true disables use of endpoint URLs provided via environment
221
+ # variables and the shared configuration file.
222
+ #
219
223
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
220
224
  # The log formatter.
221
225
  #
@@ -439,7 +443,7 @@ module Aws::ManagedGrafana
439
443
  # resp.workspace.organizational_units[0] #=> String
440
444
  # resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
441
445
  # resp.workspace.stack_set_name #=> String
442
- # 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"
443
447
  # resp.workspace.tags #=> Hash
444
448
  # resp.workspace.tags["TagKey"] #=> String
445
449
  # resp.workspace.vpc_configuration.security_group_ids #=> Array
@@ -510,7 +514,7 @@ module Aws::ManagedGrafana
510
514
  # @option params [String] :grafana_version
511
515
  # Specifies the version of Grafana to support in the new workspace.
512
516
  #
513
- # Supported values are `8.4` and `9.4`.
517
+ # To get a list of supported version, use the `ListVersions` operation.
514
518
  #
515
519
  # @option params [Types::NetworkAccessConfiguration] :network_access_control
516
520
  # Configuration for network access to your workspace.
@@ -566,6 +570,11 @@ module Aws::ManagedGrafana
566
570
  # The configuration settings for an Amazon VPC that contains data
567
571
  # sources for your Grafana workspace to connect to.
568
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
+ #
569
578
  # @option params [Array<String>] :workspace_data_sources
570
579
  # This parameter is for internal use only, and should not be used.
571
580
  #
@@ -660,7 +669,7 @@ module Aws::ManagedGrafana
660
669
  # resp.workspace.organizational_units[0] #=> String
661
670
  # resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
662
671
  # resp.workspace.stack_set_name #=> String
663
- # 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"
664
673
  # resp.workspace.tags #=> Hash
665
674
  # resp.workspace.tags["TagKey"] #=> String
666
675
  # resp.workspace.vpc_configuration.security_group_ids #=> Array
@@ -778,7 +787,7 @@ module Aws::ManagedGrafana
778
787
  # resp.workspace.organizational_units[0] #=> String
779
788
  # resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
780
789
  # resp.workspace.stack_set_name #=> String
781
- # 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"
782
791
  # resp.workspace.tags #=> Hash
783
792
  # resp.workspace.tags["TagKey"] #=> String
784
793
  # resp.workspace.vpc_configuration.security_group_ids #=> Array
@@ -875,7 +884,7 @@ module Aws::ManagedGrafana
875
884
  # resp.workspace.organizational_units[0] #=> String
876
885
  # resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
877
886
  # resp.workspace.stack_set_name #=> String
878
- # 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"
879
888
  # resp.workspace.tags #=> Hash
880
889
  # resp.workspace.tags["TagKey"] #=> String
881
890
  # resp.workspace.vpc_configuration.security_group_ids #=> Array
@@ -948,6 +957,7 @@ module Aws::ManagedGrafana
948
957
  # @return [Types::DescribeWorkspaceConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
949
958
  #
950
959
  # * {Types::DescribeWorkspaceConfigurationResponse#configuration #configuration} => String
960
+ # * {Types::DescribeWorkspaceConfigurationResponse#grafana_version #grafana_version} => String
951
961
  #
952
962
  # @example Request syntax with placeholder values
953
963
  #
@@ -958,6 +968,7 @@ module Aws::ManagedGrafana
958
968
  # @example Response structure
959
969
  #
960
970
  # resp.configuration #=> String
971
+ # resp.grafana_version #=> String
961
972
  #
962
973
  # @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DescribeWorkspaceConfiguration AWS API Documentation
963
974
  #
@@ -1017,7 +1028,7 @@ module Aws::ManagedGrafana
1017
1028
  # resp.workspace.organizational_units[0] #=> String
1018
1029
  # resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
1019
1030
  # resp.workspace.stack_set_name #=> String
1020
- # 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"
1021
1032
  # resp.workspace.tags #=> Hash
1022
1033
  # resp.workspace.tags["TagKey"] #=> String
1023
1034
  # resp.workspace.vpc_configuration.security_group_ids #=> Array
@@ -1131,6 +1142,52 @@ module Aws::ManagedGrafana
1131
1142
  req.send_request(options)
1132
1143
  end
1133
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&lt;String&gt;
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
+
1134
1191
  # Returns a list of Amazon Managed Grafana workspaces in the account,
1135
1192
  # with some information about each workspace. For more complete
1136
1193
  # information about one workspace, use [DescribeWorkspace][1].
@@ -1176,7 +1233,7 @@ module Aws::ManagedGrafana
1176
1233
  # resp.workspaces[0].name #=> String
1177
1234
  # resp.workspaces[0].notification_destinations #=> Array
1178
1235
  # resp.workspaces[0].notification_destinations[0] #=> String, one of "SNS"
1179
- # 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"
1180
1237
  # resp.workspaces[0].tags #=> Hash
1181
1238
  # resp.workspaces[0].tags["TagKey"] #=> String
1182
1239
  #
@@ -1491,7 +1548,7 @@ module Aws::ManagedGrafana
1491
1548
  # resp.workspace.organizational_units[0] #=> String
1492
1549
  # resp.workspace.permission_type #=> String, one of "CUSTOMER_MANAGED", "SERVICE_MANAGED"
1493
1550
  # resp.workspace.stack_set_name #=> String
1494
- # 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"
1495
1552
  # resp.workspace.tags #=> Hash
1496
1553
  # resp.workspace.tags["TagKey"] #=> String
1497
1554
  # resp.workspace.vpc_configuration.security_group_ids #=> Array
@@ -1616,6 +1673,15 @@ module Aws::ManagedGrafana
1616
1673
  #
1617
1674
  # [1]: https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html
1618
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
+ #
1619
1685
  # @option params [required, String] :workspace_id
1620
1686
  # The ID of the workspace to update.
1621
1687
  #
@@ -1625,6 +1691,7 @@ module Aws::ManagedGrafana
1625
1691
  #
1626
1692
  # resp = client.update_workspace_configuration({
1627
1693
  # configuration: "OverridableConfigurationJson", # required
1694
+ # grafana_version: "GrafanaVersion",
1628
1695
  # workspace_id: "WorkspaceId", # required
1629
1696
  # })
1630
1697
  #
@@ -1650,7 +1717,7 @@ module Aws::ManagedGrafana
1650
1717
  params: params,
1651
1718
  config: config)
1652
1719
  context[:gem_name] = 'aws-sdk-managedgrafana'
1653
- context[:gem_version] = '1.18.0'
1720
+ context[:gem_version] = '1.20.0'
1654
1721
  Seahorse::Client::Request.new(handlers, context)
1655
1722
  end
1656
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
- # Supported values are `8.4` and `9.4`.
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 will still be required.
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 will be allowed. Standard Grafana authentication and
775
- # authorization will still be required.
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 will be allowed to access the workspace. You
782
- # create a prefix list using the Amazon VPC console.
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 will be allowed to
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 will be ignored.
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-managedgrafana/customizations'
52
52
  # @!group service
53
53
  module Aws::ManagedGrafana
54
54
 
55
- GEM_VERSION = '1.18.0'
55
+ GEM_VERSION = '1.20.0'
56
56
 
57
57
  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.18.0
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-06 00:00:00.000000000 Z
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