aws-sdk-managedgrafana 1.28.0 → 1.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,12 +36,21 @@ module Aws::ManagedGrafana
36
36
  CreateWorkspaceApiKeyResponse = Shapes::StructureShape.new(name: 'CreateWorkspaceApiKeyResponse')
37
37
  CreateWorkspaceRequest = Shapes::StructureShape.new(name: 'CreateWorkspaceRequest')
38
38
  CreateWorkspaceResponse = Shapes::StructureShape.new(name: 'CreateWorkspaceResponse')
39
+ CreateWorkspaceServiceAccountRequest = Shapes::StructureShape.new(name: 'CreateWorkspaceServiceAccountRequest')
40
+ CreateWorkspaceServiceAccountResponse = Shapes::StructureShape.new(name: 'CreateWorkspaceServiceAccountResponse')
41
+ CreateWorkspaceServiceAccountTokenRequest = Shapes::StructureShape.new(name: 'CreateWorkspaceServiceAccountTokenRequest')
42
+ CreateWorkspaceServiceAccountTokenRequestSecondsToLiveInteger = Shapes::IntegerShape.new(name: 'CreateWorkspaceServiceAccountTokenRequestSecondsToLiveInteger')
43
+ CreateWorkspaceServiceAccountTokenResponse = Shapes::StructureShape.new(name: 'CreateWorkspaceServiceAccountTokenResponse')
39
44
  DataSourceType = Shapes::StringShape.new(name: 'DataSourceType')
40
45
  DataSourceTypesList = Shapes::ListShape.new(name: 'DataSourceTypesList')
41
46
  DeleteWorkspaceApiKeyRequest = Shapes::StructureShape.new(name: 'DeleteWorkspaceApiKeyRequest')
42
47
  DeleteWorkspaceApiKeyResponse = Shapes::StructureShape.new(name: 'DeleteWorkspaceApiKeyResponse')
43
48
  DeleteWorkspaceRequest = Shapes::StructureShape.new(name: 'DeleteWorkspaceRequest')
44
49
  DeleteWorkspaceResponse = Shapes::StructureShape.new(name: 'DeleteWorkspaceResponse')
50
+ DeleteWorkspaceServiceAccountRequest = Shapes::StructureShape.new(name: 'DeleteWorkspaceServiceAccountRequest')
51
+ DeleteWorkspaceServiceAccountResponse = Shapes::StructureShape.new(name: 'DeleteWorkspaceServiceAccountResponse')
52
+ DeleteWorkspaceServiceAccountTokenRequest = Shapes::StructureShape.new(name: 'DeleteWorkspaceServiceAccountTokenRequest')
53
+ DeleteWorkspaceServiceAccountTokenResponse = Shapes::StructureShape.new(name: 'DeleteWorkspaceServiceAccountTokenResponse')
45
54
  DescribeWorkspaceAuthenticationRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceAuthenticationRequest')
46
55
  DescribeWorkspaceAuthenticationResponse = Shapes::StructureShape.new(name: 'DescribeWorkspaceAuthenticationResponse')
47
56
  DescribeWorkspaceConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceConfigurationRequest')
@@ -69,6 +78,12 @@ module Aws::ManagedGrafana
69
78
  ListVersionsRequest = Shapes::StructureShape.new(name: 'ListVersionsRequest')
70
79
  ListVersionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListVersionsRequestMaxResultsInteger')
71
80
  ListVersionsResponse = Shapes::StructureShape.new(name: 'ListVersionsResponse')
81
+ ListWorkspaceServiceAccountTokensRequest = Shapes::StructureShape.new(name: 'ListWorkspaceServiceAccountTokensRequest')
82
+ ListWorkspaceServiceAccountTokensRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListWorkspaceServiceAccountTokensRequestMaxResultsInteger')
83
+ ListWorkspaceServiceAccountTokensResponse = Shapes::StructureShape.new(name: 'ListWorkspaceServiceAccountTokensResponse')
84
+ ListWorkspaceServiceAccountsRequest = Shapes::StructureShape.new(name: 'ListWorkspaceServiceAccountsRequest')
85
+ ListWorkspaceServiceAccountsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListWorkspaceServiceAccountsRequestMaxResultsInteger')
86
+ ListWorkspaceServiceAccountsResponse = Shapes::StructureShape.new(name: 'ListWorkspaceServiceAccountsResponse')
72
87
  ListWorkspacesRequest = Shapes::StructureShape.new(name: 'ListWorkspacesRequest')
73
88
  ListWorkspacesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListWorkspacesRequestMaxResultsInteger')
74
89
  ListWorkspacesResponse = Shapes::StructureShape.new(name: 'ListWorkspacesResponse')
@@ -97,6 +112,14 @@ module Aws::ManagedGrafana
97
112
  SamlConfigurationStatus = Shapes::StringShape.new(name: 'SamlConfigurationStatus')
98
113
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
99
114
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
115
+ ServiceAccountList = Shapes::ListShape.new(name: 'ServiceAccountList')
116
+ ServiceAccountName = Shapes::StringShape.new(name: 'ServiceAccountName')
117
+ ServiceAccountSummary = Shapes::StructureShape.new(name: 'ServiceAccountSummary')
118
+ ServiceAccountTokenKey = Shapes::StringShape.new(name: 'ServiceAccountTokenKey')
119
+ ServiceAccountTokenList = Shapes::ListShape.new(name: 'ServiceAccountTokenList')
120
+ ServiceAccountTokenName = Shapes::StringShape.new(name: 'ServiceAccountTokenName')
121
+ ServiceAccountTokenSummary = Shapes::StructureShape.new(name: 'ServiceAccountTokenSummary')
122
+ ServiceAccountTokenSummaryWithKey = Shapes::StructureShape.new(name: 'ServiceAccountTokenSummaryWithKey')
100
123
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
101
124
  SsoId = Shapes::StringShape.new(name: 'SsoId')
102
125
  StackSetName = Shapes::StringShape.new(name: 'StackSetName')
@@ -217,6 +240,28 @@ module Aws::ManagedGrafana
217
240
  CreateWorkspaceResponse.add_member(:workspace, Shapes::ShapeRef.new(shape: WorkspaceDescription, required: true, location_name: "workspace"))
218
241
  CreateWorkspaceResponse.struct_class = Types::CreateWorkspaceResponse
219
242
 
243
+ CreateWorkspaceServiceAccountRequest.add_member(:grafana_role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "grafanaRole"))
244
+ CreateWorkspaceServiceAccountRequest.add_member(:name, Shapes::ShapeRef.new(shape: ServiceAccountName, required: true, location_name: "name"))
245
+ CreateWorkspaceServiceAccountRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
246
+ CreateWorkspaceServiceAccountRequest.struct_class = Types::CreateWorkspaceServiceAccountRequest
247
+
248
+ CreateWorkspaceServiceAccountResponse.add_member(:grafana_role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "grafanaRole"))
249
+ CreateWorkspaceServiceAccountResponse.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
250
+ CreateWorkspaceServiceAccountResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
251
+ CreateWorkspaceServiceAccountResponse.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
252
+ CreateWorkspaceServiceAccountResponse.struct_class = Types::CreateWorkspaceServiceAccountResponse
253
+
254
+ CreateWorkspaceServiceAccountTokenRequest.add_member(:name, Shapes::ShapeRef.new(shape: ServiceAccountTokenName, required: true, location_name: "name"))
255
+ CreateWorkspaceServiceAccountTokenRequest.add_member(:seconds_to_live, Shapes::ShapeRef.new(shape: CreateWorkspaceServiceAccountTokenRequestSecondsToLiveInteger, required: true, location_name: "secondsToLive"))
256
+ CreateWorkspaceServiceAccountTokenRequest.add_member(:service_account_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "serviceAccountId"))
257
+ CreateWorkspaceServiceAccountTokenRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
258
+ CreateWorkspaceServiceAccountTokenRequest.struct_class = Types::CreateWorkspaceServiceAccountTokenRequest
259
+
260
+ CreateWorkspaceServiceAccountTokenResponse.add_member(:service_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceAccountId"))
261
+ CreateWorkspaceServiceAccountTokenResponse.add_member(:service_account_token, Shapes::ShapeRef.new(shape: ServiceAccountTokenSummaryWithKey, required: true, location_name: "serviceAccountToken"))
262
+ CreateWorkspaceServiceAccountTokenResponse.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
263
+ CreateWorkspaceServiceAccountTokenResponse.struct_class = Types::CreateWorkspaceServiceAccountTokenResponse
264
+
220
265
  DataSourceTypesList.member = Shapes::ShapeRef.new(shape: DataSourceType)
221
266
 
222
267
  DeleteWorkspaceApiKeyRequest.add_member(:key_name, Shapes::ShapeRef.new(shape: ApiKeyName, required: true, location: "uri", location_name: "keyName"))
@@ -233,6 +278,24 @@ module Aws::ManagedGrafana
233
278
  DeleteWorkspaceResponse.add_member(:workspace, Shapes::ShapeRef.new(shape: WorkspaceDescription, required: true, location_name: "workspace"))
234
279
  DeleteWorkspaceResponse.struct_class = Types::DeleteWorkspaceResponse
235
280
 
281
+ DeleteWorkspaceServiceAccountRequest.add_member(:service_account_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "serviceAccountId"))
282
+ DeleteWorkspaceServiceAccountRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
283
+ DeleteWorkspaceServiceAccountRequest.struct_class = Types::DeleteWorkspaceServiceAccountRequest
284
+
285
+ DeleteWorkspaceServiceAccountResponse.add_member(:service_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceAccountId"))
286
+ DeleteWorkspaceServiceAccountResponse.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
287
+ DeleteWorkspaceServiceAccountResponse.struct_class = Types::DeleteWorkspaceServiceAccountResponse
288
+
289
+ DeleteWorkspaceServiceAccountTokenRequest.add_member(:service_account_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "serviceAccountId"))
290
+ DeleteWorkspaceServiceAccountTokenRequest.add_member(:token_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "tokenId"))
291
+ DeleteWorkspaceServiceAccountTokenRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
292
+ DeleteWorkspaceServiceAccountTokenRequest.struct_class = Types::DeleteWorkspaceServiceAccountTokenRequest
293
+
294
+ DeleteWorkspaceServiceAccountTokenResponse.add_member(:service_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceAccountId"))
295
+ DeleteWorkspaceServiceAccountTokenResponse.add_member(:token_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "tokenId"))
296
+ DeleteWorkspaceServiceAccountTokenResponse.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
297
+ DeleteWorkspaceServiceAccountTokenResponse.struct_class = Types::DeleteWorkspaceServiceAccountTokenResponse
298
+
236
299
  DescribeWorkspaceAuthenticationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
237
300
  DescribeWorkspaceAuthenticationRequest.struct_class = Types::DescribeWorkspaceAuthenticationRequest
238
301
 
@@ -300,6 +363,28 @@ module Aws::ManagedGrafana
300
363
  ListVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
301
364
  ListVersionsResponse.struct_class = Types::ListVersionsResponse
302
365
 
366
+ ListWorkspaceServiceAccountTokensRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkspaceServiceAccountTokensRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
367
+ ListWorkspaceServiceAccountTokensRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
368
+ ListWorkspaceServiceAccountTokensRequest.add_member(:service_account_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "serviceAccountId"))
369
+ ListWorkspaceServiceAccountTokensRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
370
+ ListWorkspaceServiceAccountTokensRequest.struct_class = Types::ListWorkspaceServiceAccountTokensRequest
371
+
372
+ ListWorkspaceServiceAccountTokensResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
373
+ ListWorkspaceServiceAccountTokensResponse.add_member(:service_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceAccountId"))
374
+ ListWorkspaceServiceAccountTokensResponse.add_member(:service_account_tokens, Shapes::ShapeRef.new(shape: ServiceAccountTokenList, required: true, location_name: "serviceAccountTokens"))
375
+ ListWorkspaceServiceAccountTokensResponse.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
376
+ ListWorkspaceServiceAccountTokensResponse.struct_class = Types::ListWorkspaceServiceAccountTokensResponse
377
+
378
+ ListWorkspaceServiceAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkspaceServiceAccountsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
379
+ ListWorkspaceServiceAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
380
+ ListWorkspaceServiceAccountsRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
381
+ ListWorkspaceServiceAccountsRequest.struct_class = Types::ListWorkspaceServiceAccountsRequest
382
+
383
+ ListWorkspaceServiceAccountsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
384
+ ListWorkspaceServiceAccountsResponse.add_member(:service_accounts, Shapes::ShapeRef.new(shape: ServiceAccountList, required: true, location_name: "serviceAccounts"))
385
+ ListWorkspaceServiceAccountsResponse.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
386
+ ListWorkspaceServiceAccountsResponse.struct_class = Types::ListWorkspaceServiceAccountsResponse
387
+
303
388
  ListWorkspacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkspacesRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
304
389
  ListWorkspacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
305
390
  ListWorkspacesRequest.struct_class = Types::ListWorkspacesRequest
@@ -348,6 +433,28 @@ module Aws::ManagedGrafana
348
433
 
349
434
  SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
350
435
 
436
+ ServiceAccountList.member = Shapes::ShapeRef.new(shape: ServiceAccountSummary)
437
+
438
+ ServiceAccountSummary.add_member(:grafana_role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "grafanaRole"))
439
+ ServiceAccountSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
440
+ ServiceAccountSummary.add_member(:is_disabled, Shapes::ShapeRef.new(shape: String, required: true, location_name: "isDisabled"))
441
+ ServiceAccountSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
442
+ ServiceAccountSummary.struct_class = Types::ServiceAccountSummary
443
+
444
+ ServiceAccountTokenList.member = Shapes::ShapeRef.new(shape: ServiceAccountTokenSummary)
445
+
446
+ ServiceAccountTokenSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
447
+ ServiceAccountTokenSummary.add_member(:expires_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "expiresAt"))
448
+ ServiceAccountTokenSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
449
+ ServiceAccountTokenSummary.add_member(:last_used_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUsedAt"))
450
+ ServiceAccountTokenSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
451
+ ServiceAccountTokenSummary.struct_class = Types::ServiceAccountTokenSummary
452
+
453
+ ServiceAccountTokenSummaryWithKey.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
454
+ ServiceAccountTokenSummaryWithKey.add_member(:key, Shapes::ShapeRef.new(shape: ServiceAccountTokenKey, required: true, location_name: "key"))
455
+ ServiceAccountTokenSummaryWithKey.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
456
+ ServiceAccountTokenSummaryWithKey.struct_class = Types::ServiceAccountTokenSummaryWithKey
457
+
351
458
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
352
459
  ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode"))
353
460
  ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
@@ -514,6 +621,7 @@ module Aws::ManagedGrafana
514
621
  "endpointPrefix" => "grafana",
515
622
  "jsonVersion" => "1.1",
516
623
  "protocol" => "rest-json",
624
+ "protocols" => ["rest-json"],
517
625
  "serviceFullName" => "Amazon Managed Grafana",
518
626
  "serviceId" => "grafana",
519
627
  "signatureVersion" => "v4",
@@ -563,6 +671,36 @@ module Aws::ManagedGrafana
563
671
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
564
672
  end)
565
673
 
674
+ api.add_operation(:create_workspace_service_account, Seahorse::Model::Operation.new.tap do |o|
675
+ o.name = "CreateWorkspaceServiceAccount"
676
+ o.http_method = "POST"
677
+ o.http_request_uri = "/workspaces/{workspaceId}/serviceaccounts"
678
+ o.input = Shapes::ShapeRef.new(shape: CreateWorkspaceServiceAccountRequest)
679
+ o.output = Shapes::ShapeRef.new(shape: CreateWorkspaceServiceAccountResponse)
680
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
681
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
682
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
683
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
684
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
685
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
686
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
687
+ end)
688
+
689
+ api.add_operation(:create_workspace_service_account_token, Seahorse::Model::Operation.new.tap do |o|
690
+ o.name = "CreateWorkspaceServiceAccountToken"
691
+ o.http_method = "POST"
692
+ o.http_request_uri = "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens"
693
+ o.input = Shapes::ShapeRef.new(shape: CreateWorkspaceServiceAccountTokenRequest)
694
+ o.output = Shapes::ShapeRef.new(shape: CreateWorkspaceServiceAccountTokenResponse)
695
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
696
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
697
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
698
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
699
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
700
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
701
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
702
+ end)
703
+
566
704
  api.add_operation(:delete_workspace, Seahorse::Model::Operation.new.tap do |o|
567
705
  o.name = "DeleteWorkspace"
568
706
  o.http_method = "DELETE"
@@ -591,6 +729,34 @@ module Aws::ManagedGrafana
591
729
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
592
730
  end)
593
731
 
732
+ api.add_operation(:delete_workspace_service_account, Seahorse::Model::Operation.new.tap do |o|
733
+ o.name = "DeleteWorkspaceServiceAccount"
734
+ o.http_method = "DELETE"
735
+ o.http_request_uri = "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}"
736
+ o.input = Shapes::ShapeRef.new(shape: DeleteWorkspaceServiceAccountRequest)
737
+ o.output = Shapes::ShapeRef.new(shape: DeleteWorkspaceServiceAccountResponse)
738
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
739
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
740
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
741
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
742
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
743
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
744
+ end)
745
+
746
+ api.add_operation(:delete_workspace_service_account_token, Seahorse::Model::Operation.new.tap do |o|
747
+ o.name = "DeleteWorkspaceServiceAccountToken"
748
+ o.http_method = "DELETE"
749
+ o.http_request_uri = "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens/{tokenId}"
750
+ o.input = Shapes::ShapeRef.new(shape: DeleteWorkspaceServiceAccountTokenRequest)
751
+ o.output = Shapes::ShapeRef.new(shape: DeleteWorkspaceServiceAccountTokenResponse)
752
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
753
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
754
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
755
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
756
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
757
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
758
+ end)
759
+
594
760
  api.add_operation(:describe_workspace, Seahorse::Model::Operation.new.tap do |o|
595
761
  o.name = "DescribeWorkspace"
596
762
  o.http_method = "GET"
@@ -612,6 +778,7 @@ module Aws::ManagedGrafana
612
778
  o.output = Shapes::ShapeRef.new(shape: DescribeWorkspaceAuthenticationResponse)
613
779
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
614
780
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
781
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
615
782
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
616
783
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
617
784
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
@@ -693,6 +860,46 @@ module Aws::ManagedGrafana
693
860
  )
694
861
  end)
695
862
 
863
+ api.add_operation(:list_workspace_service_account_tokens, Seahorse::Model::Operation.new.tap do |o|
864
+ o.name = "ListWorkspaceServiceAccountTokens"
865
+ o.http_method = "GET"
866
+ o.http_request_uri = "/workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens"
867
+ o.input = Shapes::ShapeRef.new(shape: ListWorkspaceServiceAccountTokensRequest)
868
+ o.output = Shapes::ShapeRef.new(shape: ListWorkspaceServiceAccountTokensResponse)
869
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
870
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
871
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
872
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
873
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
874
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
875
+ o[:pager] = Aws::Pager.new(
876
+ limit_key: "max_results",
877
+ tokens: {
878
+ "next_token" => "next_token"
879
+ }
880
+ )
881
+ end)
882
+
883
+ api.add_operation(:list_workspace_service_accounts, Seahorse::Model::Operation.new.tap do |o|
884
+ o.name = "ListWorkspaceServiceAccounts"
885
+ o.http_method = "GET"
886
+ o.http_request_uri = "/workspaces/{workspaceId}/serviceaccounts"
887
+ o.input = Shapes::ShapeRef.new(shape: ListWorkspaceServiceAccountsRequest)
888
+ o.output = Shapes::ShapeRef.new(shape: ListWorkspaceServiceAccountsResponse)
889
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
890
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
891
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
892
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
893
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
894
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
895
+ o[:pager] = Aws::Pager.new(
896
+ limit_key: "max_results",
897
+ tokens: {
898
+ "next_token" => "next_token"
899
+ }
900
+ )
901
+ end)
902
+
696
903
  api.add_operation(:list_workspaces, Seahorse::Model::Operation.new.tap do |o|
697
904
  o.name = "ListWorkspaces"
698
905
  o.http_method = "GET"
@@ -54,6 +54,34 @@ module Aws::ManagedGrafana
54
54
  end
55
55
  end
56
56
 
57
+ class CreateWorkspaceServiceAccount
58
+ def self.build(context)
59
+ unless context.config.regional_endpoint
60
+ endpoint = context.config.endpoint.to_s
61
+ end
62
+ Aws::ManagedGrafana::EndpointParameters.new(
63
+ region: context.config.region,
64
+ use_dual_stack: context.config.use_dualstack_endpoint,
65
+ use_fips: context.config.use_fips_endpoint,
66
+ endpoint: endpoint,
67
+ )
68
+ end
69
+ end
70
+
71
+ class CreateWorkspaceServiceAccountToken
72
+ def self.build(context)
73
+ unless context.config.regional_endpoint
74
+ endpoint = context.config.endpoint.to_s
75
+ end
76
+ Aws::ManagedGrafana::EndpointParameters.new(
77
+ region: context.config.region,
78
+ use_dual_stack: context.config.use_dualstack_endpoint,
79
+ use_fips: context.config.use_fips_endpoint,
80
+ endpoint: endpoint,
81
+ )
82
+ end
83
+ end
84
+
57
85
  class DeleteWorkspace
58
86
  def self.build(context)
59
87
  unless context.config.regional_endpoint
@@ -82,6 +110,34 @@ module Aws::ManagedGrafana
82
110
  end
83
111
  end
84
112
 
113
+ class DeleteWorkspaceServiceAccount
114
+ def self.build(context)
115
+ unless context.config.regional_endpoint
116
+ endpoint = context.config.endpoint.to_s
117
+ end
118
+ Aws::ManagedGrafana::EndpointParameters.new(
119
+ region: context.config.region,
120
+ use_dual_stack: context.config.use_dualstack_endpoint,
121
+ use_fips: context.config.use_fips_endpoint,
122
+ endpoint: endpoint,
123
+ )
124
+ end
125
+ end
126
+
127
+ class DeleteWorkspaceServiceAccountToken
128
+ def self.build(context)
129
+ unless context.config.regional_endpoint
130
+ endpoint = context.config.endpoint.to_s
131
+ end
132
+ Aws::ManagedGrafana::EndpointParameters.new(
133
+ region: context.config.region,
134
+ use_dual_stack: context.config.use_dualstack_endpoint,
135
+ use_fips: context.config.use_fips_endpoint,
136
+ endpoint: endpoint,
137
+ )
138
+ end
139
+ end
140
+
85
141
  class DescribeWorkspace
86
142
  def self.build(context)
87
143
  unless context.config.regional_endpoint
@@ -180,6 +236,34 @@ module Aws::ManagedGrafana
180
236
  end
181
237
  end
182
238
 
239
+ class ListWorkspaceServiceAccountTokens
240
+ def self.build(context)
241
+ unless context.config.regional_endpoint
242
+ endpoint = context.config.endpoint.to_s
243
+ end
244
+ Aws::ManagedGrafana::EndpointParameters.new(
245
+ region: context.config.region,
246
+ use_dual_stack: context.config.use_dualstack_endpoint,
247
+ use_fips: context.config.use_fips_endpoint,
248
+ endpoint: endpoint,
249
+ )
250
+ end
251
+ end
252
+
253
+ class ListWorkspaceServiceAccounts
254
+ def self.build(context)
255
+ unless context.config.regional_endpoint
256
+ endpoint = context.config.endpoint.to_s
257
+ end
258
+ Aws::ManagedGrafana::EndpointParameters.new(
259
+ region: context.config.region,
260
+ use_dual_stack: context.config.use_dualstack_endpoint,
261
+ use_fips: context.config.use_fips_endpoint,
262
+ endpoint: endpoint,
263
+ )
264
+ end
265
+ end
266
+
183
267
  class ListWorkspaces
184
268
  def self.build(context)
185
269
  unless context.config.regional_endpoint
@@ -64,10 +64,18 @@ module Aws::ManagedGrafana
64
64
  Aws::ManagedGrafana::Endpoints::CreateWorkspace.build(context)
65
65
  when :create_workspace_api_key
66
66
  Aws::ManagedGrafana::Endpoints::CreateWorkspaceApiKey.build(context)
67
+ when :create_workspace_service_account
68
+ Aws::ManagedGrafana::Endpoints::CreateWorkspaceServiceAccount.build(context)
69
+ when :create_workspace_service_account_token
70
+ Aws::ManagedGrafana::Endpoints::CreateWorkspaceServiceAccountToken.build(context)
67
71
  when :delete_workspace
68
72
  Aws::ManagedGrafana::Endpoints::DeleteWorkspace.build(context)
69
73
  when :delete_workspace_api_key
70
74
  Aws::ManagedGrafana::Endpoints::DeleteWorkspaceApiKey.build(context)
75
+ when :delete_workspace_service_account
76
+ Aws::ManagedGrafana::Endpoints::DeleteWorkspaceServiceAccount.build(context)
77
+ when :delete_workspace_service_account_token
78
+ Aws::ManagedGrafana::Endpoints::DeleteWorkspaceServiceAccountToken.build(context)
71
79
  when :describe_workspace
72
80
  Aws::ManagedGrafana::Endpoints::DescribeWorkspace.build(context)
73
81
  when :describe_workspace_authentication
@@ -82,6 +90,10 @@ module Aws::ManagedGrafana
82
90
  Aws::ManagedGrafana::Endpoints::ListTagsForResource.build(context)
83
91
  when :list_versions
84
92
  Aws::ManagedGrafana::Endpoints::ListVersions.build(context)
93
+ when :list_workspace_service_account_tokens
94
+ Aws::ManagedGrafana::Endpoints::ListWorkspaceServiceAccountTokens.build(context)
95
+ when :list_workspace_service_accounts
96
+ Aws::ManagedGrafana::Endpoints::ListWorkspaceServiceAccounts.build(context)
85
97
  when :list_workspaces
86
98
  Aws::ManagedGrafana::Endpoints::ListWorkspaces.build(context)
87
99
  when :tag_resource