Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.chatbot
import aws.sdk.kotlin.runtime.auth.credentials.DefaultChainCredentialsProvider
import aws.sdk.kotlin.runtime.auth.credentials.internal.manage
import aws.sdk.kotlin.runtime.client.AwsSdkClientConfig
import aws.sdk.kotlin.runtime.config.AbstractAwsSdkClientFactory
import aws.sdk.kotlin.runtime.config.endpoints.resolveEndpointUrl
import aws.sdk.kotlin.runtime.config.profile.AwsProfile
import aws.sdk.kotlin.runtime.config.profile.AwsSharedConfig
import aws.sdk.kotlin.runtime.http.retries.AwsRetryPolicy
import aws.sdk.kotlin.services.chatbot.auth.ChatbotAuthSchemeProvider
import aws.sdk.kotlin.services.chatbot.auth.DefaultChatbotAuthSchemeProvider
import aws.sdk.kotlin.services.chatbot.endpoints.ChatbotEndpointParameters
import aws.sdk.kotlin.services.chatbot.endpoints.ChatbotEndpointProvider
import aws.sdk.kotlin.services.chatbot.endpoints.DefaultChatbotEndpointProvider
import aws.sdk.kotlin.services.chatbot.model.CreateChimeWebhookConfigurationRequest
import aws.sdk.kotlin.services.chatbot.model.CreateChimeWebhookConfigurationResponse
import aws.sdk.kotlin.services.chatbot.model.CreateMicrosoftTeamsChannelConfigurationRequest
import aws.sdk.kotlin.services.chatbot.model.CreateMicrosoftTeamsChannelConfigurationResponse
import aws.sdk.kotlin.services.chatbot.model.CreateSlackChannelConfigurationRequest
import aws.sdk.kotlin.services.chatbot.model.CreateSlackChannelConfigurationResponse
import aws.sdk.kotlin.services.chatbot.model.DeleteChimeWebhookConfigurationRequest
import aws.sdk.kotlin.services.chatbot.model.DeleteChimeWebhookConfigurationResponse
import aws.sdk.kotlin.services.chatbot.model.DeleteMicrosoftTeamsChannelConfigurationRequest
import aws.sdk.kotlin.services.chatbot.model.DeleteMicrosoftTeamsChannelConfigurationResponse
import aws.sdk.kotlin.services.chatbot.model.DeleteMicrosoftTeamsConfiguredTeamRequest
import aws.sdk.kotlin.services.chatbot.model.DeleteMicrosoftTeamsConfiguredTeamResponse
import aws.sdk.kotlin.services.chatbot.model.DeleteMicrosoftTeamsUserIdentityRequest
import aws.sdk.kotlin.services.chatbot.model.DeleteMicrosoftTeamsUserIdentityResponse
import aws.sdk.kotlin.services.chatbot.model.DeleteSlackChannelConfigurationRequest
import aws.sdk.kotlin.services.chatbot.model.DeleteSlackChannelConfigurationResponse
import aws.sdk.kotlin.services.chatbot.model.DeleteSlackUserIdentityRequest
import aws.sdk.kotlin.services.chatbot.model.DeleteSlackUserIdentityResponse
import aws.sdk.kotlin.services.chatbot.model.DeleteSlackWorkspaceAuthorizationRequest
import aws.sdk.kotlin.services.chatbot.model.DeleteSlackWorkspaceAuthorizationResponse
import aws.sdk.kotlin.services.chatbot.model.DescribeChimeWebhookConfigurationsRequest
import aws.sdk.kotlin.services.chatbot.model.DescribeChimeWebhookConfigurationsResponse
import aws.sdk.kotlin.services.chatbot.model.DescribeSlackChannelConfigurationsRequest
import aws.sdk.kotlin.services.chatbot.model.DescribeSlackChannelConfigurationsResponse
import aws.sdk.kotlin.services.chatbot.model.DescribeSlackUserIdentitiesRequest
import aws.sdk.kotlin.services.chatbot.model.DescribeSlackUserIdentitiesResponse
import aws.sdk.kotlin.services.chatbot.model.DescribeSlackWorkspacesRequest
import aws.sdk.kotlin.services.chatbot.model.DescribeSlackWorkspacesResponse
import aws.sdk.kotlin.services.chatbot.model.GetAccountPreferencesRequest
import aws.sdk.kotlin.services.chatbot.model.GetAccountPreferencesResponse
import aws.sdk.kotlin.services.chatbot.model.GetMicrosoftTeamsChannelConfigurationRequest
import aws.sdk.kotlin.services.chatbot.model.GetMicrosoftTeamsChannelConfigurationResponse
import aws.sdk.kotlin.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsRequest
import aws.sdk.kotlin.services.chatbot.model.ListMicrosoftTeamsChannelConfigurationsResponse
import aws.sdk.kotlin.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsRequest
import aws.sdk.kotlin.services.chatbot.model.ListMicrosoftTeamsConfiguredTeamsResponse
import aws.sdk.kotlin.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesRequest
import aws.sdk.kotlin.services.chatbot.model.ListMicrosoftTeamsUserIdentitiesResponse
import aws.sdk.kotlin.services.chatbot.model.ListTagsForResourceRequest
import aws.sdk.kotlin.services.chatbot.model.ListTagsForResourceResponse
import aws.sdk.kotlin.services.chatbot.model.TagResourceRequest
import aws.sdk.kotlin.services.chatbot.model.TagResourceResponse
import aws.sdk.kotlin.services.chatbot.model.UntagResourceRequest
import aws.sdk.kotlin.services.chatbot.model.UntagResourceResponse
import aws.sdk.kotlin.services.chatbot.model.UpdateAccountPreferencesRequest
import aws.sdk.kotlin.services.chatbot.model.UpdateAccountPreferencesResponse
import aws.sdk.kotlin.services.chatbot.model.UpdateChimeWebhookConfigurationRequest
import aws.sdk.kotlin.services.chatbot.model.UpdateChimeWebhookConfigurationResponse
import aws.sdk.kotlin.services.chatbot.model.UpdateMicrosoftTeamsChannelConfigurationRequest
import aws.sdk.kotlin.services.chatbot.model.UpdateMicrosoftTeamsChannelConfigurationResponse
import aws.sdk.kotlin.services.chatbot.model.UpdateSlackChannelConfigurationRequest
import aws.sdk.kotlin.services.chatbot.model.UpdateSlackChannelConfigurationResponse
import aws.smithy.kotlin.runtime.auth.awscredentials.CredentialsProvider
import aws.smithy.kotlin.runtime.auth.awscredentials.CredentialsProviderConfig
import aws.smithy.kotlin.runtime.awsprotocol.ClockSkewInterceptor
import aws.smithy.kotlin.runtime.client.AbstractSdkClientBuilder
import aws.smithy.kotlin.runtime.client.AbstractSdkClientFactory
import aws.smithy.kotlin.runtime.client.LogMode
import aws.smithy.kotlin.runtime.client.RetryClientConfig
import aws.smithy.kotlin.runtime.client.RetryStrategyClientConfig
import aws.smithy.kotlin.runtime.client.RetryStrategyClientConfigImpl
import aws.smithy.kotlin.runtime.client.SdkClient
import aws.smithy.kotlin.runtime.client.SdkClientConfig
import aws.smithy.kotlin.runtime.http.auth.AuthScheme
import aws.smithy.kotlin.runtime.http.auth.HttpAuthConfig
import aws.smithy.kotlin.runtime.http.config.HttpClientConfig
import aws.smithy.kotlin.runtime.http.config.HttpEngineConfig
import aws.smithy.kotlin.runtime.http.engine.HttpClientEngine
import aws.smithy.kotlin.runtime.http.engine.HttpEngineConfigImpl
import aws.smithy.kotlin.runtime.http.interceptors.HttpInterceptor
import aws.smithy.kotlin.runtime.net.url.Url
import aws.smithy.kotlin.runtime.retries.RetryStrategy
import aws.smithy.kotlin.runtime.retries.policy.RetryPolicy
import aws.smithy.kotlin.runtime.telemetry.Global
import aws.smithy.kotlin.runtime.telemetry.TelemetryConfig
import aws.smithy.kotlin.runtime.telemetry.TelemetryProvider
import aws.smithy.kotlin.runtime.util.LazyAsyncValue
import kotlin.collections.List
import kotlin.jvm.JvmStatic
public const val ServiceId: String = "chatbot"
public const val SdkVersion: String = "1.3.37"
public const val ServiceApiVersion: String = "2017-10-11"
/**
* The *AWS Chatbot API Reference* provides descriptions, API request parameters, and the XML response for each of the AWS Chatbot API actions.
*
* AWS Chatbot APIs are currently available in the following Regions:
* + US East (Ohio) - `us-east-2`
* + US West (Oregon) - `us-west-2`
* + Asia Pacific (Singapore) - `ap-southeast-1`
* + Europe (Ireland) - `eu-west-1`
*
* The AWS Chatbot console can only be used in US East (Ohio). Your configuration data however, is stored in each of the relevant available Regions.
*
* Your AWS CloudTrail events are logged in whatever Region you call from, not US East (N. Virginia) by default.
*/
public interface ChatbotClient : SdkClient {
/**
* ChatbotClient's configuration
*/
public override val config: Config
public companion object : AbstractAwsSdkClientFactory()
{
@JvmStatic
override fun builder(): Builder = Builder()
override fun finalizeConfig(builder: Builder) {
super.finalizeConfig(builder)
builder.config.interceptors.add(0, ClockSkewInterceptor())
}
override suspend fun finalizeEnvironmentalConfig(builder: Builder, sharedConfig: LazyAsyncValue, activeProfile: LazyAsyncValue) {
super.finalizeEnvironmentalConfig(builder, sharedConfig, activeProfile)
builder.config.endpointUrl = builder.config.endpointUrl ?: resolveEndpointUrl(
sharedConfig,
"Chatbot",
"CHATBOT",
"chatbot",
)
}
}
public class Builder internal constructor(): AbstractSdkClientBuilder() {
override val config: Config.Builder = Config.Builder()
override fun newClient(config: Config): ChatbotClient = DefaultChatbotClient(config)
}
public class Config private constructor(builder: Builder) : AwsSdkClientConfig, CredentialsProviderConfig, HttpAuthConfig, HttpClientConfig, HttpEngineConfig by builder.buildHttpEngineConfig(), RetryClientConfig, RetryStrategyClientConfig by builder.buildRetryStrategyClientConfig(), SdkClientConfig, TelemetryConfig {
override val clientName: String = builder.clientName
override val region: String? = builder.region
override val authSchemes: kotlin.collections.List = builder.authSchemes
override val credentialsProvider: CredentialsProvider = builder.credentialsProvider ?: DefaultChainCredentialsProvider(httpClient = httpClient, region = region).manage()
public val endpointProvider: ChatbotEndpointProvider = builder.endpointProvider ?: DefaultChatbotEndpointProvider()
public val endpointUrl: Url? = builder.endpointUrl
override val interceptors: kotlin.collections.List = builder.interceptors
override val logMode: LogMode = builder.logMode ?: LogMode.Default
override val retryPolicy: RetryPolicy = builder.retryPolicy ?: AwsRetryPolicy.Default
override val telemetryProvider: TelemetryProvider = builder.telemetryProvider ?: TelemetryProvider.Global
override val useDualStack: Boolean = builder.useDualStack ?: false
override val useFips: Boolean = builder.useFips ?: false
override val applicationId: String? = builder.applicationId
public val authSchemeProvider: ChatbotAuthSchemeProvider = builder.authSchemeProvider ?: DefaultChatbotAuthSchemeProvider()
public companion object {
public inline operator fun invoke(block: Builder.() -> kotlin.Unit): Config = Builder().apply(block).build()
}
public fun toBuilder(): Builder = Builder().apply {
clientName = [email protected]
region = [email protected]
authSchemes = [email protected]
credentialsProvider = [email protected]
endpointProvider = [email protected]
endpointUrl = [email protected]
httpClient = [email protected]
interceptors = [email protected]()
logMode = [email protected]
retryPolicy = [email protected]
retryStrategy = [email protected]
telemetryProvider = [email protected]
useDualStack = [email protected]
useFips = [email protected]
applicationId = [email protected]
authSchemeProvider = [email protected]
}
public class Builder : AwsSdkClientConfig.Builder, CredentialsProviderConfig.Builder, HttpAuthConfig.Builder, HttpClientConfig.Builder, HttpEngineConfig.Builder by HttpEngineConfigImpl.BuilderImpl(), RetryClientConfig.Builder, RetryStrategyClientConfig.Builder by RetryStrategyClientConfigImpl.BuilderImpl(), SdkClientConfig.Builder, TelemetryConfig.Builder {
/**
* A reader-friendly name for the client.
*/
override var clientName: String = "chatbot"
/**
* The AWS region (e.g. `us-west-2`) to make requests to. See about AWS
* [global infrastructure](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/) for more
* information
*/
override var region: String? = null
/**
* Register new or override default [AuthScheme]s configured for this client. By default, the set
* of auth schemes configured comes from the service model. An auth scheme configured explicitly takes
* precedence over the defaults and can be used to customize identity resolution and signing for specific
* authentication schemes.
*/
override var authSchemes: kotlin.collections.List = emptyList()
/**
* The AWS credentials provider to use for authenticating requests. If not provided a
* [aws.sdk.kotlin.runtime.auth.credentials.DefaultChainCredentialsProvider] instance will be used.
* NOTE: The caller is responsible for managing the lifetime of the provider when set. The SDK
* client will not close it when the client is closed.
*/
override var credentialsProvider: CredentialsProvider? = null
/**
* The endpoint provider used to determine where to make service requests. **This is an advanced config
* option.**
*
* Endpoint resolution occurs as part of the workflow for every request made via the service client.
*
* The inputs to endpoint resolution are defined on a per-service basis (see [EndpointParameters]).
*/
public var endpointProvider: ChatbotEndpointProvider? = null
/**
* A custom endpoint to route requests to. The endpoint set here is passed to the configured
* [endpointProvider], which may inspect and modify it as needed.
*
* Setting a custom endpointUrl should generally be preferred to overriding the [endpointProvider] and is
* the recommended way to route requests to development or preview instances of a service.
*
* **This is an advanced config option.**
*/
public var endpointUrl: Url? = null
/**
* Add an [aws.smithy.kotlin.runtime.client.Interceptor] that will have access to read and modify
* the request and response objects as they are processed by the SDK.
* Interceptors added using this method are executed in the order they are configured and are always
* later than any added automatically by the SDK.
*/
override var interceptors: kotlin.collections.MutableList = kotlin.collections.mutableListOf()
/**
* Configure events that will be logged. By default clients will not output
* raw requests or responses. Use this setting to opt-in to additional debug logging.
*
* This can be used to configure logging of requests, responses, retries, etc of SDK clients.
*
* **NOTE**: Logging of raw requests or responses may leak sensitive information! It may also have
* performance considerations when dumping the request/response body. This is primarily a tool for
* debug purposes.
*/
override var logMode: LogMode? = null
/**
* The policy to use for evaluating operation results and determining whether/how to retry.
*/
override var retryPolicy: RetryPolicy? = null
/**
* The telemetry provider used to instrument the SDK operations with. By default, the global telemetry
* provider will be used.
*/
override var telemetryProvider: TelemetryProvider? = null
/**
* Flag to toggle whether to use dual-stack endpoints when making requests.
* See [https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html] for more information.
* ` Disabled by default.
*/
override var useDualStack: Boolean? = null
/**
* Flag to toggle whether to use [FIPS](https://aws.amazon.com/compliance/fips/) endpoints when making requests.
* ` Disabled by default.
*/
override var useFips: Boolean? = null
/**
* An optional application specific identifier.
* When set it will be appended to the User-Agent header of every request in the form of: `app/{applicationId}`.
* When not explicitly set, the value will be loaded from the following locations:
*
* - JVM System Property: `aws.userAgentAppId`
* - Environment variable: `AWS_SDK_UA_APP_ID`
* - Shared configuration profile attribute: `sdk_ua_app_id`
*
* See [shared configuration settings](https://docs.aws.amazon.com/sdkref/latest/guide/settings-reference.html)
* reference for more information on environment variables and shared config settings.
*/
override var applicationId: String? = null
/**
* Configure the provider used to resolve the authentication scheme to use for a particular operation.
*/
public var authSchemeProvider: ChatbotAuthSchemeProvider? = null
override fun build(): Config = Config(this)
}
}
/**
* Creates an AWS Chatbot configuration for Amazon Chime.
*/
public suspend fun createChimeWebhookConfiguration(input: CreateChimeWebhookConfigurationRequest): CreateChimeWebhookConfigurationResponse
/**
* Creates an AWS Chatbot configuration for Microsoft Teams.
*/
public suspend fun createMicrosoftTeamsChannelConfiguration(input: CreateMicrosoftTeamsChannelConfigurationRequest): CreateMicrosoftTeamsChannelConfigurationResponse
/**
* Creates an AWS Chatbot confugration for Slack.
*/
public suspend fun createSlackChannelConfiguration(input: CreateSlackChannelConfigurationRequest): CreateSlackChannelConfigurationResponse
/**
* Deletes a Amazon Chime webhook configuration for AWS Chatbot.
*/
public suspend fun deleteChimeWebhookConfiguration(input: DeleteChimeWebhookConfigurationRequest): DeleteChimeWebhookConfigurationResponse
/**
* Deletes a Microsoft Teams channel configuration for AWS Chatbot
*/
public suspend fun deleteMicrosoftTeamsChannelConfiguration(input: DeleteMicrosoftTeamsChannelConfigurationRequest): DeleteMicrosoftTeamsChannelConfigurationResponse
/**
* Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team. Note that the Microsoft Teams team must have no channels configured to remove it.
*/
public suspend fun deleteMicrosoftTeamsConfiguredTeam(input: DeleteMicrosoftTeamsConfiguredTeamRequest): DeleteMicrosoftTeamsConfiguredTeamResponse
/**
* Identifes a user level permission for a channel configuration.
*/
public suspend fun deleteMicrosoftTeamsUserIdentity(input: DeleteMicrosoftTeamsUserIdentityRequest): DeleteMicrosoftTeamsUserIdentityResponse
/**
* Deletes a Slack channel configuration for AWS Chatbot
*/
public suspend fun deleteSlackChannelConfiguration(input: DeleteSlackChannelConfigurationRequest): DeleteSlackChannelConfigurationResponse
/**
* Deletes a user level permission for a Slack channel configuration.
*/
public suspend fun deleteSlackUserIdentity(input: DeleteSlackUserIdentityRequest): DeleteSlackUserIdentityResponse
/**
* Deletes the Slack workspace authorization that allows channels to be configured in that workspace. This requires all configured channels in the workspace to be deleted.
*/
public suspend fun deleteSlackWorkspaceAuthorization(input: DeleteSlackWorkspaceAuthorizationRequest): DeleteSlackWorkspaceAuthorizationResponse
/**
* Lists Amazon Chime webhook configurations optionally filtered by ChatConfigurationArn
*/
public suspend fun describeChimeWebhookConfigurations(input: DescribeChimeWebhookConfigurationsRequest = DescribeChimeWebhookConfigurationsRequest { }): DescribeChimeWebhookConfigurationsResponse
/**
* Lists Slack channel configurations optionally filtered by ChatConfigurationArn
*/
public suspend fun describeSlackChannelConfigurations(input: DescribeSlackChannelConfigurationsRequest = DescribeSlackChannelConfigurationsRequest { }): DescribeSlackChannelConfigurationsResponse
/**
* Lists all Slack user identities with a mapped role.
*/
public suspend fun describeSlackUserIdentities(input: DescribeSlackUserIdentitiesRequest = DescribeSlackUserIdentitiesRequest { }): DescribeSlackUserIdentitiesResponse
/**
* List all authorized Slack workspaces connected to the AWS Account onboarded with AWS Chatbot.
*/
public suspend fun describeSlackWorkspaces(input: DescribeSlackWorkspacesRequest = DescribeSlackWorkspacesRequest { }): DescribeSlackWorkspacesResponse
/**
* Returns AWS Chatbot account preferences.
*/
public suspend fun getAccountPreferences(input: GetAccountPreferencesRequest = GetAccountPreferencesRequest { }): GetAccountPreferencesResponse
/**
* Returns a Microsoft Teams channel configuration in an AWS account.
*/
public suspend fun getMicrosoftTeamsChannelConfiguration(input: GetMicrosoftTeamsChannelConfigurationRequest): GetMicrosoftTeamsChannelConfigurationResponse
/**
* Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.
*/
public suspend fun listMicrosoftTeamsChannelConfigurations(input: ListMicrosoftTeamsChannelConfigurationsRequest = ListMicrosoftTeamsChannelConfigurationsRequest { }): ListMicrosoftTeamsChannelConfigurationsResponse
/**
* Lists all authorized Microsoft Teams for an AWS Account
*/
public suspend fun listMicrosoftTeamsConfiguredTeams(input: ListMicrosoftTeamsConfiguredTeamsRequest = ListMicrosoftTeamsConfiguredTeamsRequest { }): ListMicrosoftTeamsConfiguredTeamsResponse
/**
* A list all Microsoft Teams user identities with a mapped role.
*/
public suspend fun listMicrosoftTeamsUserIdentities(input: ListMicrosoftTeamsUserIdentitiesRequest = ListMicrosoftTeamsUserIdentitiesRequest { }): ListMicrosoftTeamsUserIdentitiesResponse
/**
* Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.
*/
public suspend fun listTagsForResource(input: ListTagsForResourceRequest): ListTagsForResourceResponse
/**
* Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
*/
public suspend fun tagResource(input: TagResourceRequest): TagResourceResponse
/**
* Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
*/
public suspend fun untagResource(input: UntagResourceRequest): UntagResourceResponse
/**
* Updates AWS Chatbot account preferences.
*/
public suspend fun updateAccountPreferences(input: UpdateAccountPreferencesRequest = UpdateAccountPreferencesRequest { }): UpdateAccountPreferencesResponse
/**
* Updates a Amazon Chime webhook configuration.
*/
public suspend fun updateChimeWebhookConfiguration(input: UpdateChimeWebhookConfigurationRequest): UpdateChimeWebhookConfigurationResponse
/**
* Updates an Microsoft Teams channel configuration.
*/
public suspend fun updateMicrosoftTeamsChannelConfiguration(input: UpdateMicrosoftTeamsChannelConfigurationRequest): UpdateMicrosoftTeamsChannelConfigurationResponse
/**
* Updates a Slack channel configuration.
*/
public suspend fun updateSlackChannelConfiguration(input: UpdateSlackChannelConfigurationRequest): UpdateSlackChannelConfigurationResponse
}
/**
* Create a copy of the client with one or more configuration values overridden.
* This method allows the caller to perform scoped config overrides for one or more client operations.
*
* Any resources created on your behalf will be shared between clients, and will only be closed when ALL clients using them are closed.
* If you provide a resource (e.g. [HttpClientEngine]) to the SDK, you are responsible for managing the lifetime of that resource.
*/
public fun ChatbotClient.withConfig(block: ChatbotClient.Config.Builder.() -> Unit): ChatbotClient {
val newConfig = config.toBuilder().apply(block).build()
return DefaultChatbotClient(newConfig)
}
/**
* Creates an AWS Chatbot configuration for Amazon Chime.
*/
public suspend inline fun ChatbotClient.createChimeWebhookConfiguration(crossinline block: CreateChimeWebhookConfigurationRequest.Builder.() -> Unit): CreateChimeWebhookConfigurationResponse = createChimeWebhookConfiguration(CreateChimeWebhookConfigurationRequest.Builder().apply(block).build())
/**
* Creates an AWS Chatbot configuration for Microsoft Teams.
*/
public suspend inline fun ChatbotClient.createMicrosoftTeamsChannelConfiguration(crossinline block: CreateMicrosoftTeamsChannelConfigurationRequest.Builder.() -> Unit): CreateMicrosoftTeamsChannelConfigurationResponse = createMicrosoftTeamsChannelConfiguration(CreateMicrosoftTeamsChannelConfigurationRequest.Builder().apply(block).build())
/**
* Creates an AWS Chatbot confugration for Slack.
*/
public suspend inline fun ChatbotClient.createSlackChannelConfiguration(crossinline block: CreateSlackChannelConfigurationRequest.Builder.() -> Unit): CreateSlackChannelConfigurationResponse = createSlackChannelConfiguration(CreateSlackChannelConfigurationRequest.Builder().apply(block).build())
/**
* Deletes a Amazon Chime webhook configuration for AWS Chatbot.
*/
public suspend inline fun ChatbotClient.deleteChimeWebhookConfiguration(crossinline block: DeleteChimeWebhookConfigurationRequest.Builder.() -> Unit): DeleteChimeWebhookConfigurationResponse = deleteChimeWebhookConfiguration(DeleteChimeWebhookConfigurationRequest.Builder().apply(block).build())
/**
* Deletes a Microsoft Teams channel configuration for AWS Chatbot
*/
public suspend inline fun ChatbotClient.deleteMicrosoftTeamsChannelConfiguration(crossinline block: DeleteMicrosoftTeamsChannelConfigurationRequest.Builder.() -> Unit): DeleteMicrosoftTeamsChannelConfigurationResponse = deleteMicrosoftTeamsChannelConfiguration(DeleteMicrosoftTeamsChannelConfigurationRequest.Builder().apply(block).build())
/**
* Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team. Note that the Microsoft Teams team must have no channels configured to remove it.
*/
public suspend inline fun ChatbotClient.deleteMicrosoftTeamsConfiguredTeam(crossinline block: DeleteMicrosoftTeamsConfiguredTeamRequest.Builder.() -> Unit): DeleteMicrosoftTeamsConfiguredTeamResponse = deleteMicrosoftTeamsConfiguredTeam(DeleteMicrosoftTeamsConfiguredTeamRequest.Builder().apply(block).build())
/**
* Identifes a user level permission for a channel configuration.
*/
public suspend inline fun ChatbotClient.deleteMicrosoftTeamsUserIdentity(crossinline block: DeleteMicrosoftTeamsUserIdentityRequest.Builder.() -> Unit): DeleteMicrosoftTeamsUserIdentityResponse = deleteMicrosoftTeamsUserIdentity(DeleteMicrosoftTeamsUserIdentityRequest.Builder().apply(block).build())
/**
* Deletes a Slack channel configuration for AWS Chatbot
*/
public suspend inline fun ChatbotClient.deleteSlackChannelConfiguration(crossinline block: DeleteSlackChannelConfigurationRequest.Builder.() -> Unit): DeleteSlackChannelConfigurationResponse = deleteSlackChannelConfiguration(DeleteSlackChannelConfigurationRequest.Builder().apply(block).build())
/**
* Deletes a user level permission for a Slack channel configuration.
*/
public suspend inline fun ChatbotClient.deleteSlackUserIdentity(crossinline block: DeleteSlackUserIdentityRequest.Builder.() -> Unit): DeleteSlackUserIdentityResponse = deleteSlackUserIdentity(DeleteSlackUserIdentityRequest.Builder().apply(block).build())
/**
* Deletes the Slack workspace authorization that allows channels to be configured in that workspace. This requires all configured channels in the workspace to be deleted.
*/
public suspend inline fun ChatbotClient.deleteSlackWorkspaceAuthorization(crossinline block: DeleteSlackWorkspaceAuthorizationRequest.Builder.() -> Unit): DeleteSlackWorkspaceAuthorizationResponse = deleteSlackWorkspaceAuthorization(DeleteSlackWorkspaceAuthorizationRequest.Builder().apply(block).build())
/**
* Lists Amazon Chime webhook configurations optionally filtered by ChatConfigurationArn
*/
public suspend inline fun ChatbotClient.describeChimeWebhookConfigurations(crossinline block: DescribeChimeWebhookConfigurationsRequest.Builder.() -> Unit): DescribeChimeWebhookConfigurationsResponse = describeChimeWebhookConfigurations(DescribeChimeWebhookConfigurationsRequest.Builder().apply(block).build())
/**
* Lists Slack channel configurations optionally filtered by ChatConfigurationArn
*/
public suspend inline fun ChatbotClient.describeSlackChannelConfigurations(crossinline block: DescribeSlackChannelConfigurationsRequest.Builder.() -> Unit): DescribeSlackChannelConfigurationsResponse = describeSlackChannelConfigurations(DescribeSlackChannelConfigurationsRequest.Builder().apply(block).build())
/**
* Lists all Slack user identities with a mapped role.
*/
public suspend inline fun ChatbotClient.describeSlackUserIdentities(crossinline block: DescribeSlackUserIdentitiesRequest.Builder.() -> Unit): DescribeSlackUserIdentitiesResponse = describeSlackUserIdentities(DescribeSlackUserIdentitiesRequest.Builder().apply(block).build())
/**
* List all authorized Slack workspaces connected to the AWS Account onboarded with AWS Chatbot.
*/
public suspend inline fun ChatbotClient.describeSlackWorkspaces(crossinline block: DescribeSlackWorkspacesRequest.Builder.() -> Unit): DescribeSlackWorkspacesResponse = describeSlackWorkspaces(DescribeSlackWorkspacesRequest.Builder().apply(block).build())
/**
* Returns AWS Chatbot account preferences.
*/
public suspend inline fun ChatbotClient.getAccountPreferences(crossinline block: GetAccountPreferencesRequest.Builder.() -> Unit): GetAccountPreferencesResponse = getAccountPreferences(GetAccountPreferencesRequest.Builder().apply(block).build())
/**
* Returns a Microsoft Teams channel configuration in an AWS account.
*/
public suspend inline fun ChatbotClient.getMicrosoftTeamsChannelConfiguration(crossinline block: GetMicrosoftTeamsChannelConfigurationRequest.Builder.() -> Unit): GetMicrosoftTeamsChannelConfigurationResponse = getMicrosoftTeamsChannelConfiguration(GetMicrosoftTeamsChannelConfigurationRequest.Builder().apply(block).build())
/**
* Lists all AWS Chatbot Microsoft Teams channel configurations in an AWS account.
*/
public suspend inline fun ChatbotClient.listMicrosoftTeamsChannelConfigurations(crossinline block: ListMicrosoftTeamsChannelConfigurationsRequest.Builder.() -> Unit): ListMicrosoftTeamsChannelConfigurationsResponse = listMicrosoftTeamsChannelConfigurations(ListMicrosoftTeamsChannelConfigurationsRequest.Builder().apply(block).build())
/**
* Lists all authorized Microsoft Teams for an AWS Account
*/
public suspend inline fun ChatbotClient.listMicrosoftTeamsConfiguredTeams(crossinline block: ListMicrosoftTeamsConfiguredTeamsRequest.Builder.() -> Unit): ListMicrosoftTeamsConfiguredTeamsResponse = listMicrosoftTeamsConfiguredTeams(ListMicrosoftTeamsConfiguredTeamsRequest.Builder().apply(block).build())
/**
* A list all Microsoft Teams user identities with a mapped role.
*/
public suspend inline fun ChatbotClient.listMicrosoftTeamsUserIdentities(crossinline block: ListMicrosoftTeamsUserIdentitiesRequest.Builder.() -> Unit): ListMicrosoftTeamsUserIdentitiesResponse = listMicrosoftTeamsUserIdentities(ListMicrosoftTeamsUserIdentitiesRequest.Builder().apply(block).build())
/**
* Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can be a user, server, or role.
*/
public suspend inline fun ChatbotClient.listTagsForResource(crossinline block: ListTagsForResourceRequest.Builder.() -> Unit): ListTagsForResourceResponse = listTagsForResource(ListTagsForResourceRequest.Builder().apply(block).build())
/**
* Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
*/
public suspend inline fun ChatbotClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse = tagResource(TagResourceRequest.Builder().apply(block).build())
/**
* Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities.
*/
public suspend inline fun ChatbotClient.untagResource(crossinline block: UntagResourceRequest.Builder.() -> Unit): UntagResourceResponse = untagResource(UntagResourceRequest.Builder().apply(block).build())
/**
* Updates AWS Chatbot account preferences.
*/
public suspend inline fun ChatbotClient.updateAccountPreferences(crossinline block: UpdateAccountPreferencesRequest.Builder.() -> Unit): UpdateAccountPreferencesResponse = updateAccountPreferences(UpdateAccountPreferencesRequest.Builder().apply(block).build())
/**
* Updates a Amazon Chime webhook configuration.
*/
public suspend inline fun ChatbotClient.updateChimeWebhookConfiguration(crossinline block: UpdateChimeWebhookConfigurationRequest.Builder.() -> Unit): UpdateChimeWebhookConfigurationResponse = updateChimeWebhookConfiguration(UpdateChimeWebhookConfigurationRequest.Builder().apply(block).build())
/**
* Updates an Microsoft Teams channel configuration.
*/
public suspend inline fun ChatbotClient.updateMicrosoftTeamsChannelConfiguration(crossinline block: UpdateMicrosoftTeamsChannelConfigurationRequest.Builder.() -> Unit): UpdateMicrosoftTeamsChannelConfigurationResponse = updateMicrosoftTeamsChannelConfiguration(UpdateMicrosoftTeamsChannelConfigurationRequest.Builder().apply(block).build())
/**
* Updates a Slack channel configuration.
*/
public suspend inline fun ChatbotClient.updateSlackChannelConfiguration(crossinline block: UpdateSlackChannelConfigurationRequest.Builder.() -> Unit): UpdateSlackChannelConfigurationResponse = updateSlackChannelConfiguration(UpdateSlackChannelConfigurationRequest.Builder().apply(block).build())