{
  "version": "1.0",
  "resources": {
    "Destination": {
      "operation": "DescribeDestinations",
      "resourceIdentifier": {
        "destinationName": "destinations[].destinationName",
        "targetArn": "destinations[].targetArn",
        "roleArn": "destinations[].roleArn",
        "accessPolicy": "destinations[].accessPolicy",
        "arn": "destinations[].arn"
      }
    },
    "ExportTask": {
      "operation": "DescribeExportTasks",
      "resourceIdentifier": {
        "taskId": "exportTasks[].taskId"
      }
    },
    "LogGroup": {
      "operation": "DescribeLogGroups",
      "resourceIdentifier": {
        "kmsKeyId": "logGroups[].kmsKeyId",
        "logGroupName": "logGroups[].logGroupName",
        "arn": "logGroups[].arn"
      }
    },
    "MetricFilter": {
      "operation": "DescribeMetricFilters",
      "resourceIdentifier": {
        "filterName": "metricFilters[].filterName",
        "filterPattern": "metricFilters[].filterPattern",
        "logGroupName": "metricFilters[].logGroupName"
      }
    },
    "ResourcePolicy": {
      "operation": "DescribeResourcePolicies",
      "resourceIdentifier": {
        "policyName": "resourcePolicies[].policyName",
        "policyDocument": "resourcePolicies[].policyDocument"
      }
    },
    "ScheduledQuery": {
      "operation": "ListScheduledQueries",
      "resourceIdentifier": {
        "scheduledQueryArn": "scheduledQueries[].scheduledQueryArn"
      }
    },
    "ImportTask": {
      "operation": "DescribeImportTasks",
      "resourceIdentifier": {
        "importId": "imports[].importId"
      }
    },
    "DeliverySource": {
      "operation": "DescribeDeliverySources",
      "resourceIdentifier": {
        "name": "deliverySources[].name"
      }
    },
    "DeliveryDestination": {
      "operation": "DescribeDeliveryDestinations",
      "resourceIdentifier": {
        "name": "deliveryDestinations[].name",
        "arn": "deliveryDestinations[].arn"
      }
    },
    "Delivery": {
      "operation": "DescribeDeliveries",
      "resourceIdentifier": {
        "id": "deliveries[].id",
        "arn": "deliveries[].arn"
      }
    },
    "Integration": {
      "operation": "ListIntegrations",
      "resourceIdentifier": {
        "integrationName": "integrationSummaries[].integrationName"
      }
    },
    "LogAnomalyDetector": {
      "operation": "ListLogAnomalyDetectors",
      "resourceIdentifier": {
        "anomalyDetectorArn": "anomalyDetectors[].anomalyDetectorArn"
      }
    },
    "LogStream": {
      "operation": "DescribeLogStreams",
      "resourceIdentifier": {
        "logStreamName": "logStreams[].logStreamName"
      }
    },
    "QueryDefinition": {
      "operation": "DescribeQueryDefinitions",
      "resourceIdentifier": {
        "queryDefinitionId": "queryDefinitions[].queryDefinitionId",
        "name": "queryDefinitions[].name"
      }
    },
    "ConfigurationTemplate": {
      "operation": "DescribeConfigurationTemplates",
      "resourceIdentifier": {
        "service": "configurationTemplates[].service",
        "logType": "configurationTemplates[].logType"
      }
    },
    "Query": {
      "operation": "DescribeQueries",
      "resourceIdentifier": {
        "queryId": "queries[].queryId"
      }
    },
    "Anomaly": {
      "operation": "ListAnomalies",
      "resourceIdentifier": {
        "anomalyId": "anomalies[].anomalyId"
      }
    }
  },
  "operations": {
    "AssociateKmsKey": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      },
      "kmsKeyId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogGroup",
            "resourceIdentifier": "kmsKeyId"
          }
        ]
      }
    },
    "CancelExportTask": {
      "taskId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ExportTask",
            "resourceIdentifier": "taskId"
          }
        ]
      }
    },
    "DeleteDestination": {
      "destinationName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Destination",
            "resourceIdentifier": "destinationName"
          }
        ]
      }
    },
    "DeleteLogGroup": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "DeleteLogStream": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      },
      "logStreamName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogStream",
            "resourceIdentifier": "logStreamName"
          }
        ]
      }
    },
    "DeleteMetricFilter": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      },
      "filterName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "filterName"
          }
        ]
      }
    },
    "DeleteResourcePolicy": {
      "policyName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ResourcePolicy",
            "resourceIdentifier": "policyName"
          }
        ]
      }
    },
    "DeleteRetentionPolicy": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "DeleteSubscriptionFilter": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      },
      "filterName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "filterName"
          }
        ]
      }
    },
    "DescribeExportTasks": {
      "taskId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ExportTask",
            "resourceIdentifier": "taskId"
          }
        ]
      }
    },
    "DescribeLogStreams": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "DescribeMetricFilters": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "DescribeSubscriptionFilters": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "DisassociateKmsKey": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "FilterLogEvents": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      },
      "filterPattern": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "filterPattern"
          }
        ]
      },
      "logStreamNames": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogStream",
            "resourceIdentifier": "logStreamName"
          }
        ]
      }
    },
    "GetLogEvents": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      },
      "logStreamName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogStream",
            "resourceIdentifier": "logStreamName"
          }
        ]
      }
    },
    "ListTagsLogGroup": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "PutDestination": {
      "destinationName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Destination",
            "resourceIdentifier": "destinationName"
          }
        ]
      },
      "targetArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Destination",
            "resourceIdentifier": "targetArn"
          }
        ]
      },
      "roleArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Destination",
            "resourceIdentifier": "roleArn"
          }
        ]
      }
    },
    "PutDestinationPolicy": {
      "destinationName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Destination",
            "resourceIdentifier": "destinationName"
          }
        ]
      },
      "accessPolicy": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Destination",
            "resourceIdentifier": "accessPolicy"
          }
        ]
      }
    },
    "PutLogEvents": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      },
      "logStreamName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogStream",
            "resourceIdentifier": "logStreamName"
          }
        ]
      }
    },
    "PutMetricFilter": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      },
      "filterName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "filterName"
          }
        ]
      },
      "filterPattern": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "filterPattern"
          }
        ]
      }
    },
    "PutResourcePolicy": {
      "policyName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ResourcePolicy",
            "resourceIdentifier": "policyName"
          }
        ]
      },
      "policyDocument": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ResourcePolicy",
            "resourceIdentifier": "policyDocument"
          }
        ]
      }
    },
    "PutRetentionPolicy": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "PutSubscriptionFilter": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      },
      "filterName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "filterName"
          }
        ]
      },
      "filterPattern": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "filterPattern"
          }
        ]
      },
      "roleArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Destination",
            "resourceIdentifier": "roleArn"
          }
        ]
      },
      "destinationArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Destination",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "TagLogGroup": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "TestMetricFilter": {
      "filterPattern": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "filterPattern"
          }
        ]
      }
    },
    "UntagLogGroup": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "MetricFilter",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "AssociateSourceToS3TableIntegration": {
      "integrationArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ScheduledQuery",
            "resourceIdentifier": "scheduledQueryArn"
          }
        ]
      }
    },
    "CancelImportTask": {
      "importId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ImportTask",
            "resourceIdentifier": "importId"
          }
        ]
      }
    },
    "CreateDelivery": {
      "deliverySourceName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "DeliverySource",
            "resourceIdentifier": "name"
          }
        ]
      },
      "deliveryDestinationArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "DeliveryDestination",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "CreateExportTask": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogGroup",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "CreateImportTask": {
      "importSourceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogGroup",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "CreateLogStream": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogGroup",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "DeleteAccountPolicy": {
      "policyName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ResourcePolicy",
            "resourceIdentifier": "policyName"
          }
        ]
      }
    },
    "DeleteDelivery": {
      "id": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Delivery",
            "resourceIdentifier": "id"
          }
        ]
      }
    },
    "DeleteDeliveryDestination": {
      "name": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "DeliveryDestination",
            "resourceIdentifier": "name"
          }
        ]
      }
    },
    "DeleteDeliveryDestinationPolicy": {
      "deliveryDestinationName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "DeliveryDestination",
            "resourceIdentifier": "name"
          }
        ]
      }
    },
    "DeleteDeliverySource": {
      "name": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "DeliverySource",
            "resourceIdentifier": "name"
          }
        ]
      }
    },
    "DeleteIntegration": {
      "integrationName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Integration",
            "resourceIdentifier": "integrationName"
          }
        ]
      }
    },
    "DeleteLogAnomalyDetector": {
      "anomalyDetectorArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogAnomalyDetector",
            "resourceIdentifier": "anomalyDetectorArn"
          }
        ]
      }
    },
    "DeleteQueryDefinition": {
      "queryDefinitionId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "QueryDefinition",
            "resourceIdentifier": "queryDefinitionId"
          }
        ]
      }
    },
    "DescribeAccountPolicies": {
      "policyName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ResourcePolicy",
            "resourceIdentifier": "policyName"
          }
        ]
      }
    },
    "DescribeConfigurationTemplates": {
      "service": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ConfigurationTemplate",
            "resourceIdentifier": "service"
          }
        ]
      }
    },
    "DescribeDestinations": {
      "DestinationNamePrefix": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Destination",
            "resourceIdentifier": "destinationName"
          }
        ]
      }
    },
    "DescribeImportTaskBatches": {
      "importId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ImportTask",
            "resourceIdentifier": "importId"
          }
        ]
      }
    },
    "DescribeImportTasks": {
      "importId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ImportTask",
            "resourceIdentifier": "importId"
          }
        ]
      }
    },
    "DescribeLogGroups": {
      "logGroupNamePrefix": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogGroup",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "DescribeQueries": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogGroup",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "DescribeQueryDefinitions": {
      "queryDefinitionNamePrefix": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "QueryDefinition",
            "resourceIdentifier": "name"
          }
        ]
      }
    },
    "DescribeResourcePolicies": {
      "resourceArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Delivery",
            "resourceIdentifier": "arn"
          }
        ]
      }
    },
    "GetDelivery": {
      "id": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Delivery",
            "resourceIdentifier": "id"
          }
        ]
      }
    },
    "GetDeliveryDestination": {
      "name": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "DeliveryDestination",
            "resourceIdentifier": "name"
          }
        ]
      }
    },
    "GetDeliveryDestinationPolicy": {
      "deliveryDestinationName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "DeliveryDestination",
            "resourceIdentifier": "name"
          }
        ]
      }
    },
    "GetDeliverySource": {
      "name": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "DeliverySource",
            "resourceIdentifier": "name"
          }
        ]
      }
    },
    "GetIntegration": {
      "integrationName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Integration",
            "resourceIdentifier": "integrationName"
          }
        ]
      }
    },
    "GetLogAnomalyDetector": {
      "anomalyDetectorArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogAnomalyDetector",
            "resourceIdentifier": "anomalyDetectorArn"
          }
        ]
      }
    },
    "GetLogGroupFields": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogGroup",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "GetQueryResults": {
      "queryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Query",
            "resourceIdentifier": "queryId"
          }
        ]
      }
    },
    "ListAnomalies": {
      "anomalyDetectorArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogAnomalyDetector",
            "resourceIdentifier": "anomalyDetectorArn"
          }
        ]
      }
    },
    "ListLogGroupsForQuery": {
      "queryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Query",
            "resourceIdentifier": "queryId"
          }
        ]
      }
    },
    "PutAccountPolicy": {
      "policyName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ResourcePolicy",
            "resourceIdentifier": "policyName"
          }
        ]
      }
    },
    "PutDeliveryDestinationPolicy": {
      "deliveryDestinationName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "DeliveryDestination",
            "resourceIdentifier": "name"
          }
        ]
      }
    },
    "PutDeliverySource": {
      "logType": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "ConfigurationTemplate",
            "resourceIdentifier": "logType"
          }
        ]
      }
    },
    "PutIntegration": {
      "integrationName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Integration",
            "resourceIdentifier": "integrationName"
          }
        ]
      }
    },
    "PutQueryDefinition": {
      "queryDefinitionId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "QueryDefinition",
            "resourceIdentifier": "queryDefinitionId"
          }
        ]
      },
      "logGroupNames": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogGroup",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "StartLiveTail": {
      "logStreamNames": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogStream",
            "resourceIdentifier": "logStreamName"
          }
        ]
      }
    },
    "StartQuery": {
      "logGroupName": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogGroup",
            "resourceIdentifier": "logGroupName"
          }
        ]
      },
      "logGroupNames": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogGroup",
            "resourceIdentifier": "logGroupName"
          }
        ]
      }
    },
    "StopQuery": {
      "queryId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Query",
            "resourceIdentifier": "queryId"
          }
        ]
      }
    },
    "UpdateAnomaly": {
      "anomalyId": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Anomaly",
            "resourceIdentifier": "anomalyId"
          }
        ]
      },
      "anomalyDetectorArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogAnomalyDetector",
            "resourceIdentifier": "anomalyDetectorArn"
          }
        ]
      }
    },
    "UpdateDeliveryConfiguration": {
      "id": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "Delivery",
            "resourceIdentifier": "id"
          }
        ]
      }
    },
    "UpdateLogAnomalyDetector": {
      "anomalyDetectorArn": {
        "completions": [
          {
            "parameters": {},
            "resourceName": "LogAnomalyDetector",
            "resourceIdentifier": "anomalyDetectorArn"
          }
        ]
      }
    }
  }
}
