code: func (c *ConfigService) GetComplianceDetailsByResource(input *GetComplianceDetailsByResourceInput) (*GetComplianceDetailsByResourceOutput, error) {
  	req, out := c.GetComplianceDetailsByResourceRequest(input)
  	return out, req.Send()
  }
docs: // GetComplianceDetailsByResource API operation for AWS Config.
  //
  // Returns the evaluation results for the specified AWS resource. The results
  // indicate which AWS Config rules were used to evaluate the resource, when
  // each rule was last used, and whether the resource complies with each rule.
  //
  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  // with awserr.Error's Code and Message methods to get detailed information about
  // the error.
  //
  // See the AWS API reference guide for AWS Config's
  // API operation GetComplianceDetailsByResource for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
  //   One or more of the specified parameters are invalid. Verify that your parameters
  //   are valid and try again.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResource