update_microsoft_teams_channel_configuration
async
¶
update_microsoft_teams_channel_configuration(
chat_configuration_arn: ChatConfigurationArn,
channel_id: TeamsChannelId,
*,
config_overrides: Optional[AsyncchatbotClientConfig] = None,
channel_name: Optional[TeamsChannelName] = None,
sns_topic_arns: Optional[SnsTopicArnList] = None,
iam_role_arn: Optional[Arn] = None,
logging_level: Optional[CustomerCwLogLevel] = None,
guardrail_policy_arns: Optional[GuardrailPolicyArnList] = None,
user_authorization_required: Optional[BooleanAccountPreference] = None,
) -> UpdateTeamsChannelConfigurationResult
Updates an Microsoft Teams channel configuration.
Parameters:
-
chat_configuration_arn(ChatConfigurationArn) –The Amazon Resource Name (ARN) of the TeamsChannelConfiguration to update.
-
channel_id(TeamsChannelId) –The ID of the Microsoft Teams channel.
-
channel_name(Optional[TeamsChannelName], default:None) –The name of the Microsoft Teams channel.
-
sns_topic_arns(Optional[SnsTopicArnList], default:None) –The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.
-
iam_role_arn(Optional[Arn], default:None) –A user-defined role that AWS Chatbot assumes. This is not the service-linked role.
For more information, see IAM policies for AWS Chatbot in the AWS Chatbot Administrator Guide.
-
logging_level(Optional[CustomerCwLogLevel], default:None) –Logging levels include
ERROR,INFO, orNONE. -
guardrail_policy_arns(Optional[GuardrailPolicyArnList], default:None) –The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed
AdministratorAccesspolicy is applied by default if this is not set. -
user_authorization_required(Optional[BooleanAccountPreference], default:None) –Enables use of a user role requirement in your chat configuration.
Raises:
-
InvalidParameterException–Your request input doesn't meet the constraints required by AWS Chatbot.
-
InvalidRequestException–Your request input doesn't meet the constraints required by AWS Chatbot.
-
ResourceNotFoundException–We were unable to find the resource for your request
-
UpdateTeamsChannelConfigurationException–We can’t process your request right now because of a server issue. Try again later.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chatbot/_services/async_chatbot.py
2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 | |