@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonManagedGrafanaAsync extends AmazonManagedGrafana
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonManagedGrafanaAsync
instead.
Amazon Managed Grafana is a fully managed and secure data visualization service that you can use to instantly query, correlate, and visualize operational metrics, logs, and traces from multiple sources. Amazon Managed Grafana makes it easy to deploy, operate, and scale Grafana, a widely deployed data visualization tool that is popular for its extensible data support.
With Amazon Managed Grafana, you create logically isolated Grafana servers called workspaces. In a workspace, you can create Grafana dashboards and visualizations to analyze your metrics, logs, and traces without having to build, package, or deploy any hardware to run Grafana servers.
ENDPOINT_PREFIX
associateLicense, createWorkspace, createWorkspaceApiKey, createWorkspaceServiceAccount, createWorkspaceServiceAccountToken, deleteWorkspace, deleteWorkspaceApiKey, deleteWorkspaceServiceAccount, deleteWorkspaceServiceAccountToken, describeWorkspace, describeWorkspaceAuthentication, describeWorkspaceConfiguration, disassociateLicense, getCachedResponseMetadata, listPermissions, listTagsForResource, listVersions, listWorkspaces, listWorkspaceServiceAccounts, listWorkspaceServiceAccountTokens, shutdown, tagResource, untagResource, updatePermissions, updateWorkspace, updateWorkspaceAuthentication, updateWorkspaceConfiguration
Future<AssociateLicenseResult> associateLicenseAsync(AssociateLicenseRequest associateLicenseRequest)
Assigns a Grafana Enterprise license to a workspace. To upgrade, you must use ENTERPRISE
for the
licenseType
, and pass in a valid Grafana Labs token for the grafanaToken
. Upgrading to
Grafana Enterprise incurs additional fees. For more information, see Upgrade a
workspace to Grafana Enterprise.
associateLicenseRequest
- Future<AssociateLicenseResult> associateLicenseAsync(AssociateLicenseRequest associateLicenseRequest, AsyncHandler<AssociateLicenseRequest,AssociateLicenseResult> asyncHandler)
Assigns a Grafana Enterprise license to a workspace. To upgrade, you must use ENTERPRISE
for the
licenseType
, and pass in a valid Grafana Labs token for the grafanaToken
. Upgrading to
Grafana Enterprise incurs additional fees. For more information, see Upgrade a
workspace to Grafana Enterprise.
associateLicenseRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateWorkspaceResult> createWorkspaceAsync(CreateWorkspaceRequest createWorkspaceRequest)
Creates a workspace. In a workspace, you can create Grafana dashboards and visualizations to analyze your metrics, logs, and traces. You don't have to build, package, or deploy any hardware to run the Grafana server.
Don't use CreateWorkspace
to modify an existing workspace. Instead, use UpdateWorkspace.
createWorkspaceRequest
- Future<CreateWorkspaceResult> createWorkspaceAsync(CreateWorkspaceRequest createWorkspaceRequest, AsyncHandler<CreateWorkspaceRequest,CreateWorkspaceResult> asyncHandler)
Creates a workspace. In a workspace, you can create Grafana dashboards and visualizations to analyze your metrics, logs, and traces. You don't have to build, package, or deploy any hardware to run the Grafana server.
Don't use CreateWorkspace
to modify an existing workspace. Instead, use UpdateWorkspace.
createWorkspaceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateWorkspaceApiKeyResult> createWorkspaceApiKeyAsync(CreateWorkspaceApiKeyRequest createWorkspaceApiKeyRequest)
Creates a Grafana API key for the workspace. This key can be used to authenticate requests sent to the workspace's HTTP API. See https ://docs.aws.amazon.com/grafana/latest/userguide/Using-Grafana-APIs.html for available APIs and example requests.
In workspaces compatible with Grafana version 9 or above, use workspace service accounts instead of API keys. API keys will be removed in a future release.
createWorkspaceApiKeyRequest
- Future<CreateWorkspaceApiKeyResult> createWorkspaceApiKeyAsync(CreateWorkspaceApiKeyRequest createWorkspaceApiKeyRequest, AsyncHandler<CreateWorkspaceApiKeyRequest,CreateWorkspaceApiKeyResult> asyncHandler)
Creates a Grafana API key for the workspace. This key can be used to authenticate requests sent to the workspace's HTTP API. See https ://docs.aws.amazon.com/grafana/latest/userguide/Using-Grafana-APIs.html for available APIs and example requests.
In workspaces compatible with Grafana version 9 or above, use workspace service accounts instead of API keys. API keys will be removed in a future release.
createWorkspaceApiKeyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateWorkspaceServiceAccountResult> createWorkspaceServiceAccountAsync(CreateWorkspaceServiceAccountRequest createWorkspaceServiceAccountRequest)
Creates a service account for the workspace. A service account can be used to call Grafana HTTP APIs, and run
automated workloads. After creating the service account with the correct GrafanaRole
for your use
case, use CreateWorkspaceServiceAccountToken
to create a token that can be used to authenticate and
authorize Grafana HTTP API calls.
You can only create service accounts for workspaces that are compatible with Grafana version 9 and above.
For more information about service accounts, see Service accounts in the Amazon Managed Grafana User Guide.
For more information about the Grafana HTTP APIs, see Using Grafana HTTP APIs in the Amazon Managed Grafana User Guide.
createWorkspaceServiceAccountRequest
- Future<CreateWorkspaceServiceAccountResult> createWorkspaceServiceAccountAsync(CreateWorkspaceServiceAccountRequest createWorkspaceServiceAccountRequest, AsyncHandler<CreateWorkspaceServiceAccountRequest,CreateWorkspaceServiceAccountResult> asyncHandler)
Creates a service account for the workspace. A service account can be used to call Grafana HTTP APIs, and run
automated workloads. After creating the service account with the correct GrafanaRole
for your use
case, use CreateWorkspaceServiceAccountToken
to create a token that can be used to authenticate and
authorize Grafana HTTP API calls.
You can only create service accounts for workspaces that are compatible with Grafana version 9 and above.
For more information about service accounts, see Service accounts in the Amazon Managed Grafana User Guide.
For more information about the Grafana HTTP APIs, see Using Grafana HTTP APIs in the Amazon Managed Grafana User Guide.
createWorkspaceServiceAccountRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<CreateWorkspaceServiceAccountTokenResult> createWorkspaceServiceAccountTokenAsync(CreateWorkspaceServiceAccountTokenRequest createWorkspaceServiceAccountTokenRequest)
Creates a token that can be used to authenticate and authorize Grafana HTTP API operations for the given workspace service account. The service account acts as a user for the API operations, and defines the permissions that are used by the API.
When you create the service account token, you will receive a key that is used when calling Grafana APIs. Do not lose this key, as it will not be retrievable again.
If you do lose the key, you can delete the token and recreate it to receive a new key. This will disable the initial key.
Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.
createWorkspaceServiceAccountTokenRequest
- Future<CreateWorkspaceServiceAccountTokenResult> createWorkspaceServiceAccountTokenAsync(CreateWorkspaceServiceAccountTokenRequest createWorkspaceServiceAccountTokenRequest, AsyncHandler<CreateWorkspaceServiceAccountTokenRequest,CreateWorkspaceServiceAccountTokenResult> asyncHandler)
Creates a token that can be used to authenticate and authorize Grafana HTTP API operations for the given workspace service account. The service account acts as a user for the API operations, and defines the permissions that are used by the API.
When you create the service account token, you will receive a key that is used when calling Grafana APIs. Do not lose this key, as it will not be retrievable again.
If you do lose the key, you can delete the token and recreate it to receive a new key. This will disable the initial key.
Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.
createWorkspaceServiceAccountTokenRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteWorkspaceResult> deleteWorkspaceAsync(DeleteWorkspaceRequest deleteWorkspaceRequest)
Deletes an Amazon Managed Grafana workspace.
deleteWorkspaceRequest
- Future<DeleteWorkspaceResult> deleteWorkspaceAsync(DeleteWorkspaceRequest deleteWorkspaceRequest, AsyncHandler<DeleteWorkspaceRequest,DeleteWorkspaceResult> asyncHandler)
Deletes an Amazon Managed Grafana workspace.
deleteWorkspaceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteWorkspaceApiKeyResult> deleteWorkspaceApiKeyAsync(DeleteWorkspaceApiKeyRequest deleteWorkspaceApiKeyRequest)
Deletes a Grafana API key for the workspace.
In workspaces compatible with Grafana version 9 or above, use workspace service accounts instead of API keys. API keys will be removed in a future release.
deleteWorkspaceApiKeyRequest
- Future<DeleteWorkspaceApiKeyResult> deleteWorkspaceApiKeyAsync(DeleteWorkspaceApiKeyRequest deleteWorkspaceApiKeyRequest, AsyncHandler<DeleteWorkspaceApiKeyRequest,DeleteWorkspaceApiKeyResult> asyncHandler)
Deletes a Grafana API key for the workspace.
In workspaces compatible with Grafana version 9 or above, use workspace service accounts instead of API keys. API keys will be removed in a future release.
deleteWorkspaceApiKeyRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteWorkspaceServiceAccountResult> deleteWorkspaceServiceAccountAsync(DeleteWorkspaceServiceAccountRequest deleteWorkspaceServiceAccountRequest)
Deletes a workspace service account from the workspace.
This will delete any tokens created for the service account, as well. If the tokens are currently in use, the will fail to authenticate / authorize after they are deleted.
Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.
deleteWorkspaceServiceAccountRequest
- Future<DeleteWorkspaceServiceAccountResult> deleteWorkspaceServiceAccountAsync(DeleteWorkspaceServiceAccountRequest deleteWorkspaceServiceAccountRequest, AsyncHandler<DeleteWorkspaceServiceAccountRequest,DeleteWorkspaceServiceAccountResult> asyncHandler)
Deletes a workspace service account from the workspace.
This will delete any tokens created for the service account, as well. If the tokens are currently in use, the will fail to authenticate / authorize after they are deleted.
Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.
deleteWorkspaceServiceAccountRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteWorkspaceServiceAccountTokenResult> deleteWorkspaceServiceAccountTokenAsync(DeleteWorkspaceServiceAccountTokenRequest deleteWorkspaceServiceAccountTokenRequest)
Deletes a token for the workspace service account.
This will disable the key associated with the token. If any automation is currently using the key, it will no longer be authenticated or authorized to perform actions with the Grafana HTTP APIs.
Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.
deleteWorkspaceServiceAccountTokenRequest
- Future<DeleteWorkspaceServiceAccountTokenResult> deleteWorkspaceServiceAccountTokenAsync(DeleteWorkspaceServiceAccountTokenRequest deleteWorkspaceServiceAccountTokenRequest, AsyncHandler<DeleteWorkspaceServiceAccountTokenRequest,DeleteWorkspaceServiceAccountTokenResult> asyncHandler)
Deletes a token for the workspace service account.
This will disable the key associated with the token. If any automation is currently using the key, it will no longer be authenticated or authorized to perform actions with the Grafana HTTP APIs.
Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.
deleteWorkspaceServiceAccountTokenRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeWorkspaceResult> describeWorkspaceAsync(DescribeWorkspaceRequest describeWorkspaceRequest)
Displays information about one Amazon Managed Grafana workspace.
describeWorkspaceRequest
- Future<DescribeWorkspaceResult> describeWorkspaceAsync(DescribeWorkspaceRequest describeWorkspaceRequest, AsyncHandler<DescribeWorkspaceRequest,DescribeWorkspaceResult> asyncHandler)
Displays information about one Amazon Managed Grafana workspace.
describeWorkspaceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeWorkspaceAuthenticationResult> describeWorkspaceAuthenticationAsync(DescribeWorkspaceAuthenticationRequest describeWorkspaceAuthenticationRequest)
Displays information about the authentication methods used in one Amazon Managed Grafana workspace.
describeWorkspaceAuthenticationRequest
- Future<DescribeWorkspaceAuthenticationResult> describeWorkspaceAuthenticationAsync(DescribeWorkspaceAuthenticationRequest describeWorkspaceAuthenticationRequest, AsyncHandler<DescribeWorkspaceAuthenticationRequest,DescribeWorkspaceAuthenticationResult> asyncHandler)
Displays information about the authentication methods used in one Amazon Managed Grafana workspace.
describeWorkspaceAuthenticationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeWorkspaceConfigurationResult> describeWorkspaceConfigurationAsync(DescribeWorkspaceConfigurationRequest describeWorkspaceConfigurationRequest)
Gets the current configuration string for the given workspace.
describeWorkspaceConfigurationRequest
- Future<DescribeWorkspaceConfigurationResult> describeWorkspaceConfigurationAsync(DescribeWorkspaceConfigurationRequest describeWorkspaceConfigurationRequest, AsyncHandler<DescribeWorkspaceConfigurationRequest,DescribeWorkspaceConfigurationResult> asyncHandler)
Gets the current configuration string for the given workspace.
describeWorkspaceConfigurationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DisassociateLicenseResult> disassociateLicenseAsync(DisassociateLicenseRequest disassociateLicenseRequest)
Removes the Grafana Enterprise license from a workspace.
disassociateLicenseRequest
- Future<DisassociateLicenseResult> disassociateLicenseAsync(DisassociateLicenseRequest disassociateLicenseRequest, AsyncHandler<DisassociateLicenseRequest,DisassociateLicenseResult> asyncHandler)
Removes the Grafana Enterprise license from a workspace.
disassociateLicenseRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListPermissionsResult> listPermissionsAsync(ListPermissionsRequest listPermissionsRequest)
Lists the users and groups who have the Grafana Admin
and Editor
roles in this
workspace. If you use this operation without specifying userId
or groupId
, the
operation returns the roles of all users and groups. If you specify a userId
or a
groupId
, only the roles for that user or group are returned. If you do this, you can specify only
one userId
or one groupId
.
listPermissionsRequest
- Future<ListPermissionsResult> listPermissionsAsync(ListPermissionsRequest listPermissionsRequest, AsyncHandler<ListPermissionsRequest,ListPermissionsResult> asyncHandler)
Lists the users and groups who have the Grafana Admin
and Editor
roles in this
workspace. If you use this operation without specifying userId
or groupId
, the
operation returns the roles of all users and groups. If you specify a userId
or a
groupId
, only the roles for that user or group are returned. If you do this, you can specify only
one userId
or one groupId
.
listPermissionsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
The ListTagsForResource
operation returns the tags that are associated with the Amazon Managed
Service for Grafana resource specified by the resourceArn
. Currently, the only resource that can be
tagged is a workspace.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
The ListTagsForResource
operation returns the tags that are associated with the Amazon Managed
Service for Grafana resource specified by the resourceArn
. Currently, the only resource that can be
tagged is a workspace.
listTagsForResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListVersionsResult> listVersionsAsync(ListVersionsRequest listVersionsRequest)
Lists available versions of Grafana. These are available when calling CreateWorkspace
. Optionally,
include a workspace to list the versions to which it can be upgraded.
listVersionsRequest
- Future<ListVersionsResult> listVersionsAsync(ListVersionsRequest listVersionsRequest, AsyncHandler<ListVersionsRequest,ListVersionsResult> asyncHandler)
Lists available versions of Grafana. These are available when calling CreateWorkspace
. Optionally,
include a workspace to list the versions to which it can be upgraded.
listVersionsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListWorkspaceServiceAccountTokensResult> listWorkspaceServiceAccountTokensAsync(ListWorkspaceServiceAccountTokensRequest listWorkspaceServiceAccountTokensRequest)
Returns a list of tokens for a workspace service account.
This does not return the key for each token. You cannot access keys after they are created. To create a new key, delete the token and recreate it.
Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.
listWorkspaceServiceAccountTokensRequest
- Future<ListWorkspaceServiceAccountTokensResult> listWorkspaceServiceAccountTokensAsync(ListWorkspaceServiceAccountTokensRequest listWorkspaceServiceAccountTokensRequest, AsyncHandler<ListWorkspaceServiceAccountTokensRequest,ListWorkspaceServiceAccountTokensResult> asyncHandler)
Returns a list of tokens for a workspace service account.
This does not return the key for each token. You cannot access keys after they are created. To create a new key, delete the token and recreate it.
Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.
listWorkspaceServiceAccountTokensRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListWorkspaceServiceAccountsResult> listWorkspaceServiceAccountsAsync(ListWorkspaceServiceAccountsRequest listWorkspaceServiceAccountsRequest)
Returns a list of service accounts for a workspace.
Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.
listWorkspaceServiceAccountsRequest
- Future<ListWorkspaceServiceAccountsResult> listWorkspaceServiceAccountsAsync(ListWorkspaceServiceAccountsRequest listWorkspaceServiceAccountsRequest, AsyncHandler<ListWorkspaceServiceAccountsRequest,ListWorkspaceServiceAccountsResult> asyncHandler)
Returns a list of service accounts for a workspace.
Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.
listWorkspaceServiceAccountsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListWorkspacesResult> listWorkspacesAsync(ListWorkspacesRequest listWorkspacesRequest)
Returns a list of Amazon Managed Grafana workspaces in the account, with some information about each workspace. For more complete information about one workspace, use DescribeWorkspace.
listWorkspacesRequest
- Future<ListWorkspacesResult> listWorkspacesAsync(ListWorkspacesRequest listWorkspacesRequest, AsyncHandler<ListWorkspacesRequest,ListWorkspacesResult> asyncHandler)
Returns a list of Amazon Managed Grafana workspaces in the account, with some information about each workspace. For more complete information about one workspace, use DescribeWorkspace.
listWorkspacesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
The TagResource
operation associates tags with an Amazon Managed Grafana resource. Currently, the
only resource that can be tagged is workspaces.
If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
The TagResource
operation associates tags with an Amazon Managed Grafana resource. Currently, the
only resource that can be tagged is workspaces.
If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.
tagResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
The UntagResource
operation removes the association of the tag with the Amazon Managed Grafana
resource.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
The UntagResource
operation removes the association of the tag with the Amazon Managed Grafana
resource.
untagResourceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdatePermissionsResult> updatePermissionsAsync(UpdatePermissionsRequest updatePermissionsRequest)
Updates which users in a workspace have the Grafana Admin
or Editor
roles.
updatePermissionsRequest
- Future<UpdatePermissionsResult> updatePermissionsAsync(UpdatePermissionsRequest updatePermissionsRequest, AsyncHandler<UpdatePermissionsRequest,UpdatePermissionsResult> asyncHandler)
Updates which users in a workspace have the Grafana Admin
or Editor
roles.
updatePermissionsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateWorkspaceResult> updateWorkspaceAsync(UpdateWorkspaceRequest updateWorkspaceRequest)
Modifies an existing Amazon Managed Grafana workspace. If you use this operation and omit any optional parameters, the existing values of those parameters are not changed.
To modify the user authentication methods that the workspace uses, such as SAML or IAM Identity Center, use UpdateWorkspaceAuthentication.
To modify which users in the workspace have the Admin
and Editor
Grafana roles, use UpdatePermissions.
updateWorkspaceRequest
- Future<UpdateWorkspaceResult> updateWorkspaceAsync(UpdateWorkspaceRequest updateWorkspaceRequest, AsyncHandler<UpdateWorkspaceRequest,UpdateWorkspaceResult> asyncHandler)
Modifies an existing Amazon Managed Grafana workspace. If you use this operation and omit any optional parameters, the existing values of those parameters are not changed.
To modify the user authentication methods that the workspace uses, such as SAML or IAM Identity Center, use UpdateWorkspaceAuthentication.
To modify which users in the workspace have the Admin
and Editor
Grafana roles, use UpdatePermissions.
updateWorkspaceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateWorkspaceAuthenticationResult> updateWorkspaceAuthenticationAsync(UpdateWorkspaceAuthenticationRequest updateWorkspaceAuthenticationRequest)
Use this operation to define the identity provider (IdP) that this workspace authenticates users from, using
SAML. You can also map SAML assertion attributes to workspace user information and define which groups in the
assertion attribute are to have the Admin
and Editor
roles in the workspace.
Changes to the authentication method for a workspace may take a few minutes to take effect.
updateWorkspaceAuthenticationRequest
- Future<UpdateWorkspaceAuthenticationResult> updateWorkspaceAuthenticationAsync(UpdateWorkspaceAuthenticationRequest updateWorkspaceAuthenticationRequest, AsyncHandler<UpdateWorkspaceAuthenticationRequest,UpdateWorkspaceAuthenticationResult> asyncHandler)
Use this operation to define the identity provider (IdP) that this workspace authenticates users from, using
SAML. You can also map SAML assertion attributes to workspace user information and define which groups in the
assertion attribute are to have the Admin
and Editor
roles in the workspace.
Changes to the authentication method for a workspace may take a few minutes to take effect.
updateWorkspaceAuthenticationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateWorkspaceConfigurationResult> updateWorkspaceConfigurationAsync(UpdateWorkspaceConfigurationRequest updateWorkspaceConfigurationRequest)
Updates the configuration string for the given workspace
updateWorkspaceConfigurationRequest
- Future<UpdateWorkspaceConfigurationResult> updateWorkspaceConfigurationAsync(UpdateWorkspaceConfigurationRequest updateWorkspaceConfigurationRequest, AsyncHandler<UpdateWorkspaceConfigurationRequest,UpdateWorkspaceConfigurationResult> asyncHandler)
Updates the configuration string for the given workspace
updateWorkspaceConfigurationRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.