pub struct RegisterSlackWorkspaceForOrganization { /* private fields */ }
Expand description
Fluent builder constructing a request to RegisterSlackWorkspaceForOrganization
.
Registers a Slack workspace for your Amazon Web Services account. To call this API, your account must be part of an organization in Organizations.
If you're the management account and you want to register Slack workspaces for your organization, you must complete the following tasks:
-
Sign in to the Amazon Web Services Support Center and authorize the Slack workspaces where you want your organization to have access to. See Authorize a Slack workspace in the Amazon Web Services Support User Guide.
-
Call the
RegisterSlackWorkspaceForOrganization
API to authorize each Slack workspace for the organization.
After the management account authorizes the Slack workspace, member accounts can call this API to authorize the same Slack workspace for their individual accounts. Member accounts don't need to authorize the Slack workspace manually through the Amazon Web Services Support Center.
To use the Amazon Web Services Support App, each account must then complete the following tasks:
-
Create an Identity and Access Management (IAM) role with the required permission. For more information, see Managing access to the Amazon Web Services Support App.
-
Configure a Slack channel to use the Amazon Web Services Support App for support cases for that account. For more information, see Configuring a Slack channel.
Implementations§
source§impl RegisterSlackWorkspaceForOrganization
impl RegisterSlackWorkspaceForOrganization
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<RegisterSlackWorkspaceForOrganization, AwsResponseRetryClassifier>, SdkError<RegisterSlackWorkspaceForOrganizationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<RegisterSlackWorkspaceForOrganization, AwsResponseRetryClassifier>, SdkError<RegisterSlackWorkspaceForOrganizationError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<RegisterSlackWorkspaceForOrganizationOutput, SdkError<RegisterSlackWorkspaceForOrganizationError>>
pub async fn send(
self
) -> Result<RegisterSlackWorkspaceForOrganizationOutput, SdkError<RegisterSlackWorkspaceForOrganizationError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn team_id(self, input: impl Into<String>) -> Self
pub fn team_id(self, input: impl Into<String>) -> Self
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
. Specify the Slack workspace that you want to use for your organization.
sourcepub fn set_team_id(self, input: Option<String>) -> Self
pub fn set_team_id(self, input: Option<String>) -> Self
The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG
. Specify the Slack workspace that you want to use for your organization.
Trait Implementations§
source§impl Clone for RegisterSlackWorkspaceForOrganization
impl Clone for RegisterSlackWorkspaceForOrganization
source§fn clone(&self) -> RegisterSlackWorkspaceForOrganization
fn clone(&self) -> RegisterSlackWorkspaceForOrganization
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more