Skip to content

startRefreshAwsNativeAccountsJob

Start an on demand job to refresh AWS accounts. The job updates the Rubrik platform with changes to the AWS Native accounts.

Arguments

Argument Type Description
input (required) StartRefreshAwsNativeAccountsJobInput! Input for refresh AWS native accounts job.

Returns

BatchAsyncJobStatus!

Sample

mutation StartRefreshAwsNativeAccountsJob($input: StartRefreshAwsNativeAccountsJobInput!) {
  startRefreshAwsNativeAccountsJob(input: $input)
}
{
  "input": {
    "awsAccountRubrikIds": [
      "00000000-0000-0000-0000-000000000000"
    ],
    "awsNativeProtectionFeatures": [
      "CLOUD_DISCOVERY"
    ]
  }
}
{
  "data": {
    "startRefreshAwsNativeAccountsJob": {
      "errors": [
        {
          "error": "example-string",
          "rubrikObjectId": "example-string"
        }
      ],
      "jobIds": [
        {
          "jobId": "example-string",
          "rubrikObjectId": "example-string"
        }
      ]
    }
  }
}