docs: func (c *EC2Metadata) GetInstanceIdentityDocument() (EC2InstanceIdentityDocument, error) {
  	resp, err := c.GetDynamicData("instance-identity/document")
  	if err != nil {
  		return EC2InstanceIdentityDocument{},
  			awserr.New("EC2MetadataRequestError",
  				"failed to get EC2 instance identity document", err)
  	}
  
  	doc := EC2InstanceIdentityDocument{}
  	if err := json.NewDecoder(strings.NewReader(resp)).Decode(&doc); err != nil {
  		return EC2InstanceIdentityDocument{},
  			awserr.New("SerializationError",
  				"failed to decode EC2 instance identity document", err)
  	}
  
  	return doc, nil
  }