class Aws::APIGateway::Types::CreateDocumentationPartRequest

Creates a new documentation part of a given API.

@note When making an API call, you may pass CreateDocumentationPartRequest

data as a hash:

    {
      rest_api_id: "String", # required
      location: { # required
        type: "API", # required, accepts API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, RESPONSE_BODY
        path: "String",
        method: "String",
        status_code: "DocumentationPartLocationStatusCode",
        name: "String",
      },
      properties: "String", # required
    }

@!attribute [rw] rest_api_id

\[Required\] The string identifier of the associated RestApi.
@return [String]

@!attribute [rw] location

\[Required\] The location of the targeted API entity of the
to-be-created documentation part.
@return [Types::DocumentationPartLocation]

@!attribute [rw] properties

\[Required\] The new documentation content map of the targeted API
entity. Enclosed key-value pairs are API-specific, but only
OpenAPI-compliant key-value pairs can be exported and, hence,
published.
@return [String]

Constants

SENSITIVE