CreateNamedQueryInput

public struct CreateNamedQueryInput : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If another CreateNamedQuery request is received, the same response is returned and another query is not created. If a parameter has changed, for example, the QueryString, an error is returned. This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.

    Declaration

    Swift

    public let clientRequestToken: String?
  • The database to which the query belongs.

    Declaration

    Swift

    public let database: String
  • The query description.

    Declaration

    Swift

    public let description: String?
  • The query name.

    Declaration

    Swift

    public let name: String
  • The contents of the query with all query statements.

    Declaration

    Swift

    public let queryString: String
  • The name of the workgroup in which the named query is being created.

    Declaration

    Swift

    public let workGroup: String?
  • Undocumented

    Declaration

    Swift

    public init(clientRequestToken: String? = CreateNamedQueryInput.idempotencyToken(), database: String, description: String? = nil, name: String, queryString: String, workGroup: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws