Skip to content

No way to retrieve JSON response as is #23

@Sunix99

Description

@Sunix99

In many case I need the JSON response AS IS (without marshaling).

A simple way to achieve this is to add an access to webresponse in IAmazonWebServiceResponse of unit AWS.Runtime.Model

IAmazonWebServiceResponse = interface
   ...
    function GetWebResponse: IWebResponseData;
    property WebResponse: IWebResponseData read GetWebResponse;
  end;

Then Implement it in TAmazonWebServiceResponse

function TAmazonWebServiceResponse.GetWebResponse: IWebResponseData;
begin
  Result := FWebResponse;
end;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions