Class ExportApiRequest

    • Method Detail

      • apiId

        public final String apiId()

        The API identifier.

        Returns:
        The API identifier.
      • exportVersion

        public final String exportVersion()

        The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.

        Returns:
        The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.
      • includeExtensions

        public final Boolean includeExtensions()

        Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.

        Returns:
        Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.
      • outputType

        public final String outputType()

        The output type of the exported definition file. Valid values are JSON and YAML.

        Returns:
        The output type of the exported definition file. Valid values are JSON and YAML.
      • specification

        public final String specification()

        The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.

        Returns:
        The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.
      • stageName

        public final String stageName()

        The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.

        Returns:
        The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.
      • 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