Skip to content

allTargetMappings

List all target mappings.

Arguments

Argument Type Description
sortBy ArchivalGroupQuerySortByField Specification on how to sort a list of target mappings.
sortOrder SortOrder Sorts the order of results.
filter [TargetMappingFilterInput!] Specification on how to filter a list of target mappings.
contextFilter ContextFilterTypeEnum Specifies the context filter to use.
isRcsStatsRequired Boolean Corresponds to rcs stats flag, only true value will add rcs stats in response.

Returns

[TargetMapping!]!

Sample

query {
  allTargetMappings {
    groupType
    id
    name
    targetType
    tieringStatus
  }
}
{}
{
  "data": {
    "allTargetMappings": [
      {
        "groupType": "AUTOMATIC_ARCHIVAL_GROUP",
        "id": "00000000-0000-0000-0000-000000000000",
        "name": "example-string",
        "targetType": "AWS",
        "tieringStatus": [
          "INSTANT_TIERING_NOT_SUPPORTED"
        ],
        "connectionStatus": {
          "status": "CONNECTED"
        },
        "targetTemplate": {
          "targetType": "AWS"
        }
      }
    ]
  }
}