UpdateDocumentRequest

public struct UpdateDocumentRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A list of key and value pairs that describe attachments to a version of a document.

    Declaration

    Swift

    public let attachments: [AttachmentsSource]?
  • A valid JSON or YAML string.

    Declaration

    Swift

    public let content: String
  • Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.

    Declaration

    Swift

    public let documentFormat: DocumentFormat?
  • (Required) The latest version of the document that you want to update. The latest document version can be specified using the $LATEST variable or by the version number. Updating a previous version of a document is not supported.

    Declaration

    Swift

    public let documentVersion: String?
  • The name of the document that you want to update.

    Declaration

    Swift

    public let name: String
  • Specify a new target type for the document.

    Declaration

    Swift

    public let targetType: String?
  • An optional field specifying the version of the artifact you are updating with the document. For example, “Release 12, Update 6”. This value is unique across all versions of a document, and cannot be changed.

    Declaration

    Swift

    public let versionName: String?
  • Undocumented

    Declaration

    Swift

    public init(attachments: [AttachmentsSource]? = nil, content: String, documentFormat: DocumentFormat? = nil, documentVersion: String? = nil, name: String, targetType: String? = nil, versionName: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws