aws-sdk-managedgrafana 1.25.0 → 1.27.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: 241765c9eaa9b9fe9b2da3ad8d89daffb4148ab4892af7846dc2056f316b0405
4
- data.tar.gz: fe5ef562793a45d322b579fb7e8280793e679c7c889141bf742b1750ea5fca4f
3
+ metadata.gz: b2605f0435fe437f3450d3752c70df9c3e4568b3f419df6cc23a7c066c68d40b
4
+ data.tar.gz: b4804c86fa055450b4124a4011dd39e9c6c92852244a1d3b9a272a18217f5cf3
5
5
  SHA512:
6
- metadata.gz: 0d6ca422fb39932c0bb075312cb8839bd9af1b9782d164e5e5f181254e0ca176d4f91dbaaf1efec16b614a25650c2439c0fefa84789c4ed14e348fff534040c1
7
- data.tar.gz: 5d3a4cea9124a8a7e09464559b950e11370bfe6094173417828df3eee1336a6bd91abffbc9f2dab460a7c1463a7e7a68118884e4539afa882a50c790353149b7
6
+ metadata.gz: 1150510a851388ea35d1f7f9fdc74408a89e7b9db6ab9ddd5395593ec45bb7a8c1a01fc681e0bfddf5eeebd2021ad4aecaf61f608acad6bc2ded1df7eaac372a
7
+ data.tar.gz: 67e2a0fe98ce92ce74c2a3b4056243f81e67254c21397a5eaf6ee02dedde9c82fbf76c93315f05a703847ee90aaa5b346b677040890e07a23564f6ccfb29d808
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.27.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.26.0 (2024-03-07)
10
+ ------------------
11
+
12
+ * Feature - Adds support for the new GrafanaToken as part of the Amazon Managed Grafana Enterprise plugins upgrade to associate your AWS account with a Grafana Labs account.
13
+
4
14
  1.25.0 (2024-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.27.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::ManagedGrafana
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::ManagedGrafana
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::ManagedGrafana
337
346
  # @option options [Aws::ManagedGrafana::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ManagedGrafana::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
365
399
  #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
368
402
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
372
405
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
378
- #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -396,9 +420,23 @@ module Aws::ManagedGrafana
396
420
  #
397
421
  # [1]: https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html
398
422
  #
423
+ # @option params [String] :grafana_token
424
+ # A token from Grafana Labs that ties your Amazon Web Services account
425
+ # with a Grafana Labs account. For more information, see [Register with
426
+ # Grafana Labs][1].
427
+ #
428
+ #
429
+ #
430
+ # [1]: https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html#AMG-workspace-register-enterprise
431
+ #
399
432
  # @option params [required, String] :license_type
400
433
  # The type of license to associate with the workspace.
401
434
  #
435
+ # <note markdown="1"> Amazon Managed Grafana workspaces no longer support Grafana Enterprise
436
+ # free trials.
437
+ #
438
+ # </note>
439
+ #
402
440
  # @option params [required, String] :workspace_id
403
441
  # The ID of the workspace to associate the license with.
404
442
  #
@@ -409,6 +447,7 @@ module Aws::ManagedGrafana
409
447
  # @example Request syntax with placeholder values
410
448
  #
411
449
  # resp = client.associate_license({
450
+ # grafana_token: "GrafanaToken",
412
451
  # license_type: "ENTERPRISE", # required, accepts ENTERPRISE, ENTERPRISE_FREE_TRIAL
413
452
  # workspace_id: "WorkspaceId", # required
414
453
  # })
@@ -426,6 +465,7 @@ module Aws::ManagedGrafana
426
465
  # resp.workspace.endpoint #=> String
427
466
  # resp.workspace.free_trial_consumed #=> Boolean
428
467
  # resp.workspace.free_trial_expiration #=> Time
468
+ # resp.workspace.grafana_token #=> String
429
469
  # resp.workspace.grafana_version #=> String
430
470
  # resp.workspace.id #=> String
431
471
  # resp.workspace.license_expiration #=> Time
@@ -482,10 +522,10 @@ module Aws::ManagedGrafana
482
522
  # `workspaceOrganizationalUnits` parameter.
483
523
  #
484
524
  # @option params [required, Array<String>] :authentication_providers
485
- # Specifies whether this workspace uses SAML 2.0, IAM Identity Center
486
- # (successor to Single Sign-On), or both to authenticate users for using
487
- # the Grafana console within a workspace. For more information, see
488
- # [User authentication in Amazon Managed Grafana][1].
525
+ # Specifies whether this workspace uses SAML 2.0, IAM Identity Center,
526
+ # or both to authenticate users for using the Grafana console within a
527
+ # workspace. For more information, see [User authentication in Amazon
528
+ # Managed Grafana][1].
489
529
  #
490
530
  #
491
531
  #
@@ -512,9 +552,10 @@ module Aws::ManagedGrafana
512
552
  # [1]: https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html
513
553
  #
514
554
  # @option params [String] :grafana_version
515
- # Specifies the version of Grafana to support in the new workspace.
555
+ # Specifies the version of Grafana to support in the new workspace. If
556
+ # not specified, defaults to the latest version (for example, 9.4).
516
557
  #
517
- # To get a list of supported version, use the `ListVersions` operation.
558
+ # To get a list of supported versions, use the `ListVersions` operation.
518
559
  #
519
560
  # @option params [Types::NetworkAccessConfiguration] :network_access_control
520
561
  # Configuration for network access to your workspace.
@@ -652,6 +693,7 @@ module Aws::ManagedGrafana
652
693
  # resp.workspace.endpoint #=> String
653
694
  # resp.workspace.free_trial_consumed #=> Boolean
654
695
  # resp.workspace.free_trial_expiration #=> Time
696
+ # resp.workspace.grafana_token #=> String
655
697
  # resp.workspace.grafana_version #=> String
656
698
  # resp.workspace.id #=> String
657
699
  # resp.workspace.license_expiration #=> Time
@@ -770,6 +812,7 @@ module Aws::ManagedGrafana
770
812
  # resp.workspace.endpoint #=> String
771
813
  # resp.workspace.free_trial_consumed #=> Boolean
772
814
  # resp.workspace.free_trial_expiration #=> Time
815
+ # resp.workspace.grafana_token #=> String
773
816
  # resp.workspace.grafana_version #=> String
774
817
  # resp.workspace.id #=> String
775
818
  # resp.workspace.license_expiration #=> Time
@@ -867,6 +910,7 @@ module Aws::ManagedGrafana
867
910
  # resp.workspace.endpoint #=> String
868
911
  # resp.workspace.free_trial_consumed #=> Boolean
869
912
  # resp.workspace.free_trial_expiration #=> Time
913
+ # resp.workspace.grafana_token #=> String
870
914
  # resp.workspace.grafana_version #=> String
871
915
  # resp.workspace.id #=> String
872
916
  # resp.workspace.license_expiration #=> Time
@@ -1011,6 +1055,7 @@ module Aws::ManagedGrafana
1011
1055
  # resp.workspace.endpoint #=> String
1012
1056
  # resp.workspace.free_trial_consumed #=> Boolean
1013
1057
  # resp.workspace.free_trial_expiration #=> Time
1058
+ # resp.workspace.grafana_token #=> String
1014
1059
  # resp.workspace.grafana_version #=> String
1015
1060
  # resp.workspace.id #=> String
1016
1061
  # resp.workspace.license_expiration #=> Time
@@ -1227,8 +1272,10 @@ module Aws::ManagedGrafana
1227
1272
  # resp.workspaces[0].created #=> Time
1228
1273
  # resp.workspaces[0].description #=> String
1229
1274
  # resp.workspaces[0].endpoint #=> String
1275
+ # resp.workspaces[0].grafana_token #=> String
1230
1276
  # resp.workspaces[0].grafana_version #=> String
1231
1277
  # resp.workspaces[0].id #=> String
1278
+ # resp.workspaces[0].license_type #=> String, one of "ENTERPRISE", "ENTERPRISE_FREE_TRIAL"
1232
1279
  # resp.workspaces[0].modified #=> Time
1233
1280
  # resp.workspaces[0].name #=> String
1234
1281
  # resp.workspaces[0].notification_destinations #=> Array
@@ -1531,6 +1578,7 @@ module Aws::ManagedGrafana
1531
1578
  # resp.workspace.endpoint #=> String
1532
1579
  # resp.workspace.free_trial_consumed #=> Boolean
1533
1580
  # resp.workspace.free_trial_expiration #=> Time
1581
+ # resp.workspace.grafana_token #=> String
1534
1582
  # resp.workspace.grafana_version #=> String
1535
1583
  # resp.workspace.id #=> String
1536
1584
  # resp.workspace.license_expiration #=> Time
@@ -1578,10 +1626,10 @@ module Aws::ManagedGrafana
1578
1626
  # </note>
1579
1627
  #
1580
1628
  # @option params [required, Array<String>] :authentication_providers
1581
- # Specifies whether this workspace uses SAML 2.0, IAM Identity Center
1582
- # (successor to Single Sign-On), or both to authenticate users for using
1583
- # the Grafana console within a workspace. For more information, see
1584
- # [User authentication in Amazon Managed Grafana][1].
1629
+ # Specifies whether this workspace uses SAML 2.0, IAM Identity Center,
1630
+ # or both to authenticate users for using the Grafana console within a
1631
+ # workspace. For more information, see [User authentication in Amazon
1632
+ # Managed Grafana][1].
1585
1633
  #
1586
1634
  #
1587
1635
  #
@@ -1674,13 +1722,18 @@ module Aws::ManagedGrafana
1674
1722
  # [1]: https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html
1675
1723
  #
1676
1724
  # @option params [String] :grafana_version
1677
- # Specifies the version of Grafana to support in the new workspace.
1725
+ # Specifies the version of Grafana to support in the workspace. If not
1726
+ # specified, keeps the current version of the workspace.
1678
1727
  #
1679
1728
  # Can only be used to upgrade (for example, from 8.4 to 9.4), not
1680
1729
  # downgrade (for example, from 9.4 to 8.4).
1681
1730
  #
1682
1731
  # To know what versions are available to upgrade to for a specific
1683
- # workspace, see the `ListVersions` operation.
1732
+ # workspace, see the [ListVersions][1] operation.
1733
+ #
1734
+ #
1735
+ #
1736
+ # [1]: https://docs.aws.amazon.com/grafana/latest/APIReference/API_ListVersions.html
1684
1737
  #
1685
1738
  # @option params [required, String] :workspace_id
1686
1739
  # The ID of the workspace to update.
@@ -1717,7 +1770,7 @@ module Aws::ManagedGrafana
1717
1770
  params: params,
1718
1771
  config: config)
1719
1772
  context[:gem_name] = 'aws-sdk-managedgrafana'
1720
- context[:gem_version] = '1.25.0'
1773
+ context[:gem_version] = '1.27.0'
1721
1774
  Seahorse::Client::Request.new(handlers, context)
1722
1775
  end
1723
1776
 
@@ -52,6 +52,7 @@ module Aws::ManagedGrafana
52
52
  DisassociateLicenseRequest = Shapes::StructureShape.new(name: 'DisassociateLicenseRequest')
53
53
  DisassociateLicenseResponse = Shapes::StructureShape.new(name: 'DisassociateLicenseResponse')
54
54
  Endpoint = Shapes::StringShape.new(name: 'Endpoint')
55
+ GrafanaToken = Shapes::StringShape.new(name: 'GrafanaToken')
55
56
  GrafanaVersion = Shapes::StringShape.new(name: 'GrafanaVersion')
56
57
  GrafanaVersionList = Shapes::ListShape.new(name: 'GrafanaVersionList')
57
58
  IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
@@ -156,6 +157,7 @@ module Aws::ManagedGrafana
156
157
  AssertionAttributes.add_member(:role, Shapes::ShapeRef.new(shape: AssertionAttribute, location_name: "role"))
157
158
  AssertionAttributes.struct_class = Types::AssertionAttributes
158
159
 
160
+ AssociateLicenseRequest.add_member(:grafana_token, Shapes::ShapeRef.new(shape: GrafanaToken, location: "header", location_name: "Grafana-Token"))
159
161
  AssociateLicenseRequest.add_member(:license_type, Shapes::ShapeRef.new(shape: LicenseType, required: true, location: "uri", location_name: "licenseType"))
160
162
  AssociateLicenseRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
161
163
  AssociateLicenseRequest.struct_class = Types::AssociateLicenseRequest
@@ -465,6 +467,7 @@ module Aws::ManagedGrafana
465
467
  WorkspaceDescription.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, required: true, location_name: "endpoint"))
466
468
  WorkspaceDescription.add_member(:free_trial_consumed, Shapes::ShapeRef.new(shape: Boolean, location_name: "freeTrialConsumed"))
467
469
  WorkspaceDescription.add_member(:free_trial_expiration, Shapes::ShapeRef.new(shape: Timestamp, location_name: "freeTrialExpiration"))
470
+ WorkspaceDescription.add_member(:grafana_token, Shapes::ShapeRef.new(shape: GrafanaToken, location_name: "grafanaToken"))
468
471
  WorkspaceDescription.add_member(:grafana_version, Shapes::ShapeRef.new(shape: GrafanaVersion, required: true, location_name: "grafanaVersion"))
469
472
  WorkspaceDescription.add_member(:id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "id"))
470
473
  WorkspaceDescription.add_member(:license_expiration, Shapes::ShapeRef.new(shape: Timestamp, location_name: "licenseExpiration"))
@@ -489,8 +492,10 @@ module Aws::ManagedGrafana
489
492
  WorkspaceSummary.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "created"))
490
493
  WorkspaceSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
491
494
  WorkspaceSummary.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, required: true, location_name: "endpoint"))
495
+ WorkspaceSummary.add_member(:grafana_token, Shapes::ShapeRef.new(shape: GrafanaToken, location_name: "grafanaToken"))
492
496
  WorkspaceSummary.add_member(:grafana_version, Shapes::ShapeRef.new(shape: GrafanaVersion, required: true, location_name: "grafanaVersion"))
493
497
  WorkspaceSummary.add_member(:id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "id"))
498
+ WorkspaceSummary.add_member(:license_type, Shapes::ShapeRef.new(shape: LicenseType, location_name: "licenseType"))
494
499
  WorkspaceSummary.add_member(:modified, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modified"))
495
500
  WorkspaceSummary.add_member(:name, Shapes::ShapeRef.new(shape: WorkspaceName, location_name: "name"))
496
501
  WorkspaceSummary.add_member(:notification_destinations, Shapes::ShapeRef.new(shape: NotificationDestinationsList, location_name: "notificationDestinations"))
@@ -32,7 +32,7 @@ module Aws::ManagedGrafana
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://grafana-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -70,8 +70,23 @@ module Aws::ManagedGrafana
70
70
  include Aws::Structure
71
71
  end
72
72
 
73
+ # @!attribute [rw] grafana_token
74
+ # A token from Grafana Labs that ties your Amazon Web Services account
75
+ # with a Grafana Labs account. For more information, see [Register
76
+ # with Grafana Labs][1].
77
+ #
78
+ #
79
+ #
80
+ # [1]: https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html#AMG-workspace-register-enterprise
81
+ # @return [String]
82
+ #
73
83
  # @!attribute [rw] license_type
74
84
  # The type of license to associate with the workspace.
85
+ #
86
+ # <note markdown="1"> Amazon Managed Grafana workspaces no longer support Grafana
87
+ # Enterprise free trials.
88
+ #
89
+ # </note>
75
90
  # @return [String]
76
91
  #
77
92
  # @!attribute [rw] workspace_id
@@ -81,6 +96,7 @@ module Aws::ManagedGrafana
81
96
  # @see http://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/AssociateLicenseRequest AWS API Documentation
82
97
  #
83
98
  class AssociateLicenseRequest < Struct.new(
99
+ :grafana_token,
84
100
  :license_type,
85
101
  :workspace_id)
86
102
  SENSITIVE = []
@@ -257,10 +273,10 @@ module Aws::ManagedGrafana
257
273
  # @return [String]
258
274
  #
259
275
  # @!attribute [rw] authentication_providers
260
- # Specifies whether this workspace uses SAML 2.0, IAM Identity Center
261
- # (successor to Single Sign-On), or both to authenticate users for
262
- # using the Grafana console within a workspace. For more information,
263
- # see [User authentication in Amazon Managed Grafana][1].
276
+ # Specifies whether this workspace uses SAML 2.0, IAM Identity Center,
277
+ # or both to authenticate users for using the Grafana console within a
278
+ # workspace. For more information, see [User authentication in Amazon
279
+ # Managed Grafana][1].
264
280
  #
265
281
  #
266
282
  #
@@ -286,9 +302,10 @@ module Aws::ManagedGrafana
286
302
  # @return [String]
287
303
  #
288
304
  # @!attribute [rw] grafana_version
289
- # Specifies the version of Grafana to support in the new workspace.
305
+ # Specifies the version of Grafana to support in the new workspace. If
306
+ # not specified, defaults to the latest version (for example, 9.4).
290
307
  #
291
- # To get a list of supported version, use the `ListVersions`
308
+ # To get a list of supported versions, use the `ListVersions`
292
309
  # operation.
293
310
  # @return [String]
294
311
  #
@@ -1228,10 +1245,10 @@ module Aws::ManagedGrafana
1228
1245
  end
1229
1246
 
1230
1247
  # @!attribute [rw] authentication_providers
1231
- # Specifies whether this workspace uses SAML 2.0, IAM Identity Center
1232
- # (successor to Single Sign-On), or both to authenticate users for
1233
- # using the Grafana console within a workspace. For more information,
1234
- # see [User authentication in Amazon Managed Grafana][1].
1248
+ # Specifies whether this workspace uses SAML 2.0, IAM Identity Center,
1249
+ # or both to authenticate users for using the Grafana console within a
1250
+ # workspace. For more information, see [User authentication in Amazon
1251
+ # Managed Grafana][1].
1235
1252
  #
1236
1253
  #
1237
1254
  #
@@ -1283,13 +1300,18 @@ module Aws::ManagedGrafana
1283
1300
  # @return [String]
1284
1301
  #
1285
1302
  # @!attribute [rw] grafana_version
1286
- # Specifies the version of Grafana to support in the new workspace.
1303
+ # Specifies the version of Grafana to support in the workspace. If not
1304
+ # specified, keeps the current version of the workspace.
1287
1305
  #
1288
1306
  # Can only be used to upgrade (for example, from 8.4 to 9.4), not
1289
1307
  # downgrade (for example, from 9.4 to 8.4).
1290
1308
  #
1291
1309
  # To know what versions are available to upgrade to for a specific
1292
- # workspace, see the `ListVersions` operation.
1310
+ # workspace, see the [ListVersions][1] operation.
1311
+ #
1312
+ #
1313
+ #
1314
+ # [1]: https://docs.aws.amazon.com/grafana/latest/APIReference/API_ListVersions.html
1293
1315
  # @return [String]
1294
1316
  #
1295
1317
  # @!attribute [rw] workspace_id
@@ -1611,13 +1633,32 @@ module Aws::ManagedGrafana
1611
1633
  # @!attribute [rw] free_trial_consumed
1612
1634
  # Specifies whether this workspace has already fully used its free
1613
1635
  # trial for Grafana Enterprise.
1636
+ #
1637
+ # <note markdown="1"> Amazon Managed Grafana workspaces no longer support Grafana
1638
+ # Enterprise free trials.
1639
+ #
1640
+ # </note>
1614
1641
  # @return [Boolean]
1615
1642
  #
1616
1643
  # @!attribute [rw] free_trial_expiration
1617
1644
  # If this workspace is currently in the free trial period for Grafana
1618
1645
  # Enterprise, this value specifies when that free trial ends.
1646
+ #
1647
+ # <note markdown="1"> Amazon Managed Grafana workspaces no longer support Grafana
1648
+ # Enterprise free trials.
1649
+ #
1650
+ # </note>
1619
1651
  # @return [Time]
1620
1652
  #
1653
+ # @!attribute [rw] grafana_token
1654
+ # The token that ties this workspace to a Grafana Labs account. For
1655
+ # more information, see [Register with Grafana Labs][1].
1656
+ #
1657
+ #
1658
+ #
1659
+ # [1]: https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html#AMG-workspace-register-enterprise
1660
+ # @return [String]
1661
+ #
1621
1662
  # @!attribute [rw] grafana_version
1622
1663
  # The version of Grafana supported in this workspace.
1623
1664
  # @return [String]
@@ -1627,13 +1668,21 @@ module Aws::ManagedGrafana
1627
1668
  # @return [String]
1628
1669
  #
1629
1670
  # @!attribute [rw] license_expiration
1630
- # If this workspace has a full Grafana Enterprise license, this
1631
- # specifies when the license ends and will need to be renewed.
1671
+ # If this workspace has a full Grafana Enterprise license purchased
1672
+ # through Amazon Web Services Marketplace, this specifies when the
1673
+ # license ends and will need to be renewed. Purchasing the Enterprise
1674
+ # plugins option through Amazon Managed Grafana does not have an
1675
+ # expiration. It is valid until the license is removed.
1632
1676
  # @return [Time]
1633
1677
  #
1634
1678
  # @!attribute [rw] license_type
1635
1679
  # Specifies whether this workspace has a full Grafana Enterprise
1636
- # license or a free trial license.
1680
+ # license.
1681
+ #
1682
+ # <note markdown="1"> Amazon Managed Grafana workspaces no longer support Grafana
1683
+ # Enterprise free trials.
1684
+ #
1685
+ # </note>
1637
1686
  # @return [String]
1638
1687
  #
1639
1688
  # @!attribute [rw] modified
@@ -1729,6 +1778,7 @@ module Aws::ManagedGrafana
1729
1778
  :endpoint,
1730
1779
  :free_trial_consumed,
1731
1780
  :free_trial_expiration,
1781
+ :grafana_token,
1732
1782
  :grafana_version,
1733
1783
  :id,
1734
1784
  :license_expiration,
@@ -1770,6 +1820,15 @@ module Aws::ManagedGrafana
1770
1820
  # workspace.
1771
1821
  # @return [String]
1772
1822
  #
1823
+ # @!attribute [rw] grafana_token
1824
+ # The token that ties this workspace to a Grafana Labs account. For
1825
+ # more information, see [Register with Grafana Labs][1].
1826
+ #
1827
+ #
1828
+ #
1829
+ # [1]: https://docs.aws.amazon.com/grafana/latest/userguide/upgrade-to-Grafana-Enterprise.html#AMG-workspace-register-enterprise
1830
+ # @return [String]
1831
+ #
1773
1832
  # @!attribute [rw] grafana_version
1774
1833
  # The Grafana version that the workspace is running.
1775
1834
  # @return [String]
@@ -1778,6 +1837,16 @@ module Aws::ManagedGrafana
1778
1837
  # The unique ID of the workspace.
1779
1838
  # @return [String]
1780
1839
  #
1840
+ # @!attribute [rw] license_type
1841
+ # Specifies whether this workspace has a full Grafana Enterprise
1842
+ # license.
1843
+ #
1844
+ # <note markdown="1"> Amazon Managed Grafana workspaces no longer support Grafana
1845
+ # Enterprise free trials.
1846
+ #
1847
+ # </note>
1848
+ # @return [String]
1849
+ #
1781
1850
  # @!attribute [rw] modified
1782
1851
  # The most recent date that the workspace was modified.
1783
1852
  # @return [Time]
@@ -1807,8 +1876,10 @@ module Aws::ManagedGrafana
1807
1876
  :created,
1808
1877
  :description,
1809
1878
  :endpoint,
1879
+ :grafana_token,
1810
1880
  :grafana_version,
1811
1881
  :id,
1882
+ :license_type,
1812
1883
  :modified,
1813
1884
  :name,
1814
1885
  :notification_destinations,
@@ -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.25.0'
55
+ GEM_VERSION = '1.27.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -78,6 +78,7 @@ module Aws
78
78
  end
79
79
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedGrafana/Client.html#associate_license-instance_method
80
80
  def associate_license: (
81
+ ?grafana_token: ::String,
81
82
  license_type: ("ENTERPRISE" | "ENTERPRISE_FREE_TRIAL"),
82
83
  workspace_id: ::String
83
84
  ) -> _AssociateLicenseResponseSuccess
data/sig/types.rbs CHANGED
@@ -24,6 +24,7 @@ module Aws::ManagedGrafana
24
24
  end
25
25
 
26
26
  class AssociateLicenseRequest
27
+ attr_accessor grafana_token: ::String
27
28
  attr_accessor license_type: ("ENTERPRISE" | "ENTERPRISE_FREE_TRIAL")
28
29
  attr_accessor workspace_id: ::String
29
30
  SENSITIVE: []
@@ -415,6 +416,7 @@ module Aws::ManagedGrafana
415
416
  attr_accessor endpoint: ::String
416
417
  attr_accessor free_trial_consumed: bool
417
418
  attr_accessor free_trial_expiration: ::Time
419
+ attr_accessor grafana_token: ::String
418
420
  attr_accessor grafana_version: ::String
419
421
  attr_accessor id: ::String
420
422
  attr_accessor license_expiration: ::Time
@@ -439,8 +441,10 @@ module Aws::ManagedGrafana
439
441
  attr_accessor created: ::Time
440
442
  attr_accessor description: ::String
441
443
  attr_accessor endpoint: ::String
444
+ attr_accessor grafana_token: ::String
442
445
  attr_accessor grafana_version: ::String
443
446
  attr_accessor id: ::String
447
+ attr_accessor license_type: ("ENTERPRISE" | "ENTERPRISE_FREE_TRIAL")
444
448
  attr_accessor modified: ::Time
445
449
  attr_accessor name: ::String
446
450
  attr_accessor notification_destinations: ::Array[("SNS")]
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.25.0
4
+ version: 1.27.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: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-04-25 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.191.0
22
+ version: 3.193.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.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement