{
  "version": "1.0",
  "resources": {
    "Channel": {
      "operation": "ListChannels",
      "resourceIdentifier": {
        "arn": "channels[].arn",
        "name": "channels[].name"
      }
    },
    "PlaybackRestrictionPolicy": {
      "operation": "ListPlaybackRestrictionPolicies",
      "resourceIdentifier": {
        "arn": "playbackRestrictionPolicies[].arn"
      }
    },
    "RecordingConfiguration": {
      "operation": "ListRecordingConfigurations",
      "resourceIdentifier": {
        "arn": "recordingConfigurations[].arn"
      }
    },
    "PlaybackKeyPair": {
      "operation": "ListPlaybackKeyPairs",
      "resourceIdentifier": {
        "arn": "keyPairs[].arn"
      }
    },
    "Stream": {
      "operation": "ListStreams",
      "resourceIdentifier": {
        "streamId": "streams[].streamId"
      }
    }
  },
  "operations": {
    "BatchGetChannel": {
      "arns": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Channel",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "CreateChannel": {
      "playbackRestrictionPolicyArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "PlaybackRestrictionPolicy",
            "resourceIdentifier": "arn"
          }
        ]
      },
      "recordingConfigurationArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "RecordingConfiguration",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "CreateStreamKey": {
      "channelArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Channel",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "DeleteChannel": {
      "arn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Channel",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "DeletePlaybackKeyPair": {
      "arn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "PlaybackKeyPair",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "DeletePlaybackRestrictionPolicy": {
      "arn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "PlaybackRestrictionPolicy",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "DeleteRecordingConfiguration": {
      "arn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "RecordingConfiguration",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "GetChannel": {
      "arn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Channel",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "GetPlaybackKeyPair": {
      "arn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "PlaybackKeyPair",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "GetPlaybackRestrictionPolicy": {
      "arn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "PlaybackRestrictionPolicy",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "GetRecordingConfiguration": {
      "arn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "RecordingConfiguration",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "GetStream": {
      "channelArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Channel",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "GetStreamSession": {
      "channelArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Channel",
            "resourceIdentifier": "arn"
          }
        ]
      },
      "streamId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Stream",
            "resourceIdentifier": "streamId"
          }
        ]
      }
    },
    "ListChannels": {
      "filterByName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Channel",
            "resourceIdentifier": "name"
          }
        ]
      }
    },
    "ListStreamKeys": {
      "channelArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Channel",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "ListStreamSessions": {
      "channelArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Channel",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "PutMetadata": {
      "channelArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Channel",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "StartViewerSessionRevocation": {
      "channelArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Channel",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "StopStream": {
      "channelArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Channel",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "UpdateChannel": {
      "arn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Channel",
            "resourceIdentifier": "arn"
          }
        ]
      },
      "playbackRestrictionPolicyArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "PlaybackRestrictionPolicy",
            "resourceIdentifier": "arn"
          }
        ]
      },
      "recordingConfigurationArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "RecordingConfiguration",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "UpdatePlaybackRestrictionPolicy": {
      "arn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "PlaybackRestrictionPolicy",
            "resourceIdentifier": "arn"
          }
        ]
      }
    }
  }
}
