PutBotAliasRequest

public struct PutBotAliasRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The name of the bot.

    Declaration

    Swift

    public let botName: String
  • The version of the bot.

    Declaration

    Swift

    public let botVersion: String
  • Identifies a specific revision of the $LATEST version. When you create a new bot alias, leave the checksum field blank. If you specify a checksum you get a BadRequestException exception. When you want to update a bot alias, set the checksum field to the checksum of the most recent revision of the $LATEST version. If you don’t specify the checksum field, or if the checksum does not match the $LATEST version, you get a PreconditionFailedException exception.

    Declaration

    Swift

    public let checksum: String?
  • Settings for conversation logs for the alias.

    Declaration

    Swift

    public let conversationLogs: ConversationLogsRequest?
  • A description of the alias.

    Declaration

    Swift

    public let description: String?
  • The name of the alias. The name is not case sensitive.

    Declaration

    Swift

    public let name: String
  • A list of tags to add to the bot alias. You can only add tags when you create an alias, you can’t use the PutBotAlias operation to update the tags on a bot alias. To update tags, use the TagResource operation.

    Declaration

    Swift

    public let tags: [Tag]?
  • Undocumented

    Declaration

    Swift

    public init(botName: String, botVersion: String, checksum: String? = nil, conversationLogs: ConversationLogsRequest? = nil, description: String? = nil, name: String, tags: [Tag]? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws