SymetryML Documentation
Federated learning

Submit AWS federation information

Schedules an asynchronous job that fetches AWS account/topic information for this federation using the given credentials.

POST
/{user}/fedml/{project}/awsinfo

Schedules an asynchronous job that fetches AWS account/topic information for this federation using the given credentials.

Authorization

SymetryMLAuth
AuthorizationBearer <token>

HMAC-SHA256 signature-based authentication: requests are signed with your secret key and sent with the Customer-ID, Sym-date, Authorization, Content-MD5 and sym-version headers. See SymetryML REST API Security for the signature algorithm and a complete example.

In: header

Path Parameters

user*string

User/Customer identifier

project*string

Project identifier

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*string

Base64-encoded content — an AES-encrypted Map, encrypted with the customer's SML secret key. Select an example below to see its decrypted equivalent. aws_access_key and aws_secret_key are required; aws_region is optional and, if given, must be a valid AWS Regions enum name (e.g. US_EAST_1).

Response Body

application/json

curl -X POST "https://example.com/c1/fedml/nbra_prj_iris/awsinfo" \  -H "Content-Type: application/json" \  -d 'Tz8kW2pXcYvN4mQ7rLxHb1sEgK9dFj0oPaUiZ3tRy6nMwBvC5lSeHxAqDoIuJ2kGfT7bNpVrXsLmZyWcQ=='
Empty

{  "statusCode": 500,  "statusString": "Generic Exception [java.lang.IllegalArgumentException: Missing AWS Credentials [aws_access_key, aws_secret_key]]",  "values": {}}