GetRandomPasswordRequest

public struct GetRandomPasswordRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A string that includes characters that should not be included in the generated password. The default is that all characters from the included sets can be used.

    Declaration

    Swift

    public let excludeCharacters: String?
  • Specifies that the generated password should not include lowercase letters. The default if you do not include this switch parameter is that lowercase letters can be included.

    Declaration

    Swift

    public let excludeLowercase: Bool?
  • Specifies that the generated password should not include digits. The default if you do not include this switch parameter is that digits can be included.

    Declaration

    Swift

    public let excludeNumbers: Bool?
  • Specifies that the generated password should not include punctuation characters. The default if you do not include this switch parameter is that punctuation characters can be included. The following are the punctuation characters that can be included in the generated password if you don’t explicitly exclude them with ExcludeCharacters or ExcludePunctuation: ! “ # $ % & ‘ ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~

    Declaration

    Swift

    public let excludePunctuation: Bool?
  • Specifies that the generated password should not include uppercase letters. The default if you do not include this switch parameter is that uppercase letters can be included.

    Declaration

    Swift

    public let excludeUppercase: Bool?
  • Specifies that the generated password can include the space character. The default if you do not include this switch parameter is that the space character is not included.

    Declaration

    Swift

    public let includeSpace: Bool?
  • The desired length of the generated password. The default value if you do not include this parameter is 32 characters.

    Declaration

    Swift

    public let passwordLength: Int64?
  • A boolean value that specifies whether the generated password must include at least one of every allowed character type. The default value is True and the operation requires at least one of every character type.

    Declaration

    Swift

    public let requireEachIncludedType: Bool?
  • Undocumented

    Declaration

    Swift

    public init(excludeCharacters: String? = nil, excludeLowercase: Bool? = nil, excludeNumbers: Bool? = nil, excludePunctuation: Bool? = nil, excludeUppercase: Bool? = nil, includeSpace: Bool? = nil, passwordLength: Int64? = nil, requireEachIncludedType: Bool? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws