Class DeleteDocumentRequest

    • Method Detail

      • name

        public final String name()

        The name of the document.

        Returns:
        The name of the document.
      • documentVersion

        public final String documentVersion()

        The version of the document that you want to delete. If not provided, all versions of the document are deleted.

        Returns:
        The version of the document that you want to delete. If not provided, all versions of the document are deleted.
      • versionName

        public final String versionName()

        The version name of the document that you want to delete. If not provided, all versions of the document are deleted.

        Returns:
        The version name of the document that you want to delete. If not provided, all versions of the document are deleted.
      • force

        public final Boolean force()

        Some SSM document types require that you specify a Force flag before you can delete the document. For example, you must specify a Force flag to delete a document of type ApplicationConfigurationSchema. You can restrict access to the Force flag in an Identity and Access Management (IAM) policy.

        Returns:
        Some SSM document types require that you specify a Force flag before you can delete the document. For example, you must specify a Force flag to delete a document of type ApplicationConfigurationSchema. You can restrict access to the Force flag in an Identity and Access Management (IAM) policy.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object