aws-sdk-managedgrafana 1.10.0 → 1.11.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: 98a3805f6f6c020f69a8681129b0ff5ebce892f8a0b4d2536cfa7abeca8f4cc5
4
- data.tar.gz: 6c5f9dda87b536a675bf8e25613e79ca974371cdc30eb911eb58898624a6ffa4
3
+ metadata.gz: 5c042706cd987c8288ba8bda68a372567005bf1c4d28a6346890d7089467b7eb
4
+ data.tar.gz: 73f9ebce553690ff0595933d91d41f84de83447434cf7166424a83efa0fe0dd1
5
5
  SHA512:
6
- metadata.gz: c878b1d4197f1c82ba977f416ba7891e6877f5bc9c92630b78f8e7cda676b1e4dfbec83adf97a252c83b3aeec715d392be3162b0e946724bb7c3b03b2a756232
7
- data.tar.gz: 6c33ed2eb57ea1317c67c769e28c4a5d919a2cfbd564bd8f1813bf1d5edc80c65266bdd8497c707bef5b64c735b2604b745402955081fcab4bfd81991c3e28f0
6
+ metadata.gz: d8971fdb9c58e1da39b7eb71ec90b3f68d801023611610dfa5f9e66690911216e0ef9df2a399e815cd9fa8af17936bf433ac38346e0a38f6ad0c06e38d3f8e75
7
+ data.tar.gz: 977707474817b9bafb4c89c57362a80df22c70babdd9c4e7ae0d2f225f5e75c86000832ddca5b8f5ed2d18541f285dbb042ced433f7b83d5795995a37e4857d3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.11.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.10.0 (2022-11-23)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.10.0
1
+ 1.11.0
@@ -1561,7 +1561,7 @@ module Aws::ManagedGrafana
1561
1561
  params: params,
1562
1562
  config: config)
1563
1563
  context[:gem_name] = 'aws-sdk-managedgrafana'
1564
- context[:gem_version] = '1.10.0'
1564
+ context[:gem_version] = '1.11.0'
1565
1565
  Seahorse::Client::Request.new(handlers, context)
1566
1566
  end
1567
1567
 
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::ManagedGrafana
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://grafana-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://grafana-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://grafana.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://grafana.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dH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Rpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sg
103
- aXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9y
104
- dCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6
105
- W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vZ3JhZmFuYS57UmVnaW9u
106
- fS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7
107
- fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -27,18 +27,6 @@ module Aws::ManagedGrafana
27
27
  # be used to define information about the users authenticated by the IdP
28
28
  # to use the workspace.
29
29
  #
30
- # @note When making an API call, you may pass AssertionAttributes
31
- # data as a hash:
32
- #
33
- # {
34
- # email: "AssertionAttribute",
35
- # groups: "AssertionAttribute",
36
- # login: "AssertionAttribute",
37
- # name: "AssertionAttribute",
38
- # org: "AssertionAttribute",
39
- # role: "AssertionAttribute",
40
- # }
41
- #
42
30
  # @!attribute [rw] email
43
31
  # The name of the attribute within the SAML assertion to use as the
44
32
  # email names for SAML users.
@@ -82,14 +70,6 @@ module Aws::ManagedGrafana
82
70
  include Aws::Structure
83
71
  end
84
72
 
85
- # @note When making an API call, you may pass AssociateLicenseRequest
86
- # data as a hash:
87
- #
88
- # {
89
- # license_type: "ENTERPRISE", # required, accepts ENTERPRISE, ENTERPRISE_FREE_TRIAL
90
- # workspace_id: "WorkspaceId", # required
91
- # }
92
- #
93
73
  # @!attribute [rw] license_type
94
74
  # The type of license to associate with the workspace.
95
75
  # @return [String]
@@ -213,16 +193,6 @@ module Aws::ManagedGrafana
213
193
  include Aws::Structure
214
194
  end
215
195
 
216
- # @note When making an API call, you may pass CreateWorkspaceApiKeyRequest
217
- # data as a hash:
218
- #
219
- # {
220
- # key_name: "ApiKeyName", # required
221
- # key_role: "String", # required
222
- # seconds_to_live: 1, # required
223
- # workspace_id: "WorkspaceId", # required
224
- # }
225
- #
226
196
  # @!attribute [rw] key_name
227
197
  # Specifies the name of the key. Keynames must be unique to the
228
198
  # workspace.
@@ -277,32 +247,6 @@ module Aws::ManagedGrafana
277
247
  include Aws::Structure
278
248
  end
279
249
 
280
- # @note When making an API call, you may pass CreateWorkspaceRequest
281
- # data as a hash:
282
- #
283
- # {
284
- # account_access_type: "CURRENT_ACCOUNT", # required, accepts CURRENT_ACCOUNT, ORGANIZATION
285
- # authentication_providers: ["AWS_SSO"], # required, accepts AWS_SSO, SAML
286
- # client_token: "ClientToken",
287
- # configuration: "OverridableConfigurationJson",
288
- # organization_role_name: "OrganizationRoleName",
289
- # permission_type: "CUSTOMER_MANAGED", # required, accepts CUSTOMER_MANAGED, SERVICE_MANAGED
290
- # stack_set_name: "StackSetName",
291
- # tags: {
292
- # "TagKey" => "TagValue",
293
- # },
294
- # vpc_configuration: {
295
- # security_group_ids: ["SecurityGroupId"], # required
296
- # subnet_ids: ["SubnetId"], # required
297
- # },
298
- # workspace_data_sources: ["AMAZON_OPENSEARCH_SERVICE"], # accepts AMAZON_OPENSEARCH_SERVICE, CLOUDWATCH, PROMETHEUS, XRAY, TIMESTREAM, SITEWISE, ATHENA, REDSHIFT, TWINMAKER
299
- # workspace_description: "Description",
300
- # workspace_name: "WorkspaceName",
301
- # workspace_notification_destinations: ["SNS"], # accepts SNS
302
- # workspace_organizational_units: ["OrganizationalUnit"],
303
- # workspace_role_arn: "IamRoleArn",
304
- # }
305
- #
306
250
  # @!attribute [rw] account_access_type
307
251
  # Specifies whether the workspace can access Amazon Web Services
308
252
  # resources in this Amazon Web Services account only, or whether it
@@ -466,14 +410,6 @@ module Aws::ManagedGrafana
466
410
  include Aws::Structure
467
411
  end
468
412
 
469
- # @note When making an API call, you may pass DeleteWorkspaceApiKeyRequest
470
- # data as a hash:
471
- #
472
- # {
473
- # key_name: "ApiKeyName", # required
474
- # workspace_id: "WorkspaceId", # required
475
- # }
476
- #
477
413
  # @!attribute [rw] key_name
478
414
  # The name of the API key to delete.
479
415
  # @return [String]
@@ -508,13 +444,6 @@ module Aws::ManagedGrafana
508
444
  include Aws::Structure
509
445
  end
510
446
 
511
- # @note When making an API call, you may pass DeleteWorkspaceRequest
512
- # data as a hash:
513
- #
514
- # {
515
- # workspace_id: "WorkspaceId", # required
516
- # }
517
- #
518
447
  # @!attribute [rw] workspace_id
519
448
  # The ID of the workspace to delete.
520
449
  # @return [String]
@@ -540,13 +469,6 @@ module Aws::ManagedGrafana
540
469
  include Aws::Structure
541
470
  end
542
471
 
543
- # @note When making an API call, you may pass DescribeWorkspaceAuthenticationRequest
544
- # data as a hash:
545
- #
546
- # {
547
- # workspace_id: "WorkspaceId", # required
548
- # }
549
- #
550
472
  # @!attribute [rw] workspace_id
551
473
  # The ID of the workspace to return authentication information about.
552
474
  # @return [String]
@@ -572,13 +494,6 @@ module Aws::ManagedGrafana
572
494
  include Aws::Structure
573
495
  end
574
496
 
575
- # @note When making an API call, you may pass DescribeWorkspaceConfigurationRequest
576
- # data as a hash:
577
- #
578
- # {
579
- # workspace_id: "WorkspaceId", # required
580
- # }
581
- #
582
497
  # @!attribute [rw] workspace_id
583
498
  # The ID of the workspace to get configuration information for.
584
499
  # @return [String]
@@ -609,13 +524,6 @@ module Aws::ManagedGrafana
609
524
  include Aws::Structure
610
525
  end
611
526
 
612
- # @note When making an API call, you may pass DescribeWorkspaceRequest
613
- # data as a hash:
614
- #
615
- # {
616
- # workspace_id: "WorkspaceId", # required
617
- # }
618
- #
619
527
  # @!attribute [rw] workspace_id
620
528
  # The ID of the workspace to display information about.
621
529
  # @return [String]
@@ -640,14 +548,6 @@ module Aws::ManagedGrafana
640
548
  include Aws::Structure
641
549
  end
642
550
 
643
- # @note When making an API call, you may pass DisassociateLicenseRequest
644
- # data as a hash:
645
- #
646
- # {
647
- # license_type: "ENTERPRISE", # required, accepts ENTERPRISE, ENTERPRISE_FREE_TRIAL
648
- # workspace_id: "WorkspaceId", # required
649
- # }
650
- #
651
551
  # @!attribute [rw] license_type
652
552
  # The type of license to remove from the workspace.
653
553
  # @return [String]
@@ -730,18 +630,6 @@ module Aws::ManagedGrafana
730
630
  include Aws::Structure
731
631
  end
732
632
 
733
- # @note When making an API call, you may pass ListPermissionsRequest
734
- # data as a hash:
735
- #
736
- # {
737
- # group_id: "SsoId",
738
- # max_results: 1,
739
- # next_token: "PaginationToken",
740
- # user_id: "SsoId",
741
- # user_type: "SSO_USER", # accepts SSO_USER, SSO_GROUP
742
- # workspace_id: "WorkspaceId", # required
743
- # }
744
- #
745
633
  # @!attribute [rw] group_id
746
634
  # (Optional) Limits the results to only the group that matches this
747
635
  # ID.
@@ -802,13 +690,6 @@ module Aws::ManagedGrafana
802
690
  include Aws::Structure
803
691
  end
804
692
 
805
- # @note When making an API call, you may pass ListTagsForResourceRequest
806
- # data as a hash:
807
- #
808
- # {
809
- # resource_arn: "String", # required
810
- # }
811
- #
812
693
  # @!attribute [rw] resource_arn
813
694
  # The ARN of the resource the list of tags are associated with.
814
695
  # @return [String]
@@ -833,14 +714,6 @@ module Aws::ManagedGrafana
833
714
  include Aws::Structure
834
715
  end
835
716
 
836
- # @note When making an API call, you may pass ListWorkspacesRequest
837
- # data as a hash:
838
- #
839
- # {
840
- # max_results: 1,
841
- # next_token: "PaginationToken",
842
- # }
843
- #
844
717
  # @!attribute [rw] max_results
845
718
  # The maximum number of workspaces to include in the results.
846
719
  # @return [Integer]
@@ -927,14 +800,6 @@ module Aws::ManagedGrafana
927
800
  # in the workspace. SAML authenticated users not part of `Admin` or
928
801
  # `Editor` role groups have `Viewer` permission over the workspace.
929
802
  #
930
- # @note When making an API call, you may pass RoleValues
931
- # data as a hash:
932
- #
933
- # {
934
- # admin: ["RoleValue"],
935
- # editor: ["RoleValue"],
936
- # }
937
- #
938
803
  # @!attribute [rw] admin
939
804
  # A list of groups from the SAML assertion attribute to grant the
940
805
  # Grafana `Admin` role to.
@@ -978,30 +843,6 @@ module Aws::ManagedGrafana
978
843
  # A structure containing information about how this workspace works with
979
844
  # SAML.
980
845
  #
981
- # @note When making an API call, you may pass SamlConfiguration
982
- # data as a hash:
983
- #
984
- # {
985
- # allowed_organizations: ["AllowedOrganization"],
986
- # assertion_attributes: {
987
- # email: "AssertionAttribute",
988
- # groups: "AssertionAttribute",
989
- # login: "AssertionAttribute",
990
- # name: "AssertionAttribute",
991
- # org: "AssertionAttribute",
992
- # role: "AssertionAttribute",
993
- # },
994
- # idp_metadata: { # required
995
- # url: "IdpMetadataUrl",
996
- # xml: "String",
997
- # },
998
- # login_validity_duration: 1,
999
- # role_values: {
1000
- # admin: ["RoleValue"],
1001
- # editor: ["RoleValue"],
1002
- # },
1003
- # }
1004
- #
1005
846
  # @!attribute [rw] allowed_organizations
1006
847
  # Lists which organizations defined in the SAML assertion are allowed
1007
848
  # to use the Amazon Managed Grafana workspace. If this is empty, all
@@ -1076,16 +917,6 @@ module Aws::ManagedGrafana
1076
917
  include Aws::Structure
1077
918
  end
1078
919
 
1079
- # @note When making an API call, you may pass TagResourceRequest
1080
- # data as a hash:
1081
- #
1082
- # {
1083
- # resource_arn: "String", # required
1084
- # tags: { # required
1085
- # "TagKey" => "TagValue",
1086
- # },
1087
- # }
1088
- #
1089
920
  # @!attribute [rw] resource_arn
1090
921
  # The ARN of the resource the tag is associated with.
1091
922
  # @return [String]
@@ -1139,14 +970,6 @@ module Aws::ManagedGrafana
1139
970
  include Aws::Structure
1140
971
  end
1141
972
 
1142
- # @note When making an API call, you may pass UntagResourceRequest
1143
- # data as a hash:
1144
- #
1145
- # {
1146
- # resource_arn: "String", # required
1147
- # tag_keys: ["TagKey"], # required
1148
- # }
1149
- #
1150
973
  # @!attribute [rw] resource_arn
1151
974
  # The ARN of the resource the tag association is removed from.
1152
975
  # @return [String]
@@ -1204,20 +1027,6 @@ module Aws::ManagedGrafana
1204
1027
  #
1205
1028
  # [1]: https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdatePermissions.html
1206
1029
  #
1207
- # @note When making an API call, you may pass UpdateInstruction
1208
- # data as a hash:
1209
- #
1210
- # {
1211
- # action: "ADD", # required, accepts ADD, REVOKE
1212
- # role: "ADMIN", # required, accepts ADMIN, EDITOR, VIEWER
1213
- # users: [ # required
1214
- # {
1215
- # id: "SsoId", # required
1216
- # type: "SSO_USER", # required, accepts SSO_USER, SSO_GROUP
1217
- # },
1218
- # ],
1219
- # }
1220
- #
1221
1030
  # @!attribute [rw] action
1222
1031
  # Specifies whether this update is to add or revoke role permissions.
1223
1032
  # @return [String]
@@ -1242,25 +1051,6 @@ module Aws::ManagedGrafana
1242
1051
  include Aws::Structure
1243
1052
  end
1244
1053
 
1245
- # @note When making an API call, you may pass UpdatePermissionsRequest
1246
- # data as a hash:
1247
- #
1248
- # {
1249
- # update_instruction_batch: [ # required
1250
- # {
1251
- # action: "ADD", # required, accepts ADD, REVOKE
1252
- # role: "ADMIN", # required, accepts ADMIN, EDITOR, VIEWER
1253
- # users: [ # required
1254
- # {
1255
- # id: "SsoId", # required
1256
- # type: "SSO_USER", # required, accepts SSO_USER, SSO_GROUP
1257
- # },
1258
- # ],
1259
- # },
1260
- # ],
1261
- # workspace_id: "WorkspaceId", # required
1262
- # }
1263
- #
1264
1054
  # @!attribute [rw] update_instruction_batch
1265
1055
  # An array of structures that contain the permission updates to make.
1266
1056
  # @return [Array<Types::UpdateInstruction>]
@@ -1291,34 +1081,6 @@ module Aws::ManagedGrafana
1291
1081
  include Aws::Structure
1292
1082
  end
1293
1083
 
1294
- # @note When making an API call, you may pass UpdateWorkspaceAuthenticationRequest
1295
- # data as a hash:
1296
- #
1297
- # {
1298
- # authentication_providers: ["AWS_SSO"], # required, accepts AWS_SSO, SAML
1299
- # saml_configuration: {
1300
- # allowed_organizations: ["AllowedOrganization"],
1301
- # assertion_attributes: {
1302
- # email: "AssertionAttribute",
1303
- # groups: "AssertionAttribute",
1304
- # login: "AssertionAttribute",
1305
- # name: "AssertionAttribute",
1306
- # org: "AssertionAttribute",
1307
- # role: "AssertionAttribute",
1308
- # },
1309
- # idp_metadata: { # required
1310
- # url: "IdpMetadataUrl",
1311
- # xml: "String",
1312
- # },
1313
- # login_validity_duration: 1,
1314
- # role_values: {
1315
- # admin: ["RoleValue"],
1316
- # editor: ["RoleValue"],
1317
- # },
1318
- # },
1319
- # workspace_id: "WorkspaceId", # required
1320
- # }
1321
- #
1322
1084
  # @!attribute [rw] authentication_providers
1323
1085
  # Specifies whether this workspace uses SAML 2.0, IAM Identity Center
1324
1086
  # (successor to Single Sign-On), or both to authenticate users for
@@ -1364,14 +1126,6 @@ module Aws::ManagedGrafana
1364
1126
  include Aws::Structure
1365
1127
  end
1366
1128
 
1367
- # @note When making an API call, you may pass UpdateWorkspaceConfigurationRequest
1368
- # data as a hash:
1369
- #
1370
- # {
1371
- # configuration: "OverridableConfigurationJson", # required
1372
- # workspace_id: "WorkspaceId", # required
1373
- # }
1374
- #
1375
1129
  # @!attribute [rw] configuration
1376
1130
  # The new configuration string for the workspace. For more information
1377
1131
  # about the format and configuration options available, see [Working
@@ -1399,28 +1153,6 @@ module Aws::ManagedGrafana
1399
1153
  #
1400
1154
  class UpdateWorkspaceConfigurationResponse < Aws::EmptyStructure; end
1401
1155
 
1402
- # @note When making an API call, you may pass UpdateWorkspaceRequest
1403
- # data as a hash:
1404
- #
1405
- # {
1406
- # account_access_type: "CURRENT_ACCOUNT", # accepts CURRENT_ACCOUNT, ORGANIZATION
1407
- # organization_role_name: "OrganizationRoleName",
1408
- # permission_type: "CUSTOMER_MANAGED", # accepts CUSTOMER_MANAGED, SERVICE_MANAGED
1409
- # remove_vpc_configuration: false,
1410
- # stack_set_name: "StackSetName",
1411
- # vpc_configuration: {
1412
- # security_group_ids: ["SecurityGroupId"], # required
1413
- # subnet_ids: ["SubnetId"], # required
1414
- # },
1415
- # workspace_data_sources: ["AMAZON_OPENSEARCH_SERVICE"], # accepts AMAZON_OPENSEARCH_SERVICE, CLOUDWATCH, PROMETHEUS, XRAY, TIMESTREAM, SITEWISE, ATHENA, REDSHIFT, TWINMAKER
1416
- # workspace_description: "Description",
1417
- # workspace_id: "WorkspaceId", # required
1418
- # workspace_name: "WorkspaceName",
1419
- # workspace_notification_destinations: ["SNS"], # accepts SNS
1420
- # workspace_organizational_units: ["OrganizationalUnit"],
1421
- # workspace_role_arn: "IamRoleArn",
1422
- # }
1423
- #
1424
1156
  # @!attribute [rw] account_access_type
1425
1157
  # Specifies whether the workspace can access Amazon Web Services
1426
1158
  # resources in this Amazon Web Services account only, or whether it
@@ -1557,14 +1289,6 @@ module Aws::ManagedGrafana
1557
1289
 
1558
1290
  # A structure that specifies one user or group in the workspace.
1559
1291
  #
1560
- # @note When making an API call, you may pass User
1561
- # data as a hash:
1562
- #
1563
- # {
1564
- # id: "SsoId", # required
1565
- # type: "SSO_USER", # required, accepts SSO_USER, SSO_GROUP
1566
- # }
1567
- #
1568
1292
  # @!attribute [rw] id
1569
1293
  # The ID of the user or group.
1570
1294
  #
@@ -1632,14 +1356,6 @@ module Aws::ManagedGrafana
1632
1356
  # The configuration settings for an Amazon VPC that contains data
1633
1357
  # sources for your Grafana workspace to connect to.
1634
1358
  #
1635
- # @note When making an API call, you may pass VpcConfiguration
1636
- # data as a hash:
1637
- #
1638
- # {
1639
- # security_group_ids: ["SecurityGroupId"], # required
1640
- # subnet_ids: ["SubnetId"], # required
1641
- # }
1642
- #
1643
1359
  # @!attribute [rw] security_group_ids
1644
1360
  # The list of Amazon EC2 security group IDs attached to the Amazon VPC
1645
1361
  # for your Grafana workspace to connect.
@@ -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.10.0'
55
+ GEM_VERSION = '1.11.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.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-23 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core