./knowledge-base/lambda/layers/common/python/boto3/data/ec2/2015-10-01/resources-1.json

{
  "service": {
    "actions": {
      "CreateDhcpOptions": {
        "request": { "operation": "CreateDhcpOptions" },
        "resource": {
          "type": "DhcpOptions",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "DhcpOptions.DhcpOptionsId" }
          ],
          "path": "DhcpOptions"
        }
      },
      "CreateInstances": {
        "request": { "operation": "RunInstances" },
        "resource": {
          "type": "Instance",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "Instances[].InstanceId" }
          ],
          "path": "Instances[]"
        }
      },
      "CreateInternetGateway": {
        "request": { "operation": "CreateInternetGateway" },
        "resource": {
          "type": "InternetGateway",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "InternetGateway.InternetGatewayId" }
          ],
          "path": "InternetGateway"
        }
      },
      "CreateKeyPair": {
        "request": { "operation": "CreateKeyPair" },
        "resource": {
          "type": "KeyPair",
          "identifiers": [
            { "target": "Name", "source": "response", "path": "KeyName" }
          ],
          "path": "@"
        }
      },
      "CreateNetworkAcl": {
        "request": { "operation": "CreateNetworkAcl" },
        "resource": {
          "type": "NetworkAcl",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "NetworkAcl.NetworkAclId" }
          ],
          "path": "NetworkAcl"
        }
      },
      "CreateNetworkInterface": {
        "request": { "operation": "CreateNetworkInterface" },
        "resource": {
          "type": "NetworkInterface",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "NetworkInterface.NetworkInterfaceId" }
          ],
          "path": "NetworkInterface"
        }
      },
      "CreatePlacementGroup": {
        "request": { "operation": "CreatePlacementGroup" },
        "resource": {
          "type": "PlacementGroup",
          "identifiers": [
            { "target": "Name", "source": "requestParameter", "path": "GroupName" }
          ]
        }
      },
      "CreateRouteTable": {
        "request": { "operation": "CreateRouteTable" },
        "resource": {
          "type": "RouteTable",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "RouteTable.RouteTableId" }
          ],
          "path": "RouteTable"
        }
      },
      "CreateSecurityGroup": {
        "request": { "operation": "CreateSecurityGroup" },
        "resource": {
          "type": "SecurityGroup",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "GroupId" }
          ]
        }
      },
      "CreateSnapshot": {
        "request": { "operation": "CreateSnapshot" },
        "resource": {
          "type": "Snapshot",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "SnapshotId" }
          ],
          "path": "@"
        }
      },
      "CreateSubnet": {
        "request": { "operation": "CreateSubnet" },
        "resource": {
          "type": "Subnet",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "Subnet.SubnetId" }
          ],
          "path": "Subnet"
        }
      },
      "CreateTags": {
        "request": { "operation": "CreateTags" }
      },
      "CreateVolume": {
        "request": { "operation": "CreateVolume" },
        "resource": {
          "type": "Volume",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "VolumeId" }
          ],
          "path": "@"
        }
      },
      "CreateVpc": {
        "request": { "operation": "CreateVpc" },
        "resource": {
          "type": "Vpc",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "Vpc.VpcId" }
          ],
          "path": "Vpc"
        }
      },
      "CreateVpcPeeringConnection": {
        "request": { "operation": "CreateVpcPeeringConnection" },
        "resource": {
          "type": "VpcPeeringConnection",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "VpcPeeringConnection.VpcPeeringConnectionId" }
          ],
          "path": "VpcPeeringConnection"
        }
      },
      "DisassociateRouteTable": {
        "request": { "operation": "DisassociateRouteTable" }
      },
      "ImportKeyPair": {
        "request": { "operation": "ImportKeyPair" },
        "resource": {
          "type": "KeyPairInfo",
          "identifiers": [
            { "target": "Name", "source": "response", "path": "KeyName" }
          ]
        }
      },
      "RegisterImage": {
        "request": { "operation": "RegisterImage" },
        "resource": {
          "type": "Image",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "ImageId" }
          ]
        }
      }
    },
    "has": {
      "DhcpOptions": {
        "resource": {
          "type": "DhcpOptions",
          "identifiers": [
            { "target": "Id", "source": "input" }
          ]
        }
      },
      "Image": {
        "resource": {
          "type": "Image",
          "identifiers": [
            { "target": "Id", "source": "input" }
          ]
        }
      },
      "Instance": {
        "resource": {
          "type": "Instance",
          "identifiers": [
            { "target": "Id", "source": "input" }
          ]
        }
      },
      "InternetGateway": {
        "resource": {
          "type": "InternetGateway",
          "identifiers": [
            { "target": "Id", "source": "input" }
          ]
        }
      },
      "KeyPair": {
        "resource": {
          "type": "KeyPairInfo",
          "identifiers": [
            { "target": "Name", "source": "input" }
          ]
        }
      },
      "NetworkAcl": {
        "resource": {
          "type": "NetworkAcl",
          "identifiers": [
            { "target": "Id", "source": "input" }
          ]
        }
      },
      "NetworkInterface": {
        "resource": {
          "type": "NetworkInterface",
          "identifiers": [
            { "target": "Id", "source": "input" }
          ]
        }
      },
      "PlacementGroup": {
        "resource": {
          "type": "PlacementGroup",
          "identifiers": [
            { "target": "Name", "source": "input" }
          ]
        }
      },
      "RouteTable": {
        "resource": {
          "type": "RouteTable",
          "identifiers": [
            { "target": "Id", "source": "input" }
          ]
        }
      },
      "RouteTableAssociation": {
        "resource": {
          "type": "RouteTableAssociation",
          "identifiers": [
            { "target": "Id", "source": "input" }
          ]
        }
      },
      "SecurityGroup": {
        "resource": {
          "type": "SecurityGroup",
          "identifiers": [
            { "target": "Id", "source": "input" }
          ]
        }
      },
      "Snapshot": {
        "resource": {
          "type": "Snapshot",
          "identifiers": [
            { "target": "Id", "source": "input" }
          ]
        }
      },
      "Subnet": {
        "resource": {
          "type": "Subnet",
          "identifiers": [
            { "target": "Id", "source": "input" }
          ]
        }
      },
      "Volume": {
        "resource": {
          "type": "Volume",
          "identifiers": [
            { "target": "Id", "source": "input" }
          ]
        }
      },
      "Vpc": {
        "resource": {
          "type": "Vpc",
          "identifiers": [
            { "target": "Id", "source": "input" }
          ]
        }
      },
      "VpcPeeringConnection": {
        "resource": {
          "type": "VpcPeeringConnection",
          "identifiers": [
            { "target": "Id", "source": "input" }
          ]
        }
      }
    },
    "hasMany": {
      "ClassicAddresses": {
        "request": {
          "operation": "DescribeAddresses",
          "params": [
            { "target": "Filters[0].Name", "source": "string", "value": "domain" },
            { "target": "Filters[0].Values[0]", "source": "string", "value": "standard" }
          ]
        },
        "resource": {
          "type": "ClassicAddress",
          "identifiers": [
            { "target": "PublicIp", "source": "response", "path": "Addresses[].PublicIp" }
          ],
          "path": "Addresses[]"
        }
      },
      "DhcpOptionsSets": {
        "request": { "operation": "DescribeDhcpOptions" },
        "resource": {
          "type": "DhcpOptions",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "DhcpOptions[].DhcpOptionsId" }
          ],
          "path": "DhcpOptions[]"
        }
      },
      "Images": {
        "request": { "operation": "DescribeImages" },
        "resource": {
          "type": "Image",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "Images[].ImageId" }
          ],
          "path": "Images[]"
        }
      },
      "Instances": {
        "request": { "operation": "DescribeInstances" },
        "resource": {
          "type": "Instance",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "Reservations[].Instances[].InstanceId" }
          ],
          "path": "Reservations[].Instances[]"
        }
      },
      "InternetGateways": {
        "request": { "operation": "DescribeInternetGateways" },
        "resource": {
          "type": "InternetGateway",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "InternetGateways[].InternetGatewayId" }
          ],
          "path": "InternetGateways[]"
        }
      },
      "KeyPairs": {
        "request": { "operation": "DescribeKeyPairs" },
        "resource": {
          "type": "KeyPairInfo",
          "identifiers": [
            { "target": "Name", "source": "response", "path": "KeyPairs[].KeyName" }
          ],
          "path": "KeyPairs[]"
        }
      },
      "NetworkAcls": {
        "request": { "operation": "DescribeNetworkAcls" },
        "resource": {
          "type": "NetworkAcl",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "NetworkAcls[].NetworkAclId" }
          ],
          "path": "NetworkAcls[]"
        }
      },
      "NetworkInterfaces": {
        "request": { "operation": "DescribeNetworkInterfaces" },
        "resource": {
          "type": "NetworkInterface",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "NetworkInterfaces[].NetworkInterfaceId" }
          ],
          "path": "NetworkInterfaces[]"
        }
      },
      "PlacementGroups": {
        "request": { "operation": "DescribePlacementGroups" },
        "resource": {
          "type": "PlacementGroup",
          "identifiers": [
            { "target": "Name", "source": "response", "path": "PlacementGroups[].GroupName" }
          ],
          "path": "PlacementGroups[]"
        }
      },
      "RouteTables": {
        "request": { "operation": "DescribeRouteTables" },
        "resource": {
          "type": "RouteTable",
          "identifiers": [
            { "target": "Id", "source": "response", "path": "RouteTables[].RouteTableId" }
          ],