This endpoint returns all the parameters that client needs in order to upload files directly to S3 and upload log directly to Cloudwatch. Using these values and temporary credentials obtained from /generic-connector/v1/agent/credentials client can upload files to S3 into their bucket and log to CloudWatch into their log groups.
Note on response value l7proxyPort. When there is no direct access to AWS services, customer has to create L7 proxy on datahub. Once that connector is created, response from this endpoint will not be empty string. Instead, it will be port number for proxy installed on datahub. Customer has to instantiate S3 client and CloudWatch client with proxy set to the IP address of the GDC and proxy equal to l7proxyPort.
Click Try It! to start a request and see the response here!