1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
)
// Preferences which apply for AWS Chatbot usage in the calling AWS account.
type AccountPreferences struct {
// Turns on training data collection. This helps improve the AWS Chatbot
// experience by allowing AWS Chatbot to store and use your customer information,
// such as AWS Chatbot configurations, notifications, user inputs, AWS Chatbot
// generated responses, and interaction data. This data helps us to continuously
// improve and develop Artificial Intelligence (AI) technologies. Your data is not
// shared with any third parties and is protected using sophisticated controls to
// prevent unauthorized access and misuse. AWS Chatbot does not store or use
// interactions in chat channels with Amazon Q for training AWS Chatbot’s AI
// technologies.
TrainingDataCollectionEnabled *bool
// Enables use of a user role requirement in your chat configuration.
UserAuthorizationRequired *bool
noSmithyDocumentSerde
}
// An AWS Chatbot configuration for Amazon Chime.
type ChimeWebhookConfiguration struct {
// The ARN of the ChimeWebhookConfiguration.
//
// This member is required.
ChatConfigurationArn *string
// The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a
// user-defined role that AWS Chatbot will assume. This is not the service-linked
// role. For more information, see IAM Policies for AWS Chatbot.
//
// This member is required.
IamRoleArn *string
// The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
//
// This member is required.
SnsTopicArns []string
// Description of the webhook. Recommend using the convention RoomName/WebhookName
// . See Chime setup tutorial for more details:
// https://docs.aws.amazon.com/chatbot/latest/adminguide/chime-setup.html.
//
// This member is required.
WebhookDescription *string
// The name of the configuration.
ConfigurationName *string
// Specifies the logging level for this configuration. This property affects the
// log entries pushed to Amazon CloudWatch Logs.Logging levels include ERROR, INFO,
// or NONE.
LoggingLevel *string
// A list of tags applied to the configuration.
Tags []Tag
noSmithyDocumentSerde
}
// A Microsoft Teams team that has been authorized with AWS Chatbot.
type ConfiguredTeam struct {
// The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID,
// you must perform the initial authorization flow with Microsoft Teams in the AWS
// Chatbot console. Then you can copy and paste the team ID from the console. For
// more details, see steps 1-4 in Get started with Microsoft Teams in the AWS
// Chatbot Administrator Guide.
//
// This member is required.
TeamId *string
// The ID of the Microsoft Teams tenant.
//
// This member is required.
TenantId *string
// The name of the Microsoft Teams Team.
TeamName *string
noSmithyDocumentSerde
}
// An AWS Chatbot configuration for Slack.
type SlackChannelConfiguration struct {
// The ARN of the SlackChannelConfiguration.
//
// This member is required.
ChatConfigurationArn *string
// The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a
// user-defined role that AWS Chatbot will assume. This is not the service-linked
// role. For more information, see IAM Policies for AWS Chatbot.
//
// This member is required.
IamRoleArn *string
// The ID of the Slack channel. To get the ID, open Slack, right click on the
// channel name in the left pane, then choose Copy Link. The channel ID is the
// 9-character string at the end of the URL. For example, ABCBBLZZZ.
//
// This member is required.
SlackChannelId *string
// The name of the Slack Channel.
//
// This member is required.
SlackChannelName *string
// The ID of the Slack workspace authorized with AWS Chatbot.
//
// This member is required.
SlackTeamId *string
// Name of the Slack Workspace.
//
// This member is required.
SlackTeamName *string
// The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
//
// This member is required.
SnsTopicArns []string
// The name of the configuration.
ConfigurationName *string
// The list of IAM policy ARNs that are applied as channel guardrails. The AWS
// managed 'AdministratorAccess' policy is applied by default if this is not set.
GuardrailPolicyArns []string
// Logging levels include ERROR, INFO, or NONE.
LoggingLevel *string
// A list of tags applied to the configuration.
Tags []Tag
// Enables use of a user role requirement in your chat configuration.
UserAuthorizationRequired *bool
noSmithyDocumentSerde
}
// Identifes a User level permission for a channel configuration.
type SlackUserIdentity struct {
// The ARN of the SlackChannelConfiguration associated with the user identity.
//
// This member is required.
ChatConfigurationArn *string
// The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a
// user-defined role that AWS Chatbot will assume. This is not the service-linked
// role. For more information, see IAM Policies for AWS Chatbot.
//
// This member is required.
IamRoleArn *string
// The ID of the Slack workspace authorized with AWS Chatbot.
//
// This member is required.
SlackTeamId *string
// The ID of the user in Slack.
//
// This member is required.
SlackUserId *string
// The AWS user identity ARN used to associate a Slack User Identity with an IAM
// Role.
AwsUserIdentity *string
noSmithyDocumentSerde
}
// A Slack Workspace.
type SlackWorkspace struct {
// The ID of the Slack workspace authorized with AWS Chatbot.
//
// This member is required.
SlackTeamId *string
// Name of the Slack Workspace.
//
// This member is required.
SlackTeamName *string
noSmithyDocumentSerde
}
// A tag applied to the configuration.
type Tag struct {
// The tag key.
//
// This member is required.
TagKey *string
// The tag value.
//
// This member is required.
TagValue *string
noSmithyDocumentSerde
}
// An AWS Chatbot configuration for Microsoft Teams.
type TeamsChannelConfiguration struct {
// The ID of the Microsoft Teams channel.
//
// This member is required.
ChannelId *string
// The ARN of the MicrosoftTeamsChannelConfiguration.
//
// This member is required.
ChatConfigurationArn *string
// The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a
// user-defined role that AWS Chatbot will assume. This is not the service-linked
// role. For more information, see IAM Policies for AWS Chatbot.
//
// This member is required.
IamRoleArn *string
// The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
//
// This member is required.
SnsTopicArns []string
// The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID,
// you must perform the initial authorization flow with Microsoft Teams in the AWS
// Chatbot console. Then you can copy and paste the team ID from the console. For
// more details, see steps 1-4 in Get started with Microsoft Teams in the AWS
// Chatbot Administrator Guide.
//
// This member is required.
TeamId *string
// The ID of the Microsoft Teams tenant.
//
// This member is required.
TenantId *string
// The name of the Microsoft Teams channel.
ChannelName *string
// The name of the configuration.
ConfigurationName *string
// The list of IAM policy ARNs that are applied as channel guardrails. The AWS
// managed 'AdministratorAccess' policy is applied by default if this is not set.
GuardrailPolicyArns []string
// Logging levels include ERROR, INFO, or NONE.
LoggingLevel *string
// A list of tags applied to the configuration.
Tags []Tag
// The name of the Microsoft Teams Team.
TeamName *string
// Enables use of a user role requirement in your chat configuration.
UserAuthorizationRequired *bool
noSmithyDocumentSerde
}
// Identifes a user level permission for a channel configuration.
type TeamsUserIdentity struct {
// The ARN of the MicrosoftTeamsChannelConfiguration associated with the user
// identity.
//
// This member is required.
ChatConfigurationArn *string
// The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a
// user-defined role that AWS Chatbot will assume. This is not the service-linked
// role. For more information, see IAM Policies for AWS Chatbot.
//
// This member is required.
IamRoleArn *string
// The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID,
// you must perform the initial authorization flow with Microsoft Teams in the AWS
// Chatbot console. Then you can copy and paste the team ID from the console. For
// more details, see steps 1-4 in Get started with Microsoft Teams in the AWS
// Chatbot Administrator Guide.
//
// This member is required.
TeamId *string
// The AWS user identity ARN used to associate a Microsoft Teams User Identity
// with an IAM Role.
AwsUserIdentity *string
// The ID of the Microsoft Teams channel.
TeamsChannelId *string
// The ID of the Microsoft Teams tenant.
TeamsTenantId *string
// Id from Microsoft Teams for user.
UserId *string
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|