GetResourceRequest

public struct GetResourceRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the “methods” string. For example, GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods.

    Declaration

    Swift

    public let embed: [String]?
  • [Required] The identifier for the Resource resource.

    Declaration

    Swift

    public let resourceId: String
  • [Required] The string identifier of the associated RestApi.

    Declaration

    Swift

    public let restApiId: String
  • Undocumented

    Declaration

    Swift

    public init(embed: [String]? = nil, resourceId: String, restApiId: String)